struts request path problem

Category: Java EE
 
YWB398653
2008-09-17 08:06:21

Sponsored Links
jsp code is as follows:
<form action="../../user/find.do?method = findUser" method = "post"> ;
<table border="1px">
<tr>
<td> ; <input type = "submit" value = " "> </td>
</tr>
<tr>
<td> ID number </td> <td> Name </td> <td> Password </td> <td> library card </td> <td> Available copies </td>
<td> Sex </td> <td> total fines < ;/ td> <td> Remarks </td>
</tr>
</table>
</form> ;
configuration file code is as follows:

<! - search person's information ->
<action input = "/ jsp / user / errors.jsp "
parameter =" method "

path =" / user / find "
scope =" request "
type = "or.yh.action.PersonAction">
<forward name = "fal" path = "/ jsp / user / errors.jsp" / >
<forward name="suc" path="/jsp/user/logon_success.jsp" />
</action>
newspaper The error is as follows:
is 404 error:
The requested resource (/ user / find.do) is not available.
please heroes (my jsp file in jsp / user / directory under)


Sponsored Links

cdong329
2008-09-17 08:14:26
path = "/ user / find"
directly to
path = "/ find"
try
wp19830101
2008-09-17 08:28:24
upstairs, though not very correct, but then she was an answer, give him points
solution is to return to a path can be
Domain and server ip had changed since 8/23/2013. Suspend the user registration and posts for program maintenance.