tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Milo Hyson" <m...@cyberlifeservices.com>
Subject Re: JSP-JDBC-Database Connectivity.
Date Sun, 11 Jun 2000 18:33:06 GMT
There are a number of ways to attack this problem depending on the
complexity of your project. For the stuff I do, I've found the
Model-View-Controller pattern to be the best as it makes things easy to
manage. It is possible to essentially just copy the code from your JDBC app
into a JSP page. You must be careful to follow JSP syntax.

I've put a sample page at this location:
http://www.cyberlifelabs.com/training/jsp/sample-jsp

Hope this helps. =)

- Milo Hyson
CyberLife Labs

----- Original Message -----
From: "Jayman Dalal" <jddalal@yahoo.com>
To: <tomcat-user@jakarta.apache.org>
Sent: Sunday, June 11, 2000 9:41 AM
Subject: JSP-JDBC-Database Connectivity.


> Dear friends,
>
> Hi.
> I am using RHL6.2-Netscape Navigator 4.72-Postgresql Database
> 6.5-JDK1.2. I am trying to estabish connectivity between web browser and
> database using jsp and jdbc.
>
> Please if anyone can send me sample code for doing the same, it will be
> highly appreciated.
>
> Basically I am trying to query records from a database using jdbc. I was
> able to do using jdbc application. But when I tried to do it using jsp,
> i got 500 error in browser.
>
> Please Help Urgently!!!
>
> Thanking you
> Regards
>
> Jayman Dalal
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Talk to your friends online with Yahoo! Messenger.
> http://im.yahoo.com
>
> --------------------------------------------------------------------------
> To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commmands, email: tomcat-user-help@jakarta.apache.org
>
>


Mime
View raw message