Hi again,

as I got a little further in my searching I want to share it.

To me it seems as though Tomcat (3.2.2xx) is causing the problem. On Tomcat 4.0.3
the trouble described in my previous mail doesn't happen.

Consider a URL like the following:
http://myserver.my.net/app/servlet/app/template/test.jsp

Now it is up to the servlet container to decide which of the path infomation takes
precedence:
1) /servlet/app/template/test.jsp (which would correspond to a path within the app
directory and cannot be found) or
2) /servlet/app enhanced by /template/test.jsp (which is what we want and what
recent/fixed tomcats seem to do).

Regards,

Alex

Alexander Banthien wrote:

> Hi Turbine people,
>
> sadly I am forced to move away from Velocity after doing several nice
> projects and use JSP instead. Pity.
>
> I am having problems to set up my environment. I went through the
> process as described and it now indeed happens, that access to
> http://myserver.my.net/app/servlet/app renders the configured default
> JSP. (template.homepage=index.jsp).
> The JSP sources reside in ${APP_HOME}/templates/jsp/screens. No
> Layout-JSPs (i.e. DefaultLayout)
>
> But I can't access any other JSPs. All URLs of the pattern
> http://myserver.my.net/app/servlet/app/template/other.jsp while
> generated correctly through JspLink give a 404 file not found error.
>
> Also, this latter URL does not produce any entry in the jasper.log.
>
> Does anybody have an idea or a hint?
>
> tia, Alexander
>
> _______________________________________
> Questech GmbH
> Schwarzwaldstr. 19
> 79199 Kirchzarten
>
> Fon: +49 (0)7661 90 35-15
> Fax: +49 (0)7661 90 35-20
> www.questech.de
>
> _______________________________________
>
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

--

Mit freundlichen Gr��en
Alexander Banthien

_______________________________________
Questech GmbH
Schwarzwaldstr. 19
79199 Kirchzarten

Fon: +49 (0)7661 90 35-15
Fax: +49 (0)7661 90 35-20
www.questech.de

_______________________________________




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to