Jump to content
We've recently updated our Privacy Statement, available here ×

Cache-Control - no-cache


Recommended Posts

By: CARLOS ALBERTO SILVA - csilva2001

Cache-Control - no-cache

2003-01-11 10:36

Hi. Please, in the html file generated from JasperReport, are there lines like this?

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

<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">

<META HTTP-EQUIV="Cache-Control" CONTENT="must-revalidate">

 

Thanks,

Carlos

 

 

 

 

By: Teodor Danciu - teodord

RE: Cache-Control - no-cache

2003-01-13 01:10

 

Hi,

 

No, they are not by default, but you can customize

the HTML that the JRHtmlExporter produces using

the following parameters:

 

JRHtmlExporterParameter.HTML_HEADER

JRHtmlExporterParameter.BETWEEN_PAGES_HTML

JRHtmlExporterParameter.HTML_FOOTER

 

You can see how to use an exporter directly, if you

check the samples. There you can see the CSV

and the XLS exporter being used like this.

 

I hope this helps.

Teodor

 

 

 

 

 

By: CARLOS ALBERTO SILVA - csilva2001

RE: Cache-Control - no-cache

2003-05-19 15:00

Hi, Teodor. Please, how is the correct sintaxe for

JRHtmlExporterParameter.HTML_HEADER

JRHtmlExporterParameter.BETWEEN_PAGES_HTML

JRHtmlExporterParameter.HTML_FOOTER ?

 

Thanks,

CarlosSilva

 

 

 

 

 

 

 

 

By: Teodor Danciu - teodord

RE: Cache-Control - no-cache

2003-05-21 03:29

 

Hi,

 

You can put any String as value for these parameters.

But the text you put there will be included in the

resulting HTML.

So I guess you have to put some valid HTML code inside

these parameters.

I can only point you to the JRHtmlExporter source file

to see what is the default value for the parameters.

 

You have to see yourself what is the modofication

you want to make in the resulting HTML.

 

I hope this helps.

Teodor

 

 

 

 

 

By: CARLOS ALBERTO SILVA - csilva2001

RE: Cache-Control - no-cache

2003-05-22 14:31

Hi, Teodor. The JRHtmlExporter source did not help a lot... Please, tell me: I must use JRHtmlExporterParameter.HTML_HEADER(

"META HTTP-EQUIV=' Cache-Control' CONTENT=' no-cache' ") or I must use JRHtmlExporterParameter.HTML_HEADER("no-cache'") ?

 

Please, tell only this for help me, ok?

An embrace,

CarloSilva

 

 

 

 

 

 

By: CARLOS ALBERTO SILVA - csilva2001

RE: Cache-Control - no-cache

2003-05-23 04:42

Hi, Teodor. The JRHtmlExporter source did not help a lot... Please, tell me: I must use JRHtmlExporterParameter.HTML_HEADER(

"META HTTP-EQUIV=' Cache-Control' CONTENT=' no-cache' ") or I must use JRHtmlExporterParameter.HTML_HEADER("no-cache'") ?

 

Please, tell only this for help me, ok?

An embrace,

CarloSilva

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...