I am a newbie when it comes to Tomcat.
I've downloaded it and edited my batch files (startup.bat, catalina.bat, shutdown.bat and setclasspath.bat) so that I am able to start and stop tomcat.
I created a .war file in eclipse using ant and load into firefox this url:
I get the following:
OK - Started application at context path /mywebapp But I don't see my web app! Apparently it's started but where is it?
Can anyone help me on this? I would be grateful for any clues.
I'm trying to use tomcat, but since the war file contains classes which need some of the files in the root folder of my eclipse project I thought I should do everything from there. Is this not a good idea?
I admit its confusing.
Maybe I should copy the war file to the tomcat directory and try to do it from there?
I don't know I am really confused at this point.
If you are trying to run a real application -- one that's not dependent upon an IDE -- then there can be no dependencies to things in the IDE. Sounds like your problem is that you are straddling the fence and getting your britches caught up in the barbed witre.
Either use the IDE to run the app, or create a self-contained, real web application that can run outside the IDE. There is no middle ground.
Well shoot-Y'all wouldn't happen t' have a pair of war cutters on ya wouldja pilgrim?
Seriously though, since until two days ago I thought tomcat referred to a feline of the male gender, I don't know how to create
a "real" web app using tomcat.
Do you know of any tutorials that I could read?
Maybe a good primer?
Also I'm not really using the IDE for this, only to generate the WAR file.
Hopefully the class files I have can still be used?
Anyways thanks for your efforts to help me.
I really do appreciate it.
Would that be
You see when you say
and all jar files needed are in WEB-INF/lib
My head starts to spin.
Where should my files go?
Joel Salatin has signs on his property that say "Trespassers will be Impressed!" Impressive tiny ad: