• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Paweł Baczyński
  • Piet Souris
  • Vijitha Kumara

Can't setup basic spring application

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Sheriff
Posts: 6450
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"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.
 
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving this to our brand new Web Frameworks forum..
 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
 
incandescent light gives off an efficient form of heat. You must be THIS smart to ride this ride. Tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!