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 |
Can we fetch the attributes related to a servlet on a different servlet?
How to get ip address in jsp login page and how to validate like 127.1.0.1 all should not be greater than 255
What are the uses of servlet
Can you explain in detail 'javax.servlet' package?
What is the ServletConfig() and what is its use?
Which interface must be implemented by all servlets?
How many ways to remove the session object in the container
How to commuincate between an applet and a servlet?
Can we override destroy method in servlet?
How do you track a user session in servlets?
What is the difference between encodeRedirectUrl and encodeURL?
What is the use of servlet context?