• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem in sending values through reponse.sendredirect

 
Rekha Pande
Ranch Hand
Posts: 145
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all...
i have this button where on click i want to send it to another page with a id value in it
if(request.getparameter("B1")!=null)
{
reponse.sendRedirect(Details.jsp?id='"+num+"');
}
first the error was that the value that was going had quotes aroung it.. like '100' and now it's giving me the error ..that num attribute has no values....!!!
why is it so..?
plz help..!
thanxssss..!
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You gotta help us a little bit... What is the exact "error" you're getting?
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic