Hi,
It seems such a simple one line, but I just can not get it works
(internal error).
( rs.getString(1) is pulled out of from a SQL db )
out.println("<td Align=\"Left\"><a href=\"" +
response.encodeUrl("/servlets/admin.AccountMgmt?bankcode=" +
rs.getString(1)) +
"\">" + rs.getString(1) + "</a></td>");
if I replace rs.getString(1) with a value like 719 as follows
response.encodeUrl("/servlets/admin.AccountEdit?bankcode=719") +
it works and displays the values in the table.
Look at log file, it says
[25/03/1999 17:31:04:219 EST] java.lang.IllegalStateException:
Already called getWriter
at java.lang.Throwable.<init>(Compiled Code)
at org.apache.jserv.JServConnection.getOutputStream(Compiled Code)
at admin.AccountMgmt.service(Compiled Code)
at javax.servlet.http.HttpServlet.service(Compiled Code)
at org.apache.jserv.JServConnection.run(Compiled Code)
at java.lang.Thread.run(Compiled Code)
Any ideas ?
(I am using Apache / Jserv).
Thanks.
Weigen
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html