File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes How to configure? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "How to configure?" Watch "How to configure?" New topic

How to configure?

Anil Pattnaik

Joined: Jun 15, 2006
Posts: 8
I am new to servlets and jsp.I want to know what are the system path settings i needed to make to run servlets and jsp in tomcat server and also in jboss.I am just not able to run servlets.
mohan kumar r
Ranch Hand

Joined: Jan 19, 2006
Posts: 38

if you are using tomcat then set classpath to servlet-api.jar if it is 4.x;servlet.jar if it is 5.x. you can find these jars in 'lib' directory of tomcat.

if you want to use weblogic, then set class path to weblogic.jar

and about jboss, i have no idea

Adeel Ansari
Ranch Hand

Joined: Aug 15, 2004
Posts: 2874
Searching over google would definitely return you alot more.
This is the one I got.
Travis Hein
Ranch Hand

Joined: Jun 06, 2006
Posts: 161
I like to make a jsp page that will print out the system properties.
depending on the app server, or other API that are installed you may see the classpath that is being used from the point of view of the JSP page, and any other system variables that would have been set (like -D java environment variables on the JVM command line that started the container).

[ June 27, 2006: Message edited by: Travis Hein ]

Error: Keyboard not attached. Press F1 to continue.
I agree. Here's the link:
subject: How to configure?
It's not a secret anymore!