Generating struts_config.xml using XDoclet with struts action and formbean classes
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   venkata_krishna
Posted On:   Friday, September 27, 2002 03:35 AM

Hi, Please go through the xdoclet statements as follows. /* * @author V.K.Kasturi * @version $Revision: 1.2 $ $Date: 2001/08/23 $ * * * @struts:action * name="FormBean" * path="/index" * scope="request" * validate="false" * parameter="input" * * @struts:forward * name="continue" * path="/jsps/View.jsp" * * @struts:forward * name="cancel" * path="/jsps/Form.jsp" * * */ public final class IndexRH extends Action { public ActionForward perform(Ac   More>>
			

Hi,

Please go through the xdoclet statements as follows.

/*
* @author V.K.Kasturi
* @version $Revision: 1.2 $ $Date: 2001/08/23 $
*
*
* @struts:action
* name="FormBean"
* path="/index"
* scope="request"
* validate="false"
* parameter="input"
*
* @struts:forward
* name="continue"
* path="/jsps/View.jsp"
*
* @struts:forward
* name="cancel"
* path="/jsps/Form.jsp"
*
*
*/
public final class IndexRH extends Action {

public ActionForward perform(ActionMapping mapping,
ActionForm form,
HttpServletRequest request,
HttpServletResponse response)
throws IOException, ServletException {

----------


Here the problem is it is generating struts_config.xml file action-mappings tag but without forward tags.
Let me the solution.

I would request you to guide me to generate struts_config.xml with all neccessary tags .ie formbean,action-mappings and global-forwards with syntax.


Thanks,
V.K.Kasturi.

   <<Less

Re: Generating struts_config.xml using XDoclet with struts action and formbean classes

Posted By:   Ara_Abrahamian  
Posted On:   Saturday, September 28, 2002 09:32 AM

Use /** instead of /*.


Ara.

About | Sitemap | Contact