PDA

View Full Version : Using a specific catalog in JSP



bgavroy
05-20-2003, 09:42 AM
What is the way to define dynamically a catalog within a JSP or Servlet in order to switch from the default catalog (defined in web.xml) ?
Thanx

jhyde
05-20-2003, 09:49 AM
Web.xml supplies the value in the example JSP page. If you write your own JSP page, you can supply your own connect string. You can even dynamically adopt roles (if you have different classes of users) or different catalogs.
For documentation, follow the links from
http://mondrian.sourceforge.net/api/mondrian/rolap/RolapConnection.html