[Building Sakai] How do I get ServletContext? (Apache Wicket)
Энхбат
n.enhbat at gmail.com
Wed May 2 20:47:04 PDT 2012
Hello,
I need to get ServletContext for file system path of deploy target.
If I call getServletContext like this:
<code>WicketApplication.get().getServletContext()</code>
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR]
/sakai/wicketUpload/tool/src/java/pom/tool/pages/FirstPage.java:[56,65]
error: cannot access ServletContext
Is sakai preventing to get servletContext? Can I get ServletContext or
realPath/file system/ from sakai services?
More information about the sakai-dev
mailing list