yeah, I overlooked those pesky slashes.  who needs 'em?  :)

On 9/7/06, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:

But again, the URL you show here is NOT valid... if your just making a
typo, then OK, but http:localhost is a malformed URL... it needs to be
http://localhost (the rest after that looks fine).

Frank

liner_zhao wrote:
> no typing error, my context path is C:tomcat/struts_project/x.html,  the
file
> is stored in the path
>
> http:localhost:8080/struts_project/x.html,
> is not displayed.
>
>
>
>
>
>
>
> David Friedman-2 wrote:
>> 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]
>>
>>
>>
>

--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
AIM/Yahoo: fzammetti
MSN: [EMAIL PROTECTED]
Author of "Practical Ajax Projects With Java Technology"
(2006, Apress, ISBN 1-59059-695-1)
Java Web Parts - http://javawebparts.sourceforge.net
Supplying the wheel, so you don't have to reinvent it!

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


Reply via email to