?? user_0005fmodify_0002ejsp_jsp.java
字號:
package admin;
import bookshop.book.*;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.apache.jasper.runtime.*;
public class user_0005fmodify_0002ejsp_jsp extends HttpJspBase {
// begin [file="/admin/user_modify.jsp";from=(7,0);to=(7,67)]
// end
static {
}
public user_0005fmodify_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="/admin/user_modify.jsp";from=(0,88);to=(1,0)]
out.write("\r\n");
// end
// HTML // begin [file="/admin/user_modify.jsp";from=(1,26);to=(2,0)]
out.write("\r\n");
// end
// begin [file="/admin/user_modify.jsp";from=(2,2);to=(5,2)]
if (session.getAttribute("admin")==null || session.getAttribute("admin")==""){
response.sendRedirect("error.htm");
}
// end
// HTML // begin [file="/admin/user_modify.jsp";from=(5,4);to=(6,0)]
out.write("\r\n");
// end
// HTML // begin [file="/admin/user_modify.jsp";from=(6,36);to=(7,0)]
out.write("\r\n");
// end
// begin [file="/admin/user_modify.jsp";from=(7,0);to=(7,67)]
bookshop.run.op_user user = null;
boolean _jspx_specialuser = false;
synchronized (pageContext) {
user= (bookshop.run.op_user)
pageContext.getAttribute("user",PageContext.PAGE_SCOPE);
if ( user == null ) {
_jspx_specialuser = true;
try {
user = (bookshop.run.op_user) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "bookshop.run.op_user");
} catch (ClassNotFoundException exc) {
throw new InstantiationException(exc.getMessage());
} catch (Exception exc) {
throw new ServletException (" Cannot create bean of class "+"bookshop.run.op_user", exc);
}
pageContext.setAttribute("user", user, PageContext.PAGE_SCOPE);
}
}
if(_jspx_specialuser == true) {
// end
// begin [file="/admin/user_modify.jsp";from=(7,0);to=(7,67)]
}
// end
// HTML // begin [file="/admin/user_modify.jsp";from=(7,67);to=(8,0)]
out.write("\r\n");
// end
// begin [file="/admin/user_modify.jsp";from=(8,2);to=(33,0)]
long userid=0;
String mesg = "";
String submit = request.getParameter("submit");
if (submit!=null && !submit.equals("")){
if(user.update(request)){
mesg = "鐢ㄦ埛璧勬枡淇
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -