Chaster 2 Junior Poster in Training

Hello,

Can somebody help me out? Well, the problem is the following:
I have a JSF page, and the address bar contains a query string, like "...?author=something&title=something". I also have a command button, in its action I want to extract the parameters. So, in the bean I have the following code:

HttpServletRequest request = (HttpServletRequest)FacesContext.getCurrentInstance().getExternalContext().getRequest();
        String controlName = request.getParameter("title");

When I press the button, the query string is eliminated alltogether, and I receive a big fat 'null' - of course.

Please give me some clue on this...
Thanks in advance!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.