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 "

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

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 g

Re: realtive path and absolute path

2009-09-11 Thread Stephen Turner
On Fri, 11 Sep 2009 07:59:38 -0400, Martin Gainty wrote: (i dont know what a realtive path is) Martin Gainty I think he spelt it like that to confuse bots... Steve - To unsubscribe, e-mail: user-unsubscr...@struts.apach

Re: realtive path and absolute path

2009-09-11 Thread suhas kokal
hi,      The raltive path is jsp/abc.jsp  The absolute path is  http://localhost:8080/test/jsp/abc.jsp   Thanks Suhas Kokal --- On Fri, 11/9/09, srinu salnki wrote: From: srinu salnki Subject: Re: realtive path and absolute path To: "Struts Users Mailing List" Date: Friday, 11

RE: relative path and absolute path

2009-09-11 Thread C N Davies
Relative path is a path relative to the current directory, for instance if you home directory was c:\temp and you wanted to use an absolute path to the "documents" subdirectory of c:\temp you would use c:\temp\documents, a relative path would be "documents" assuming your curre

RE: realtive path and absolute path

2009-09-11 Thread Martin Gainty
A full path or absolute path is a path that points to the same location on one file system regardless of the working directory or combined paths. It is usually written in reference to a root directory. A relative path is a path relative to the working directory of the user or application

Re: realtive path and absolute path

2009-09-11 Thread srinu salnki
Thanks suhas for more clarification : Say I had deplayed a application nammed test in jboss so there i have one link: http://localhost:8080/test/jsp/abc.jsp for this what is the relative path and the absolute path. regards Sunil On Fri, Sep 11, 2009 at 2:19 PM, suhas kokal wrote: >

Re: realtive path and absolute path

2009-09-11 Thread suhas kokal
hi,   Absolute path starts from /ContextName/... Relative path does not start from / but with the URL u declare in the configuration path   Thanks Suhas Kokal --- On Fri, 11/9/09, srinu salnki wrote: From: srinu salnki Subject: realtive path and absolute path To: user@struts.apache.org Date

realtive path and absolute path

2009-09-11 Thread srinu salnki
Hi I am new to struts..pls.can u tell me this difference. what is the difference b/w relative path and absolute path. srinu

Re: ActionRedirect with wrong absolute path

2007-08-30 Thread Paul Benedict
Hayrol, You've posted this problem about 4 times now. :-) If no one is responding, it won't help a fifth time, I am sorry to say. Let's continue tracking this in JIRA. https://issues.apache.org/struts/browse/STR-3089 Paul On 8/30/07, Hayrol Reyes Mejía <[EMAIL PROTECTED]> wrote: > > > Hi guys,

ActionRedirect with wrong absolute path

2007-08-30 Thread Hayrol Reyes Mejía
Hi guys, I’m having a problem with Struts 1.2 and a IAS environment, the problem is as follow: The application use Struts 1.2 and Hibernate 3 and OraclaeAS 10g (10.1.0.2). The Application works very well in the developer OAS, but doesn't in the production's OAS (two servers). The problems occ

ActionRedirect with wrong absolute path

2007-08-30 Thread Hayrol Reyes Mejía
Hi guys, I'm having a problem with Struts 1.2 and a IAS environment, the problem is as follow: The application use Struts 1.2 and Hibernate 3 and OraclaeAS 10g (10.1.0.2). The Application works very well in the developer OAS, but doesn't in the production's OAS (two servers). The problems

Re: Absolute path

2006-01-04 Thread Wendy Smoak
On 1/4/06, Meenakshi Singh <[EMAIL PROTECTED]> wrote: > I want to forward to an external web site link http:// > How do I do that & where? > > I have tried giving the absolute path in the path attribute, however, it > doesn't work... > > Any ideas/suggest

Absolute path

2006-01-04 Thread Meenakshi Singh
Hi all, I want to forward to an external web site link http:// How do I do that & where? I have tried giving the absolute path in the path attribute, however, it doesn't work... Any ideas/suggestions ...? Thanks & Regar

absolute path(url) & action class

2004-08-30 Thread Siamack
Hello Everyone: I have an action class that calculates the absolute url dynamically. However, my execute method returns only context-relative url and it fails. I have tried a couple of way around the problem but I have failed. The followings are the logic I have used : public ActionForward execu