aspose file tools*
The moose likes Portals and Portlets and the fly likes Struts 1.2 not working properly in jboss-5.0.0.CR1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Portals and Portlets
Reply locked New topic
Author

Struts 1.2 not working properly in jboss-5.0.0.CR1

Ganesh Sugumaran
Greenhorn

Joined: Jul 08, 2008
Posts: 10
Hi,

Im doing project Struts1.2 and App-Server: jboss-5.0.0.CR1

Im getting error when i give below URL
"http://localhost:8080/myprj/index.jsp"
Error:
javax.servlet.jsp.JspException: Cannot find ActionMappings or ActionFormBeans collection

If i give URL like:
"http://localhost:8080/myprj/index.do" -- actually its wrong
then its giving error on page
and Finally if enter Previous one i.e.,
"http://localhost:8080/myprj/index.jsp"

Then its working and its not throwing any exception.I dont know how now only its working !!!

In my Jsp i specified
<html:form action="/indexAction">
and in Struts-config.xml

<action
attribute="index"
name="index"
parameter="userOption"
path="/indexAction"
scope="request"
type="com.actions.indexAction">
<forward name="success" path="/main.jsp" />
<forward name="failure" path="/index.jsp" />
</action>

If i do the same in 'jboss-4.0.3' then its working in the first attempt.

I want to run in 'jboss-5.0.0.CR1'.

how can i solve this...and how can i run like 'jboss-4.0.3'

Thanks
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42635
    
  65
Please do not post the same question to multiple forums: CarefullyChooseOneForum

Let's continue the discussion in this duplicate thread.


Ping & DNS - my free Android networking tools app
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Struts 1.2 not working properly in jboss-5.0.0.CR1