[jboss-user] [JBoss Portal] - Re: How can i access my own datasource in portlet jsp

PeterJ do-not-reply at jboss.com
Wed Mar 25 13:42:35 EDT 2009


You can do this the same way you would do it in an JSP page - use JNDI to access the data source and get a connection. However, I suggest that you do that work in the portlet code and simply pass the results to the JSP and let it format the page.

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4221022#4221022

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4221022



More information about the jboss-user mailing list