Author | Message |
---|---|
Rinchan7
Posts: 56
|
Posted 20:32 Sep 29, 2014 |
Hi, Has anybody had an error trying to get their servlet to show through cs3 and figured it out? My HelloJSTL.jsp shows up fine but HelloServlet gets a 404 error. It also works well in Eclipse if that helps. I think I might have done the directory for it wrong...on my computer, it is: CS 320 First Assignment\build\classes\webtest\servlet\HelloServlet.class on cs3, I have the directory as (username)\WEB-INF\classes\webtest\servlet\HelloServlet.class (I added the webtest\servlet when it didn't work on the first try) |
Izuniga3
Posts: 4
|
Posted 20:37 Sep 29, 2014 |
By any chance do you have a web.xml file in your web-inf folder?
|
Rinchan7
Posts: 56
|
Posted 20:47 Sep 29, 2014 |
Ah, I thought that I did, but putting it there fixed it thanks! Last edited by Rinchan7 at
20:48 Sep 29, 2014.
|