The code:

struts-config.xml:

  | <action path="/main"
  |              type="portlet.mote.beans.MainAction">
  |                  <forward name="success" path="/FTLs/main.ftl"/>     
  | </action>
  | <action path="/trial" forward="/FTLs/trial.ftl"/>
  | 

main.ftl

  | <#assign html=JspTaglibs["/WEB-INF/struts-html.tld"]>
  | <#assign bean=JspTaglibs["/WEB-INF/struts-bean.tld"]>
  | This is main.ftl in stack2.war.
  | If you see this, it means basic Struts action-mapping is working.
  | <p><@html.link action="trial.do">Show Trial</@html.link></p>
  | 


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3870394#3870394

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3870394


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-Development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to