Win a copy of Machine Learning Systems: Designs that scale this week in the Scala forum
or Xamarin in Action: Creating native cross-platform mobile apps in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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.
 
You'll never get away with this you overconfident blob! The most you will ever get is this tiny ad:
Rocket Oven Kickstarter - from the trailboss
https://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!