Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Redirect request  RSS feed

 
anakin volpy
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey guys,
I got a problem that hopefully I can gain some insight on.

I'm using JSF and say a user sends the request for document www.whatever/application/hello.jspx?greetings=no

I need to return document or view nonGreeting.jspx

or if the queryString was greetings=yes

return the view greetings.jspx

Please try and help me with the problem at hand and not the design flaw of such an application.


Thanks for any help
 
anakin volpy
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The only thing I am really trying to do is return an error view. I'm checking against /myapplication/home.jspx?param1=invalid.

If the parameter is invalid I want to display an error message/view.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!