• Post Reply Bookmark Topic Watch Topic
  • New Topic

How To Send Data Back To JSP Page?

 
Rahul B. Shah
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
 
sudhir nim
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!