This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes IDEs, Version Control and other tools and the fly likes Error: Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Error: "HTTP Status 404 - " using NetBeans" Watch "Error: "HTTP Status 404 - " using NetBeans" New topic
Author

Error: "HTTP Status 404 - " using NetBeans

Link Grace
Greenhorn

Joined: Apr 26, 2009
Posts: 1
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.
 
Don't get me started about those stupid light bulbs.
 
subject: Error: "HTTP Status 404 - " using NetBeans
 
Similar Threads
form submission doesn't happen
Default netbeans servlet with JSP file
Problem calling a servlet from JSP
servlet problem
Restrict JSP Page