hello people!! im new to here and kinda new to java also ! so my problem is after clicking the login page button, gives me a 404 error like this
HTTP Status 404 - Not Found
type Status report
descriptionThe requested resource is not available.
GlassFish Server Open Source Edition 4.1.1
i tried various of things on the internet how to solve this and no matter what i do it still gives me this error!
the IDE i used is netbeans and DB is mysql workbench
table name is emp ! column names are (in order) emp_id,emp_username,emp_password,emp_fname,emp_lname
i ll post all the codes below . so you guys can see what is the issue !
Your form action is a simple term with no path. That makes it a page-relative URL which is almost always guaranteed to not work in a Java web application. Your URL should be a server-relative URL that beings with the context path. Please see the JSP FAQ (see the top of the forum list for link) for details on how to properly construct URLs in Java web applications.
The indentation in your JSP is very poor. You should strive for consistent indentation that reveals the structure of the DOM rather than obscuring it.
P.S. Please be sure to post in the correct forums. I have moved this post to the JSP forum for you.