File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes struts action will not generate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "struts action will not generate" Watch "struts action will not generate" New topic
Author

struts action will not generate

baskaran Kumarasamy
Greenhorn

Joined: Jul 03, 2009
Posts: 13
hi while i trying to run my strust1.2 application the action is not generate, my environment is eclips & weblogic 10,
when deploy the application form will open after that form validation & error message nothing will display on jsp page , i'm using beehive
controls in the jsp page here i'm sending the "struts-config.xml" file please help me out.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN" "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">
<struts-config>
<!-- Generated from /Controller.java on Sat Jan 05 04:30:58 IST 2002 -->


<form-beans>
<form-bean name="AddressForm" type="struts.AddressForm" />
</form-beans>


<global-exceptions/>
<global-forwards>
<forward name="_auto" path=""/>


<forward name="success" path="success.jsp"/>


</global-forwards>
<action-mappings>
<action className="org.apache.beehive.netui.pageflow.config.PageFlowActionMapping" parameter="Controller" path="/begin" scope="request" type="org.apache.beehive.netui.pageflow.internal.FlowControllerAction" validate="false">
<set-property property="readonly" value="true"/>
<set-property property="simpleAction" value="true"/>
<set-property property="defaultForward" value="_defaultForward"/>
<forward name="_defaultForward" path="/index.faces"/>
</action>


<action input="Addressjsp" name="AddressForm" path="/Address" scope="session" type="struts.AddressAction" validate="true"/>


</action-mappings>
<controller className="org.apache.beehive.netui.pageflow.config.PageFlowControllerConfig" inputForward="true" processorClass="org.apache.beehive.netui.pageflow.PageFlowRequestProcessor">
<set-property property="isReturnToPageDisabled" value="true"/>
<set-property property="isReturnToActionDisabled" value="true"/>
<set-property property="sharedFlows" value=""/>
<set-property property="controllerClass" value="Controller"/>
<set-property property="isMissingDefaultMessages" value="true"/>
</controller>


<message-resources key="_defaultMsgs" null="true" parameter="org.apache.beehive.netui.pageflow.validation.defaultMessages"/>


</struts-config>

By

Baskaran K
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5776
    
    7

Not sure if this is a Struts or WebLogic issue. But either way it is not related to JBoss AS. Moving.

Also, please edit your post and place 'code' tags around the xml text.


JBoss In Action
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: struts action will not generate
 
Similar Threads
struts action
Struts Without Form Bean
Servlet action is currently unavailable
struts1 application: error in struts-config.xml
validation issues