开发者

How to publish JSP code changes, from Eclipse to Tomcat

What do I need to do to make my JSP code changes effective on local installation of Tomcat? I tried all it seemed logical to me: Tried to Clean Project, Build Project, Publish Tomcat, Restart Tomcat and Clean Tomcat. Nothing works. My changes suddenly appear and I can't figure out what is needed prior changes to take place. This is really frustrating.

Sometime Clean Project, then Server Restart works, sometime not. Actually I think Tomcat gets refreshed in some time intervals and it doesn't care at all what I do.

I asked this question before as a part of another question, but I didn't get good answer. At least not the answer that would help me around this issue.

I looked at server.xml file and for my project I have this:

 <Context docBase="RTTA" path="/RTTA" reloadable="true" source="org.eclipse.jst.j2ee.server:RTTA"/></Host>

Next to RTTA entry under Tomcat sever (Servers Tab) it says [Synchornized], but it is not.

Than开发者_JS百科ks.


WTP + Tomcat doesn't work very good, alas. In a number of projects I've used the FileSync plugin to synchronize the files in the project and in an (external) tomcat. Tomcat is still controlled through eclipse (start it in debug mode), but applications are not deployed via WTP.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜