Hey!
Search the http://archives.java.sun.com/archives/servlet-interest.html
archive. I remember seeing a hot-link to a web site that has an
adequate tutorial on this URL connection to a servlet. But it kinda
looks like you are having database connection problems. Look in
one of the good servlet books, for there is always an example for
doing database connection.
Basically what I am saying is look around a little. The answer if
under your nose.
Sans adieu,
Danny Rubis
Troy Rowe wrote:
> Sorry for the NON servlet question.
>
> I was wondering if anyone out there connects to a database through a
> JApplet.
>
> I have a japplet sending parameters to a servlet and the servlet based on
> the parameters then sends emails. What I want is for the applet to connect
> to a database and retreive email addresses from a user table and then
> display them in a JList.
>
> Everything works fine for a hardcoded email address, but when I try to use a
> connection to the database, no email is sent. Even when I just try to
> retrieve the email address from the db and print it out somewhere.
>
> SOooo from all of that I hope you gathered that obvisoulsy there is no
> connection taking place. However I have used this connection many times in
> my servlets.
>
> CAN ANYONE HELP?
>
> Thanks in advance.
>
> PS. Sorry to those who consider this inapporiate for this userlist. : )
>
> ~~~~~~~~~~~~~~~
> Troy Rowe
> GUI Developer
> www.magardi.com
> ~~~~~~~~~~~~~~~
>
> ___________________________________________________________________________
> 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