| | |
Error:The requested resources are not available
Please support our JSP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Jun 2008
Posts: 38
Reputation:
Solved Threads: 0
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
and here is web.xml:
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
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 Syntax (Toggle Plain Text)
<?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 Syntax (Toggle Plain Text)
<?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
Last edited by peter_budo; Jul 7th, 2008 at 3:13 pm. Reason: Keep It Organized - please use [code] tags
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.
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.
"Any fool can write code that a computer can understand. Good programmers write code that humans can understand."
"How to ask questions the smart way ?"
"How to ask questions the smart way ?"
![]() |
Similar Threads
- Send data on a serial port (C++)
- "Forbidden / You don't have permission to access / on this server." error (Linux Servers and Apache)
- Need help!! Please advise. Computer Screwed (Viruses, Spyware and other Nasties)
- How do you apply/use the OSI MODEL? (Networking Hardware Configuration)
- Please, HJT log help requested (II) ! (Viruses, Spyware and other Nasties)
- This Should be Easy for You Guys! (Linux Servers and Apache)
- another newbie with alot of redhat and apache server Q'S (Linux Servers and Apache)
- Problem with NEWBIE VB.NET installation... (Visual Basic 4 / 5 / 6)
Other Threads in the JSP Forum
- Previous Thread: hi,urgent
- Next Thread: Using Apache-Tomcat
| Thread Tools | Search this Thread |
apache backbutton combobox connection database development directorystructure dynamicpagetitles eclipse frames glassfish ie8 imagetodatabse imageupload integer internet java javaee javascript jsf jsp jsppagetitles levels mvc2 mvcmodel2 network parameters passing ping printinserverinsteadofclient redirect request.getparameter response servlet servletdopost()readxml sessions software ssl state_saving_method stocks sun tomcat tutorial update video web






