In this method "doPost", I want to print the value of the parameter to make sure that every thing is fine, because the report now open for me and it is showing the data but without the parameter, I thing the report in iReport dose not receive any parameter to make any filtration.
Thank you for your help, after I printing the parameter I found that the value is null so that is the reason for the empty report. So any one know why the servlet received empty value of the parameter?
You can obtain the HttpSession object via the FacesContext and create/read the date as an independent object. OR you can define a JSF Managed Bean in session scope and make the endDate be one of its properties. Which is probably more useful, since then the endDate can be entered in a JSF form by the user.
JSF session scope is exactly the same as J(2)EE session scope, so your servlet merely needs to retrieve the object whose name matches the JSF managed bean name,
Bjoke: A "Bully Joke". A Statement or action made with malicious intent - unless challenged. At which point it magically transforms into "I was just funnin'" or "What's the matter, can't take a joke?"