【Java开源代码栏目提醒】:文章导读:在新的一年中,各位网友都进入紧张的学习或是工作阶段。网学会员整理了Java开源代码-__modimy.java的相关内容供大家参考,祝大家在新的一年里工作和学习顺利!
/* compiled from JSP: /modimy.jsp
*
* This code was automatically generated at 14:23:08 on 2004-3-2
* by weblogic.servlet.jsp.Jsp2
Java -- do not edit.
*/
package jsp_servlet;
import java.io.*;
import java.util.*;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import javax.servlet.jsp.tagext.*;
// User imports
import org.pan.web.book.shopuser; //[ /modimy.jsp; Line: 12]
// built-in init parameters:
// boolean _verbose -- wants debugging
// Well-known variables:
// JspWriter out -- to write to the browser
// HttpServletRequest request -- the request object.
// HttpServletResponse response -- the response object.
// PageContext pageContext -- the page context for this
JSP // HttpSession session -- the session object for the client (if any)
// ServletContext application -- The servlet (application) context
// ServletConfig config -- The ServletConfig for this JSP
// Object page -- the instance of this page's implementation class (i.e., 'this')
/**
* This code was automatically generated at 14:23:08 on 2004-3-2
* by weblogic.servlet.jsp.Jsp2Java -- do not edit.
*
* Copyright (c) 2004 by BEA Systems, Inc. All Rights Reserved.
*/
public final class __modimy
extends
weblogic.servlet.jsp.JspBase
implements weblogic.servlet.jsp.StaleIndicator
{
// StaleIndicator interface
public boolean _isStale() {
weblogic.servlet.jsp.StaleChecker sci =(
weblogic.servlet.jsp.StaleChecker)(getServletConfig().getServletContext());
java.io.File f = null;
long lastModWhenBuilt = 0L;
if (sci.isResourceStale("/modimy.jsp", 1046050544000L, "7.0.1.0")) return true;
return false;
}
public static boolean _staticIsStale(weblogic.servlet.jsp.StaleChecker sci) {
java.io.File f = null;
long lastModWhenBuilt = 0L;
if (sci.isResourceStale("/modimy.jsp", 1046050544000L, "7.0.1.0")) return true;
return false;
}
public void _jspService(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.io.IOException, javax.servlet.ServletException
{
// declare and set well-known variables:
javax.servlet.ServletConfig config = getServletConfig();
javax.servlet.ServletContext application = config.getServletContext();
javax.servlet.jsp.tagext.Tag _activeTag = null;
// variables for Tag extension protocol
Object page = this;
javax.servlet.jsp.JspWriter out;
javax.servlet.jsp.PageContext pageContext =
javax.servlet.jsp.JspFactory.getDefaultFactory().getPageContext(this, request, response, null, true, 8192, true);
response.setHeader("Content-Type", "text/html; charset=gb2312");
out = pageContext.getOut();
JspWriter _originalOut = out;
javax.servlet.http.HttpSession session = request.getSession(true);
try { // error page try block
response.setContentType("text/html; charset=gb2312");
out.print("\r\n\r\n");
//[ /modimy.jsp; Line: 3]
//[ /modimy.jsp; Line: 4]
String username = (String)session.getAttribute("username"); //[ /modimy.jsp; Line: 5]
if ( username == null || username.equals("") ){ //[ /modimy.jsp; Line: 6]
response.sendRedirect("login.jsp?msg=nologin"); //[ /modimy.jsp; Line: 7]
} //[ /modimy.jsp; Line: 8]
//[ /modimy.jsp; Line: 9]
out.print("\r\n\r\n");
out.print("\r\n");
org.pan.web.usermn user = null; //[ /modimy.jsp; Line: 13]
user = (org.pan.web.usermn)pageContext.getAttribute("user"); //[ /modimy.jsp; Line: 13]
if (user == null) { // begin 'user' instantiation block... //[ /modimy.jsp; Line: 13]
{ // Don't need to synchronize on page scope //[ /modimy.jsp; Line: 13]
user = (org.pan.web.usermn)pageContext.getAttribute("user"); //[ /modimy.jsp; Line: 13]
if (user == null) { // begin 'user' synchronized instantiation block... //[ /modimy.jsp; Line: 13]
user = new org.pan.web.usermn(); //[ /modimy.jsp; Line: 13]
pageContext.setAttribute("user", user); //[ /modimy.jsp; Line: 13]
} // end synchronized bean instantiation block... //[ /modimy.jsp; Line: 13]
} // end synchronized bean scope block... //[ /modimy.jsp; Line: 13]
} // end bean instantiation block... //[ /modimy.jsp; Line: 13]
out.print("\r\n");
//[ /modimy.jsp; Line: 14]
long userid=0; //[ /modimy.jsp; Line: 15]
String mesg = ""; //[ /modimy.jsp; Line: 16]
//[ /modimy.jsp; Line: 17]
String submit = (String)request.g