Win a copy of Succeeding with AI this week in the Artificial Intelligence and Machine Learning forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
  • Junilu Lacar
  • Tim Cooke
  • Jeanne Boyarsky
  • Knute Snortum
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • salvin francis
  • fred rosenberger
  • Frits Walraven

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

Posts: 4
  • Mark post as helpful
  • send pies
  • 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");
    Bookmark Topic Watch Topic
  • New Topic