how the jsp page can be regenerated?
Answers were Sorted based on User's Feedback
Answer / geetha
when included files are changed, the servlet generated by
the JSP is not usually regenerated. So if you make a change
to an included file, make sure to tell your server to
regenerate the servlet for the including JSP. Another way
to do this is to re-save the including JSP. This changes
the file modification timestamp, which is supposed to cause
the servlet to regenerate.
| Is This Answer Correct ? | 5 Yes | 1 No |
Answer / dhagej
in case of dynamic include, contents of the included jsp
page will be reflected
besides uploading the file again to server another way is to
change the time stamp of the jsp file on the server, so that
the server will recompile the JSP when it is invoked
e.g touch filename.jsp
| Is This Answer Correct ? | 1 Yes | 1 No |
what is the difference between servlets and struts?
What is the difference between Difference between doGet() and doPost()?
What is dispatcher servlet?
How do you pass the data from one servlet to another servlet?
What is servlet interface?
What are the exceptions thrown by Servlets?
Define the life cycle of a servlets.
How the servlet is loaded?
How we can create war file in servlet?
How do you define a servlet?
What are cookies and how will you use them?
Explain how does JSP handle run-time exceptions?