Expiring pages in JSC2?

I need to be able to have a page expire, when the user clicks the back button. How can I do that in JSC2? I ran across one other post, dated back to 2004 that says:

Could you modify the JSP page to include the following

lines andtry

<META HTTP-EQUIV="Pragma" CONTENT="no-cache">

<META HTTP-EQUIV=Expires CONTENT="now">

<%

response.setHeader("Pragma","No-cache");

response.setDateHeader("Expires", 0);

response.setHeader("Cache-Control","no-cache");

%>

Unfortunately, JSC2 doesn't like anything other than xml tags in the JSP code. Anyone have a workaround for me?

Thanks!!

[902 byte] By [Neelixx] at [2007-11-26 6:08:14]
# 1
Bumping this back up. This is something I'm also curious about as I am developing an application for which I would like to expire the pages.
JustinSD at 2007-7-6 13:38:54 > top of Java-index,Development Tools,Java Tools...
# 2
Unfortunately, meta tags are auto-emitted by the head component with no workaround options. I will add your request to the current RFE recently filed from his thread: http://forum.sun.com/jive/thread.jspa?forumID=123&threadID=63171/krys
3431603 at 2007-7-6 13:38:54 > top of Java-index,Development Tools,Java Tools...
# 3
Thanks for doing so. The page expiration issue seems to be comming up a lot for my work place no matter what IDE or development app we are using - its a common issue/need.As an aside: Overall I really like JSC2 and am happy that there is an active community here working on
JustinSD at 2007-7-6 13:38:54 > top of Java-index,Development Tools,Java Tools...
# 4
Thanks for the positive feedback! I have also passed this request to someonein development. Hopefully a workaround can be found./krys
3431603 at 2007-7-6 13:38:54 > top of Java-index,Development Tools,Java Tools...