<html:form action="/editEvaluation">
...
</html:form>
how to specify action url in struts 1
-
06-03-2022 - |
Question
the action as specified below is not found
<form action="editEvaluation.do" method="post" >
****
</form>
the error is :
message Invalid path /situationAdministrative/evaluation/editEvaluation was requested
but where i write the url as this /GRH/editEvaluation.do , GRH is the name of my project it works fine
this the action mapping in my struts config :
<action path="/editEvaluation" type="ma.struts.action.situationAdministrative.EditEvaluationAction" />
the url of my jsp is //localhost:8080/GRH/situationAdministrative/evaluation/evaluations.jsp
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow