Try to use post method insted of get method.
-----Original Message-----
From: James Wilson [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 08, 2000 12:54 PM
To: [EMAIL PROTECTED]
Subject: Best way to send data to servlet
Ok, I have a servlet that creates an Image and encodes it into the
ServletOutputStream directly. I've been sending the data to the servlet via
the query string.
So my HTML looks something like this:
<img src"/servlet/GenericSortedStackBarChartServlet?a=?&b=?" . . . >
But I've just learned that the query string can only be so long. After
about a half of page of data my servlet hangs because the query string can't
be that long. To data insult to injury my data is calculated in ASP pages
(I'll rewrite it if I have to!). Having a FORM submit is unexceptable --
what are my options?
I've thought about JSP -- but I'm not sure that fixes the problem with out
using session variables to make the data accessable to my servlet -- I guess
I could.
What do you guys think?
Thanks,
James Wilson
HealthFirst Corp.
[EMAIL PROTECTED]
___________________________________________________________________________
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
___________________________________________________________________________
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