R4R
Right Place For Right Person TM

Can I just abort processing a JSP?

previous previous previous
Question:
Can I just abort processing a JSP?

Question:Can I just abort processing a JSP?


Answer
Yes! We can abort the processing of JSP because at the end every JSP file turned into a servlet and we can put a return statement into the service method, so we can put a return statement into JSP code, i.e. we can put <% return; %> into the JSP file.

By:Jalees
Date:

Can I just abort processing a JSP?

Post Your Answers


User Name:
Answers:

Related Links

  1. What are the parameters for service method ?
  2. How do I prevent the output of my JSP or Servlet pages from being cached by the browser?
  3. How to refer the "this" variable within a JSP page?
  4. Can we implement an interface in JSP ?
  5. How do I use a scriptlet to initialize a newly instantiated bean?
  6. What are JSP Actions?
  7. What is the difference between ServletContext and ServletConfig?
  8. What is a Hidden Comment?
  9. How to pass information from JSP to included JSP?
  10. How do you pass data (including JavaBeans) to a JSP from a servlet?
  11. How can I set a cookie?
  12. How will you delete a cookie?
  13. What JSP lifecycle methods we can override?
  14. How will you include a static file in a JSP page?
  15. How you can perform browser redirection?
  16. Can we use ServletOutputStream object from a JSP page?
  17. How can I invoke a JSP error page from a servlet?
  18. How can I enable session tracking for JSP pages if the browser has disabled cookies?
  19. How can you declare methods in your JSP page?
  20. How can we set the inactivity period on a per-session basis?
  21. How do you pass an init parameter to a JSP?
  22. How can my application get to know when a HttpSession is removed?
  23. How many cookies can one set in the response object of the servlet? Also, are there any restrictions on the size of cookies?
  24. When a session object gets added or removed to the session, which event will get notified ?
  25. What is URL Encoding and URL Decoding ?
  26. What is the difference between an applet and a servlet?
  27. What are the different web servers available name few of them?
  28. What are the different types of ServletEngines?
  29. What is a Session Id?
  30. What is the use of setComment and getComment methods in Cookies ?
  31. Why we are used setMaxAge() and getMaxAge() in Cookies ?
  32. What is the use of setSecure() and getSecure() in Cookies ?
  33. Is HTML page a web component?
  34. What is the container?
  35. What is deployment descriptor?
  36. How can I print the stack trace of an exception from a JSP page?
  37. Do objects stored in a HTTP Session need to be serializable? Or can it store any object?
  38. What is the differecnce between JspWriter and PrintWriter?
  39. How can you implement singleton pattern in servlets ?
  40. What is the difference between an application server and a web server?
  41. Can we implement Runnable interface from within our servlet?
  42. What is RequestPocessor class? How will you create your own RequestPocessor?
  43. Can you test a JSP page using Junit?

Question:Can I just abort processing a JSP?

Back Home Next

New Updates

Topics

Topics

R4R
R4R
R4R
R4R
R4R
R4R
R4R
R4R