my dog learned polymorphism*
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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Portals and Portlets
Reply locked New topic

Struts 1.2 not working properly in jboss-5.0.0.CR1

Ganesh Sugumaran

Joined: Jul 08, 2008
Posts: 10

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

Im getting error when i give below URL
javax.servlet.jsp.JspException: Cannot find ActionMappings or ActionFormBeans collection

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

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

<forward name="success" path="/main.jsp" />
<forward name="failure" path="/index.jsp" />

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'

Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42364
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