?? productionprocess.jsp
字號(hào):
<jsp:useBean id="production" class="src.wuyang.ProductLocation" scope="page"/>
<jsp:useBean id="global" class="src.com.MyGlobal" scope="session"/>
<% if (global.isLogined == false) {
%>
<jsp:forward page="../pub/DBErr.jsp" >
<jsp:param name="rtcode" value="-4" />
</jsp:forward>
<% }
%>
<%
production.setGlobal(global);
%>
<jsp:setProperty name="production" property="*" />
<html>
<body bgcolor="#0000FF" text="#FFFFFF">
<%! int rtcode; %>
<%
if(request.getParameter("insert") != null) /* 新增顏色 */
rtcode = production.insert();
else if(request.getParameter("update") != null) /*修改顏色 */
rtcode = production.update();
//System.out.println("rtcode="+rtcode);
if(rtcode == 0) {
%>
<jsp:forward page="productionDetail.jsp" >
<jsp:param name="productId" value="<%= production.getProductId()%>" />
</jsp:forward>
<% }else { %>
<jsp:forward page="../pub/DBErr.jsp" >
<jsp:param name="rtcode" value="<%= rtcode %>" />
</jsp:forward>
<% } %>
</body>
</html>
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -