通过servlet检索网页 [英] retriving web pages through servlet

查看:72
本文介绍了通过servlet检索网页的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个带有表单(文本框和按钮)的JSP.该任务是检索由servlet输入到文本框中的网页(链接到对按钮执行的操作),并通过servlet本身显示该网页.

任何对我的工作示例都有帮助的人将不胜感激.
谢谢

I have a JSP have with a form(text box and a button). The task is to retrieve the web page entered into the text box by a servlet(linked to action performed on button)and display it through the servlet itself.

Anybody that could help me with a working example will be greatly appreciated.
Thanks

推荐答案

您可以在google中找到很多示例.下面的链接可能会对您有所帮助

http://www.apl.jhu.edu/~ hall/java/Servlet-Tutorial/Servlet-Tutorial-First-Servlets.html [ http://www.servletworld.com/servlet-tutorials/simple-servlet-example.html [^ ]
You can find lot of examples in google.Below link may help

http://www.apl.jhu.edu/~hall/java/Servlet-Tutorial/Servlet-Tutorial-First-Servlets.html[^]

http://www.servletworld.com/servlet-tutorials/simple-servlet-example.html[^]


这篇关于通过servlet检索网页的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆