• Post Reply Bookmark Topic Watch Topic
  • New Topic

needed to send variable in anchor to same page jump  RSS feed

 
shivam singhal
Ranch Hand
Posts: 231
Java Notepad Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


code is working fine,

my problem : please check the red coloured lines in code above, here i want to send different value of res_pkey to my-offers according to the user selected row of the table, thats why i am using it in the anchor tag.
previously i tried : <c:set> but it updates its value during loading of the page and set it to the last row's value.

I want : when user select a row, only that perticular value should be given to tha my-offers

please help me, stucked in this, from half of the day.. please :)
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Red text on tan is a poor choice. I cannot read it.

And you do realize that values in the anchor are not sent to the server? So a JSP will never see them. Why aren't you using request params to carry parameters?
 
shivam singhal
Ranch Hand
Posts: 231
Java Notepad Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am sorry bear bibeault for red text...
thanks for the reply, i am going to read about request params.. :)
 
shivam singhal
Ranch Hand
Posts: 231
Java Notepad Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
not resolved yet, please help..



I want c:set to display the id of a selected row (name for the above code), but it only gets the last row's (loaded) id. How to do that, please help..
jsp jstl
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!