Only 48 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



    Bookmark Topic Watch Topic
  • New Topic

retrieve hyperlink data through scriplet  RSS feed

 
kunal vermaa
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Report post to moderator
i want to send data from 1st jsp to 2nd jsp through hyperlink.. this is the hyperlink..



can i retrieve "name" on 2nd jsp using "request.getParameter()" inisde a scriplet..? please explain.. can it be done..?
 
Balu Sadhasivam
Ranch Hand
Posts: 874
Android Java VI Editor
  • Mark post as helpful
  • send pies
  • Report post to moderator

Kunal,

Firstly , serlvet or jsp are executed on server side and JavaScripts are executed in client browser side.



the above a href is no longer shown same in the client side. the value n should be already executed in servlet and sent in HTML to browser.


can i retrieve "name" on 2nd jsp using "request.getParameter()" inisde a scriplet..?


Yes can be done , what is name here ? input from user ?
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65824
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please do not post the same question more than once. This topic has been closed.
 
Consider Paul's rocket mass heater.
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!