Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

getting error when clicking on the examples link ...

 
Lalit Mehra
Ranch Hand
Posts: 384
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all,

when i'm clicking on the (servlet/jsp) examples link on the left bottom corner of the tomcat startup page ...

i'm getting this error ...

The requested resource is not available ...


i have checked thoroughly ... the examples are there in the tomcat webapps directory ...
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
the examples are there in the tomcat webapps directory ...

What's in the examples directory ? If you installed Tomcat using the Windows Installer, you have to select the Examples during the installation.
 
Lalit Mehra
Ranch Hand
Posts: 384
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi sir,

i used the netbeans installer package which bundles tomcat ...

i'm actually unable to access my webapps folder ... which stores the xml files , the servlets etc ...

otherwise with netbeans it is running fine ...

and moreover when i installed tomcat from its own installer i can do everything
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i'm actually unable to access my webapps folder ...

I don't understand. You can access it with your Windows Explorer, can't you ? What's in the webapps/examples folder ? I bet it's just a dummy folder, without the examples.
 
Lalit Mehra
Ranch Hand
Posts: 384
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i got it sir ... actually the tomcats which comes bundled with the netbeans package isn't allowing access to webapps folder ...

it contains the examples and all the doccumentations ... anyways

when i install tomcat through its own installer ... it allows to access the webapps folder

i need to access it in order to deploy servlets ...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic