Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

sendRedirect method  RSS feed

 
Sam Gill
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
In my program, user inputs a value for a specific column and then displays the row belonging to that column. and then makes changes and press update and updates the row for that column. I want to send the user back to the url of that field after they press update to update the database. http://I.p address/?fieldname=dfgfdgf
I know how to use redirect to send them back to the home page(simply put the address) but how to send them back to the location with the field name they just updated using sendREdirect???.
THanks
 
Sam Gill
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I figured it out.
THanks
 
Kiran Kumar
Ranch Hand
Posts: 107
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
u could post the solution/work around for ur problem, since it will help others also when they encounter similar problems.
thanks
 
Sam Gill
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is how i got around to it:
res.sendRedirect("http://address/<nameoffile>?<name of field>="<+nameoffield+>" ");
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!