Put your project in development mode. struts.devMode = true and use <s:debug/> tag, It will display the objects available in the current. This will confirms that whether you getting proper data are not.
or append your url with http://localhost:8080/MyProject/IloveStruts2Action?debug=xml OGNL interactive console is there. But it's never worked for me. http://struts.1045723.n5.nabble.com/OGNL-runtime-viewer-td3477295.html If you are getting proper data then you have to play with OGNL. On Sun, Apr 15, 2012 at 1:23 AM, Niral Trivedi <nira...@gmail.com> wrote: > yes. i m accessing map. But I was just browsing struts site and found that > article so wondering whether this could be related to my issue as this link > also states that some OGNL security issue fixed. > > On Sat, Apr 14, 2012 at 3:51 PM, Dave Newton <davelnew...@gmail.com> > wrote: > > > No, that's related to static methods; I thought you were accessing a map. > > > > On Sat, Apr 14, 2012 at 3:49 PM, Niral Trivedi <nira...@gmail.com> > wrote: > > > > > I do not see anything in logs. > > > > > > Also, I find this link > > > > > > > > > https://cwiki.apache.org/S2WIKI/troubleshooting-guide-migrating-from-struts-20x-to-21x.html#TroubleshootingguidemigratingfromStruts2.0.xto2.1.x-RefactorusageofstaticmethodsviaOGNL > > > but in my case it's not a static method. and the internal link from > here > > to > > > jira issue couldn't open. > > > > > > So, is this related to my issue ? > > > > > > 2012/4/14 Łukasz Lenart <lukasz.len...@googlemail.com> > > > > > > > 2012/4/14 Niral Trivedi <nira...@gmail.com>: > > > > > Am I missing something here ? Is there a different way to access > Map > > of > > > > Map > > > > > with latest version ? > > > > > > > > It can be a side effect of security changes to OGNL and Struts2, do > > > > you see anything unusual in logs ? Try to increase log level to > Debug. > > > > > > > > > > > > Regards > > > > -- > > > > Łukasz http://www.lenart.org.pl/ > > > > mobile +48 606 323 122, office +27 11 0838747 > > > > Warszawa JUG conference - Confitura http://confitura.pl/ > > > > > > > > --------------------------------------------------------------------- > > > > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > > > > For additional commands, e-mail: user-h...@struts.apache.org > > > > > > > > > > > > > >