As far as I know, the only way is asking HttpServletRequest, and thus, implementing ServletRequestAware.
If you want to keep HttpServletRequest code out of your actions, consider implementing an interceptor, or even a raw servlet filter. Alvaro. On 9/3/07, stanlick <[EMAIL PROTECTED]> wrote: > > I have an action that determines the requester IP address. The action > implements ServletRequestAware, but I don't like it being all tangled up in > the Servlet API. Is there a way to get the IP address another way. The > RequestAware interface seems to map to only request attributes. > > Thanks, > S > -- > View this message in context: > http://www.nabble.com/ServletRequestAware-tf4369669.html#a12454602 > Sent from the Struts - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Alvaro Sanchez-Mariscal Arnaiz Java EE Architect & Instructor [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]