| Author |
Netbeans servlet
|
Jahar Heard
Greenhorn
Joined: Jan 09, 2010
Posts: 20
|
|
Ok so I'm working, with netbeans and glassfish server, and so .. But when i compile i get the error .
type Status report
message
descriptionThe requested resource () is not available.
I searched about this error, and i find lot's of things, but just can't get it to work.
I thing the error is becous of my web.xml i thing ?
I didn't do anything in that file, becouse i don't know just what to do. If you can give to me some clue or tutorial, what to do about the error , and how to work with these xml files with the servlets, i will be glad .
|
 |
Jahar Heard
Greenhorn
Joined: Jan 09, 2010
Posts: 20
|
|
|
Any help ?
|
 |
Rob Spoor
Sheriff
Joined: Oct 27, 2005
Posts: 19232
|
|
|
PatienceIsAVirtue
|
SCJP 1.4 - SCJP 6 - SCWCD 5
How To Ask Questions How To Answer Questions
|
 |
Wouter Oet
Saloon Keeper
Joined: Oct 25, 2008
Posts: 2700
|
|
Please be clear whether you're getting a compile time exception or a runtime exception. Because you're saying that you're getting an error during compilation but the error is a runtime error.
The message that the resource is not available could be caused by many things. Try to look if the application is successfully deployed and whether there are exceptions in the logs.
|
"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.
|
 |
Jahar Heard
Greenhorn
Joined: Jan 09, 2010
Posts: 20
|
|
I will give an example of what i'm trying to say.
I'm running a databse connection, everything is ok, it conect's but when i try to get some string from a table
with maybe.. result.getString("etc..."); and so .. It give's me error.
org.apache.jasper.JasperException: An exception occurred processing JSP ...
And I think that this error comes, from web.xml , but i don't know what to do in that file (web.xml ) .
Any help ?
|
 |
Wouter Oet
Saloon Keeper
Joined: Oct 25, 2008
Posts: 2700
|
|
|
It's nice that you try to clarify the situation but have you tried the things I advised you to do? If so, what where the results?
|
 |
 |
|
|
subject: Netbeans servlet
|
|
|