• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to access a webpage from a database table  RSS feed

 
ankita balaji
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello everybody,
Good evening.Iam doing a project with servlets as my frontend and jdbc as middleware and mysql as backend.Now,I want to retrieve the every content of one field( say section,in my example) from my database table.I have done this using JDBC.Now,I want to provide HTML links to each of the contents I retrieved.
Mysql table looks as:

Section id Section
1 Java
2 Servlets
3 JSP
now,if i click on java,it should go to java.html and so on..
Can anyone please help me in this aspect?
Expecting help from you,
Ankita
Now,
 
Julian Kennedy
Ranch Hand
Posts: 823
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ankita,

Do you know how to produce a simple HTML page from a servlet? Do you know how to write a link in HTML? You clearly know how to get the information out of the database. If you know these three things then you shouldn't have any problems. If not, then please let us know which one(s) you're having difficulty with so that we can direct you.

Jules
 
Jeanne Boyarsky
author & internet detective
Sheriff
Posts: 36453
456
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ankita,
I agree with Jules that this sounds like a front end question. I'm going to move it to JSP.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!