【Java开源代码栏目提醒】:文章导读:在新的一年中,各位网友都进入紧张的学习或是工作阶段。网学会员整理了Java开源代码-_0002fwelcome_0002ejspwelcome_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 _0002fwelcome_0002ejspwelcome_jsp_0 extends HttpJspBase {
// begin [file="D:\\jbuilder5\\samples\\Ejb\\ESite\\bookstore\\welcome.jsp";from=(7,0);to=(7,92)]
// end
static {
}
public _0002fwelcome_0002ejspwelcome_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\\welcome.jsp";from=(0,0);to=(5,0)]
out.write("<html>\r\n<head>\r\n<title>\r\nwelcome\r\n</title>\r\n");
// end
// begin [file="D:\\jbuilder5\\samples\\Ejb\\ESite\\bookstore\\welcome.jsp";from=(5,0);to=(5,45)]
{
String _jspx_qStr = "";
pageContext.include("Header.jsp" + _jspx_qStr);
}
// end
// HTML // begin [file="D:\\jbuilder5\\samples\\Ejb\\ESite\\bookstore\\welcome.jsp";from=(5,45);to=(6,0)]
out.write("\r\n");
// end
// begin [file="D:\\jbuilder5\\samples\\Ejb\\ESite\\bookstore\\welcome.jsp";from=(6,0);to=(6,46)]
{
String _jspx_qStr = "";
pageContext.include("Sidebar.jsp" + _jspx_qStr);
}
// end
// HTML // begin [file="D:\\jbuilder5\\samples\\Ejb\\ESite\\bookstore\\welcome.jsp";from=(6,46);to=(7,0)]
out.write("\r\n");
// end
// begin [file="D:\\jbuilder5\\samples\\Ejb\\ESite\\bookstore\\welcome.jsp";from=(7,0);to=(7,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\\welcome.jsp";from=(7,0);to=(7,92)]
}
// end
// HTML // begin [file="D:\\jbuilder5\\samples\\Ejb\\ESite\\bookstore\\welcome.jsp";from=(7,92);to=(12,0)]
out.write("\r\n<body>\r\n<h2>\r\nWelcome\r\n</h2>\r\n");
// end
// begin [file="D:\\jbuilder5\\samples\\Ejb\\ESite\\bookstore\\welcome.jsp";from=(12,2);to=(14,0)]
sessionBean.getClientDataModule().provideAllData(null, sessionBean.getUserId());
// end
// HTML // begin [file="D:\\jbuilder5\\samples\\Ejb\\ESite\\bookstore\\welcome.jsp";from=(14,2);to=(15,0)]
out.write("\r\n");
// end
// begin [file="D:\\jbuilder5\\samples\\Ejb\\ESite\\bookstore\\welcome.jsp";from=(15,2);to=(15,35)]
if ( sessionBean.isLoggedIn() ) {
// end
// HTML // begin [file="D:\\jbuilder5\\samples\\Ejb\\ESite\\bookstore\\welcome.jsp";from=(15,37);to=(17,0)]
out.write("\r\nWelcome\r\n");
// end
// begin [file="D:\\jbuilder5