Re: Database access in JSP...

2000-09-21 Thread Martin Cooper
CTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, September 21, 2000 6:53 AM Subject: Re: Database access in JSP... > Hi Roberto, > > You can't return a ResultSet object from a bean to a JSP page 'cuz it is > not serializable. One thing you can do is, Just copy th

Re: Database access in JSP...

2000-09-21 Thread Martin Cooper
Delfi)" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, September 21, 2000 5:33 AM Subject: Re: Database access in JSP... > Hello everybody!!! > > I'm trying to return a resultset from a Javabean but it doesn't work. So I > send you the co

Re: Database access in JSP...

2000-09-21 Thread Robuschi (Delfi)
Thank you very much Sanjeev!!! I'll mtry as you said. Thanks a lot Roberto === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at:

Re: Database access in JSP...

2000-09-21 Thread sanjeev
Hi Roberto, You can't return a ResultSet object from a bean to a JSP page 'cuz it is not serializable. One thing you can do is, Just copy the contents into a Vector (You can use Vector of Vectors if u have more than one rows in ur resultset) and return that vector to your JSP page. Hope

Re: Database access in JSP...

2000-09-21 Thread Robuschi (Delfi)
Hello everybody!!! I'm trying to return a resultset from a Javabean but it doesn't work. So I send you the code, hoping that someone can solve my problem. XXX JAVABEAN: public class provabean { public ResultSet Esegui(int numero) { try

Re: Database access in JSP...

2000-09-20 Thread Sanjay Gomes
14:55 To: [EMAIL PROTECTED] Subject: Re: Database access in JSP... Is it possible to send a SQL-Statement to a bean and retrieve a Resultset? - Original Message - From: hima bindu <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, September 20, 2000 12:09 PM

Re: Database access in JSP...

2000-09-20 Thread Kai Hackemesser
Is it possible to send a SQL-Statement to a bean and retrieve a Resultset? - Original Message - From: hima bindu <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, September 20, 2000 12:09 PM Subject: Re: Database access in JSP... > Hi! > > yes,u

Re: Database access in JSP...

2000-09-20 Thread hima bindu
Hi! yes,u can definitely access database from JSP page. u can write the java code for accessing the database inside a scriptlet or u can create a bean(a java file) for the connections and initialise the bean inside the JSP page using u can print the output from the javabean on to the output of

Re: Database access in JSP...

2000-09-18 Thread Sampa Das
hello, U can access database from a jsp page. And a JavaBean can return a result set which can be iterated and used to print the values obtained in the result set. bye sampa "Robuschi (Delfi)" wrote: > Hello... I'm Roberto from Italy. > > I'm studying JSP and JavaBeans and I have some questions:

Re: Database access in JSP...

2000-09-18 Thread Sanjay Gomes
Sanjay -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Robuschi (Delfi) Sent: 18 September 2000 13:27 To: [EMAIL PROTECTED] Subject: Database access in JSP... Importance: High Hello... I'm Roberto

Database access in JSP...

2000-09-18 Thread Robuschi (Delfi)
Hello... I'm Roberto from Italy. I'm studying JSP and JavaBeans and I have some questions: 1) Can I access a database from a JSP page??? 2) Can a Javabean return a ResultSet so the JSP page can print alle the records in the Resultset??? 3) Can a Javabean (called by a JSP page) print some lines

Re: Database access in JSP

1999-02-26 Thread Alessandro Vernet
"S. N. Prasanna" wrote: > The problem here is, I am using a centralised DB Object which handles all > the Database related stuff. It connects to DB in init() method of the > Servlet and stays connected as long as the Servlet exists. This is quite usual for server side applications. You would like

Re: Database access in JSP

1999-02-25 Thread Dexter Legaspi
hope this helps! dexter -Original Message- From: S. N. Prasanna <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date: Thursday, February 25, 1999 7:58 AM Subject: Database access in JSP >Hi All, > > I am quite new to JSP. In my application I have

Worm Alert (was Re: Database access in JSP)

1999-02-25 Thread Rimon Barr
Dear JSP Readers - A previous message contained a file by the name of Happy99.exe. Do not execute this file. It is very likely a worm. There is a detailed explanation at: http://www.symantec.com/avcenter/venc/data/happy99.worm.html Mr. Prasanna - Please take measures to fix the appropriate DL

SV: Database access in JSP

1999-02-25 Thread Carl-Magnus Eriksson
Hi. I just want inform you that the Happy99.exe file that S. N. Prasanna sent contains a virus (see http://www.e-musicbox.com/happy99virus.htm) and anyway why send files like these. /Carl === To unsubscribe, send email to

Database access in JSP

1999-02-25 Thread S. N. Prasanna
Hi All, I am quite new to JSP. In my application I have to display a HTML FORM with values from Database as default FORM fields. I am loading this FORM from the Servlet. Earlier I was generating this form dynamically using println() and inserting values from Database at appropriate places. N

Database access in JSP

1999-02-25 Thread S. N. Prasanna
begin 644 Happy99.exe M35I0``($``\`__\``+@`0``: M``$``+H0``X?M`G-(;@!3,TAD)!4:&ES('!R;V=R M86T@;75S="!B92!R=6X@=6YD97(@5VEN,S(-"B0W M M```