struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Frank W. Zammetti" <fzli...@omnytex.com>
Subject Re: why an arbitrary html page can not be displayed in struts
Date Thu, 07 Sep 2006 17:12:37 GMT
I know, they're so passe, aren't they?!? LOL (hehe, not sure how to put 
the e with the tick over it in an eMail!)

Frank

Monkeyden wrote:
> yeah, I overlooked those pesky slashes.  who needs 'em?  :)
> 
> On 9/7/06, Frank W. Zammetti <fzlists@omnytex.com> 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:liner_zhao@yahoo.com]
>> >> 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: user-unsubscribe@struts.apache.org
>> >> For additional commands, e-mail: user-help@struts.apache.org
>> >>
>> >>
>> >>
>> >
>>
>> -- 
>> Frank W. Zammetti
>> Founder and Chief Software Architect
>> Omnytex Technologies
>> http://www.omnytex.com
>> AIM/Yahoo: fzammetti
>> MSN: fzammetti@hotmail.com
>> 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: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>
>>
> 

-- 
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
AIM/Yahoo: fzammetti
MSN: fzammetti@hotmail.com
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: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message