Send me a copy of your JSP and (non)bean. What you said you're doing should
work. Perhaps a fresh set of eyes...
On Monday, June 18, 2001, at 08:04 PM, Martin Smith wrote:
> Sachin--Thanks for the reply. Having burned another 10 hours or so on this,
> I can
> report it goes way beyond the request object. As far as I can tell, I can'
> t get
> ANY dynamic response from a bean or non-bean (class) from my JSP, without
> generating the servlet illegal-state error complaining that "response is
> already
> committed."
>
> It's always a good idea to upgrade, but I'm wondering if I'm missing
> greatly in my
> understanding of inter-object communication within a JSP container.
>
> Anyone know a clear statement of what you can and can't invoke from a JSP
> scriptlet??
>
> Martin
>
> "Sachin S. Khanna" wrote:
>
>> Sometimes the error you are facing could be because of a bug in the
>> Servlet
>> Jsp Engine.
>> I'd advice you to download the latest Tomcat 4.0 and see if it gives you
>> the
>> same problem.
>> Have a nice day.
>> With regards,
>> Sachin S. Khanna
>> http://www.emailanorder.com
>> ----- Original Message -----
>> From: Martin Smith <[EMAIL PROTECTED]>
>> To: <[EMAIL PROTECTED]>
>> Sent: Sunday, June 17, 2001 9:20 AM
>> Subject: Re: borrowing a "request"
>>
>>> Get/set and a null constructor, I thought. Anyhow. Fact is, I can't seem
>> to
>>> directly reference my class from a jsp without getting that "response
>> already
>>> committed" error. I even trimmed down the class to be trivial (does
>> nothing) and
>>> still get a error creating an instance of it or referring to its (only)
>> static
>>> variable.
>>>
>>> Maybe it's some rule built into the JSP container (tomcat 3.1) that you
>> can't
>>> reference classes (except via usebean) in the user app area
>> (WEB-INF/classes), or
>>> maybe I am staring some obvious thing right in the face & not seeing it.
>>>
>>> Martin
>>>
>>> Brad Cox wrote:
>>>
>>>> As far as I'm concerned, bean is just Sun's marketing name for objects.
>> JSP'
>>>> s usebean just requires the object to have get/set methods, which is
>>>> another bad idea that JSP perpetrates with usebean.
>>>>
>>>> On Saturday, June 16, 2001, at 08:38 PM, Martin Smith wrote:
>>>>> So I'm not doing usebean, for example
>>>>
>>>>
>> ========================================================================
>> ===
>>>> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
>> JSP-INTEREST".
>>>> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
>> DIGEST".
>>>> 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".
>>> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
>> DIGEST".
>>> 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".
>> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
>> DIGEST".
>> 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".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> DIGEST".
> 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
>
---
For industrial age goods there were checks and credit cards.
For everything else there is http://virtualschool.edu/mybank
Brad Cox [EMAIL PROTECTED] 703 361 4751
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
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