good evening,
I've a trouble:
I would pass a parameter using tag and i would that the action
result send a its result to a jsp page.
should I use the request or I could use a vaiable String?
--
View this message in context:
http://www.nabble.com/tag-action-tp23487099p23487099.html
Sent
gt;
>
> -Original Message-
> From: Jane Eisenstein [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, September 27, 2005 12:06 PM
> To: Struts Users Mailing List
> Subject: RE: problem with html:form tag action property
>
> Yes I have that mapping. The form ta
: problem with html:form tag action property
Problem solved. The problem was due to the ordering of tags in our
web.xml. When I rearranged the servlet-mappings for our action servlet
so the *.do pattern is specified last, the form tag generates a correct
action property:
action
*.do
-Original Message-
From: Jane Eisenstein [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 27, 2005 12:06 PM
To: Struts Users Mailing List
Subject: RE: problem with html:form tag action property
Yes I have that mapping. The form tag is not working irrespective of
Yes I have that mapping. The form tag is not working irrespective of
whether the .do suffix is there.
-Original Message-
From: Catherine [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 27, 2005 10:02 AM
To: user@struts.apache.org
Subject: Re:problem with html:form tag action property
Check if you have the following entry in your web.xml.
...
action
*.do
Then in your form, you don't need to suffix .do, Struts will do that for you:
Cheers,
Catherine
-
http://Struts_User_List.roomity.c
tical to step through the html:form tag's execution with a
debugger and see where things are going wrong?
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Laurie Harper
Sent: Monday, September 26, 2005 6:59 PM
To: user@struts.apache.org
Subject: Re: problem with htm
I think you need to remove the '.do' from the action (I'm using prefix
rather than suffix mapping, though, so I could be wrong...).
L.
Jane Eisenstein wrote:
I am converting an existing jsp to use struts tags. I replaced the
original form tag that looked like this:
with:
The tag ge
I am converting an existing jsp to use struts tags. I replaced the
original form tag that looked like this:
with:
The tag generates a form tag that looks like:
(CarePlannerWeb is the name of the web application)
I don't understand why the wrong form action is being generated. The
targ
9 matches
Mail list logo