Posted By:
Ian_Ohlander
Posted On:
Friday, April 26, 2002 01:36 PM
Ok, honestly, I don't know if my problem is JBuilder 6 (or at least how I'm using it) or with the Tomcat server I downloaded. I have written a couple of JSP's and when I run them inside the JBuilder environement (with its Tomcat engine) it runs fine. I can open up a browser, point it to the local server and my JSP name, and it works exactly as I want. Now, for testing purposes, I also downloaded Tomcat as a stand-alone server and installed it. It works, because when I run it, I can run all the Servlet and JSP examples that come with Tomcat. But I wanted to test deployment. JBuilder 6 automatically creates my WAR for me (its just called Default). Following the HORRENDOUS Tomcat documentation (or I must simply be dumb), I p
More>>
Ok, honestly, I don't know if my problem is JBuilder 6 (or at least how I'm using it) or with the Tomcat server I downloaded.
I have written a couple of JSP's and when I run them inside the JBuilder environement (with its Tomcat engine) it runs fine. I can open up a browser, point it to the local server and my JSP name, and it works exactly as I want. Now, for testing purposes, I also downloaded Tomcat as a stand-alone server and installed it. It works, because when I run it, I can run all the Servlet and JSP examples that come with Tomcat.
But I wanted to test deployment. JBuilder 6 automatically creates my WAR for me (its just called Default). Following the HORRENDOUS Tomcat documentation (or I must simply be dumb), I put the WAR in the WEBAPPS directory of my stand-alone Tomcat. I run Tomcat and it generates the "Default" directory, complete with JSP page, XML file (which looks exactly like JBuilder's XML file for my program- almost nothing there- it's just one JSP), and classes. So I point my browser to "http://Localhost:8080/myfilename.jsp. But I keep getting an error that says that the JSP is not available.
So what am I doing wrong? Is my set up in JBuilder wrong (out of the box) or am I not doing something right with Tomcat.
I added the following to the Server.xml (in the commented tags that said context manager- is that where it goes?):
< Context path="/Default" docBase="webapps/Default" debug="0" reloadable="true" >
< /Context >
IT didn't work- Tomcat wouldn't even run.
Please help me! I am so frustrated. The JSP is simple, it works in JBuilder, but I need it to work outside of it.
Thank you for anyhelp you can offer.
Ian Ohlander
ianohlander@yahoo.com
<<Less