i am using this reference in jsp .i am able to call functions like
this.getServletConfig();
can anyone pls tell me for which servlet its returning servletconfig object.and which object its refering to?
if it is servlet object it is refering to from which requestdispatch was dn to this jsp page.
then it shd return value of these parame...
if i want to modify init-parameter value in any of ServletContext or ServletConfig.
any want it to be updated after servlet is destroyed by container.
is there any wayout?
...
Upon starting my webapp within Tomcat 6.0.18, I bootstrap Spring with only what is necessary to initialize the system -- namely, for now, database migrations. I do not want any part of the system to load until the migrations have successfully completed. This prevents the other beans from having to wait on the migrations to complete bef...
I am setting up PHP on my Tomcatserver using the PECL-servlet (PHP/PECL-version 5.2.5). The server now sucessfully handles real PHP-files, but i am having a problem with requests for nonexistent pages.
A request for such a page, f.ex: http://www.mydomain.com/nonexistentfile.php, causes the servlet to raise a java.io.IOException, which i...
Hi All
I have a Java web application that uses a plugin architecture. I would like to know if anyone has a solution where by one could add a servlet, with serlvet mapping to the servletconfig while the web app is running? The idea being that a class could be added to the /WEB-INF/classes folder and be made active as a servlet without re...
Is it possible to set welcome-file tag from standard web.xml file by servlet 3.0 annotation ?
<welcome-file-list>
<welcome-file>PageName.html</welcome-file>
</welcome-file-list>
...
Hello
Every time im trying to access a normal java class from servlet (from other project) it gives me classNotFound exception, any idea how to fix this problem
thanks in advance
...
Apparently the following is generating a loop(the GenericServlet class is calling the subclass's init())
public void init() throws ServletException {
ServletConfig c = this.getServletConfig();
super.init(c);
}
I'm probably just doing this wrong. Thank you guys in advance!
...
I'm writing a Java servlet that needs to read some site-specific
configuration data; I would like it to be easily accessible/modifiable
by the sysadmins at deployment time. There is no sensible default,
so the data needs to be provided by the site admin. It consists of a few string key/value pairs (think Properties).
It would only be r...
I am using Eclipse Helios Release. Eclipse xml validater don't like display-name element under in my web.xml
here is part of my web.xml
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
id="WebApp_ID" version="2.5">
PropTax
PropTax
PropTax
org.slco.treasurer.propertytax.servlet.PropTax
.......
If I remove display-name...