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

refresh html page


Recommended Posts

By: CARLOS ALBERTO SILVA - csilva2001

refresh html page

2003-05-11 20:10

Hi, Teodor. Thanks for the your Jasper Reports. Perfect. But (there are always a 'but'.. rs..) please, help me. If get a report first time, it is ok. But if I change data and get the report a second time, it dont't change!.. I need hit a Refresh menu item from navigator program... Can you help me about this?

-------------------------------------

my code is more or less:

JRResultSetDataSource datasource = new JRResultSetDataSource( m_ResultSet );

 

jasperPrint = JasperFillManager.fillReport(

jasperReport,

null,

OneDataSource

);

 

JasperExportManager je = new JasperExportManager();

 

try

{

 

je.exportReportToHtmlFile(jasperPrint, myPath);

 

}

catch(JRException js)

{

System.out.println(js.toString());

}

response.sendRedirect(myPath);

----------------------------

Thanks, Carlos

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...