Web Hosting Java, JSP, Tomcat 6, J2EE, Servlets, Struts, Jboss
J2ee hosting - JavaSercer Pages public Enumeration getServlets( ) This method
February 1, 2007 on 5:19 pm | In Java | JavaSercer Pages public Enumeration getServlets( ) This method was originally defined to return an Enumeration of all the servlets known to this servlet context. As of the Servlet 2.1 API, this method always returns an empty Enumeration, and remains only to preserve binary compatibility. This method will be permanently removed in a future version of the Java servlet API. public Enumeration getServletNames( ) This method was originally defined to return an Enumeration of all the servlet names known to this context. As of the Servlet 2.1 API, this method always returns an empty Enumeration, and remains only to preserve binary compatibility. This method will be permanently removed in a future version of the Java servlet API. public void log(Exception exception, String message) This method was originally defined to write an exception’s stack trace and an explanatory error message to the web container log file. As of the Servlet 2.1 API, the recommendation is to use log(String, Throwable) instead. config Synopsis Variable Name: config Interface Name: javax.servlet. ServletConfig Extends: None Implemented by: Internal container-dependent class JSP Page Type: Available in both regular JSP pages and error pages Description A ServletConfig instance is used by a web container to pass information to a servlet or JSP page during initialization. The configuration information contains initialization parameters (defined in the web application deployment descriptor) and the ServletContext object representing the web application the servlet or JSP page belongs to. Interface Declaration public interface ServletConfig { public String getInitParameter(String name); public Enumeration getInitParameterNames( ); public ServletContext getServletContext( ); public String getServletName( ); } Methods public String getInitParameter(String name) Returns a String containing the value of the specified servlet or JSP page initialization parameter, or null if the parameter does not exist. page 273
Note: If you are looking for cheap and quality provider to host and run your java application check Astra java hosting services
No Comments yet
Sorry, the comment form is closed at this time.
...I
just wanted to take the time to say "Thank you!" for our new webmail
system. It's great! Thanks for taking such good care of us.
Thanks
for helping me out. Just for the record, Webhostingjava.net has been a great
web host! So far your support and handling of questions has far
exceeded that of a "larger web hosting company".
I
would like to thank you for helping me with my domain...You have
shown me great patience and professionalism. I would not hesitate to
recommend you to my clients.