This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSF, strange form action generated

 
Jochen Szostek
Ranch Hand
Posts: 42
Android Google Web Toolkit Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all,

I'm having a problem with the JSF form action.

My spring controller is mapped to /users/form.html GET and POST requests:



But JSF generates an action to "/www.appletree.be/WEB-INF/views/en_GB/users/form.html":



So my controller doesn't pick up the action of the form.

If I use firebug to change the action (in firefox) to /users/form.html the action does get picked up as it should by my controller.

I'm using Spring Web Flow btw to my flow handling but I guess this hasn't got anything to do with my issue.

All tips more than welcome since I'm a bit lost here!

Thanks in advance and have a nice day!
 
Bauke Scholtz
Ranch Hand
Posts: 2458
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would suspect Spring rather than JSF. It is Spring who specified the form action and passed it to the JSF. Try a Spring forum.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic