File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

NetBeans 6.0.1 - Web App Question

 
Claude Cundiff
Ranch Hand
Posts: 78
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello everyone.

I'm trying to form links to various .jsp pages. Under the WEB-INF file, I have the following:

WEB-INF
- index.jsp
- Chapter1
-chapter1.jsp

For some reason, index.jsp cannot find the chapter1.jsp file.

Any suggestions? I'm a bit new at this...

Thanks!
 
Freddy Wong
Ranch Hand
Posts: 959
Eclipse IDE Java Linux
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You shouldn't put the JSP files under WEB-INF directory. In NetBeans, put those files under Web Pages directory.
 
Adam Myatt
author
Greenhorn
Posts: 26
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Claude, assuming you have both JSP pages under the Web Pages node in the Project window (or the "web" folder as displayed in the Files window) can you post the JSP source of how you're linking to the JSP pages? Perhaps then someone can better assist in the problem.
 
Claude Cundiff
Ranch Hand
Posts: 78
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I apologize for not responding sooner.

Thank you for your responses.

And to Adam Myatt, I have your book! And thank you for responding!
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic