• 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
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

How should I call Spring Servlet form JSP without doing any action on JSP

 
Ranch Hand
Posts: 186
Oracle C++ Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I would like to include the response from a servlet in JSP, without calling it explicitly.
The code below works fine in my J2EE application and it calls the servlet SendChart. But I want to implement the same in Spring framework and when I use this jsp in Spring it doesn't call my Spring Servlet.

Please refer the code snippet for more clarification:

displayReport.jsp


spring-servlet.xml


ChartController.java


web.xml


Plese help.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!