Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Difference between JSF and JSP ? EVENTS ?

Status
Not open for further replies.

AdilHousni

Programmer
Sep 1, 2004
4
0
0
MA
Please, I want to understand the difference between JSP and JSF.

I want to know also if JSF can help me resolve one problem in my application :

Description of the probleme : I have two list (combobox) in my jsp page, but the list values in the second list depends on the value in the first list. When the the value in the first list change, I want the list values in the second list to be updated without reloading the page.

Example : First list (combobox) country
Second list (combobox) city

In the JSP I have to reload the page, I don't know if in JSF it's the case also.

Thanks in advance.

Adil
 
JSF (JavaServer Faces) is a framework. It uses JSP and custom tag libraries to render HTML/CSS/Javascript to the browser. So if you must reload a page when using JSP, you must do so in JSF.

You could however, use Javascript to update or change or list values.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top