- 浏览: 59810 次
- 性别:
- 来自: 广州
最新评论
import javax.servlet.*; import javax.servlet.http.*; public class ServletToJsp extends HttpServlet { public void doGet (HttpServletRequest req,HttpServletResponse resp) { try { // 设置属性并将它提交给ServletUseJsp.jsp s resp.setContentType("text/html;charset=gb2312"); req.setAttribute ("servletName", "ServletToJsp"); getServletConfig().getServletContext().getRequestDispatcher ("/ServletUseJsp.jsp").forward(req, resp); }catch (Exception e){ e.printStackTrace (); } } }
发表评论
-
Servlet的运行过程和生命周期
2011-03-03 13:06 530Servlet的运行过程和生命周期 Demo3() 反射实 ... -
FromJspToServlet.jsp
2011-02-25 12:58 690<html> <body bgcolor= ... -
ServletUseJsp.jsp
2011-02-25 12:57 663<%@ page contentType="t ... -
JSP处理乱码问题
2011-02-25 12:54 639<form action=b.jsp method= ... -
HelloBean
2011-02-25 12:48 608<html> <head> < ... -
建立表单参数和Bean属性之间的关联
2011-02-25 12:42 828<!DOCTYPE HTML PUBLIC " ... -
jsp:useBean(application)
2011-02-25 12:38 726<%-- *********** Application ... -
jsp:useBean(session)
2011-02-25 12:36 754<%-- *************** Session ... -
jsp:useBean(request)
2011-02-25 12:34 808[code="java]<%-- ****** ... -
jsp:useBean(page)
2011-02-25 12:32 629<%-- *************** PageBea ... -
jsp:useBean
2011-02-25 12:26 673引用//=================== Counter ... -
jsp:forward / jsp:param
2011-02-25 11:27 849引用<html> <head> < ... -
jsp:include
2011-02-25 11:25 1012引用<html> <head> < ... -
TestBar.jsp
2011-02-25 11:21 717引用<%@page contentType=" ... -
TestDirective.jsp
2011-02-25 11:17 686<%@page import="java.ut ... -
Expressions.jsp
2011-02-25 11:16 487<!-- Example of JSP Expres ... -
BGColor.jsp
2011-02-25 11:15 718<HTML> <HEAD> & ... -
AccessCounts.jsp
2011-02-25 11:14 582<HTML><HEAD><TIT ... -
HelloWorld.jsp
2011-02-25 11:12 694<html> <head>< ... -
TestB
2011-02-25 11:09 706public class TestB { static S ...
相关推荐
The state-of-the-art concepts such as SOAP, Applet, Servlet, JSP, JDBC, Hibernate, JMS, J2EE, JNDI, CORBA, JSF etc. have been discussed in the last part. The content is enhanced with numerous ...
本书共分4部分,从xml、servlet、jsp和应用的角度向读者展示了java web开发中各种技术的应用,循序渐进地引导读者快速掌握java web开发。. 本书内容全面,涵盖了从事java web开发所应掌握的所有知识。在知识的讲解...
Advanced JAVA Lab Manual: This lab manual is specially written for computer engineering and IT students for practicing ...Different approaches are used to explain various features of Advanced JAVA.
Overrides the standard java.lang.Object.clone method to return a copy of this cookie. containsHeader(String) - Method in class javax.servlet.http.HttpServletResponseWrapper The default behavior of ...
ADVANCED JAVA: This book is especially for those who have basic knowledge of JAVA and want to learn some advanced features of JAVA like Applet, AWT, SWINGs, Servlet, JDBC, JSP etc… Also every one ...
Abstract: Servlet program running in the server-side, dynamically generated Web page with the traditional CGI and many other similar compared to CGI technology, Java Servlet with a more efficient, ...
本书共分4部分,从xml、servlet、jsp和应用的角度向读者展示了java web开发中各种技术的应用,循序渐进地引导读者快速掌握java web开发。. 本书内容全面,涵盖了从事java web开发所应掌握的所有知识。在知识的讲解...
本书共分4部分,从xml、servlet、jsp和应用的角度向读者展示了java web开发中各种技术的应用,循序渐进地引导读者快速掌握java web开发。. 本书内容全面,涵盖了从事java web开发所应掌握的所有知识。在知识的讲解...
Servlets have become the basis for JavaServer Pages (JSP) and other frameworks, and servlet technology now supports such high-traffic sites as ESPN.com and AltaVista.com. Not surprisingly, the ...
本书共分4部分,从xml、servlet、jsp和应用的角度向读者展示了java web开发中各种技术的应用,循序渐进地引导读者快速掌握java web开发。. 本书内容全面,涵盖了从事java web开发所应掌握的所有知识。在知识的讲解...
Java Servlet Technology .............................................................................................................. 58 JavaServer Pages Technology .....................................
5.4.1 中文字符格式的转换模块(Stringto.java) 22 5.4.2 自动生成验证码(Ran.java) 22 5.4.3 数据库的连接(ConnectionFactory.java) 23 5.4.4 数据库连接的关闭(DatabaseUtils.java)--只提供接口 23 5.4.5 ...
Procedures for automating servlet, JSP, and other J2EE testing using Cactus Ways to automate Swing testing with Jemmy, JFCUnit, and Abbot How to manage projects using Maven Techniques for ...
Procedures for automating servlet, JSP, and other J2EE testing using Cactus Ways to automate Swing testing with Jemmy, JFCUnit, and Abbot How to manage projects using Maven Techniques for ...
5.4.1 中文字符格式的转换模块(Stringto.java) 22 5.4.2 自动生成验证码(Ran.java) 22 5.4.3 数据库的连接(ConnectionFactory.java) 23 5.4.4 数据库连接的关闭(DatabaseUtils.java)--只提供接口 23 5.4.5 ...
第一章 Introduction to JSP...............238 第二章 Creating,Deploying and Executing a JSP..................239 第三章 JSP Scriplets,Directives and Action .................240 第四章 Working with ...
and also introduces several popular tools for easier integration of servlet technology with dynamic Web pages including JavaServer Pages (JSP), Tea, XMLC, and the Element Construction Set.
Java for the Web with Servlets, JSP and EJB is the one book you need to master Java web programming. It covers all the technologies needed to program web applications in Java using Servlets 2.3, JSP ...