I am using CRS (Crystal Reports Server) 2008 v1 and we are viewing reports through a JSP application deployed on the built-in Tomcat server that comes with CRS. I would like to know how to dynamically change the locale of reports through this application (i.e. through Java). The below code seems to work fine for CRS XI but it is not working in CRS 2008 v1. The locale seems to get stuck to Swedish regional settings in my case!
IInfoObject infoObject = (IInfoObject)infoObjects.get(0);
IReportAppFactory reportAppFactory = (IReportAppFactory) enterpriseSession.getService("RASReportFactory");
ReportClientDocument clientDoc = reportAppFactory.openDocument(infoObject, 0, **java.util.Locale.US**);
How can we modify this locale setting to work with CRS 2008. It seems that openDocument with the java.util.Locale.US has no effect on the result we get. It is not changing anything!
We changed the regional settings of the machine where the server is installed and we also changed the settings from the CMC and we also reinstalled the CRS using English.