Ameya Bhagwat wrote:the problem is i have a.jsp through which i am passing my value to 1.jsp and saving them in database.
nw b.jsp is retrieving value from 2.jsp.
nw if i am at a.jsp nd if i clicked on selct went to b.jsp nd select a value come again to a.jsp and value get inserted in that input box of select how is poosible??
Sorry but I cannot understand what you are trying to say. Your post is full of abbreviations like nw, nd, selct, that make it impossible to read. Please UseRealWords and try posting again.
Joined: Aug 09, 2013
i make session objects but still it giving error
org.apache.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: 34 in the jsp file: /support.jsp
The method print(boolean) in the type JspWriter is not applicable for the arguments (void)
34: <label> <a href="sale_new.jsp" onclick="transfer(<%=session.setAttribute("name",request.getParameter("org_name"))%>)"> <%=rs.getString("org_name")%>" </a></label>
Perhaps you would have better luck folioing proper practices and moving all database access code to a Java class rather than inappropriately trying to shove it into the JSP. Putting Java code in a JSP has been obsolete for 12 years for good reasons.