Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to configure?

 
Anil Pattnaik
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Adeel Ansari
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 161
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic