Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JSF and JSP  RSS feed

 
Rauhl Roy
Ranch Hand
Posts: 401
Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
may i know what is the advantages and disadvantages by using JSF and JSP together.

many thanks,
rahul.
 
Tim Holloway
Bartender
Posts: 18531
61
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JSF excels at forms handling. It's especially good when you have complex forms that may need several attempts before the user gets all the data correct, since it supports both data validation and postback/redisplay.

JSP is a more general-purpose mechanism. It doesn't give you much help for complex forms, but it's better for non-form stuff like outputting XML files to the user's browser.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!