struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amol Ghotankar <ghotankaru...@gmail.com>
Subject Re: Absolute Path for result
Date Thu, 22 Jul 2010 14:59:41 GMT
Dear Dale,

Yes it works perfectly, thanks.

So I can conclude if we give w/error.jsp it takes path relative to
namespace.

If we give /w/error.jsp it take absolute path from web content folder.

Regards,

Amol

On Thu, Jul 22, 2010 at 7:54 PM, Amol Ghotankar <ghotankarua50@gmail.com>wrote:

> Dear Dale,
>
> i have used relative path of ../../../w/error.jsp
>
> Can't i directly give w/error.jsp - if i give so I struts searches it in
> x/y/z/w/error.jsp i.e relative to the namespace.
>
> I will have to try with /w/error.jsp
>
> Regards,
>
> Amol
>
>
> On Thu, Jul 22, 2010 at 7:38 PM, Dale Newfield <dale@newfield.org> wrote:
>
>> On 7/22/10 3:40 AM, Amol Ghotankar wrote:
>>
>>> Can't i directly give w/error.jsp
>>>
>>
>> "w/error.jsp" is a relative path.  What happens if you specify
>> "/w/error.jsp"?
>>
>> -Dale
>>
>
>
>
> --
>
>
> With Best Regards,
>
> Amol Ghotankar
> www.cursivetech.com
>
>


-- 


With Best Regards,

Amol Ghotankar
www.cursivetech.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message