Solved

Need to detect values in an Access DB from a JSP Page.

Posted on 2004-08-02
8
187 Views
Last Modified: 2013-11-24
I have a request at work to build an alert system that will generate dynamic content on ASP pages as well as JSP pages.  

I had an idea that I could use an Access back end to store the content and an on/off flag.  This will work great for the ASP side, but how would I implement it on the JSP side?

Can JSP's read Access DB's?

Barry62
0
Comment
Question by:Barry62
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
  • 2
8 Comments
 
LVL 86

Expert Comment

by:CEHJ
ID: 11693374
Yes. Use JDBC, but you'd be better off with a superior db - MySQL or PostGresql
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 11693382
0
 
LVL 8

Author Comment

by:Barry62
ID: 11695335
OK, I'll try it.  

One question:  How does the servlet know where the database is located?

Barry62
0
Transaction Monitoring Vs. Real User Monitoring

Synthetic Transaction Monitoring Vs. Real User Monitoring: When To Use Each Approach? In this article, we will discuss two major monitoring approaches: Synthetic Transaction and Real User Monitoring.

 
LVL 92

Expert Comment

by:objects
ID: 11699967
> How does the servlet know where the database is located?

you specify the database to connect to using the connect string.

http://www.javaalmanac.com/cgi-bin/search/find.pl?words=jdbc
0
 
LVL 8

Author Comment

by:Barry62
ID: 11703204
Yes, objects, I know about connection strings.  But from the example that CEHJ provided, I don't see anything that would suggest that the Access database can be anywhere but on the same server, in the same directory as the java code.

My Access database will live on a completely different server than the java servlet.

Can I not do it this way?

Barry62
0
 
LVL 92

Accepted Solution

by:
objects earned 250 total points
ID: 11711043
you'll need to move your access database to the same server, or use a different database.
0
 
LVL 8

Author Comment

by:Barry62
ID: 11725891
Thanks.   was afraid I would have to do that, but hoping there was another solution.

Oh, well.  

0
 
LVL 92

Expert Comment

by:objects
ID: 11731480
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question