Forums Register Login

JSP Page Not Refreshing

+Pie Number of slices to send: Send
hai friends,
I created one jsp file and stored in the tomcat root directory. but when i change something there in program it doesnt affect the browser content. is that because it compiles only for the first time. is there any way to compile it again
+Pie Number of slices to send: Send
Moving this to the JSP forum...
+Pie Number of slices to send: Send
just try to save it. That should really solve the prblm..What i generally do is first remove every thing in the jsp....and write some blah blah..and then save it and run it.....and u will see all that blah blah...... now come back to the jsp code and undo and get back u r code and save it.. it surely works, if its not send it to me.
i am also a beginner but i have faced the same prblm earlier...so try doing this
[ September 18, 2003: Message edited by: Balu KBSM ]
+Pie Number of slices to send: Send
Some appservers (including some early versions of Tomcat) fail to notice changed JSPs until the server is restarted.
If the JSP is one that is used as a static include in another JSP (using <%@ include %> no server will see the change unless the JSP it is included in is also changed.
You can force that by changing the timestamp on the including JSP (touch command on Unix).
+Pie Number of slices to send: Send
Hai,
I tried it but still not coming. I think i should go to the specifed folder and compile it
+Pie Number of slices to send: Send
Balu: please try to reduce the contractions in your posts. Otherwise they may be difficult to understand and not much use.
If you have A.jsp that includes B.jsp, when you alter B.jsp it doesn't (usually) result in A.jsp getting compiled. You have to 'touch' A.jsp as well. Usually it is enough just to change the file timestamp by opening A.jsp, adding a space, deleting the space, and saving the file.
Dave
[ September 18, 2003: Message edited by: David O'Meara ]
+Pie Number of slices to send: Send
I would add one suggestion:
Try to change the settings of the browser of client PC. In IE go to "Tools -> Internet Options -> On the general tab click the 'Settings' button and then select the radio button 'Every visit to page'".
Hope this helps !!
Thanks,
Manish
The glass is neither half full or half empty. It is too big. But this tiny ad is just right:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1401 times.
Similar Threads
open excel file
how to set up a navigaeting tree according to the database records?
write javascript function in java ?
passing Enumeration as an Attribute from servlet to jsp
View the images as four per row instead of long row that is never ending
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 06:05:55.