struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Miguel <>
Subject jsp's outside WEB-INF in maven archetype?
Date Tue, 10 May 2011 15:30:02 GMT
The other day I tried out a simple maven archetype (either
struts2-archetype-starter or -convention, I don't recall). Anyway, it's
one that comes configured with sitemesh.

What stroke me as odd was that the sample jsp's were in the path
src/webapp/jsp, and not inside WEB-INF.

Isn't it preferable to store the jsp's inside WEB-INF (to reduce their
visibility)? If so, shouldn't the archetypes be changed in accordance? 


Miguel Almeida

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message