[jboss-user] [Beginner's Corner] - Simplifying use of JSTL SQL in JBOSS

Max Mohave do-not-reply at jboss.com
Tue Jan 8 17:15:47 EST 2013

Max Mohave [https://community.jboss.org/people/maxmohave] created the discussion

"Simplifying use of JSTL SQL in JBOSS"

To view the discussion, visit: https://community.jboss.org/message/789395#789395

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):

h2. Results

<c:forEach var="row" items="${rs.rows}">
  Foo ${row.foo}<br/>
  Bar ${row.bar}<br/>

 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

Reply to this message by going to Community

Start a new discussion in Beginner's Corner at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130108/3e67f339/attachment.html 

More information about the jboss-user mailing list