java ee - Issue with 'context.setResponseContentLength(fileSize)' metthod in JSF -


I am using the jsf-api-2.1.2.jar file which can become a web app with JSF And there I have an object of external syntax, I have an object to use usimhg that is 'responseReset ()', 'setResponseContentType (string)' and setResponseContentLength (int), but it is showing that this method does not exist . I 'External Context. Class' file and have seen that those methods are present in that class, but I'm not sure why it is showing them as undefined methods I'm running this project on the Jboss 5.1 server. Thanks in advance can help me on this!


Comments

Popular posts from this blog

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -