您的位置:学习中国 推荐教程 JSP编程 正文
原作者:knowsky 添加时间:2008-03-17 原文发表:2008-03-17 人气:56 来源:knowsky

本文章共5146字,分10页,当前第4页,快速翻页:
 


        response.setContentType("text/html");   
      //use a PrintWriter to send text data to the client who has requested the 

     //servlet 
       java.io.PrintWriter out = response.getWriter( );  
    //Begin assembling the HTML content    out.println("<html><head>");   
        out.println("<title>Help Page</title></head><body>"); 
        out.println("<h2>Please submit your information</h2>");   
    //make sure method="post" so that the servlet service method
    //calls doPost in the response to this form submit 
         out.println(        "<form method="post" action ="" + request.getContextPath( ) +            "/firstservlet" >"); 
 
本文章更多内容<<上一页 - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 下一页>>
本页地址
相关文章

Jsp页面实现文件上传下载
在JSP编程中Application的使用方法详解
Oracle数据库和JSP连接要注意问题精粹
win2k下搭建jsp环境
利用iText在JSP中生成PDF报表
JSP中图片验证的实现
缓冲技术提高JSP程序性能和稳定性<2>
缓冲技术提高JSP程序性能和稳定性<1>
JSP与XML的结合<3>
JSP与XML的结合<2>
Jsp&Servelet 学习笔记(2)
Jsp&Servelet 学习笔记(3)
Jsp&Servelet 学习笔记(4)
Jsp&Servelet 学习笔记(5)

相关评论


本文章所属分类:首页 推荐教程 JSP编程   JSP编程