Im new to JSP trying to figure some things out. How do I get variables that I set in code blocks <% %>, to be usable on a regular page? See my example below: I set the campaignid,listid,and userid values based on the querystring... it outputs fine in the block, but the variables arent avaialbe to the rest of the page?
<!---- first split apart the query string ----->
String work = request.getQueryString().split("_");
if (work.length == 3)
String campaignid = work;
String listid = work;
String userid = work;
out.println(campaignid + " | " + listid + " | " + userid);