I would be helpful to look at the generated .java file. then trace it to
the JSP. I bet it is something silly like a wrong tag or mismatched bracket
or something like that. try to attach or include the whole JSP file if you
can.
-----Original Message-----
From: Henki Lubis [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 22, 2000 12:00 AM
To: [EMAIL PROTECTED]
Subject: : ErroR again
thx .. i just relized it ..but now i got this error again . i have been
trying to find out but useless...
this is the jsp code in my jsp page
NB: qMember is my id's Bean
<% qMember.setDatabaseName (DB_NAME);
ResultSet rslcountry=qMember.getCountry ();
if (rslcountry != null)
{
try
{
while (rslcountry.next ())
{
if (rslcountry.getString
("COUNTRYID").equals ("102"))
{%>
<option value="<% =rslcountry.getString
("COUNTRYID") %>" selected><% =rslcountry.getString ("COUNTRYNAME") %>
</option>
<%}
else
{%>
<option value="<%
=rslcountry.getString ("COUNTRYID") %>"><% =rslcountry.getString
("COUNTRYNAME") %></OPTION>
<%}
}
rslcountry.getStatement().close();
}
catch (SQLException e)
{}
}%>
and this is the ERROR : 500 Internal Server Error
com.livesoftware.jsp.JSPServlet:
javax.servlet.ServletException:
/usr/jrun/jsm-default/services/jse/servlets/jsp/home/contactus/contactuscont
ent.java:59: Missing term.
out.print("\r\n ");
^
/usr/jrun/jsm-default/services/jse/servlets/jsp/home/contactus/contactuscont
ent.java:70: Missing term.
out.print("\r\n ");
^
4 errors
-----Original Message-----
From: Tamanna Kher [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 22, 2000 11:18 AM
To: [EMAIL PROTECTED]
Subject: Re: ErroR
the error is
<%jsp:usebean id="qMember" class="com.balicamp.asiapot.JMember"
scope="page" %> (my bean)
instead it should be
<jsp:usebean id="qMember" class="com.balicamp.asiapot.JMember"
scope="page"/>
Henki Lubis <[EMAIL PROTECTED]> on 06/22/2000 08:46:59 AM
Please respond to A mailing list about Java Server Pages specification and
reference <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
cc: (bcc: Kher Tamanna-SWD-ITIL-UB/Itilmail)
Subject: ErroR
HI guys .. i am trying to show up a content of a field of a table in my
data
base .. and i got this msg ...500 Internal Server Error
com.livesoftware.jsp.JSPServlet:
javax.servlet.ServletException
any idea wat this error means ?? i have checked all syntaxs and i dont
think
something wrong there ??
nb: at the top i am using
<%@ page import="java.sql.*"%>
<%@ include file="/../include/global.jsp"%> (another page that will be
executed first)
<%jsp:usebean id="qMember" class="com.balicamp.asiapot.JMember"
scope="page"
/%> (my bean)
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets