Joel Schneider wrote:

> Description of Problem:
>
> A typical Struts based web site might be configured to have requests
> matching the pattern"*.do" sent to the ActionServlet.  After a request is
> handled by its Action class, processing is typically forwarded to a .jsp
> page.
>
> However, it's also possible for users to directly request a .jsp page.
> When this happens, the JSP container (in my case, Orion) will process the
> .jsp page without any involvement by the ActionServlet.  Some .jsp pages
> may yield unexpected results when called in this manner.

Put those JSP pages in a directory under WEB-INF; for example, WEB-INF/jsp.
Files under the WEB-INF directory cannot be directly accessed.


david

Reply via email to