how do i pass large parameters from one jsp to another?

i have some huge parameters and i want to pass them to another page without using thr URL currently i am passing with the url . i tried with session also but parameters are huge so it gave null

code :

out.println("<a href='itemdetails.jsp?pid="+p.getPid()+"&features="+p.getFeatures()+"&price="+p.getPrice()+"&pname="+p.getPname()+"&img="+p.getImg()+"'>");

i basically want the url to pass one variable in URL so that i could use it in requestDispatcher from java page


Source: jsp

Leave a Reply