开发者

using context resource in gwt 2 hosted mode

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜