Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

deploy servlate name

 
Graham Thorpe
Ranch Hand
Posts: 265
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Adam Hardy
i using now apache jserv1.1.2
all my servlet filed stored in this /servlet directory.when i run servlet file using this url
http://localhost:8080/servlet/hello.
what i want is with out servlet name in the above url like this i want is it possible Mr.Hardy
http://localhost:8080/XXXX/hello.

Here xxxx is some name i.e any name can i use..

Is it possible .where i can change properties in this apache jserv1.1.2.
Thanking you
 
Rene Larsen
Ranch Hand
Posts: 1179
Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I do not know 'apache jserv1.1.2', BUT with tomcat you can in the web.xml of the webapp e.g. ROOT specify a <servlet-mapping>.

http://127.0.0.1/servlet/ServiceServlet
should then be:
http://127.0.0.1/somename/ServiceServlet
/Rene
[ June 18, 2002: Message edited by: Rene Larsen ]
 
Graham Thorpe
Ranch Hand
Posts: 265
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thank you mr.rene..this is help full for me.
But actaully i need on apache jserv...ok 10q alot .. have a nice day
 
Rene Larsen
Ranch Hand
Posts: 1179
Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
Maybe this link can help you: http://java.apache.org/jserv/install/howto.servlets.html
/Rene
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic