您的位置:首页 > 编程语言 > Java开发

使用netbeans写struts程序遇到的问题。。。

2006-08-18 11:38 513 查看
1。If you get a 404 error such as displayed below, make sure that the Derby database server is started, as instructed above, and then run the project again. Also make sure that the commons-pooling.jar, commons-dbcp.jar, and common-collections.jar files are added to the correct folder in your server's installation directory, as outlined above. Note that the server needs to be restarted after you add commons-pooling.jar, commons-dbcp.jar, and common-collections.jar, so that these JAR files can be loaded by the server. 最好在工程的Liberary中添加这三个包。

2。出现空白页

可能是Action中的Forward()与struts-config.xml不匹配。

3。javax.servlet.ServletException: ORA-01722: 无效数字
注意查看数据库查询语句是否正确,我是变量缺少单引号。。where student_id=' "+userID+" '
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
相关文章推荐