Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm currently running my jsp pages on a windows 2003 server, apache tomcat 5.5 setup. My process involved is as follows:

  1. make change to .java file
  2. compile .java file
  3. restart apache tomcat service
  4. refresh browser
  5. check c:\program files\apache software foundation\tomcat 5.5\logs

This is beyond cumbersome. Is there a better development platform to develop jsp pages which makes life alot easier?

thanks in advance

share|improve this question
add comment

2 Answers

try resin from http://caucho.com ... besides many other features in the dev mode it recompiles changed java files on the fly - you just save the file in editor, refresh in the browser and observe tail -f of logs (even under windows).

share|improve this answer
add comment

Use Ant or a similar tool to build your web application and package it into a war. Drop war in webapps folder.

Note that from time to time you will have to restart Tomcat due to PermGen leaks.

Packing your application as a war is neat and keeps things tidy and nice (i.e. if your Ant build is sane, your webapp will be easy to deploy for other people). However, this is slow for development. I would look for ways to run your webapp inside your IDE.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.