This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 15299

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: 60800

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] [Bear's FrontMan] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: PostBack Question
Similar Threads
MVC Model and Domain Model
JSF limitations
Javascript and .NET
Better way of doing this?
Logic when calling jsp page from same jsp page