Meaningless Drivel is fun!
The moose likes JSP and the fly likes PostBack Question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "PostBack Question" Watch "PostBack Question" New topic

PostBack Question

Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15302

Hello All. I have recently been doing a lot of ASP.NET because of a project at work. They have a feature that I am not sure if it is inherent in JSP. I can do what is called a PostBack. I can't describe how this works because frankly I don't know. What I do know is it makes life really easy for me when I need to post a message back to the same page I am on.
So basically, if I had a label on my web page, and I click a button, I can assign that label a new text string and it reflects back on the same page. I hope I am either making some sense, or other ASP.NET people know what I am talking about. Anyway, how is this same feature accomplished in JSP?

GenRocket - Experts at Building Test Data
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63852

I don't know the full semantics of the PostBack, but how would it be different from a forward to the originating url?

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: PostBack Question
It's not a secret anymore!