File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other Application Frameworks and the fly likes Can't setup basic spring application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Can Watch "Can New topic
Author

Can't setup basic spring application

Abhilash
Greenhorn

Joined: Nov 02, 2004
Posts: 12
I am setting an application in Spring framework. I have a file called include.jsp in homedir /WEB-INF/jsp/include.jsp. And in my index.jsp page i wrote the line
<%@ include file="/WEB-INF/jsp/include.jsp" %>
and index.jsp is in the home directory(springapp).
But when i gave the url "http//localhost:8080/springapp" in the browser i got jsp error
"/WEB-INF/jsp/include.jsp" not found
how can i include that page... Anybody plz help
Jason Menard
Sheriff

Joined: Nov 09, 2000
Posts: 6450
"Abhilash AT",

Welcome to JavaRanch. We don't have many rules here, but we do have a naming policy which we strictly enforce. It appears possible that your chosen display name may be in violation of that policy. Please re-read the policy to see if this is the case and alter your display name accordingly. Thanks a lot and we look forward to seeing you around the Ranch.
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

Moving this to our brand new Web Frameworks forum..


GenRocket - Experts at Building Test Data
Chris Rosenquest
Greenhorn

Joined: Aug 30, 2003
Posts: 11
Originally posted by Abhilash AT:
I am setting an application in Spring framework. I have a file called include.jsp in homedir /WEB-INF/jsp/include.jsp. And in my index.jsp page i wrote the line
<%@ include file="/WEB-INF/jsp/include.jsp" %>
and index.jsp is in the home directory(springapp).
But when i gave the url "http//localhost:8080/springapp" in the browser i got jsp error
"/WEB-INF/jsp/include.jsp" not found
how can i include that page... Anybody plz help


Try stepping through the tutorial provided from www.springframework.org.
http://www.springframework.org/docs/MVC-step-by-step/Spring-MVC-step-by-step.html


"When you feel like a third wheel. Become a unicycle."
 
 
subject: Can't setup basic spring application