I have a
servlet where I pull a param from the web.xml. I want to take that param, put it in the request, and let a bean access it on the
jsp page.
My problem is that even though I'm putting it's a
String I'm putting into the request.setAttribute method, my set method in the bean sees it as an Object, not a string. (I have to cast it to a String inside the method).
That results in my set and get methods for that particular variable not working with the jsp:setProperty and jsp:getProperty tags on the jsp page.
Is there a way I can add a paramater to the request object (that will be read as a string) while inside a servlet?
Thanks