check the above link, there problem might be with the version of Netbeans and the version of Jboss, the link will show the compatiblities for each and every supported servers on NetBeans.So check the list and try to figure out what is the best version for you.
Personally i prefer to working with Eclipse, but anyway the link may help you in deciding on the version of both Jboss and Netbeans.
this is the URL which i get in my browser when i run the file through netbeans.
actually i copied these files from the old netbeans its not running and error is coming. if i create a new project in IDE6.8 and run the same file its working.... i dont know what is the problem.
Both newjsp.jsp and r.jsp i created in old project. same thing if i create in new project it works. i dont know what is the problem . i am a beginner so only i am trying to sort this out and know the real reason for the error