Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_java_server thread: How can I start web dev. with servlet and applet


Message #1 by "Ahmed Samir Diaey" <ahmadsamird@y...> on Mon, 11 Dec 2000 23:17:34 -0000
hello,

accessing database with servlet is very simple servlet provide strate way
 to
connect to database. u have to write all the code in the service method o
f the
servlet if u are using GenericServlet class and if u are using HTTPServle
t
then u have to write all connection code in doPost() or doGet() method.

there is nothing to worry in this, if u have problem plz write to me i wi
ll
mail the code for u, or u can send me the code i will debug it.

feal free to ask..........
Hemendra Gupta


"Ahmed Samir Diaey" <ahmadsamird@y...> wrote:
Hi there, 

I would like to design a site using the servlet,
I succeeded to access the database with jdk1.2 using
 jdbc:odbc, also I succeeded to run the examples of 

jswdk 1.0.1 but I fialed to access the database from
the servlet.

What is the best way to collect the stuff of the 

pages, applet and servlet? should I have to use 

Frontpage and call the applet and servlet from it?

Thanks in advance
Sam Di


  Return to Index