【Java开源代码栏目提醒】:网学会员Java开源代码为您提供_0002fLogin_0002ejspLogin_jsp_0.java参考,解决您在_0002fLogin_0002ejspLogin_jsp_0.java学习中工作中的难题,参考学习。
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import javax.servlet.jsp.tagext.*;
import java.io.PrintWriter;
import java.io.IOException;
import java.io.FileInputStream;
import java.io.ObjectInputStream;
import java.util.Vector;
import org.apache.jasper.runtime.*;
import java.beans.*;
import org.apache.jasper.JasperException;
public class _0002fLogin_0002ejspLogin_jsp_0 extends HttpJspBase {
// begin [file="D:\\jbuilder5\\samples\\Ejb\\ESite\\bookstore\\Login.jsp";from=(5,0);to=(5,92)]
// end
static {
}
public _0002fLogin_0002ejspLogin_jsp_0( ) {
}
private static boolean _jspx_inited = false;
public final void _jspx_init() throws JasperException {
}
public void _jspService(HttpServletRequest request, HttpServletResponse response)
throws 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) {
_jspx_init();
_jspx_inited = true;
}
_jspxFactory = JspFactory.getDefaultFactory();
response.setContentType("text/html;charset=8859_1");
pageContext = _jspxFactory.getPageContext(this, request, response,
"", true, 8192, true);
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
// HTML // begin [file="D:\\jbuilder5\\samples\\Ejb\\ESite\\bookstore\\Login.jsp";from=(0,0);to=(3,0)]
out.write("<html>\r\n<head>\r\n<title>JBuilder Booksore </title>\r\n");
// end
// begin [file="D:\\jbuilder5\\samples\\Ejb\\ESite\\bookstore\\Login.jsp";from=(3,0);to=(3,45)]
{
String _jspx_qStr = "";
pageContext.include("Header.jsp" + _jspx_qStr);
}
// end
// HTML // begin [file="D:\\jbuilder5\\samples\\Ejb\\ESite\\bookstore\\Login.jsp";from=(3,45);to=(4,0)]
out.write("\r\n");
// end
// begin [file="D:\\jbuilder5\\samples\\Ejb\\ESite\\bookstore\\Login.jsp";from=(4,0);to=(4,46)]
{
String _jspx_qStr = "";
pageContext.include("Sidebar.jsp" + _jspx_qStr);
}
// end
//
HTML // begin [file="D:\\jbuilder5\\samples\\Ejb\\ESite\\bookstore\\Login.jsp";from=(4,46);to=(5,0)]
out.write("\r\n");
// end
// begin [file="D:\\jbuilder5\\samples\\Ejb\\ESite\\bookstore\\Login.jsp";from=(5,0);to=(5,92)]
com.borland.samples.web.SessionBean sessionBean = null;
boolean _jspx_specialsessionBean = false;
synchronized (session) {
sessionBean= (com.borland.samples.web.SessionBean)
pageContext.getAttribute("sessionBean",PageContext.SESSION_SCOPE);
if ( sessionBean == null ) {
_jspx_specialsessionBean = true;
try {
sessionBean = (com.borland.samples.
web.SessionBean) Beans.instantiate(this.getClass().getClassLoader(), "com.borland.samples.web.SessionBean");
} catch (Exception exc) {
throw new ServletException (" Cannot create bean of class "+"com.borland.samples.web.SessionBean");
}
pageContext.setAttribute("sessionBean", sessionBean, PageContext.SESSION_SCOPE);
}
}
if(_jspx_specialsessionBean == true) {
// end
// begin [file="D:\\jbuilder5\\samples\\Ejb\\ESite\\bookstore\\Login.jsp";from=(5,0);to=(5,92)]
}
// end
// HTML // begin [file="D:\\jbuilder5\\samples\\Ejb\\ESite\\bookstore\\Login.jsp";from=(5,92);to=(53,0)]
out.write("\r\n\r\n<form method=\"post\" action=\"loginservlet\">\r\n <table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width