Hi Kazi,

      The error "THE  DOCUMENT CONTAINED NO DATA" means that You tried to fetch a page 
which did not contain anything.

     In Your case when you do a post, You are simply updating colums of table 
'profile'.

Thus when you press submit on the Form, the data is sent to the URL 
http://sabbir.ite.edu.sg/servlets/Registration which does the registration process, 
but at
the end of it does NOT acknowledge/write anything back onto browser, as a result of 
which you get the message that the 'document contained no data'

So You simply need to write something say acknowledging success/error message or the 
data which was put into database, basically anything, from within the
Servelt "Registration".

HTH,

 Regards,

Dharmendra

Kazi Sabbir Ahmed wrote:

> Hi,
>
> My environment is - Windows98, JDK1.2.2, JSDK 2.0, Apache+Jserv
>
> I was trying to send some data from doGet() generated html to some database through 
>JDBC-ODBC connection. But when I press SUBMIT, I got the following error:
>                                                THE  DOCUMENT CONTAINED NO DATA
>
> My code is attached herewith.
>
> Thanks.
>
> Sabbir
>
> _______________________________________
> Rewards for everyday Internet use
>
>   ------------------------------------------------------------------------
>                         Name: Registration.java
>    Registration.java    Type: Plain Text (text/plain)
>                     Encoding: 7bit

___________________________________________________________________________
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

Reply via email to