| Home | JSP | EJB | JDBC | Java Servlets | WAP | Free JSP Hosting | Spring Framework | Web Services | BioInformatics | Java Server Faces | Jboss 3.0 tutorial | Hibernate 3.0 | XML | ||||
|
||||
|
|
||||
| Tutorial Categories: Ajax
| Articles
| JSP
| Bioinformatics
| Database
| Free
Books |
Hibernate
| J2EE
| J2ME
| Java
| JavaScript
| JDBC
| JMS
| Linux
| MS
Technology |
PHP
| RMI
| Web-Services
| Servlets
| Struts
| UML
|
|
||||||||||||||||||||||||||||||
|
Home | JSP | EJB | JDBC | Java Servlets | WAP | Free JSP Hosting | Search Engine | News Archive | Jboss 3.0 tutorial | Free Linux CD's | Forum | Blogs |
||||||||||||||||||||||||||||||
Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.
Copyright © 2007. All rights reserved.
Current Comments
1 comments so far (post your own) View All Comments Latest 10 Comments:Hi,
I would like to use tiles for dynamic action, it means that I have 2 tiles template, each of them will set different action name to the JSP.
for example:
For mobile product I set the action
<definition name="mobile" template="/search.jsp">
<put name="actionName" value="/mobileSearch.do"/>
</definition>
For land line:
<definition name="land" template="/search.jsp">
<put name="actionName" value="/landSearch.do"/>
</definition>
in the jsp I set the action name like that:
<html:form action="<tiles:getAsString name="actionName"/>">
.
.
</html:form>
I got an exception.
How can I do that using tiles?
Is it possible?
Thanks,
Jaron
Posted by Jaron on Thursday, 05.10.07 @ 13:20pm | #15560