coolguy982
06-16-2003, 09:58 AM
We are receiving errors when trying to run the following code snippet in our query...
<%@ page session="true" contentType="text/html; charset=ISO-8859-1" %>
<%@ taglib uri="
http://www.tonbeller.com/jpivot/mondrian
" prefix="mondrian" %>
<jsp:useBean id="loginHandler" class="com.LoginBean" scope="session"/>
<mondrian:query id="query01"
jdbcDriver="oracle.jdbc.driver.OracleDriver"
jdbcUrl="jdbc:oracle:thin:@servre:1521:DB"
jdbcUser= "<%= loginHandler.getUsername() %>"
jdbcPassword= "<%= loginHandler.getPassword() %>"
catalogUri="/WEB-INF/queries/DataMine.xml">
Our errors come when trying to call the Bean for the jdbcUser and jdbcPassword. Is this the correct syntax to do this or must the username/password be hard coded?
Thanks.
P.S. We know LoginBean works properly because we are using it on another application in much the same manner.
<%@ page session="true" contentType="text/html; charset=ISO-8859-1" %>
<%@ taglib uri="
http://www.tonbeller.com/jpivot/mondrian
" prefix="mondrian" %>
<jsp:useBean id="loginHandler" class="com.LoginBean" scope="session"/>
<mondrian:query id="query01"
jdbcDriver="oracle.jdbc.driver.OracleDriver"
jdbcUrl="jdbc:oracle:thin:@servre:1521:DB"
jdbcUser= "<%= loginHandler.getUsername() %>"
jdbcPassword= "<%= loginHandler.getPassword() %>"
catalogUri="/WEB-INF/queries/DataMine.xml">
Our errors come when trying to call the Bean for the jdbcUser and jdbcPassword. Is this the correct syntax to do this or must the username/password be hard coded?
Thanks.
P.S. We know LoginBean works properly because we are using it on another application in much the same manner.