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

What is the main purpose of java servlets?

0 Answers  


what is meant by Transaction Isolation Levels?

2 Answers   IBM,


Why is http protocol called as a stateless protocol?

0 Answers  


What are some disadvantages of storing session state in cookies?

0 Answers  


What do you mean by web applications? Explain web application directory arrangement?

0 Answers  






What is servlet context ?

4 Answers  


What are the difference between session and cookies in servlet? Explain

0 Answers  


How will you pass values from HTML page to the servlet?

0 Answers  


Explain the difference between servletconfig and servletcontext in servlet?

0 Answers  


What is the effective way to make sure all the servlets are accessible only when user has a valid session?

0 Answers  


How do you create a cookie using servlet?

0 Answers  


Write a servlet to upload file on server.

0 Answers  


Categories