📄 _buy1.java
字号:
/*@lineinfo:filename=/buy1.jsp*/
/*@lineinfo:generated-code*/
import oracle.jsp.runtime.*;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import java.util.*;
import Flower.model.shoppingCart;
import Flower.model.shoppingCartBean;
public class _buy1 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=GBK");
/* 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();
_buy1 page = this;
ServletConfig config = pageContext.getServletConfig();
try {
// global beans
// end global beans
out.write(__oracle_jsp_text[0]);
/*@lineinfo:translated-code*//*@lineinfo:2^1*/ Flower.model.shoppingCartBean cart;
synchronized (session) {
if ((cart = (Flower.model.shoppingCartBean) pageContext.getAttribute( "cart", PageContext.SESSION_SCOPE)) == null) {
cart = (Flower.model.shoppingCartBean) new Flower.model.shoppingCartBean();
pageContext.setAttribute( "cart", cart, PageContext.SESSION_SCOPE);
}
}
/*@lineinfo:generated-code*/
out.write(__oracle_jsp_text[1]);
/*@lineinfo:user-code*//*@lineinfo:245^23*/ Enumeration enum=cart.getOrderedItems(); shoppingCart pp; while(enum.hasMoreElements()) { pp=(shoppingCart)enum.nextElement();
/*@lineinfo:generated-code*/
out.write(__oracle_jsp_text[2]);
/*@lineinfo:user-code*//*@lineinfo:254^29*/ out.print(pp.getGoodsid());
/*@lineinfo:generated-code*/
out.write(__oracle_jsp_text[3]);
/*@lineinfo:user-code*//*@lineinfo:255^68*/ out.print(pp.getGoodsid());
/*@lineinfo:generated-code*/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -