On 22/12/2009 09:13, Peter Chen wrote:
Hi,
In a JSP file, there is a sentence like this:
ServletContext sc = this.getServletContext().getContext("/File");
if(sc == null){
Logger.warn(msg,"Can't get the context of /File.");
return;
}
What's the mean of this sentence?
Ask the author of the JSP. Presumably they'd know what it was for.
p
Now, I run this application in Tomcat5.5, and find the log: Can't get
the context of /File.
How to solve this problem? Thanks.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org