Re: Problems when not using html:form

2004-02-03 Thread Mark Lowe
You can just rewrite the path with html:rewrite or c:url, or get the context in jstl/scriptlet and add that to the path (like suggested). "> or "> otherwise you can just use an action form. Cheers Mark On 2 Feb 2004, at 18:23, Slattery, Tim - BLS wrote: Yes, but the server would have to fin

RE: Problems when not using html:form

2004-02-02 Thread Slattery, Tim - BLS
> Yes, but the server would have to find an app with the > web.xml first, right? If my URL is at > "http://my.domain.com/mywebapp1/jsp/Login.jsp"; and the form > is submitted to , it would map to > "http://my.domain.com/Login.do";. > Of course if the web app was deployed as the root > applic

RE: Problems when not using html:form

2004-02-02 Thread Glenn, Scott
Tim - BLS [mailto:[EMAIL PROTECTED] > Sent: 02 February 2004 16:27 > To: 'Struts Users Mailing List' > Subject: RE: Problems when not using html:form > > > Wouldn't "/Login.do" make the server look for a "Login.do" > > resource at the root

RE: Problems when not using html:form

2004-02-02 Thread Hubert Rabago
Yes, but the server would have to find an app with the web.xml first, right? If my URL is at "http://my.domain.com/mywebapp1/jsp/Login.jsp"; and the form is submitted to , it would map to "http://my.domain.com/Login.do";. Of course if the web app was deployed as the root application, then the web

RE: Problems when not using html:form

2004-02-02 Thread Slattery, Tim - BLS
> Wouldn't "/Login.do" make the server look for a "Login.do" > resource at the root of the server? Web.xml is usually set up to intercept *any* request ending in .do and send it to the Struts ActionServlet. ActionServlet will then look for "/Login" (in this case) in an "action" definition in stru

Re: Problems when not using html:form

2004-02-02 Thread Hubert Rabago
Wouldn't "/Login.do" make the server look for a "Login.do" resource at the root of the server? You need to provide the path to your action relative to how the browser found your input form. If your input form is /jsp/Login.jsp and this is what shows in the URL when requested (meaning, it didn't g

Re: Problems when not using html:form

2004-02-02 Thread Joe Germuska
I think that if you just fully-qualify the action of your form, it would work. That is, Joe At 10:10 AM -0500 2/2/04, [EMAIL PROTECTED] wrote: Hi folks, For a variety of reasons, I can't use the struts HTML tags in my jsps. To get things started, I got it working using html:form, but now I hav