Re: Removing meta tags from source

Joost Baaij <[email protected]>
Newsgroups gmane.comp.web.sitemesh.general
Message-ID <[email protected]>
What I have found, a good way to do that is by using the page context.  
Tomcat example:


(---page to be decorated---)
<%
   String whatever = "";
   pageContext.setAttribute("whatever", whatever,  
PageContext.REQUEST_SCOPE);
%>


(---decorator---)
<%
   String whatever = (String) pageContext.getAttribute("whatever",  
PageContext.REQUEST_SCOPE);
%>


This way you can use the String (or any object, in fact) in your  
decorator and it will be destroyed when the request has completed.


Op 12-apr-05 om 17:00 heeft Jeff Faulkner het volgende geschreven:

> Is there a way to have the meta tags used to pass information to the  
> decorator be hidden when viewing the source?  The way I have things  
> set up now they are being displayed in the content source of the page.  
>  It might be marginally better to have them placed at least in the  
> head tag of the completed page.
>
> ---------------------------------------------------------------------
> Posted via Jive Forums
> http://forums.opensymphony.com/thread.jspa? 
> threadID=1505&messageID=4603#4603
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
-- 
joost baaij - freelance journalist - web producer
pobox 51059 - 1007eb - amsterdam - t. +31 (0)6 29516585
visit www.gomagazine.nl


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.