servlets
How do I bind a servlet to everything except /?
I have a server which I need to bind two servlets to. The first is the \"home\" servlet, which I want to reside at /. This will display what is essentially a welcome page.[详细]
2023-04-10 06:05 分类:问答Tomcat selecting wrong servlet occasionally
I have a Java web application that serves up VXML pages to a VXML interpreter. Under sustained traffic conditions in a test lab, Tomcat (6.0.32) appears to be occasionally selecting the wrong servlet[详细]
2023-04-10 05:47 分类:问答timertask-based logout give me problems
In this website I need a system that logs the user out after 10 minutes. In order to login I use a simple procedure of inserting a user (in my case called Lid) instance, and the logout invalidates the[详细]
2023-04-10 04:54 分类:问答Unable to run a simple servlet
I am making my first servlet following this link http://www.roseindia.net/servlets/ This is my servlet in Eclipse ServletDemo->Java Resources->src->(default package)->HelloServlet.java[详细]
2023-04-10 04:36 分类:问答Checking for duplicate usernames in Database
I have this Servlet code, I am trying to check for duplicate usernames in the database but it does not seem to work out.[详细]
2023-04-10 04:29 分类:问答Query MySQL Database Client Side
I am trying to validate that a username is unique on a registration form and would like to ve开发者_开发知识库rify the uniqueness of the username right after the client types it as opposed to performi[详细]
2023-04-10 04:20 分类:问答Getting a Blank Screen while processing servlet
I am getting a blank screen while processing the servlet. Earlier It was giving me some errors but after code fixing it stopped giving me error and started giving me a blank screen.[详细]
2023-04-10 03:32 分类:问答Getting the body and response code from an HTTPServletResponse
I\'m attempting build a simple logging system for when our client accesses out API. We\'re using Spring to wire up controllers and handlers. I\'m looking at Spring\'s Interceptor functionality to writ[详细]
2023-04-10 03:23 分类:问答Proper Model 2 Design
I understand there are a variety of ways to design web applications using java-ee, but the method that seems to make the most sense to me is model 2 or mvc where we separate the code and design into s[详细]
2023-04-10 03:12 分类:问答Marshalling error while using OPENSAML2 in a servlet environment (Tomcat web server)
I am trying to setup my S开发者_运维技巧ervice provider using OpenSAML2 libraries. I am trying to set up a servlet which would accept HttpRequest from user\'s browser and based on the request paramete[详细]
2023-04-10 03:09 分类:问答