Ivan Jouikov wrote:
Ok, I put the following into my META-INF/context.xml:
<?xml version="1.0" encoding="UTF-8" ?>
<Context path="/ablogic" debug="9" reloadable="true">
<Resource name="jdbc/ablogic" auth="Container" type="javax.sql.DataSource"/> <ResourceParams name="jdbc/ablogic"> <!-- Max pool connections --> <parameter><name>maxActive</name><value>5</value></parameter> <!-- Max idle connections --> <parameter><name>maxIdle</name><value>5</value></parameter> <!-- Username --> <parameter><name>username</name><value>ivan</value></parameter> <!-- Password --> <parameter><name>password</name><value>kittiesrcute</value></parameter> <!--DB Driver --> <parameter><name>driverClassName</name><value>com.mysql.jdbc.Driver</value></parameter> <!--DB URL --> <parameter><name>url</name><value>jdbc:mysql://192.168.0.1:3306/school?autoReconnect=true</value></parameter> </ResourceParams> </Context>
Hello,
i had this kind of problem when moving from TC4 to TC5, because the context defined in my WAR's web.xml was overriding what was defined in TC's app.xml context. My context was defining everything properly but my application always received an empty context. Maybe you should try to set override="false" in your context definition ?
Good luck anyway :-)
On the JSTL / EL debate, i agree mostly, but as always with such technologies, there are ways to use them properly ...
With good templating engines and MVC frameworks (velocity + struts), JSTL is not needed anymore, as the JSPs becomes only facades to java beans. This is off topic ;-)
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
