wood burning stoves*
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 Android Security Essentials Live Lessons this week in the Android 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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: problem with mapping using servletrunner
 
Similar Threads
JBoss - servlets/jsp
Can not find server or DNS error
How to run a Servlet using java web server
Reading local file
How to test my servlet