I have compiled my servlet and wrapped it into a .war file, but when I try to view it from the browser it doesn't give any errors but just shows up as a blank screen. I have been trying to view even a simple HelloWorld servlet which should just print to the screen a line of text. I call it in the browser like
http://localhost:8080/MetaDataRepository2/HelloWorldServlet.java
where MetaDataRepository2 is the name of my project. In my web.xml file, I have the extension *.java mapped to HelloWorldServlet. Any ideas on how I can fix this?