jQuery in Action, 3rd edition
The moose likes JDBC and Relational Databases and the fly likes Need help, out of my league Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Need help, out of my league" Watch "Need help, out of my league" New topic

Need help, out of my league

Robert E Clark

Joined: Feb 18, 2010
Posts: 1
My field is in networking/communications and I have basic knowledge of webdesign - enough to be dangerous. A friend referred me to this site and hopefully someone can help.

We currently have some back-end log in pages written in jsp for certain merchants. These pages were written by our software developer of which this project is not in their scope in this phase of devlopment. On one of these pages contains links to certain parts of the site. With that being said, here is my question.

My supervisor has asked me to take on a task of creating a link that pulls login information from a postgreSQL server and uses that information to log into another website. I have the login string for the other site, but my biggest task is to find out how to pull information from the database and insert it into the provided string as a link.

Can this be done?

I a few bucks to play around with if there is anyone to help.


Robert Clark
David Newton

Joined: Sep 29, 2008
Posts: 12617

Moving to JDBC forum. There are a million web references to simple JDBC usage, which may be enough to get by.

I'd caution strongly against putting this code into the JSP, and instead put it into a servlet, but that may be more than you want to deal with right now.
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 33111

Have you looked at the JDBC tutorial yet?

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
Campbell Ritchie

Joined: Oct 13, 2005
Posts: 46360
Welcome to the Ranch

To repeat what Jeanne said: here is that tutorial. There are lots of books and tutorials available elsewhere.
I agree. Here's the link: http://aspose.com/file-tools
subject: Need help, out of my league
It's not a secret anymore!