i have a value which is setted in the servlet(request.setAttribute("firstName", details.getFirstName());using dispatcher i passed the value to the jsp But now how to assign that value firstname to a variable in jsp?
i am using String value1=request.getAttribute("firstName"); in my jsp
but i am getting an error saying "Type mismatch: cannot convert from Object to String"
can anyone help me
Joined: May 08, 2012
yupp,,thank u..problem solved..
does anyone know how to close the window automatically without having a prompt or alert box .
if we try window.close() a alert box is displayed asking yes or no to close the window
i dont want the confirmation message.
but window should be closed
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: Setting a value to a variable in jsp ..(value is passed by the servlet)