This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

problem in sending values through reponse.sendredirect  RSS feed

 
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?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!