• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

SaveToken(request) is not generating a token in struts 1.2.9

Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
saveToken(request)  method is not generating a token in struts action. It is showing null when I checked.
Here is my code
public ActionForward genaratecsrfToken(Action Mapping am, ActionForm af, HttpServletRequest request, HttpServletResponse Response) {
HttpSession session=request.getSession();
return am.findForward("sucess");
Story like this gets better after being told a few times. Or maybe it's just a tiny ad:
Thread Boost feature
    Bookmark Topic Watch Topic
  • New Topic