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 are the objects involved when a servlet receives a call from client?
What is difference between jsp and servlet?
Is there any need to shutdown the web server, if you want to modify a servlet?
How we can check in particular page the session will be alive or not
How to maintain security in servlets?
Why servlet is mostly used?
What is Generic Servlet and how it is different from Http Servlet?
What's the difference between servlets and applets?
Write a simple servlet program to print the contents of html.
When a servlet accepts a call from a client, it receives two objects. What are they?
Why do we use sendredirect() method?
What are Servlets?