Normally a person maps *.do as the extension for a Struts servlet so it will
not interfere with the display of regular files.  What are all of your
mappings for the webapp with the "/struts_project" context path.  Also, you
list .html files in your example urls but your next line states a .htm (not
ending in the letter L) file.  Is that a typing error or are you really
typing a .html URL for a .htm path.  In that case you need to remember the
file extension must match.

Regards,
David

-----Original Message-----
From: liner_zhao [mailto:[EMAIL PROTECTED]
Sent: Friday, September 08, 2006 7:10 AM
To: user@struts.apache.org
Subject: why an arbitrary html page can not be displayed in struts

in a normal servlert project, an  arbitrary html  page can be dsplayed, when
i click on the link http:localhost:8080/servlet_project/x.html
  but in struts project  it can not be dipayed,  if when i click on the link
http:localhost:8080/struts_project/x.html,
although the x.htm file exists in the both projects, why? how can make the
x.htnl diplay in struts project?


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

Reply via email to