[jboss-user] [Beginners Corner] - Struts 1.2 not working properly in jboss-5.0.0.CR1

ps.ganesh do-not-reply at jboss.com
Tue Jul 8 08:58:06 EDT 2008


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 

.....
 path="/indexAction"
 scope="request"
 .....

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

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4163053#4163053

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4163053



More information about the jboss-user mailing list