struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Frank W. Zammetti" <>
Subject Re: how to display a series of new generated html files
Date Thu, 07 Sep 2006 14:46:50 GMT
Any file or directory under WEB-INF is not accessible to the outside 
world, as per the servlet spec.  So that's the first problem, you won't 
be able to get this to work in any case.  Second, if the URL you show 
here is accurate, the error message is telling you the problem: the URL 
is malformed (seems to be starting with a /, not a protocol, and there 
is no // after http://).


liner_zhao wrote:
> hello, everyone, 
> i am new for struts. maybe someone can help me, thx in adwance.
> in my struts action a series of html files are generated in a dictionary in
> struts, like  (WEB_INF/config/project/a.html...z.html), i want to display
> their name in a new page with Url, 
> http:localhost:8080/......./WEB_INF/config/project/ x.html,  
> but struts says that 
> The request sent by the client was syntactically incorrect (Invalid path
> /http:localhost:8080/......./WEB_INF/config/project/ x.html.html was
> requested).
> in fact the html file exsits there,  the path of file is correct.
> how can i resolve them?

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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message