新手,搭了一个struts和hibernate的用户注册的小程序,想问一下myeclipse没报错,但是运行还出现404错误。是不是一定是配置错了,有可能程序错吗?
我是直接把用hibernate存入oracle的程序写到action中去的,没用到DAO模式。
index页面没问题,是输入账号密码后点提交,actionform收集数据到Action的时候报错:
HTTP Status 404 - /reg.do
--------------------------------------------------------------------------------
type Status report
message /reg.do
description The requested resource (/reg.do) is not available.
--------------------------------------------------------------------------------
Apache Tomcat/6.0.18