jrthor2
01-29-2010, 02:32 PM
I know you can read url parameters using HttpServletRequest, but what I need to do is to read the parameters, and loop through them and put them in the request like this:
request.setAttribute("name", "value");
so that velocity can get access to them. The url could have mulitple parameters, not just one, like:
http://www.site.com/mysite?page=page1&subpage=2
So I would need to put both of these in the request.
Could someone help me with this?
Thanks!!
request.setAttribute("name", "value");
so that velocity can get access to them. The url could have mulitple parameters, not just one, like:
http://www.site.com/mysite?page=page1&subpage=2
So I would need to put both of these in the request.
Could someone help me with this?
Thanks!!