java - How can I pass an ArrayList from one servlet another? -
i have sent arraylist1 1 servlet another. works. want pass arraylist2 jsp/servlet, error: java.util.nullpointer exception. how can resolve this?
requestdispatcher disp2 = request.getrequestdispatcher("newservlet.java"); should
requestdispatcher disp2 = request.getrequestdispatcher(pathtoyourservlet); the path end of page adress: http://localhost/yourapp/pathtoyourservlet
Comments
Post a Comment