Thanks.

Ok, I think on Linux the host name equals the webapp, whereas in Netbeans
there is an extra element, ie. the index.jsp is in

http://www.mydomain.com/ on linux

http://localhost:8084/VIU/ in netbeans

do you think that's the reason for the differences?

The question then is how do specify a path relative to the webapp?

I don't have a login.jsp in ROOT app.

Rupert

> -----Original Message-----
> From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
> Sent: 07 January 2006 15:53
> To: Tomcat Users List
> Subject: RE: References relative to the webapp root
> 
> > From: Rupert Young (Restart)
> > [mailto:[EMAIL PROTECTED]
> > Subject: References relative to the webapp root
> >
> > I'm a bit confused how links to jsp pages work.
> 
> The example you give is relative only to the host name, not the webapp.
> In this case, the client (browser) forms a URI from an href by
> concatenating the href target with the host name from the URI of the web
> page the href is in.  Do you have a login.jsp in your default (ROOT)
> webapp?
> 
> No explanation of why you're seeing different results on the two
> platforms, unless there's some subtle difference in the configurations.
> You might try enabling the RequestDumperValve to see what's coming in on
> each system.
> 
>  - Chuck
> 
> 
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you
> received this in error, please contact the sender and delete the e-mail
> and its attachments from all computers.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]




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

Reply via email to