NetBeans and JSP pages
I'm using the netBeans IDE to develope my project and the project is web application. But I've a problems with this IDE.
Q1. The default page is index.html and the default home for the project is say $HOME, when I write http://localhost:8084/$HOME/index.html the browser displace error message. I've to run this file from the netBeans. Do I need to run netBeans and run the file from the IDE to access the index.html file?
Q2. The second problem is; once I run the index file from the netBeans and then use this address http://localhost:8084/$HOME i.e if I remove the index.html file form the URL the Browser displays all the files that I've in my project but I don't won't this to happend. Is there any means to avoid this problem?
Thank you indavance.
[784 byte] By [
Nega] at [2007-11-26 22:50:06]

# 1
> I'm using the netBeans IDE to develope my project and
> the project is web application. But I've a problems
> with this IDE.
If you are new to application development, then I recommend not using any IDE - it is better to configure everything manually http://tomcat.apache.org/tomcat-6.0-doc/appdev/index.html to understand what's going on under the hood.
Once you understand what's going on, then it will be much easier to configure your IDE.
> Q1. The default page is index.html and the default
> home for the project is say $HOME, when I write
> http://localhost:8084/$HOME/index.html the browser
> displace error message. I've to run this file from
> the netBeans. Do I need to run netBeans and run the
> file from the IDE to access the index.html file?
Check this with NetBeans User Mailing List
> Q2. The second problem is; once I run the index file
> from the netBeans and then use this address
> http://localhost:8084/$HOME i.e if I remove the
> index.html file form the URL the Browser displays all
> the files that I've in my project but I don't won't
> this to happend. Is there any means to avoid this
> problem?
>
> Thank you indavance.