xtsm_0002ejsp_jsp.java
资源名称:JSP02.rar [点击查看]
上传用户:top0756
上传日期:2022-08-11
资源大小:6501k
文件大小:3k
源码类别:
Jsp/Servlet
开发平台:
VBScript
- import java.sql.*;
- import javax.servlet.*;
- import javax.servlet.http.*;
- import javax.servlet.jsp.*;
- import org.apache.jasper.runtime.*;
- public class xtsm_0002ejsp_jsp extends HttpJspBase {
- static {
- }
- public xtsm_0002ejsp_jsp( ) {
- }
- private static boolean _jspx_inited = false;
- public final void _jspx_init() throws org.apache.jasper.runtime.JspException {
- }
- public void _jspService(HttpServletRequest request, HttpServletResponse response)
- throws java.io.IOException, ServletException {
- JspFactory _jspxFactory = null;
- PageContext pageContext = null;
- HttpSession session = null;
- ServletContext application = null;
- ServletConfig config = null;
- JspWriter out = null;
- Object page = this;
- String _value = null;
- try {
- if (_jspx_inited == false) {
- synchronized (this) {
- if (_jspx_inited == false) {
- _jspx_init();
- _jspx_inited = true;
- }
- }
- }
- _jspxFactory = JspFactory.getDefaultFactory();
- response.setContentType("text/html; charset=GB2312");
- pageContext = _jspxFactory.getPageContext(this, request, response,
- "", true, 8192, true);
- application = pageContext.getServletContext();
- config = pageContext.getServletConfig();
- session = pageContext.getSession();
- out = pageContext.getOut();
- // HTML // begin [file="/xtsm.jsp";from=(0,51);to=(1,0)]
- out.write("rn");
- // end
- // HTML // begin [file="/xtsm.jsp";from=(1,31);to=(2,0)]
- out.write("rn");
- // end
- // HTML // begin [file="/xtsm.jsp";from=(2,27);to=(10,31)]
- out.write("rnrn<HTML>rn<HEAD>rn<TITLE>学生信息</TITLE>rn</HEAD>rn<BODY >rn <br> <br><center>rn <font size="3" color="red" >");
- // end
- // begin [file="/xtsm.jsp";from=(10,34);to=(10,67)]
- out.print(session.getAttribute("stu_name") );
- // end
- // HTML // begin [file="/xtsm.jsp";from=(10,69);to=(23,0)]
- out.write("</font>同学,欢迎使用学生信息管理页面!!!<br>rnrn </center>rn <br><br> <br><br> <br><br>rn<div align="center"><img src="img/boshi.jpg">rnrnrnrn</CENTER>rn</BODY>rn</HTML>rnrnrn");
- // end
- } catch (Throwable t) {
- if (out != null && out.getBufferSize() != 0)
- out.clearBuffer();
- if (pageContext != null) pageContext.handlePageException(t);
- } finally {
- if (_jspxFactory != null) _jspxFactory.releasePageContext(pageContext);
- }
- }
- }