any particular file structure at all, from the URI that is
used.
Cheers,
Brice
-Original Message-
From: John Lindley [mailto:[EMAIL PROTECTED]
Sent: Friday, April 01, 2005 12:26 PM
To: tomcat-user@jakarta.apache.org
Subject: Masking JSP URL
Hi all, I have what seems to be a straighforw
Hi all, I have what seems to be a straighforward need, but I have not yet been
able to accomplish
it. I am running Apache 2.0.52, Tomcat 5.0.28, mod_jk2, on Windows Server 2003.
Everything seems
to be running fine, but I want to be able to hide, mask, map, whatever, the URL
to the jsp pages.
He
Apache2.0.48
Tomcat4.1.29
mod_jk1.2.5
jvm1.4.1_02a
>>> [EMAIL PROTECTED] 01/02/04 11:34AM >>>
Does anyone have any idea why a JSP referenced by name in a url would return
getRemoteUser = null and the same JSP referenced through DirectoryIndex in Apache2
would return getRemoteUser = expected use
Does anyone have any idea why a JSP referenced by name in a url would return
getRemoteUser = null and the same JSP referenced through DirectoryIndex in Apache2
would return getRemoteUser = expected user name.
Example:
http://serverAddr/DisplayUser.jsp returns null
In Apache conf
DirectoryIndex
ve WebPayroll from
> your URLs.
>
> - Brett
>
> -Original Message-
> From: Slava [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, 27 November 2001 3:04 PM
> To: [EMAIL PROTECTED]
> Subject: JSP URL and Tomcat3.2.3
>
>
> Hello,
> I'm passing Reque
ber 2001 3:04 PM
To: [EMAIL PROTECTED]
Subject: JSP URL and Tomcat3.2.3
Hello,
I'm passing Request Attributes from servlet to jsp
and I'm getting 404.
The request URL : "/WebPayroll/company_entry.jsp".
But Tomcat adding extra path to URL.
Here is the part of tomcat.l
Hello,
I'm passing Request Attributes from servlet to jsp
and I'm getting 404.
The request URL : "/WebPayroll/company_entry.jsp".
But Tomcat adding extra path to URL.
Here is the part of tomcat.log:
2001-11-26 21:55:26 - Ctx( /WebPayroll ): 404 R( /WebPayroll +
/WebPayroll/company_entry.jsp +
On Fri, 27 Jul 2001, Randall Parker wrote:
>
> Looking at web.xml its easy to see how all .jsp files can be mapped to the JSP
>servlet:
>
> jsp
> *.jsp
>
>
> This relies on two things:
>1) The *.JSP suffix to specify that its a JSP.
That is the default (at least in Tomcat)
Looking at web.xml its easy to see how all .jsp files can be mapped to the JSP servlet:
jsp
*.jsp
This relies on two things:
1) The *.JSP suffix to specify that its a JSP.
2) I presume that the prefix after the last forward slash of the path must be the
particular JSP
name