Re: Absolute Path for result

2010-07-22 Thread Dale Newfield
On 7/22/10 10:59 AM, Amol Ghotankar wrote: 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. This is true, but can be stated more generally, not related to struts: A path starting with "/" is ab

Re: Absolute Path for result

2010-07-22 Thread Amol Ghotankar
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 wrote: > Dear Dale, > > i have used re

Re: Absolute Path for result

2010-07-22 Thread Amol Ghotankar
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 wrote: > O

Re: Absolute Path for result

2010-07-22 Thread Dale Newfield
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 - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org F

Absolute Path for result

2010-07-22 Thread Amol Ghotankar
Dear List member, How can I give absolute path to my result page. web content - |---x |:-y | :-z |--w Eg: My namespace is /x/y/z and I want my error page which is in w folder in web content then i have to give relative path of ../../../w/error.jsp Can't i directly give w/error.js