This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
I have a jsf application in which on the first page, the user is allowed to select a file. In the action of that component
the selected file is set in the request as an attribute, and the page is redirected to a servlet. In the servlet,
i do a request.getAttribute for the file name. But I am getting a npe when the servlet tries to access the filename.
Can someone tell me what I am missing. The web.xml servlet mapping does not have any attribute. I thought
the mapping was only for context params and init params.