Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Linux Archive
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-17-2008, 05:03 PM
Member
 
Join Date: Jun 2008
Posts: 8
Tokajac is on a distinguished road
Back button
This task seems to be easy, but i stuck up for a while.


I need to create a sequence of 3 web pages 2 times: first time for adding, second time for editing. Every page has a BACK button inside the .jsp code.

I did the adding part and most of the code i reused (copy-paste) in editing part. Everything works fine EXCEPT the BACK button in the editing part.
Actually, the editing button BACK goes to the same page where the adding BACK button goes.

Code:
<td width="340" valign="top"> <html:submit styleId="trackingSubmit" onmouseover="this.id='trackingSubmitSelected'" style="WIDTH: 120px; HEIGHT: 25px" onmouseout="this.id='trackingSubmit'" value="Back" onclick="bCancel=true" property="back"/> </td>
How should i go BACK to the appropriate page? Can you post me code for button inside the .jsp that will function same as the browsers back button?


Regards

P.S.
I tried with the javascript history too, without success
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 11-27-2008, 07:27 AM
Member
 
Join Date: Nov 2008
Posts: 25
Deepa is on a distinguished road
Re:Back button
Hi,
Use history.Back() method,u will get a ans.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with Midlet back button Poonam CLDC and MIDP 5 11-17-2008 11:14 AM
Tim's back! tim Introductions 3 06-29-2008 07:50 AM
Back Ground Midlet krmlkr CLDC and MIDP 1 03-06-2008 03:41 PM
Browser's back button refresh the pages hasansheikh18 JavaServer Pages (JSP) and JSTL 2 01-09-2008 09:59 AM
date one month back senzacionale New To Java 1 12-24-2007 11:02 PM


All times are GMT +3. The time now is 08:03 PM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org