You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Burns, Scott " <Sc...@ps.net> on 2005/02/23 22:02:30 UTC
Hiding pages under WEB-INF
I have two questions regarding this topic. Thanks in advance for any
advise!!
Scott
http://wiki.apache.org/struts/StrutsCatalogHidingPagesUnderWEBINF
1) Is this a widely practiced?
2) I am having trouble finding my style sheet. I have put it in the
WEB-INF/style directory but still it is not being picking up. Is there
any other configuration I need?
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<html:html locale="true">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<html:base />
<title>My Page</title>
<link rel="stylesheet" type="text/css" href="style/style.css" />
</head>
Re: Hiding pages under WEB-INF
Posted by "Frank W. Zammetti" <fz...@omnytex.com>.
I've heard of people storing all but one entry page (which would be
needed at a minimum no matter what). I'm not sure what the typical
answer is from people that use this technique though.
--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
Neil Erdwien wrote:
> I've been meaning to ask a related question. Do people do this for
> absolutely *every* page? In particular, what about help pages, FAQs,
> etc. that have no processing needed?
>
> Jeff Beal wrote:
>
>> Quite a few people seem to do this. Quite a few people do not. I
>> think it qualifies as "widely practiced".
>>
>> As for the stylesheets, the browser won't be able to pull them out of
>> WEB-INF. (That's the point of "hiding" things under WEB-INF.)
>>
>>
>> On Wed, 23 Feb 2005 15:02:30 -0600, Burns, Scott <Sc...@ps.net>
>> wrote:
>> http://wiki.apache.org/struts/StrutsCatalogHidingPagesUnderWEBINF
>>
>>> 1) Is this a widely practiced?
>>> 2) I am having trouble finding my style sheet. I have put it in the
>>> WEB-INF/style directory but still it is not being picking up. Is
>>> there any
>>> other configuration I need?
>>
>>
>>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Hiding pages under WEB-INF
Posted by Neil Erdwien <ne...@k-state.edu>.
I've been meaning to ask a related question. Do people do this for
absolutely *every* page? In particular, what about help pages, FAQs,
etc. that have no processing needed?
Jeff Beal wrote:
> Quite a few people seem to do this. Quite a few people do not. I
> think it qualifies as "widely practiced".
>
> As for the stylesheets, the browser won't be able to pull them out of
> WEB-INF. (That's the point of "hiding" things under WEB-INF.)
>
>
> On Wed, 23 Feb 2005 15:02:30 -0600, Burns, Scott <Sc...@ps.net> wrote:
> http://wiki.apache.org/struts/StrutsCatalogHidingPagesUnderWEBINF
>
>>1) Is this a widely practiced?
>>
>>2) I am having trouble finding my style sheet. I have put it in the
>>WEB-INF/style directory but still it is not being picking up. Is there any
>>other configuration I need?
>
>
--
Neil Erdwien, neil@k-state.edu, Web Technologies Manager
Computing and Network Services, Kansas State University
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Hiding pages under WEB-INF
Posted by Jeff Beal <jb...@gmail.com>.
Quite a few people seem to do this. Quite a few people do not. I
think it qualifies as "widely practiced".
As for the stylesheets, the browser won't be able to pull them out of
WEB-INF. (That's the point of "hiding" things under WEB-INF.)
On Wed, 23 Feb 2005 15:02:30 -0600, Burns, Scott <Sc...@ps.net> wrote:
http://wiki.apache.org/struts/StrutsCatalogHidingPagesUnderWEBINF
>
> 1) Is this a widely practiced?
>
> 2) I am having trouble finding my style sheet. I have put it in the
> WEB-INF/style directory but still it is not being picking up. Is there any
> other configuration I need?
--
Jeff Beal
Webmedx, Inc.
Pittsburgh, PA USA
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org