Bye,
Nicola
Bye,
Nicola
Bye,
Nicola
Bye,
Nicola
amrita singhal wrote:i made a servlet page called first.java
in that page i used verfication code with which i have to do database connectivity for that i used bean page.
name of bean page is db.java which is in as package.
how can i call that bean into servlet page(first.java)
can we write <jsp:bean id="first" scope="application" class="as.db"> in servlet page
amrita singhal wrote:Mark E Hansen
thankx for your suggestion
i know that both servlet and bean are java files. but for describe my problem i used that words.
amrita singhal wrote:bytheway i used servlet for verify the data from database
so i write sql queries inside servlet.
now to run sql queries first make connection from database
that part i did in bean
so in servlet how can i run queries
Bye,
Nicola
amrita singhal wrote:Mark E Hansen
ya i have that problem
but i already did database connection coding in bean
and queries will run in servlet
then how can we access those fields of database (resultset etc.) in servlet java file
Thanks tiny ad, for helping me escape the terrible comfort of this chair.
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
|