Skip to content Skip to sidebar Skip to footer

Passing Values Between Two Jsp Files

<% if(empRecNum != null && !(empRecNum.equals(''))) { empSelected=true; } boolean canModify = UTIL.hasSecurity('PFTMODFY') &&a

Solution 1:

pass in URL like

second.jsp?param=value

access param from second jsp

request.getParameter("param");  

OR: Store it in cookie

OR: Persist it in DB

Solution 2:

Post a Comment for "Passing Values Between Two Jsp Files"