wood burning stoves 2.0*
The moose likes Applets and the fly likes how to use prepared statement in the given code Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "how to use prepared statement in the given code" Watch "how to use prepared statement in the given code" New topic
Author

how to use prepared statement in the given code

mayank yadav
Greenhorn

Joined: Sep 25, 2005
Posts: 11
i want to use prepared statement for entering values
and connect it with an applet....the values will be
entered from the applet.....i tried with inheritence
concept, also with different object, but it didnt work..
help me in doing this.....
how should i proceed now...
plzz help..




[edited to add code tags]
[ September 25, 2005: Message edited by: Jeanne Boyarsky ]
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30076
    
149

Since you have the JDBC part down, I'll move this to our Applets forum.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Norm Radder
Ranch Hand

Joined: Aug 10, 2005
Posts: 685
How does your problem relate to a java applet?
Your code doesn't extend an applet class or define the methods needed for an applet to be called from the browser. The main() method is not used in applets.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: how to use prepared statement in the given code
 
Similar Threads
linking JDBC with Applet
uanble to wstavlish connection using JDBC and applet
problem in entering values
problem in entering values
problem in enterin data through jdbc:odbc