I got it to work by creating a jetty-web.xml in WEB-INF. But I had to
create the Arg as "java:comp/env/MyEnvEntry" like below... ( shouldnt
I be just registering "MyEnvEntry" ) ?
<Configure class="org.mortbay.jetty.webapp.WebAppContext">
<!-- Add an EnvEntry only valid for this webapp -->
<New id="MyEnvEntry" class="org.mortbay.jetty.plus.naming.EnvEntry">
<Arg>java:comp/env/MYEnvEntry</Arg>
<Arg type="java.lang.String">EnvValue</Arg>
<Arg type="boolean">true</Arg>
</New>
</Configure>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---