HttpServletRequest cannot be resolved can you help?
<p>Hi all 
I have imported the following
import javax.servlet.http.*;</p>

<p>I want to get the preferred language Browser</p>

<pre><code>HttpServletRequest request = ServletActionContext.getRequest();
Locale userPreferredLocale = request.getLocale();
</code></pre>

<p>I get an error HttpServletRequest cannot be resolved.</p>

<p>Can somebody help me and give me a step by step instruction if possible. I am not a java developer but a .net one and just fixing a bug.</p>

<p>thanks a lot</p>
