aspose file tools*
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "How to configure?" Watch "How to configure?" New topic
Author

How to configure?

Anil Pattnaik
Greenhorn

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
hi,

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


mohan
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.
http://www.samspublishing.com/articles/article.asp?p=26920&seqNum=4&rl=1
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: http://aspose.com/file-tools
 
subject: How to configure?
 
Similar Threads
Servlet comilation without JSDK
web.xmi in servlets
How to deploy servelts and jsp in JBoss?
How to run a Servlet using java web server
JSDK , Servlets runner