• 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:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

How To Send Data Back To JSP Page?  RSS feed

 
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello EveryBody,
I Am New To JSP-SERVLETS & Trying SOme Examples & Here Is What I Am Doing

1)I Have Created An Order.jsp Page Where There Are Two Lists i.e
ProductGroup List & SubProduct List.
2)I Am Able To FIll First List i.e ProductGroup List From Database But My Second List i.e SubProduct List
Should Be Filled At Runtime i.e If There Is ProductGroup As Nails & Under Nails There Are 3 Types i.e
Big,Small,Medium Then Second List Should Display Only Small,Big,Medium When I Select Nails In
First List.
3)I Have Used Ajax Where I Have Called function that will pass value to .js file & from .js file I pass data
To Servlet Where I Get Required Data for Nails,So My Problem Is How To Send The Data [small,big,medium]
Back To JSP Page ???
Thank-You
 
Ranch Hand
Posts: 212
Eclipse IDE Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can return the response in JSON format.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!