my dog learned polymorphism*
The moose likes Servlets and the fly likes problem with mapping using servletrunner Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "problem with mapping using servletrunner" Watch "problem with mapping using servletrunner" New topic
Author

problem with mapping using servletrunner

Nicky Shields
Greenhorn

Joined: Jan 15, 2004
Posts: 1
hello
does someone know how to put servlets in a directory and let the servletrunner find them there
my servlet works when i put them in
jswdk-1.0.1\webpages\WEB-INF\servlets\myservlet
you can access it in your browser with
http://localhost:8080/servlet/myservlet
but jswdk-1.0.1\webpages\WEB-INF\servlets\mydir\****
does not work if you type http://localhost:8080/servlet/mydir/myservlet
in your browser
Does anybody knows how to do this??
Thanx
NIC
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
The question is Do you know how to handle java package? if you don't then the first way is the way you want to use.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: problem with mapping using servletrunner