tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: [OT] Why "tomcat" didn't compile my jsp's
Date Sun, 20 Sep 2009 22:51:54 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Chuck,

On 9/19/2009 3:56 PM, Caldarale, Charles R wrote:
> Your JSP files must not be placed under WEB-INF, since files under
> WEB-INF may not be directly accessed via URL, and .jsp files have to
> be.

Not necessarily. If you want to use a front controller and forward to a
JSP under WEB-INF, that should be okay to do. Since the OP is using
Struts, it's highly likely that all URLs go through Struts before they
get to the view components.

> For this effort, the HelloRafael.jsp file should be placed at the top
> level of your webapp - the same level as WEB-INF and docs.

Certainly, to reduce confusion in a first-try webapp, HelloRafael.jsp
should be at the top level.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkq2sgkACgkQ9CaO5/Lv0PC85gCgq0TsuydOgW2gO2ijNADtvlJj
d5AAnjTBEOxj0zqpy9fa8zLdNZZqBZSk
=/UKc
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message