uly 2006 12:13
To: Struts Users Mailing List
Subject: Re: Question regarding getRequestURI()
One could say that operating on File objects, directly, infringes on the
concept of a "container", depending on how draconian you are.
On 7/31/06, Adam Gordon <[EMAIL PROTECTED]> wrote:
sage-
From: Monkeyden [mailto:[EMAIL PROTECTED]
Sent: Friday, 28 July 2006 12:50
To: Struts Users Mailing List
Subject: Re: Question regarding getRequestURI()
Actually, the mapping parameter may give you something. Try
mapping.getPath
()
On 7/28/06, Monkeyden <[EMAIL PROTECTED]> wrot
Thanks for your replies.
This solution works for me, mapping.getpath().
--
View this message in context:
http://www.nabble.com/Question-regarding-getRequestURI%28%29-tf2016924.html#a5576221
Sent from the Struts - User forum at Nabble.com.
--
String requestUri = request.getRequestURI();
String resourceName = requestUri.substring(requestUri.lastIndexOf("/"),
requestURI.length-1);
String resourceName = requestUri.substring(requestUri.lastIndexOf("/"),
requestURI.length()-1);
just in case you din notice
--
Puneet
if it's more or less efficient
than what Monkeyden suggested.
-Adam
-Original Message-
From: Monkeyden [mailto:[EMAIL PROTECTED]
Sent: Friday, 28 July 2006 12:50
To: Struts Users Mailing List
Subject: Re: Question regarding getRequestURI()
Actually, the mapping parameter may give you
Actually, the mapping parameter may give you something. Try mapping.getPath
()
On 7/28/06, Monkeyden <[EMAIL PROTECTED]> wrote:
You have to parse it. Something like this:
String requestUri = request.getRequestURI();
String resourceName = requestUri.substring(requestUri.lastIndexOf("/"),
req
You have to parse it. Something like this:
String requestUri = request.getRequestURI();
String resourceName = requestUri.substring(requestUri.lastIndexOf("/"),
requestURI.length-1);
On 7/28/06, mosho <[EMAIL PROTECTED]> wrote:
Hi All,
I am using struts 1.1 I need to get the process.do fro
7 matches
Mail list logo