Is there a better way to do this?
Hi, I am one of the web developers for a company that uses java technology. I've noticed my changes (jsp's) don't take into effect unless I remove the file from the server, refesh the browsers like 5 times till i get a 404, then place the new file back on the server. I assume the changes dont take effect because it is reading the old class file that tomcat created. Is there a better way to update the new changes immediately?? If im posting in the wrong area, please direct me to the best place :) Thanks! -- View this message in context: http://www.nabble.com/Is-there-a-better-way-to-do-this--tf3403561.html#a9479073 Sent from the Tomcat - User mailing list archive at Nabble.com. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Is there a better way to do this?
even if the server.xml file's reloadable is set to true? reloadable=true in the Context param? -Original Message- From: Steveswt [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 14, 2007 12:15 PM To: users@tomcat.apache.org Subject: Is there a better way to do this? Hi, I am one of the web developers for a company that uses java technology. I've noticed my changes (jsp's) don't take into effect unless I remove the file from the server, refesh the browsers like 5 times till i get a 404, then place the new file back on the server. I assume the changes dont take effect because it is reading the old class file that tomcat created. Is there a better way to update the new changes immediately?? If im posting in the wrong area, please direct me to the best place :) Thanks! -- View this message in context: http://www.nabble.com/Is-there-a-better-way-to-do-this--tf3403561.html#a9479073 Sent from the Tomcat - User mailing list archive at Nabble.com. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Is there a better way to do this?
Also, are you performing an Ant build or some sort of a build to move the JSP from your project dir to Tomcat's / webapps dir? If you are, you can change that by keeping the project outside Tomcat, and only specify the absolute path of your project in appBase/docBase in server.xml. With the above set-up, you only refersh the JSP once, and you'll see the changes you've made to it, while still having the flexibility of keeping any project structure - outside the web container. -Rashmi - Original Message From: Propes, Barry L [GCG-NAOT] [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Wednesday, March 14, 2007 1:23:33 PM Subject: RE: Is there a better way to do this? even if the server.xml file's reloadable is set to true? reloadable=true in the Context param? -Original Message- From: Steveswt [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 14, 2007 12:15 PM To: users@tomcat.apache.org Subject: Is there a better way to do this? Hi, I am one of the web developers for a company that uses java technology. I've noticed my changes (jsp's) don't take into effect unless I remove the file from the server, refesh the browsers like 5 times till i get a 404, then place the new file back on the server. I assume the changes dont take effect because it is reading the old class file that tomcat created. Is there a better way to update the new changes immediately?? If im posting in the wrong area, please direct me to the best place :) Thanks! -- View this message in context: http://www.nabble.com/Is-there-a-better-way-to-do-this--tf3403561.html#a9479073 Sent from the Tomcat - User mailing list archive at Nabble.com. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Food fight? Enjoy some healthy debate in the Yahoo! Answers Food Drink QA. http://answers.yahoo.com/dir/?link=listsid=396545367 - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Is there a better way to do this?
From: Propes, Barry L [GCG-NAOT] [mailto:[EMAIL PROTECTED] Subject: RE: Is there a better way to do this? even if the server.xml file's reloadable is set to true? reloadable=true in the Context param? The reloadable attribute does not control the monitoring of JSP changes. That's set up by several init-param values for the JSP servlet in conf/web.xml. Look at development, checkInterval, and modificationTestInterval. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]