📄 _logined.java
字号:
/*@lineinfo:filename=/Logined.jsp*/
/*@lineinfo:generated-code*/
import oracle.jsp.runtime.*;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import Model_PetType.*;
import Model_CartItem.*;
import Model_ItemInfo.*;
import javax.servlet.http.HttpSession;
import java.util.Collection;
import java.util.Iterator;
public class _Logined extends com.orionserver.http.OrionHttpJspPage {
public final String _globalsClassName = null;
// ** Begin Declarations
// ** End Declarations
public void _jspService(HttpServletRequest request, HttpServletResponse response) throws java.io.IOException, ServletException {
response.setContentType( "text/html;charset=GB2312");
/* set up the intrinsic variables using the pageContext goober:
** session = HttpSession
** application = ServletContext
** out = JspWriter
** page = this
** config = ServletConfig
** all session/app beans declared in globals.jsa
*/
PageContext pageContext = JspFactory.getDefaultFactory().getPageContext( this, request, response, null, true, JspWriter.DEFAULT_BUFFER, true);
// Note: this is not emitted if the session directive == false
HttpSession session = pageContext.getSession();
if (pageContext.getAttribute(OracleJspRuntime.JSP_REQUEST_REDIRECTED, PageContext.REQUEST_SCOPE) != null) {
pageContext.setAttribute(OracleJspRuntime.JSP_PAGE_DONTNOTIFY, "true", PageContext.PAGE_SCOPE);
JspFactory.getDefaultFactory().releasePageContext(pageContext);
return;
}
int __jsp_tag_starteval;
ServletContext application = pageContext.getServletContext();
JspWriter out = pageContext.getOut();
_Logined page = this;
ServletConfig config = pageContext.getServletConfig();
try {
// global beans
// end global beans
out.write(__oracle_jsp_text[0]);
out.write(__oracle_jsp_text[1]);
out.write(__oracle_jsp_text[2]);
out.write(__oracle_jsp_text[3]);
out.write(__oracle_jsp_text[4]);
out.write(__oracle_jsp_text[5]);
out.write(__oracle_jsp_text[6]);
/*@lineinfo:user-code*//*@lineinfo:32^13*/ String loginid=request.getParameter("Loginid");
/*@lineinfo:generated-code*/
out.write(__oracle_jsp_text[7]);
/*@lineinfo:user-code*//*@lineinfo:35^13*/ out.print(request.getParameter("Loginid"));
/*@lineinfo:generated-code*/
out.write(__oracle_jsp_text[8]);
/*@lineinfo:user-code*//*@lineinfo:64^23*/ HttpSession hs1=request.getSession(); if(hs1.getAttribute("cart")==null) { hs1.setAttribute("cart",new CartItemBean()); } CartItemBean cib1=(CartItemBean)hs1.getAttribute("cart"); int Count1=cib1.AllCount(); double Sum1=cib1.AllSum();
/*@lineinfo:generated-code*/
out.write(__oracle_jsp_text[9]);
/*@lineinfo:user-code*//*@lineinfo:74^28*/ out.print(Count1);
/*@lineinfo:generated-code*/
out.write(__oracle_jsp_text[10]);
/*@lineinfo:user-code*//*@lineinfo:75^28*/ out.print(Sum1);
/*@lineinfo:generated-code*/
out.write(__oracle_jsp_text[11]);
/*@lineinfo:user-code*//*@lineinfo:76^56*/ out.print(loginid);
/*@lineinfo:generated-code*/
out.write(__oracle_jsp_text[12]);
/*@lineinfo:user-code*//*@lineinfo:85^21*/ PetTypeBean ptb=new PetTypeBean(); Collection col=ptb.SelectPetType(); Iterator ita=col.iterator(); while (ita.hasNext()) { PetType pt=(PetType)ita.next(); String n=pt.getPetTypeName();
/*@lineinfo:generated-code*/
out.write(__oracle_jsp_text[13]);
/*@lineinfo:user-code*//*@lineinfo:95^29*/ out.print(n);
/*@lineinfo:generated-code*/
out.write(__oracle_jsp_text[14]);
/*@lineinfo:user-code*//*@lineinfo:96^21*/ }
/*@lineinfo:generated-code*/
out.write(__oracle_jsp_text[15]);
/*@lineinfo:user-code*//*@lineinfo:105^71*/ out.print(loginid);
/*@lineinfo:generated-code*/
out.write(__oracle_jsp_text[16]);
/*@lineinfo:user-code*//*@lineinfo:112^23*/ PetTypeBean ptb1=new PetTypeBean(); Collection col1=ptb.SelectPetType(); Iterator ita1=col1.iterator(); while (ita1.hasNext()) { PetType pt1=(PetType)ita1.next(); String n1=pt1.getPetTypeName();
/*@lineinfo:generated-code*/
out.write(__oracle_jsp_text[17]);
/*@lineinfo:user-code*//*@lineinfo:121^40*/ out.print(n1);
/*@lineinfo:generated-code*/
out.write(__oracle_jsp_text[18]);
/*@lineinfo:user-code*//*@lineinfo:121^49*/ out.print(n1);
/*@lineinfo:generated-code*/
out.write(__oracle_jsp_text[19]);
/*@lineinfo:user-code*//*@lineinfo:123^25*/ }
/*@lineinfo:generated-code*/
out.write(__oracle_jsp_text[20]);
/*@lineinfo:user-code*//*@lineinfo:141^22*/ ItemInfoBean ib=new ItemInfoBean(); Collection co=ib.FindAllItem(); Iterator it=co.iterator(); int icount=-1; while(it.hasNext()) { ItemInfo itn=(ItemInfo)it.next(); String itemid=itn.getItemID(); String PetID=itn.getPetID(); String RetailPrice=itn.getRetailPrice(); String CostPrice=itn.getCostPrice(); String SupID=itn.getSupID(); String Attr1=itn.getAttr1(); String Attr2=itn.getAttr2(); String Attr3=itn.getAttr3(); icount=icount+1; if(icount%3==0) {
/*@lineinfo:generated-code*/
out.write(__oracle_jsp_text[21]);
/*@lineinfo:user-code*//*@lineinfo:169^44*/ out.print(itemid);
/*@lineinfo:generated-code*/
out.write(__oracle_jsp_text[22]);
/*@lineinfo:user-code*//*@lineinfo:172^33*/ out.print(RetailPrice);
/*@lineinfo:generated-code*/
out.write(__oracle_jsp_text[23]);
/*@lineinfo:user-code*//*@lineinfo:175^68*/ out.print(itemid);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -