Announcement Announcement Module
Collapse
No announcement yet.
action is not populated correctly Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • action is not populated correctly

    Hi,

    I am using a simpleformcontroller for a search screen. The initial search screen is getting displayed without any errors. when I click on submit button, the action is mapped to "the same jsp page" (I verified this by looking at view source of search screen)


    my JSP:
    Code:
       <form:form method="post" commandName="beSearchCriteria">
    View Source:
    Code:
    <form id="beSearchCriteria" method="post" action="/CorpsRewrite/WEB-INF/jsp/besearch.jsp">
    Any help is highly appreciated.

    Thanks,
    Gupta

  • #2
    I'm no expert, but I think your error is here:
    Code:
    /CorpsRewrite/WEB-INF/jsp/besearch.jsp
    Files in WEB-INF are not accessible by the user, but your form makes a direct POST-Request to this file!

    Comment

    Working...
    X