Hi Gwen
Make html file including <APPLET> tag.
In applet use ( for example )
URLConnection con = url.openConnection();
to connect servlet.
There are nice samples and explanation about
applet-servlet communication in Jasson Hunter's book (
Java servlet programming ).
Or please go to
http://www.j-nine/pubs/applet2servlet/index.htm
Regard,
- pamungkas (sajip) -
--- meh_PY <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I am a bit confuse with all the reading that I have
> read
> Shd it be applet calls servlet or vice versa?
> In addition, there is a need for me to accesss data
> from the database. So, which one shd come first &
> who one to call who?
> database called by -> JDBC ???
> JDBC called by -> apple / servlet ???
> If applet is the one to call servlet, does it mean
> that i shd have a html file that calls applet & have
> something in the applet file that calls servlet. How
> can i connect the above few?
>
> I have written a testing program that has servlet to
> call applet & view the pg using the servlet.
> That is, http: host name:port/servlet/servlet-name
> However, there is a 'applet class not found'
> message.
> Is it the problem with the way i have the servlet
> calling the applet?
>
> Pls render help.....thks!!!
>
> :)Gwen
>
> ______________________________________________
> FREE Personalized Email at Mail.com
> Sign up at http://www.mail.com/?sr=signup
>
> ______________________________________________
> FREE Personalized Email at Mail.com
> Sign up at http://www.mail.com/?sr=signup
>
>
___________________________________________________________________________
> 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
__________________________________________________
Do You Yahoo!?
Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.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