开发者

using context resource in gwt 2 hosted mode

开发者 https://www.devze.com 2023-02-01 12:40 出处:网络
I am moving a web app from gwt 1.5 to gwt 2.0. I am trying to connect 开发者_StackOverflowto the a database resource I have in my context.xml file.In gwt 1.5 I had set up root.xml in tomcat->conf->gwt

I am moving a web app from gwt 1.5 to gwt 2.0. I am trying to connect 开发者_StackOverflowto the a database resource I have in my context.xml file.In gwt 1.5 I had set up root.xml in tomcat->conf->gwt->localhost. I have no idea where to set up the resource in GWT 2.0. I tried placing my context.xml file in war->META-INF with no luck.

Anyone have an idea where to place the context.xml file to be able to use a jndi database resource in GWT 2.0?


trick was to use jetty-web.xml in WEB-INF

0

精彩评论

暂无评论...
验证码 换一张
取 消