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
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 ]
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).
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 ]
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
Post by:autobot
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