请教banq一个问题

xxmouse 03-06-13

我安装了jboss3.2.1-tomcat_4.1.24, 然后按你教程中的方法部署
了carweb的应用, 输入界面出来了, 但是我输入号码提交时, 浏览器总是提示说有个xxxAction.do的文件, 让我选择另存还是打开, 看起来好像是把SERVLET传过来了, 这种情况如何处理呢?我对Jboss还不是特别熟悉。请banq解答, 谢谢。

banq
2003-06-13 18:47

需要安装一个WAP浏览器,因为这个界面的WAP界面,配置struts-config.xml 可以去除/wap/后,就是正常的jsp

xxmouse
2003-06-13 19:18

banq, 多谢很快回复。
但是, 我按你的方法修改了struts-config.xml, 将"/wap/index.jsp"
改为 "/index.jsp", 仍然是同样的结果, 这可能是什么原因呢?
是不是一定要安装wap浏览器?
谢谢

xxmouse
2003-06-13 19:51

banq, I just tried to use the Opera 7.1 web browser to browse the
http://localhost:8080/carweb/index.jsp, surprisingly, this time seems that it works, but another problem comes out then, even when I input "1" as the carno, it still reports that it can't find that number in the database, but I have checked the db and make sure that there IS a row with "1" as the carno, don't know why it's just like that.
any clues for this problem?
thx

ps: the m3gate links on you provided seems to be broken, I assume that maybe you still don't konw.

banq
2003-06-13 20:28

可能你的Jboss与数据库之间没有联通,你看看报错信息。