wood burning stoves 2.0*
The moose likes JSP and the fly likes JSP include question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "JSP include question" Watch "JSP include question" New topic
Author

JSP include question

ritesh padhe
Greenhorn

Joined: Aug 03, 2010
Posts: 8
If i put <META HTTP-EQUIV="EXPIRES" CONTENT="-1" /> tag in one jsp and include same jsp on other jsp's. Do i need to put META tag again or other jsp's will inherit META tag from included jsp? Please help.
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19651
    
  18

It's the generated HTML that counts, and by including this one JSP, the other JSPs will get that tag as well (provided you include the JSP unconditionally).


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60776
    
  65

Why not just check at the browser and see for yourself?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
ritesh padhe
Greenhorn

Joined: Aug 03, 2010
Posts: 8
Thanks for the reply.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSP include question
 
Similar Threads
Spring MVC + Tiles performance is too bad.
Encryption of jsp file
Forwarding Response from Servlet to JSP
Controlling the browser appearance using a JSP-html form
getting the response stream from jsp include