aspose file tools*
The moose likes JSP and the fly likes problem in sending values through reponse.sendredirect Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "problem in sending values through reponse.sendredirect" Watch "problem in sending values through reponse.sendredirect" New topic
Author

problem in sending values through reponse.sendredirect

Rekha Pande
Ranch Hand

Joined: Jan 29, 2004
Posts: 145
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

Joined: Jan 23, 2002
Posts: 11962
    
    5
You gotta help us a little bit... What is the exact "error" you're getting?


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: problem in sending values through reponse.sendredirect
 
Similar Threads
sending back a URL
problem in retreiving value
Final arrays and initialisation
Scope of an HttpSession
Can't ID contain numeric data??