Java Web: How use JSP with JSF and Ajax?

Ensure that you're using JSF 2. X (the f:ajax doesn't exist in JSF 1. X) and that you've a h:head instead of head in the master template (so that JSF can auto-include necessary Ajax JavaScripts).

Ensure that you're using JSF 2. X (the doesn't exist in JSF 1. X) and that you've a instead of in the master template (so that JSF can auto-include necessary Ajax JavaScripts).

Said that, you should really consider Facelets as replacement of JSP. JSP is an outdated view technology and ill suited for templating and has been replaced by Facelets as per JSF 2.0 / Java EE 6.

Thanks dude I will read about it. – Valter Henrique Jun 13 at 13:47.

I don't see why you couldn't do this but certainly not on the same page. To do this you need to map the *. Jsp extension to the JSP servlet while mapping the *.

Jsf or *. Xhtml to FacesServlet.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions