Rick added a URLTag implementation as an attachment on Jira that was
developed by Brock Bulger.. I'm wondering what this part is doing, and
why it is necessary?

                HttpServletRequest req = (HttpServletRequest)
pageContext.getRequest();
                String query = req.getQueryString();

                if (query != null) {
                    int idx = query.lastIndexOf('#');

                    if (idx != -1) {
                        query = query.substring(0, idx - 1);
                    }

                    params.putAll(HttpUtils.parseQueryString(query));
                }

Why do we need to chop the query string at '#'? The reason I noticed
this is that HttpUtils is deprecated. You can get a map of params from
the HttpServletRequest using getParameterMap(), but I'm wondering if
that's a problem considering the above?

Thanks,

Jason

--
Jason Carreira
Technical Architect, Notiva Corp.
phone:  585.240.2793
  fax:  585.272.8118
email:  [EMAIL PROTECTED]
---
Notiva - optimizing trade relationships (tm)
 


-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to