my dog learned polymorphism
The moose likes JSP and the fly likes How do you make JSPs searchable by Google? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "How do you make JSPs searchable by Google?" Watch "How do you make JSPs searchable by Google?" New topic

How do you make JSPs searchable by Google?

William H Taylor

Joined: Apr 22, 2009
Posts: 16
I am planning a JSP site that is connected to a database. The title, the heading tags, and content are all to be pulled from a database. I need to be able to make this site searchable by Google and I don't know how. I don't even know how to search for the answer. How do I make a data driven JSP site searchable by Google like a blog would be? I need it so that each returned JSP page can show up in a Google search results page. Thanks.
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 32635

You have links to the generated pages just like you do for static pages. This only works if you have a finite set of pages - in other words, the same URL returns similar content each time. For example, in the is forum each thread comes out of the database.

[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
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63350

Do you not think blogs are database-driven?

The source of the page is pretty much irrelevant. As Jeanne points out, it's how it appears to the web that matters.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
subject: How do you make JSPs searchable by Google?
It's not a secret anymore!