Dragan

One solution is to change the web.xml mapping for the action servlet from

<servlet-mapping>
<servlet-name>action</servlet-name>
<url-pattern>*.do</url-pattern>
</servlet-mapping>

to

<servlet-mapping>
<servlet-name>action</servlet-name>
<url-pattern>*.html</url-pattern>
</servlet-mapping>

The all your pages look like .html. Can cause problems if you have "real .html" files in your application, :-)

Mike


At 14:11 05/11/2002 +0100, you wrote:
If I all jsp pages put in protected directory and all
url's ends with .do how web crawler like google can index my application?
What is good solution for this problem?


Dragan Ljubojevic




--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>

Mike Way,
Senior Consultant, Shared Skills Ltd
+44 (0)1752 491088, mobile +44 (0) 7941 225581
email: [EMAIL PROTECTED] web: www.sharedskills.com


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>

Reply via email to