Servlets Section Index

What features are in Servlet 3.0?

What is the difference between RequestDispatcher's forward(ServletRequest request, ServletResponse response) method and HttpServletResponse's sendRedirect(String location) method?

How can I serve Word/Excel documents to a web client from JSP's and/or servlets?

Cross Site Scripting (XSS) with Jakarta Tomcat.

What's difference between Servlet/JSP session and EJB session?

What is the role of the controller in MVC architecture?

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 we hide the html source code when the user tries to view the source code from the browser's "view source" file menu option?

How to read a file from the WAR or webapp? If I have a configuration file, say an XML file, stored inside the WAR, how do I open it from a servlet?

Can I force the browser to save a downloaded file with a name I specify, rather than the name of the URL?

Is there any way to generate offscreen images without relying on the native graphics support? I'd like to create an image without an X server running, or create an image with more colors than the current video mode.

How can I design my servlet/JSP so that query results get displayed on several pages, like the results of a search engine? Each page should display, say, 10 records each and when the next link is clicked, I should see the next/previous 10 records and so on.

How can you logout a user (invalidate his Session) when a user directly closes his browser window?

How do I use the DLLs from Tomcat to Servlet-enable Microsoft IIS?

While I am still making changes to a servlet code, how can I make a servlet reload every time I test it?