This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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
internet detective

Joined: May 26, 2003
Posts: 30057

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.

[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: 60740

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?
Similar Threads
Highlighting a JTable cell on a successful search for a value entered in a textfield.
Recordset Navigator
Update web page with data from other pages?
how can i use google api in my intranet application
how to let google or yahoo search engine find my web site ?