RE: Re: EL expression in html:form action

2007-03-16 Thread Karr, David
50 PM > To: Struts Users Mailing List > Subject: RE: Re: EL expression in html:form action > > It should work OK if you're using the > http://struts.apache.org/tags-html-el taglib. > > -Original Message- > From: Lim Hock-Chai [mailto:[EMAIL PROTECTED] > Sent:

RE: Re: EL expression in html:form action

2007-03-15 Thread Strachan, Paul
It should work OK if you're using the http://struts.apache.org/tags-html-el taglib. -Original Message- From: Lim Hock-Chai [mailto:[EMAIL PROTECTED] Sent: Friday, 16 March 2007 4:08 AM To: Struts Users Mailing List Subject: RE: Re: EL expression in html:form action I'm pretty

RE: Re: EL expression in html:form action

2007-03-15 Thread Lim Hock-Chai
m: news [mailto:[EMAIL PROTECTED] On Behalf Of Laurie Harper Sent: Thursday, March 15, 2007 12:00 PM To: user@struts.apache.org Subject: Re: EL expression in html:form action Lim Hock-Chai wrote: > I'm getting the "cannot retrieve mapping for action" error when using > EL e

Re: EL expression in html:form action

2007-03-15 Thread Laurie Harper
Lim Hock-Chai wrote: I'm getting the "cannot retrieve mapping for action" error when using EL expression in the action attribute of tag. See below. AcctContact.jsp ==> .. . . struts-config.xml ==> .. . . Error ==> =

EL expression in html:form action

2007-03-15 Thread Lim Hock-Chai
I'm getting the "cannot retrieve mapping for action" error when using EL expression in the action attribute of tag. See below. AcctContact.jsp ==> . . . struts-config.xml ==> . . . Error ==> == ERROR - ServletEx

Re: specify html:form action property

2007-01-17 Thread Ilja S.
Sorry didn't get what you mean by "use JSTL/EL to navigate the servlet api" :) As I mentioned before request.getServletPath() gives Tiles layout jsp page, not action mapping. * Best Regards Ilja Joseph McGranaghan wrote: That MappingDispatchAction sounds l

Re: specify html:form action property

2007-01-17 Thread Joseph McGranaghan
That MappingDispatchAction sounds like a good idea. What if you use JSTL/EL to navigate the servlet api and do a similar filter for /admin/* etc? Could do it in a javascript function onSubmit. -Joe Ilja S. wrote: The thing is that I use MappingDispatchAction So in one action class I have 2 m

Re: specify html:form action property

2007-01-17 Thread Ilja S.
The thing is that I use MappingDispatchAction So in one action class I have 2 methods: 1 will be executed when /supervisor/deals is accessed and other when /admin/deals is executed. I found this convenient for handling authorization (user with role supervisor can't access /admin/* urls) and hav

Re: specify html:form action property

2007-01-17 Thread Joseph McGranaghan
What if you use a DispatchAction and one path. Either way you will need to check a parameter (or something) to ensure the proper route -Joe Ilja S. wrote: Hello This could be silly question but I'm kind stuck here. I have 2 ActionMappings in struts config with following paths: path="/admin/dea

specify html:form action property

2007-01-17 Thread Ilja S.
Hello This could be silly question but I'm kind stuck here. I have 2 ActionMappings in struts config with following paths: path="/admin/deals" path="/supervisor/deals" Both have the forward to same jsp with form. All I want to do is depending on a requested mapping submit form, well, to its' ac

Re: html:form action mapping

2006-12-07 Thread chuanjiang lo
On 12/7/06, chuanjiang lo <[EMAIL PROTECTED]> wrote: Hi all i have this jsp page with a form and the corresponding mapping in the struts config is When i view the source code of the jsp it shows Why is the action mapping to my context path? Appreciate an

html:form action mapping

2006-12-07 Thread chuanjiang lo
Hi all i have this jsp page with a form and the corresponding mapping in the struts config is When i view the source code of the jsp it shows Why is the action mapping to my context path? Appreciate any advice

RE: html:form action

2005-03-17 Thread Mili Aggarwal, Noida
delete it from your computer. -Original Message- From: Rajaneesh [mailto:[EMAIL PROTECTED] Sent: Friday, March 18, 2005 9:58 AM To: 'Struts Users Mailing List' Subject: RE: html:form action xls is a predefined mime type for excel spread sheet. It may create a problem. whil

RE: html:form action

2005-03-17 Thread Rajaneesh
Mailing List Subject: html:form action Hello All, Can I have action form mapping as : And the corresponding entry in struts config as: Warm Regards, Mili Aggarwal HCL TECHNOLOGIES LTD. Noida, India. Tel: +91 (0120) 2516321/328 Extn: 1034 Email: [EMAIL PROTECTED

html:form action

2005-03-17 Thread Mili Aggarwal, Noida
Hello All, Can I have action form mapping as : And the corresponding entry in struts config as: Warm Regards, Mili Aggarwal HCL TECHNOLOGIES LTD. Noida, India. Tel: +91 (0120) 2516321/328 Extn: 1034 Email: [EMAIL PROTECTED] -

html:form action and relative URLs addressed in 1.2 ?

2005-03-17 Thread lists
Hello, I have been building a fairly large Java webapp for 3 years now, and it was originally using Struts 1.0. Due to search engine optimization, we ended up doing lots or URL manipulation via mod_rewrite. But then the problem was that when the user submitted the struts form, it would lose t

Re: html:form action getting altered after validation

2005-01-27 Thread Stephen Souness
Did a little more digging around and found a bugzilla entry - fixed in 1.2.6 (beta) http://issues.apache.org/bugzilla/show_bug.cgi?id=32283 -- Stephen Kishore Senji wrote: On Fri, 28 Jan 2005 13:22:32 +1300, Stephen Souness <[EMAIL PROTECTED]> wrote: Hi all, I have a fairly simple form like so:

Re: html:form action getting altered after validation

2005-01-27 Thread Kishore Senji
On Fri, 28 Jan 2005 13:22:32 +1300, Stephen Souness <[EMAIL PROTECTED]> wrote: > Hi all, > > I have a fairly simple form like so: > > > > > > When the input fails validation and the user is sent back to the form > the action is changed to "//someProcess.do" - is this familiar to > anyone?

html:form action getting altered after validation

2005-01-27 Thread Stephen Souness
Hi all, I have a fairly simple form like so: When the input fails validation and the user is sent back to the form the action is changed to "//someProcess.do" - is this familiar to anyone? What am I missing? This is with struts 1.2.4 -- Stephen -