posted 4 years ago
Servlet doesn't restrict you from connecting to database if that's what you mean. Even if you write the entire code including connecting to database and executing commands in your Servlet (bad practice obviously), it still works. If you're getting a blank page it means your code is broken somewhere. Please debug and find out where it is going wrong.