Hi All,
I had created application where once you log in into index.jsp page, the next validateuser check for validation. but when i fill the form of username and password the error shows like:
The requisted resources are not available
Here my context.xml

<?xml version="1.0" encoding="UTF-8"?>
<Context path="/student" docBase="student"
debug="5" reloadable="true" crossContext="true">
Resource name="jdbc/mynewdatabase" auth="Container" type="javax.sql.DataSource"
maxActive="100" maxIdle="30" maxWait="10000"
username="root" password="root123" driverClassName="com.mysql.jdbc.Driver"
url="jdbc:mysql://localhost:3306/mynewdatabase?autoReconnect=true"/>
</Context>

and here is web.xml:

<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
    <session-config>
        <session-timeout>
            30
        </session-timeout>
    </session-config>
    <welcome-file-list>
        <welcome-file>index.jsp</welcome-file>
        </welcome-file-list>
            </web-app>

I am using netbeans6.0 ide. i had googled for it but wouldnt get any solution for jsp page. all they related to servlet.
can anybody guide me on above issue?
Regards
Haresh

Since you are using Netbeans, I assume you are using the Glassfish server, Now "Requested resource is not available" is a page that can be displayed for almost everything that can go wrong in a JSP or a servlet.

My suggestion would be you check the logs of glassfish, for any errors when you are calling the page from the browser for more clues.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.