again a very simple error
instead of this->if (rslcountry != null)
it should be if (rslcountry.next() != null)
then probably u can make it rslcountry.first() and start with the while
loop
Henki Lubis <[EMAIL PROTECTED]> on 06/22/2000 10:30:15 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 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/contactuscon
t
ent.java:59: Missing term.
out.print("\r\n ");
^
/usr/jrun/jsm-default/services/jse/servlets/jsp/home/contactus/contactuscon
t
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