WebRoot/wjj/action/FunctionalAction.jsp

(开头部分) 2KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<%@ page language="java"
	import="com.accp.myShopping.wjj.dao.*,
com.accp.myShopping.wjj.entity.*,java.util.*"
	pageEncoding="utf-8" %>
<%@page import="java.text.*"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'FunctionalAction.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>
     <%
       request.setCharacterEncoding("utf-8");
       int fid=Integer.parseInt(request.getParameter("fid"));
       String Aname=(String)session.getAttribute("Aname");
       String pass=(String)session.getAttribute("APASS");
       admindao dao=new admindao();
       int count=dao.LoadselectID(Aname,pass);
       int Funcount=dao.Funtional(count,fid);
       
       if(Funcount>0&& fid==1){
           response.sendRedirect("/myShopping/wjj/action/ordeprocessingAction.jsp");
       }
      else if(Funcount>0&& fid==2){
           response.sendRedirect("/myShopping/wjj/ui/msconfig/adminInfo.jsp");
       }
      else if(Funcount>0&& fid==3){
           response.sendRedirect("/myShopping/wjj/ui/msconfig/addManager.jsp");
       }
      else if(Funcount>0&& fid==4){
           response.sendRedirect("/myShopping/wjj/ui/msconfig/UserManager.jsp");
       }
      else if(Funcount>0&& fid==5){
           response.sendRedirect("/myShopping/wjj/ui/msconfig/addGoods.jsp");
       }
      else if(Funcount>0&& fid==6){
           response.sendRedirect("/myShopping/wjj/action/pageAction.jsp");
       }
      else if(Funcount>0&& fid==7){
           response.sendRedirect("/myShopping/wjj/ui/msconfig/StockInfo.jsp");
       }
      else if(Funcount>0&& fid==8){
后面还有 23 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。