Skip to Content
0
Former Member
Oct 03, 2009 at 12:53 AM

400 Bad Request - Invalid path /b2c/secure was requested

88 Views

Hi,

I have two jsp pages. first page is included as a link in one of the inc.jsp in B2C application.

This page has few input fields and upon submit button. I get error message

400 Bad Request - Invalid path /b2c/secure was requested

the action tag written in config.xml is like:

<action path="/b2c/xyz" type="package_name.xyz">
          <forward name="success" path="/b2c/Page2.jsp"/>
          <forward name="failure" path="/b2c/Page2.jsp"/>
          </action>

in web.xml:

<servlet>
        <servlet-name>Page1.jsp</servlet-name>
        <jsp-file>/b2c/Page1.jsp</jsp-file>
        </servlet>
    <servlet>
        <servlet-name>Page2.jsp</servlet-name>
        <jsp-file>/b2c/Page2.jsp</jsp-file>
    </servlet>

Please let me know if you could help me with the needful. Appreciate your earliest response.