Discussions

Web tier: servlets, JSP, Web frameworks: unable to run action class again..??

  1. unable to run action class again..?? (1 messages)

    Hi,

     I have a jsp page and one action class. in tha jsp page i have a link that is to call again the same action class again with .do extension.

     like href="/reo/core/abcd.do"

     but this time it is not invoking the action class.

     Initially i am ablel to populate the values for the jsp page from the action class.


    what is the problem.??
    Regards,
    MaRu.
  2. check your web.xml.

    see if
      
      <servlet-mapping>
         <servlet-name>XYZ</servlet-name>
         <url-pattern>*.do</url-pattern>
       </servlet-mapping>

    is present.

    If your URL pattern does not support *.do, removing .do in your link should work.