Charles Bell
Posts: 519
Nickname: charles
Registered: Feb, 2002
|
|
Re: Issue using java.io.File
|
Posted: Mar 8, 2003 1:44 PM
|
|
You probably have your jsp file in the wrong folder.
Only the resource files you don't want users to be able to browse through should be under /WEB-INF
that is where you put class and jar files. class files go under the /WEB-INF/classes folder jars under the /WEB-INF/lib folder
Your jsp file will probably compile and run if you stick it under the webapps/ROOT folder.
Its got to be in a visible spot, the same as htm or html web page files.
If you are using the default Tomcat install, the index page (index.htm, index.html, index.jsp, default.htm, etc.) will come up if you ask for http://localhost:8080/
Add a link to the index page to your jsp to access it from the index page.
|
|