struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "bob" <tomfr...@excite.com>
Subject [S2] access to URL information
Date Mon, 19 Feb 2007 19:26:49 GMT

What's the cleanest way to get to the request url information, such as the domain name, from
within an interceptor?  I know that I could get a hold of the servlet API to do this, but
is this a best practice?  I know that I've read that you should try to avoid accessing the
servlet API from within your struts code.  

Any advice on the cleanest way to get this domain name from within struts?     

_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message