Two Laptop Bag
The moose likes JSP and the fly likes send value using response.sendRedirect() Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "send value using response.sendRedirect()" Watch "send value using response.sendRedirect()" New topic

send value using response.sendRedirect()

Oswald King

Joined: Feb 11, 2005
Posts: 10
I have a A.jsp page with some text fields whose values are required to insert in database.
In "A.jsp" action="B.jsp" after inserting the values in B.jsp i want send boolean value back to A.jsp

for e.g.
boolean bFlag = insertToDB(some args...);

I know this sends back only the string "bFlag". so what can i do ??
srilatha kareddy
Ranch Hand

Joined: Jan 12, 2006
Posts: 32

[ March 01, 2006: Message edited by: srilatha reddy ]
I agree. Here's the link:
subject: send value using response.sendRedirect()
It's not a secret anymore!