Results 1 to 3 of 3
Thread: struts question
- 05-17-2007, 03:23 AM #1
Member
- Join Date
- May 2007
- Posts
- 39
- Rep Power
- 0
struts question
Hi everybody:
I don´t understand a lot of things about Struts, for example, I have a jsp:
I know that when I submit will go to the listRequirementsAction, after that I receive in listRequirementsForm the parameters.Java Code:<shtml:form method="post" action="/listRequirements.do?format=jsp">
I see in jsp this:
that is a link and I understand that call this link and it execute loadRequirementAction , the doubt is:Java Code:<a class="common_link" title="<bean:message key='listRequirements.update'/>" href="/item/loadRequirement.do;jsessionid=<%= session.getId()%>?target=work_on_requirement&id=<bean:write name="data" property="id"/>" ><bean:write name="data" property="id"/></a>
If I don´t submit is there another way to assign the parameters to the form???
thank you
- 05-17-2007, 02:13 PM #2
Member
- Join Date
- May 2007
- Posts
- 38
- Rep Power
- 0
.... if you use queryString, you pass like this, so you can obtain the parameters, in other case you have to do a submit.
good luck
- 05-17-2007, 04:11 PM #3
Member
- Join Date
- Apr 2007
- Location
- Pennsylvania,USA
- Posts
- 45
- Rep Power
- 0
Similar Threads
-
Question mark colon operator question
By orchid in forum Advanced JavaReplies: 9Last Post: 12-19-2010, 08:49 AM -
New to Struts
By Swamipsn in forum Web FrameworksReplies: 4Last Post: 10-07-2008, 11:01 PM -
question about struts-config.xml
By christina in forum Web FrameworksReplies: 2Last Post: 02-15-2008, 10:45 AM -
Struts or JSF?
By Swamipsn in forum New To JavaReplies: 0Last Post: 08-01-2007, 05:35 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks