Forums Register Login

Error: "HTTP Status 404 - " using NetBeans

+Pie Number of slices to send: Send
So it's my first time creating a java web app in Netbeans and I am pretty confused.
I have a simple index.jsp file which holds a button and when clicked, should serve HTTPGetServlet, i.e.:



Then under Source Packages folder is <default packages> under which exists "HTTPGetServlet.java".
In web.xml, I added the listener using the browse button, "HTTPGetServlet".

I have cleaned and built the project. Then I run index.jsp and when I click on the button, I unfornately see the
"HTTP Status 404 -

--------------------------------------------------------------------------------

type Status report

message

descriptionThe requested resource () is not available.
"
error. Does someone know if I have the file in the wrong place? Thanks.
There's a city wid manhunt for this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 3408 times.
Similar Threads
JSDK start and stop
servlet problem
still cant compile the code
Cannot Load Servlet from JSP
requested resource not available
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 04:39:03.