I am able to get it to work. Followed the same tutorial on
"Pages" section of this forum. Here is what I had to modify
1. Set devMode to False.
2. add an applicationlistener with set OgnlRunTime.setSecurityManager
to null.

Deepam

On Mar 7, 2:52 pm, Deepam Tiwan <[email protected]> wrote:
> Hi All,
>
> I am having trouble getting my basic struts2 application to working
> with GAE/J. I read the discussion about OGNL permission but I feel I
> am not hitting that point yet. Here is the URL.
>
> http://demoappbasic.appspot.com/HelloWorld.action
>
> And this is the error I see,
>
> Error: result 'null' not found
>
> Here is my struts.xml
>
> <?xml version="1.0" encoding="UTF-8" ?>
> <!DOCTYPE struts PUBLIC
>     "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
>     "http://struts.apache.org/dtds/struts-2.0.dtd";>
>
> <struts>
>     <constant name="struts.enable.DynamicMethodInvocation"
> value="false" />
>     <constant name="struts.devMode" value="true" />
>
>     <package name="demoApp" extends="struts-default">
>         <!-- Add actions here -->
>         <action name="HelloWorld" >
>             <result>/jsp/HelloWorld.jsp</result>
>         </action>
>
>         <action name="Time" class="com.dt.demoAPP.time.Time">
>             <result>/jsp/Time.jsp</result>
>         </action>
>     </package>
>
>     <!-- Add packages here -->
>
> </struts>
>
> Thanks,
>
> Deepam Tiwan

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" 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-appengine-java?hl=en.

Reply via email to