> However, I am completely lost with Struts 2. Everything servlet > dependent is abstracted away "somewhere". I've been looking at the > tutorials and they don't cover this kind of thing at all. > > How do I go about putting the equivalent in an action with Struts 2?
An action class can implement ServletContextAware - you have to implement a method setServletContext(ServletContext servletContext) then. Another way is to use ServletActionContext.getServletContext(); Piero --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]