• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Can't setup basic spring application

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Moving this to our brand new Web Frameworks forum..
 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic