java - basepath for action-mappings in Struts -


if have list of action tags inside action-mappings, possible define basepath ?

now have like:

 <action-mappings>     <action path="/basepath/path1" forward="/jsp/pathl.jsp" />     <action path="/basepath/path2" forward="/jsp/path2.jsp" />  </action-mappings> 

and like:

 <action-mappings basepath="/basepath">     <action path="/path1" forward="/jsp/pathl.jsp" />     <action path="/path2" forward="/jsp/path2.jsp" />  </action-mappings> 


Comments

Popular posts from this blog

Change php variable from jquery value using ajax (same page) -

Pull out data related to my apps from Android Play Store and iOS App Store -

How can I fetch data from a web server in an android application? -