0 Replies Latest reply on Jul 8, 2008 8:58 AM by Ganesh P S

    Struts 1.2 not working properly in jboss-5.0.0.CR1

    Ganesh P S Newbie

      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