How to write right jsf commandlink?

Introducing the ONLY search engine optimization software product that has been 100% PROVEN to dramatically increase your rankings in Google, Yahoo, and Bing. Get it now!

The h:commandLink fires a POST request. You need to embed it in a h:form.

The fires a POST request. You need to embed it in a . Since you're already on JSF 2.0, you can also just use instead which fires a GET request which doesn't require a form and is thus way much better for bookmarkability and SEO.

Also you can get rid of the whole since JSF 2.0 utilizes implicit navigation. It will implicitly go to student.xhtml. Ensure that you're reading JSF 2.0 tutorials, not the ones targeted on JSF 1.x.In JSF 2.0 a lot of new tags and features have been added.

See also: When should I use h:outputLink instead of h:commandLink? We don't need stinkin' faces-config.

– Aram Gevorgyan May 14 at 15:43 @BalusC I write it in but also get the same – Aram Gevorgyan May 14 at 15:52 Save the file and republish. Or if your IDE/server doesn't support hotpublishing, restart the server as well. – BalusC May 14 at 15:52 1 This is not specific to JSF/JSP, but to web development in general.

POST requests are not bookmarkable. The URL change is by default not reflected in browser address bar. The browser back/forward buttons will jerk if you want to resend the data.

The searchbots (Google! ) won't index POST requests, etc.POST requests should be used for input forms only (e.g. Register user, edit data, etc), not for simple page-to-page navigation by menu links and like. – BalusC May 14 at 16:11.

– Aram Gevorgyan May 14 at 15:44 yes. (15chars..) – Bozho May 14 at 15:45.

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