Hi I am having a problem in my JSP.I just want to print the form data of my JSP instead of the whole page.using javascript:print() method prints the whole page. so can you help me in solving this issue.
The easiest way I know to do that is to use CSS features to control how the different parts of the page will print (or not print!).
Use them the same way you would for straight HTML. There's nothing special about JSF in that regard.
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.
Stinging nettles are edible. But I really want to see you try to eat this tiny ad:
a bit of art, as a gift, the permaculture playing cards