I would have all products have a URL pattern like mysite.com/product/mini-shop-vac (or similar). Then, map mysite.com/product/* to a ProductServlet or similar that generates the product page. You can find out what product they are viewing by using getRequestURI() method and stripping off the leading /product/ from the string.
On Sun, May 15, 2011 at 5:06 PM, Phil McDonnell <[email protected]>wrote: > I have an app that contains a number of products. I want these individual > product pages to SEO well. So for instance, I want to > mysite.com/mini-shop-vac to be the url for my product that is titled "Mini > Shop Vac". I have about a thousand products and my inventory is always > being updated. I know that urls are normally named via the web.xml file, but > is there some way to do more dynamic naming based on something like the > title of the data object that is the focus of a page? I am working on app > engine in java. > > Thanks so much, > Phil > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/google-appengine?hl=en. > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
