How can i take a bean value in jsp?
If your answer is <usebean>, then i have another doubt.
usually in controller i create a new object like "Bean x= new Bean();" and i will set the values for this bean's object.
How my <usebean> will take exactly the new bean object created in my controller?
karthik manick wrote:Thanks a lot for all your answers.. But still i have one question... the object which was set in request should be accessed thro request.getParamaeter()? or is there any way to use <usebean> to get the object from request? or any other approach is there?
There's no such thing as <usebean>, it's <jsp:useBean>, and as already pointed out, it's not needed.
Also, getParameter() has nothing to do with any of this. That's for fetching submitted request parameters. It has nothing to do with scoped beans.