how the jsp page can be regenerated?

Answers were Sorted based on User's Feedback



how the jsp page can be regenerated?..

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

how the jsp page can be regenerated?..

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

Post New Answer

More Servlets Interview Questions

Can we fetch the attributes related to a servlet on a different servlet?

0 Answers  


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

0 Answers   Bosch, EF,


What are the uses of servlet

0 Answers  


Can you explain in detail 'javax.servlet' package?

0 Answers  


What is the ServletConfig() and what is its use?

4 Answers   Google,






Which interface must be implemented by all servlets?

0 Answers  


How many ways to remove the session object in the container

6 Answers   Bosch,


How to commuincate between an applet and a servlet?

0 Answers  


Can we override destroy method in servlet?

0 Answers  


How do you track a user session in servlets?

3 Answers  


What is the difference between encodeRedirectUrl and encodeURL?

0 Answers  


What is the use of servlet context?

0 Answers  


Categories