NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

HTTP Status 404 - Not Found Error when clicked on search button

 
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users
View previous topic :: View next topic  
Author Message
sohail.anwar



Joined: 04 Jan 2017
Posts: 1

PostPosted: Wed Jan 04, 2017 11:54 am    Post subject: HTTP Status 404 - Not Found Error when clicked on search button Reply with quote

Hi All

I have made an EE application with simple data entry form. I am absolutely new to java EE. When I click on search I get an error. HTTP Status 404 - Not Found

Here is contents of web.xml file

<?xml version="1.0" encoding="UTF-8"?>
<web-app version="3.1" xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd">
<servlet>
<servlet-name>StudentServlet</servlet-name>
<servlet-class>com.sohail.controller.StudentServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>StudentServlet</servlet-name>
<url-pattern>/StudentServlet</url-pattern>
</servlet-mapping>
<session-config>
<session-timeout>
30
</session-timeout>
</session-config>
</web-app>

All other files have also been attached.



StudentServlet.txt
 Description:

Download
 Filename:  StudentServlet.txt
 Filesize:  2.42 KB
 Downloaded:  107 Time(s)


studentinfo.jsp.txt
 Description:

Download
 Filename:  studentinfo.jsp.txt
 Filesize:  1.81 KB
 Downloaded:  136 Time(s)


Student.java.txt
 Description:

Download
 Filename:  Student.java.txt
 Filesize:  1.62 KB
 Downloaded:  90 Time(s)

Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo