This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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: 41015
    
  43
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts 1.2 not working properly in jboss-5.0.0.CR1
 
Similar Threads
Dispatch Action Issue/Exception
Struts 1.2 not working properly in jboss-5.0.0.CR1
Struts 1.2 not working properly in jboss-5.0.0.CR1
struts action for the root context
Hide index.jsp or index.do with struts