Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Struts 1.2 not working properly in jboss-5.0.0.CR1

Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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'

Posts: 67425
Mac Mac OS X IntelliJ IDE jQuery Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"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
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Ganesh PS",
Please check your private messages regarding an important administrative matter.
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
See question 13 of our FAQ.
Paper jam tastes about as you would expect. Try some on this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic