| 发表于:2007-05-09 14:09:23 楼主 |
报着个错。 http status 404 - servlet action is not available -------------------------------------------------------------------------------- type status report message servlet action is not available description the requested resource (servlet action is not available) is not available. -------------------------------------------------------------------------------- ================= jsp页面: ================= <%@ page language= "java " pageencoding= "gb2312 "%> <html> <head> <title> jsp for loginform form </title> </head> <body> <form action= "/ssh/login.do " method= "post "> password : <input type= "text " name= "text1 "> <br> name : <input type= "text " name= "text2 "> <br> <input type= "submit " name= "button4 " value= "提交 "> </form> </body> </html> ======================== struts-config.xml ======================== <action-mappings > <action attribute= "loginform " input= "/form/login.jsp " name= "loginform " path= "/login " scope= "request " type= "com.ssh.struts.action.loginaction " validate= "false "> <forward name= "failse " path= "/form/failse.jsp " /> <forward name= "success " path= "/form/success.jsp " /> </action> </action-mappings> 找不到错啊... |
|
|
|
|