memory usage of specific webapp with jmx

2008-04-09 Thread sed . nivo
Hi, Can I see the memory usage of the web application deployed in Tomcat with JMX. By now I can connect to Tomcat with jconsole and see the summary memory size. I hope that I can also see the size of the web application without writing Java code. I think so because web application classes are loa

My implementation of some ServletContext methods

2008-03-09 Thread sed . nivo
Hello, I'm finding a way to replace ServletContext method, that I get my ServletContfig.getServletContext() with something like "MyServletContext extends StandardServletContext implents ServletContext". Please help me with this.

getting absolute path to web application and making syntetic ServletRequest & ServletResponse

2007-02-15 Thread sed
Hi, Is it possible to get path to web-application of the servlet in servlet's init method? The path should be in form http://[host]:8080/[context]/. When I invoke context.getResource("/"), I have "jndi:/localhost/mat/", but I need "http://localhost:8080/mat/";. In fact I need make http request f