|
![]() |
The base URL for this hyperlink is calculated based on which of the following attributes you specify (you must specify exactly one of them):
* forward - Use the value of this attribute as the name of a global ActionForward to be looked up, and use the module-relative or context-relative URI found there. If the forward is module-relative then it must point to an action and NOT to a page.
[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
Originally posted by shabarish vai:
does html:link look only into global-forwardings? what in case if i want container to look into action mapping.
..when i click on html:link i get the following exception,
Cannot create rewrite URL: java.net.MalformedURLException: Cannot retrieve ActionForward named search
org.apache.struts.taglib.html.LinkTag.calculateURL(LinkTag.java:479)..
[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
Originally posted by shabarish vai:
my search.jsp is
i get
[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
Originally posted by shabarish vai:
i actually made changes in html tld file ie inside attribute tag i changed the tag <required>true</required> to <required>false</required>
so that attribute in form tag(struts tag) is not mandatory
[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
Originally posted by shabarish vai:
now will the control go inside <action> tag? if i provide html:form with action?
[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime. |