I was looking for a way to do it via taglib, not using scriptlets. Did i misunderstand your suggestion? Thanks. Anuj.
--- Serge Knystautas <[EMAIL PROTECTED]> wrote: > Anuj Agrawal wrote: > > This may be a rather simple question. But i couldn't find any info > > online (maybe i'm looking in the wrong places). > > > > I'd like my jsp page to be able to access it's URL. What i mean is > > this: > > > > If i arrived at test.jsp by going to > > http://mydomain.com/test.jsp?id=1&s=2, then i would like to know > how to > > display the full url (http://mydomain.com/test.jsp?id=1&s=2) on the > > page or at least have access to it in some variable. > > The servlet spec would be useful for this. You'd want to start with > request.getRequestURL(), and then add request.getQueryString() if > there > was one. > > -- > Serge Knystautas > President > Lokitech >> software . strategy . design >> http://www.lokitech.com > p. 301.656.5501 > e. [EMAIL PROTECTED] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > __________________________________ Do you Yahoo!? Yahoo! Small Business $15K Web Design Giveaway http://promotions.yahoo.com/design_giveaway/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]