tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "DonS, Choi" <dsc...@dreami.co.kr>
Subject org.apache.jasper.JasperException: Include: Mandatory attribute page missing
Date Fri, 24 Mar 2000 09:28:38 GMT
I just installed apache1.3.12+tomcat3.1 in solaris2.6 sparc machine.

Tomcat works fine.

But jsp error is occured when i execte some page.
The error message is 

=====================================================
Error: 500
Location: /stockinfo/analysis/price_min.jsp
Internal Servlet Error:

org.apache.jasper.JasperException: Include: Mandatory attribute page missing
	at java.lang.Throwable.fillInStackTrace(Native Method)
	at java.lang.Throwable.fillInStackTrace(Compiled Code)
	at java.lang.Throwable.(Compiled Code)
	at java.lang.Exception.(Compiled Code)
	at javax.servlet.ServletException.(Compiled Code)
	at org.apache.jasper.JasperException.(Compiled Code)
	at org.apache.jasper.compiler.JspUtil.checkAttributes(Compiled Code)
	at org.apache.jasper.compiler.Parser$Include.accept(Compiled Code)
	at org.apache.jasper.compiler.Parser.parse(Compiled Code)
	at org.apache.jasper.compiler.Parser.parse(Compiled Code)
	at org.apache.jasper.compiler.Parser.parse(Compiled Code)
	at org.apache.jasper.compiler.Compiler.compile(Compiled Code)
	at org.apache.jasper.runtime.JspServlet.loadJSP(Compiled Code)
	at org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNecessary(Compiled Code)
	at org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(Compiled Code)
	at org.apache.jasper.runtime.JspServlet.serviceJspFile(Compiled Code)
	at org.apache.jasper.runtime.JspServlet.service(Compiled Code)
	at javax.servlet.http.HttpServlet.service(Compiled Code)
	at org.apache.tomcat.core.ServletWrapper.handleRequest(Compiled Code)
	at org.apache.tomcat.core.ContextManager.service(Compiled Code)
	at org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection(Compiled
Code)
	at org.apache.tomcat.service.TcpConnectionThread.run(Compiled Code)
	at java.lang.Thread.run(Compiled Code)
===================================================================================================================
The price_min.jsp file is ===============================================================aramis(root)[/usr/local/apache/htdocs/stockinfo/analysis]161
cat price_min.jsp<html><head><link rel="stylesheet" type="text/css" href="/style.css"></head><body
bgcolor=#ffffff><%@ page import="java.lang.*,java.sql.*,java.text.*,dreami.session.*,dreami.common.*"
%><%jsp:include file="/session.jsp" %><%    String typecd = "p2";%><jsp:include
file="get_stkcd.jsp" ><jsp:include file="../menu_top.jsp" ><!-- Start :: 메인
테이블 --><table cellpadding=0 cellspacing=0 border=0 width=755><tr>   
    <td width=1 bgcolor=00339a valign=top><img src=/image/blank.gif width=1 height=1
border=0></td>        <td width=141 bgcolor=#dde0f3 valign=top>         <jsp:include
file="/menu_left.jsp" >          <jsp:include file="menu.jsp" >              </td>
       <td width=612 bgcolor=ffffff valign=top>                <jsp:include file="../mid.jsp"
>                <font size=4>&nbsp;</font>                <span class=pathh>
               <a href=/stockinfo/index.jsp?sid=<%=sid%> class=pathh>증권정보</a>
:                <a href=/stockinfo/analysis/price_now.jsp?sid=<%=sid%>&scd=<%=stkcd%>
class=pathh>전종목 분석</a> :                <a href=/stockinfo/analysis/price_now.jsp?sid=<%=sid%>&scd=<%=stkcd%>
class=pathh>현재시세</a></span>                <span class=patht>
: 10분주가</span><br><br>                &nbsp;<img src=./image/title01.gif
border=0 width=62 height=21 alt="현재시세"><br>                &nbsp;<span
class=menu>                [ <a href=price_now.jsp?sid=<%=sid%>&scd=<%=stkcd%>
class=menu>현재가</a>                | <font color=#0000ff>10분주가</font>
               | <a href=price_day.jsp?sid=<%=sid%>&scd=<%=stkcd%> class=menu>일일주가</a>
]</span><br>        <center>                <!-- Start :: 진짜내용
-->                <!-- Start :: 지수 --><jsp:include file="/stockinfo/printhead.jsp"
>                <!-- End :: 지수 -->                <!-- Start :: 표 --><%
       try        {                String next="";                String url="";         
      String jnno="";                String time="";                url = "http://quote.dreami.co.kr/cgi-bin/hts/stock_10min/stock_10min1.cgi?sid="+sid+"&jnno="+stkcd;
               time = request.getParameter("time");                if (time != null)     
                  url = url + "&time=" + time;                next = request.getParameter("next");
               if (next != null)                        url = url + "&next=" + next; 
              url = url + "&scd=" + stkcd;file://out.println(url);                java.net.URL
targetUrl = new java.net.URL(url);                file://-- begin print main_cgi         
      BufferedReader in = new BufferedReader(new InputStreamReader(targetUrl.openStream()));
               String inputLine = null;                while ((inputLine = in.readLine())
!= null)                {                        out.println(inputLine);                }
               in.close();                file://-- end print main_cgi        } catch (Exception
e) { e.printStackTrace(); }%>                <!-- Start :: 년도별 정보 --> 
              <!-- End :: 진짜내용 -->                </center><!-- End
:: main 부분 --><jsp:include file="/stockinfo/notice1.html" > <br> </td>
<td width=1 bgcolor=00339a valign=top><img src=./image/blank.gif width=1 height=1
border=0></td></tr><jsp:include file="../../menu_bottom.jsp" ></table></body></html>======================================================================================

Mime
View raw message