| Author |
setting Handler Parmeter using c:url
|
Parameswaran Thangavel
Ranch Hand
Joined: Mar 01, 2005
Posts: 485
|
|
hi all, Is it possible to set the handler parameter using the below code snippet. i am using the value of thisURL inside <a href=""> tag. below is part of config xml file. when i am using the above code snippet i am getting the below error Request[/showXMLFile] does not contain handler parameter named method i donno where is the mistake. below is my requirement. A JSP page has a link, which request another JSP page. i need to handle the request through controller(lookup dispatch action servelt). for this i need to set the handler parater method, which i am using for other buttons (sumbit, back).
|
 |
Merrill Higginson
Ranch Hand
Joined: Feb 15, 2005
Posts: 4864
|
|
|
What version of JSP are you using? Also, show us your <a href=""> tag.
|
Merrill
Consultant, Sima Solutions
|
 |
Parameswaran Thangavel
Ranch Hand
Joined: Mar 01, 2005
Posts: 485
|
|
hi I got the problem but i donno why? If i add entry to my Application Property file, every thing works fine. say if i add showXMLFile in Application property file it works. i thought Application property file is used only for the purpose of locale. I surprised the lookup action depends on the Application property file.
|
 |
Merrill Higginson
Ranch Hand
Joined: Feb 15, 2005
Posts: 4864
|
|
If your action extends LookupDispatchAction, then yes, it is completely dependent on your ApplicationResources.properties file being set up properly, and will not work otherwise. If this is not what you want, you should have your Action extend DipatchAction instead of LookupDispatchAction.
|
 |
 |
|
|
subject: setting Handler Parmeter using c:url
|
|
|