You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Frank W. Zammetti" <fz...@omnytex.com> on 2006/09/07 16:46:50 UTC
Re: how to display a series of new generated html files
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://).
Frank
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
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