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

Explain servlet.

0 Answers  


What are the different methods involved in generic servlet?

0 Answers  


How can we refresh automatically when new data has entered the database?

0 Answers  


Hi Frieds, I am new to servlet why to use servlet in webapplication. what i know is " use servlet as a controller in mvc and to implemnent business logic . is it correct ? One more thing reason for implementing business logic with servlets , why not jsp.

4 Answers  


What is servlet api used for conneting database?

0 Answers  






difference between request.getSession(false) or request.getSession() and request.getSession(true)

2 Answers  


Can threads be used in Servelet?

3 Answers  


how many jsp scripting elements are there and what are those?

0 Answers  


What are the exceptions thrown by Servlets?

4 Answers   Amplify Mindware,


What are advantages of servlets over cgi?

0 Answers  


What are the life cycle methods of the servlet?

0 Answers  


why are using HttpServlet in realtime projects and why are not using Genericservlet

2 Answers  


Categories