Michael,

You want to map it using your 2nd choice:
http://localhost:8100/ABC/myServlet. This way, the JRun server knows which
Web application's folder (and the associated WEB-INF/classes folder) to go
into to fetch the requested servlet. In this case, it would go to the
{jrun-root}/servers/default/ABC/WEB-INF/classes folder to get your servlet.

Hope that helps!

Lee Lonitz
Webmaster
Lockheed Martin Corporation 

-----Original Message-----
From: Michael Yuan Yao [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 29, 2001 7:00 AM
To: JRun-Talk
Subject: How can I mapping myServlet?


Hi All,

To invoke myServlet, the url is:
http://localhost:8100/servlet/myServlet.

What kind of mapping do I have to do to get:
http://localhost:8100/myServlet
or 
http://localhost:8100/ABC/myServlet?
 
Thanks!
---Michael
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to