【Java开源代码栏目提醒】:本文主要为网学会员提供_0002fSidebar_0002ejspSidebar_jsp_0.java,希望对需要_0002fSidebar_0002ejspSidebar_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 _0002fSidebar_0002ejspSidebar_jsp_0 extends HttpJspBase {
// begin [file="D:\\jbuilder5\\samples\\Ejb\\ESite\\bookstore\\Sidebar.jsp";from=(0,0);to=(0,92)]
// end
static {
}
public _0002fSidebar_0002ejspSidebar_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();
// begin [file="D:\\jbuilder5\\samples\\Ejb\\ESite\\bookstore\\Sidebar.jsp";from=(0,0);to=(0,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\\Sidebar.jsp";from=(0,0);to=(0,92)]
}
// end
// HTML // begin [file="D:\\jbuilder5\\samples\\Ejb\\ESite\\bookstore\\Sidebar.jsp";from=(0,92);to=(8,8)]
out.write("\r\n<tr>\r\n <td bgcolor=\"#666699\" valign=\"top\"><form method = \"post\" action = \"search\"> <span class=\"subtitleWhite\">Quick Search</span><br>\r\n <input size=\"15\" name=\"booktitle\"></input>\r\n <input type=\"image\" class=\"subtitleWhite\" height=16 alt=\"Go\" src=\"images/go.gif\" width=16 border=0></form><br>\r\n <form>\r\n <a href=\"newuser\" class=\"subtitleWhite\"><IMG height=7 alt=\"\" src=\"images/bullet.gif\" width=7 border=0>\r\n <IMG height=10 alt=\"\" src=\"images/spacer.gif\" width=1 border=0>New Account</a><br>\r\n ");
// end
// begin [file="D:\\jbuilder5\\samples\\Ejb\\ESite\\bookstore\\Sidebar.jsp";from=(8,10);to=(10,8)]
if ( sessionBean.isLoggedIn() ) {
// end
// HTML // begin [file="D:\\jbuilder5\\samples\\Ejb\\ESite\\bookstore\\Sidebar.jsp";from=(10,10);to=(13,8)]
out.write("\r\n <a href=\"logout\" class=\"subtitleWhite\"><IMG height=7 alt