• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how ro add CLASSPATH and alias in apache tomcat 5

 
Azaharin Muda
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
i need to configure a servlet and add the CLASSPATH to itand i also need to create the alias for the servlet? anybody know how to do it?
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sounds like you're going to need some Tomcat help.
I'll move this to the Apache/Tomcat forum for you.

Dave
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13055
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1. Tomcat totally ignores the environment CLASSPATH - read the ClassLoader How To file in the Tomcat docs that are installed with Tomcat.
2. Setting up web.xml to define the servlet and alias - this gets discussed here quite a lot, browse around.
3. Be sure to put your servlet and any related classes in a package.

You can download the Servlet API documentation here. for the final word.
Bill
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic