Hi Room,
I am sorry this isn' jsp question.I still haven't been ab;le
to figure out why my applet though able to read the right values from
servlet ,won't display it.I'll explain the whole problem.Let's say i
have a textfield and a label which i am adding to the applet in the
addNotify function.I make a call to the servlet ,pass values thr' input
stream(the textfiled value).Now what
function do it call in the servlet.I found that it executes the doGet
and later doPost which i have to override .Now the doget method reads
null values from the input stream.Onl;y dopost reads the values in the
stream.But if i override the service method ,the doget and later dopost
gets executed twice.why??One dopost doesn't read the values and the
seclnd one reads it.
Now i am in total confusion.THe value read from servlet is not
getting displayed on the browser screen.I think it is to do with applet
not being able to paint the label to show the value read from the input
stream..But i dodn't understand why?
Does the printwriter in servlet print the output directly on to
the screen if the applet is not able to display values on the
browser.Iam asking this coz though the applet was reading the values
correctly ,i was getting the previos value in the outputsteam on the
browser and the label to show the right value was not getting
displayed.I am flushing the streams and con.setUseCaches(false).
I anybody could throw light on this ,I would appreciate it
Regards,
Meera
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html