This week's book giveaway is in the Jobs Discussion forum. We're giving away four copies of Developer Career Masterplan: Build your path to senior level and beyond with practical insights from industry experts and have Heather VanCura and Bruno Souza on-line! See this thread for details.
Before when using the dreaded invoker servlet it was possible to pass the servlet the value of an ever-changing productID by doing something like this <a href="music/adminServlet?productID">
Is there a way to pass the servlet the value of productID by clicking on a hyperlink (generated dynamically) in my JSP page (that runs the servlet by way of servlet mapping through the web.xml file).
I know I could do it with servlet init params but I want the productID to be sent at runtime and not hardcode thousands of servlet mappings. Also I know I could set a request or session attribute, but if you click on a hyperlink is it even possible to set one of these attributes?