Servlets Section Index | Page 6

What's the initial user name and password for Jakarta Tomcat 4's admin tool?

How can I unit test my servlets?

How to close database connection explicitly when session is ended?

How to get url of current request from HttpServletRequest? for example "http://site/index.jsp?id=1"

Using JSP I can use implicit object exception when my JSP page is declared with <%@ page isErrorPage="true" %> directive. But how to get this reference programmatically, for example with a servlet ?

Why do I get the error. org.xml.sax.SAXParseException : Element type "web-app" must be declared. when starting my web application? It has a web-app element already!

How can I prevent the expiration of a Session?

Since session.getValue("name") has been deprecated, what method do I call instead?

What is the difference between request.getAttribute() and request.getParameter()?

How can I access one servlet method from some other servlet in same context?

How can I store international / Unicode characters into a cookie?

How do I pass some servlet variable to javascript?

How to check for the validation of a Unix login username and password from Java?

I read the section on Filters and the spec seems to be silent on some issues… Can you clarify?

Our servlet program needs to read an image file (*.jpg or gif) and create thumnail files. Is there any program available I can use ?

About | Sitemap | Contact