As a TOMCAT user its easy to specify a jdbc data source.
JBOSS seems to have several ways to do this.
I would like to use Sql Server 2005 with JSP in a jboss deployment 5.1.0.GA. Something like the following from (http://docs.jboss.org/jbossweb/2.1.x/printer/jndi-datasource-examples-howto.html):
Results
<c:forEach var="row" items="${rs.rows}">
Foo ${row.foo}<br/>
Bar ${row.bar}<br/>
</c:forEach>
</body>
</html>
-
Can someone tell me what I need to do this. Step by Step. 1) Do we need to add a file like mssql-ds.xml to "D:\path\jboss-5.1.0.GA server\test\deploy (where I have a "test.war" file). 2) under test.war (i.e., test.war\META-INF\content.xml) should I add a file like -
Any guidance that can be given would be appreciated. I have tried the above approach and however, I always get parsing errors. thank you, MaX