Posted By:
Anonymous
Posted On:
Thursday, October 19, 2006 01:43 PM
Hello, I try desperatly to generate some action-entries in the struts-config.xml for my HelloWorldAction. Here is an extract of the Java class: /** * HelloWorld Action * * @struts.action * path="/HelloWorld" * scope="request" * input="/WEB-INF/pages/HelloWorld.jsp" * validate="false" */ public class HelloWorldAction extends ActionSupport { public String execute() throws Exception { return SUCCESS; } // etc } A part of my ant-script looks like this:
More>>
Hello,
I try desperatly to generate some action-entries in the
struts-config.xml for my HelloWorldAction.
Here is an extract of the Java class:
/**
* HelloWorld Action
*
* @struts.action
* path="/HelloWorld"
* scope="request"
* input="/WEB-INF/pages/HelloWorld.jsp"
* validate="false"
*/
public class HelloWorldAction extends ActionSupport {
public String execute() throws Exception {
return SUCCESS;
}
// etc
}
A part of my ant-script looks like this:
The
-element should find the HelloWorldAction.java which is in a subdirectory of ${global.source.war.java.dir}.
For
I would have prefered to use version 2.0 since that is the Struts version I am using. I don't know if this is important at this point.
I am using Struts 2.0.1 and XDoclet 1.2.3. Deployment is done on JBoss AS 4.0.4 Patch1
Cheers,
Nicolas
<<Less