Hi,

    I think the URL should be:

     http://localhost/myapp/servlet/template/admin,Index.vm

    instead of

    http://localhost/myapp/servlet/myapp/template/admin,Index.vm

saludos

andres

Humberto Hernadez Torres wrote:

> We are trying to migrate an application from catalina to resin. We
> copied the application in the webapps of Resin and added de following
> lines in the webapps/myapp/WEB-INF/web.xml file.
>
> <servlet-mapping>
>   <servlet-name>myapp</servlet-name>
>   <url-pattern>/servlet/*</url-pattern>
> </servlet-mapping>
>
> I can call http://localhost/myapp/servlet/myapp/template/Index.vm but I
> cannot call it I move Index.vm to a subdirectory. Calling
> http://localhost/myapp/servlet/myapp/template/admin,Index.vm complains
> about not finding the template /Index.vm. According to my tests it is
> ignores de "admin," part of the template.
>
> The application seems to be working fine with catalina.sh so I am
> assuming there is some configuration wrong in the url-mapping to support
> a subdirectory hierachy of templates.
>
> --
>   Humberto
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

--
=============================================
Andres G. Portillo D.
Software Engineer
Veratech  (www.veratech.com.mx)
=============================================

Reply via email to