You need to edit your app's web.xml manually, or edit it through the JMC.

What's needed are servlet alias and mapping, which are Servlet 2.1 (or 2.2?) API 
notions.

Example:

  <servlet>
    <servlet-name>MySpecialServlet</servlet-name>
    <display-name>MySpecialServlet DisplayName for the JMC</display-name>
    <description>Servlet for my special stuff</description>
    <servlet-class>function.MySpecialServlet</servlet-class>
  </servlet>

  <servlet-mapping>
    <servlet-name>MySpecialServlet</servlet-name>
    <url-pattern>/myservlet</url-pattern>
  </servlet-mapping>

Scott Stirling
Macromedia

> -----Original Message-----
> From: Larry Owens [mailto:[EMAIL PROTECTED]]
> 
> 
>       I'm new to the Jrun 3.1 world, and I was wondering if 
> someone here might
> be able to help me with servlet mapping features. I can't 
> seem to get them
> to work in Jrun under IIS 5. 
> 
>       What I have is a .class file that I want to alias to a 
> certain name; 
> 
>       http://www.myserver.com/myservlet - where myservlet is 
> an alias to
> MySpecialServlet.class, in a special directory, to make it 
> easier to group,
> like 
> 
>       c:\production\servlets\function\MySpecialServlet.class . 
> 
>       I read through every bit of documentation, and still 
> can't guess what I
> need to do. The app works if I put the class file in the 
> default directory,
> and call it as 
> 
>       http://localhost/servlet/MySpecialServlet
> 
>       Thanks in advance, 
> 
______________________________________________________________________
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to