aspose file tools
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 Badass: Making Users Awesome this week in the Game Development 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: 31634

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]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 62269

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]
I agree. Here's the link:
subject: How do you make JSPs searchable by Google?