This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
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

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 ]
subject: send value using response.sendRedirect()