Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

Re: jsp deployment

Doug Parsons

2004-02-14

Replies:



> I don't fully understand the invoker servlet myself, but here's what I
> think I know:

Nor do I. I am just going by what I have encountered and how I fixed it.

>
> The invoker mapping only applies to servlets, not html or jsps, and the
> servlets are working (at least through Apache). If the invoker mapping
> specifies /servlets/* then "servlets" must be included in the URL. By
> taking it out of the invoker mapping, it does not need to be included in
> the URL. So, http://localhost/servlets/do_something is required if the
> mapping is as you say it should be, and http://localhost/do_something is
> the URL if the mapping is as I have it.
>
> Is that not correct?

As for the URL:
For .jsp and html I do a http://localhost/golf/index.html and it works fine.
Where golf is the context path.
For servlets it may be true. I am not hitting any servlets directly.

As for applying to .jsp or html:
In my case the application will not serve up .jsp or html unless it is
/servlet/*.
Which may mean that I have some errors elsewhere.

Doug



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)



©2008 junlu.com - Jax Systems, LLC, U.S.A.