页面跳转问题 用JAVA写的:一个登陆界面,连接数据库验证用户名密码的正确性后,就跳转到下一个编辑页面。问题是:验证完毕后,如何实现跳转?new一个页面吗? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 五种JSP页面跳转方法详解http://developer.51cto.com/art/200902/109939.htm 代码里面 跳转啊 forward() For Examplerequest.getRequestDispatcher("目标页面").forward(request, response); forward(request, response)中的request和response分别代表什么啊?如何赋值呢? 我遇到的错误提示:Exception in thread "AWT-EventQueue-0" java.lang.Error: Unresolved compilation problems: request cannot be resolved request cannot be resolved to a variable response cannot be resolved to a variable 你的是AWT的编程,应该重新建一个类,然后通过这个类的画布切换到另外一个 原来不是web程序哦!!!那跳转什么啊 直接隐藏掉登录界面 new一个Frame() 啊 response.sendRedirect()request.getRequestDispatcher().forward(request,response) 其实可以 loginFrame.setVisible(false); mew UserFrame( ) ;可以传参数到UserFrame(User user) 用FX做呼叫中心遇到的几个问题 swing日前比较流行的框架是什么 控制台输出“使用或覆盖了已过时的 API。”是怎么回事啊。跪求解答 請問以下各項的知識入門大家有沒有好的推荐材料 收藏 不显示删除回复显示所有回复显示星级回复显示得分回复 多文档界面是用多文档好还是用TAB页好啊? 请叫查找字符串的问题` 一个JNI的问题,但是有关c编译的。 请问JList怎么增加东西啊? 各位兄弟救命啦!总是出现下面的错误!!! Java里面什么时候用到多线程编程,举个实际的列子,不要给出书上的列子!!! 刚学监听 抄了书的一段代码不能用运行 求解 Android -----记住密码
http://developer.51cto.com/art/200902/109939.htm
Exception in thread "AWT-EventQueue-0" java.lang.Error: Unresolved compilation problems:
request cannot be resolved
request cannot be resolved to a variable
response cannot be resolved to a variable
那跳转什么啊 直接隐藏掉登录界面 new一个Frame() 啊
request.getRequestDispatcher().forward(request,response)
其实可以 loginFrame.setVisible(false);
mew UserFrame( ) ;可以传参数到UserFrame(User user)