I have created a site <http://www.theuniquepear.com> using struts over
the past couple of months. I am running Tomcat 5x and Struts 1.2x.

But here is my huge problem. I have a html file in my tomcat root
which does a javascript function that directs the user to the site.
Soemthing like this:
top.location.href="http://www.theuniquepear.com/unique/index.jsp";

This gets the browser into the proper webapp from the url entered, and
it calls the index.jsp page which then calls a
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
  <logic:forward name="welcome" />

The kind of defacto I see in all books.The welcome finally calls a
welcome.do action, I go and get some buisness objects, then finally
... display the jsp page that the end user sees.

This all works, except any web crawlers and robots, cannot follow this
insane logic. And when I do  a curl on my url, it only shows the
index.jsp with the javascript:

Is there a cleaner way to get around all this redirecting, so that I
can get my business logic called up and go to a clean page, so when I
do a curl which I think the robots are using, they can actually index
my site?

This is killing me. If anyone has ideas, suggestions, or could assist,
I would be appreciated.

Regards

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to