my dog learned polymorphism
The moose likes Struts 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 REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts 1.2 not working properly in jboss-5.0.0.CR1" Watch "Struts 1.2 not working properly in jboss-5.0.0.CR1" 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'

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63540

"Ganesh P S",

There aren't many rules that you need to worry about here on the Ranch, but one that we take very seriously regards the use of proper names. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

JavaRanch Sheriff

[Asking smart questions] [About Bear] [Books by Bear]
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

"Ganesh PS",
Please check your private messages regarding an important administrative matter.

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
See question 13 of our FAQ.

Consultant, Sima Solutions
I agree. Here's the link:
subject: Struts 1.2 not working properly in jboss-5.0.0.CR1
jQuery in Action, 3rd edition