ingo schuster wrote:
>
> At 19:01 2000-12-20, [EMAIL PROTECTED] wrote:
> >ingo schuster wrote:
> > >
> > > I tested the WAR support with Websphere 3.52 and it worked (almost...).
> > >
> > > Two things:
> > > * Websphere has no generic way of invoking servlets (unless you install a
> > > servlet invoker servlet which is not created by our WAR).
> > > This means that the URL /servlet/jetspeed doesn't work. Raphael, can you
> > > map the Turbine servlet to the webpath "/jetspeed" ? Looks better anyway...
> > > The addition in the web.xml should be something like:
> > >
> > > <servlet-mapping>
> > > <servlet-name>
> > > jetspeed
> > > </servlet-name>
> > > <url-pattern>
> > > /jetspeed/*
> > > </url-pattern>
> > > </servlet-mapping>
> > >
> >
> >I agree on the principale, but that would create URLs like:
> >
> >http://localhost:8080/jetspeed/jetspeed/screen/Home
> >
> >isn't it ?
>
> No, it is a extra mechanism that allows you to adress jetspeed under
> http://localhost:8080/servlet/jetspeed. If the "URI-Root" starts with
> "servlet", Tomcat tries to find a servlet ith the name that follows
> /servlet/. If you define the mapping I proposed above, the URL is (for both
> Tomcat and Websphere):
>
> http://localhost:8080/jetspeed/
>
> No "servlet" needed any more! I checked it - it works. The
> <servlet-mapping> section has to be outside the <servlet> section.
>
It doesn't work that way under Tomcat. The uri-mapping is always
pefixed by the webapp name, defining your mapping allows this
URL to be mapped to the servlet:
http://localhost:8080/jetspeed/jetspeed/*
What you're saying is that under Webspher it allows
http://localhost:8080/jetspeed/ to be used. Is that really the case ?
How can you then retrieve the documents that are located inside the webapp
like http://localhost:8080/jetspeed/images/max.gif ?
I greatly confused by Websphere way of doing this...
--
Rapha�l Luta - [EMAIL PROTECTED]
Vivendi Universal Networks - Services Manager / Paris
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/[email protected]/>
List Help?: [EMAIL PROTECTED]