This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
give me out with the proper solution ,that how to set the environmental variables and where to save up with the files, what extra files i have to create...etc what all stuff is necessary.............please sir i m begging in front of you.
thank you gaurav
Adeel Ansari
Ranch Hand
Joined: Aug 15, 2004
Posts: 2874
posted
0
Need not begging mate. Get this, it will help you more then you want.
Otherwise tell us what you did and what you are doing. and what are you getting???
I have some simple servlet applications all written and packaged as war files that you can just drop in the webapps directory of you Tomcat installation and run.
thank you , as per your saying i now understand that we have to save our WAR file in TOMCAT_HOME\webapps\ .and after doin this it have worked , btu sorry to disturb you please tell me that how to create WAR file in tomcat.
thank you gaurav
Ravish Ahuja
Greenhorn
Joined: Nov 29, 2004
Posts: 13
posted
0
creating a WAR file is not compulsary. however you can make a war file using jar utility. And make sure your TOMCAT server is running before you try to run your servlet. You can start your server by running startup.bat from bin directory. Before that you have to save the JAVA_HOME variable in the environment variables, which the home of your JDK.
My point was not that you have to make a war file. By downloading and deploying one of those apps, you give yourelf a working application that you can refer to.
You can see what the proper directory structure. You can see a proper servlet declaration and mapping in your web.xml file.
Compare that with your own app and you will see what the problem is.
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.