Getting Java var on second page without JSP:Forward

Hi all ..
My friend has asked a question....
So
i want to get a Java variable on the second page
with out using Session or Jsp forwarding.
I hav use Request Dispatcing this eork only in Jsp forwrding scheme.
I wan to access a java variable on the submittion of first page.
Plz guide me.
Thanks in advance

YoGee, I think that would still involve forwardingI don't think so. If the user posts the form from the
first jsp ("submittion of first page") you don't need
to do a forward.You cant pass a Vector through a form. You need to set it
in the request and then either forward or include the 2nd
page.. that or set it in the session or application scope
and redirect to the next page.

Similar Messages

  • Cannot get long table on second page of BSP

    I want to create a BSP with 2+ pages.  The first page is a letter, and the second and subsequent pages contain a table which could be one or more pages long.
    If I put the letter in the main window of the first page, and the table in the main window of the second page, I do not get a table. 
    If I put the letter in the main window of the first page, and the table in a secondary window of the second page, then I get the table.  But it truncates at the end of the page.  It does not  go on to multiple pages.
    If I put the table on the first page in the main window, then I get the entire table for as many pages as it takes to contain it.
    I want the letter on the first page, and the entire table on as many subsequent pages as it takes to contain it.  What am I doing wrong?

    Hi,
    actually I did not get it.
    Do you work with frames?
    Do you use server side cookies?
    What are you doing in the events of page1 and page2?
    Best regards
    Renald

  • Cannot get long table on second page of Smartform

    I want to create a Smartform with 2+ pages. The first page is a letter, and the second and subsequent pages contain a table which could be one or more pages long.
    If I put the letter in the main window of the first page, and the table in the main window of the second page, I do not get a table.
    If I put the letter in the main window of the first page, and the table in a secondary window of the second page, then I get the table. But it truncates at the end of the page. It does not go on to multiple pages.
    If I put the table on the first page in the main window, then I get the entire table for as many pages as it takes to contain it.
    I want the letter on the first page, and the entire table on as many subsequent pages as it takes to contain it. What am I doing wrong?

    Hi ,
    Define the letter in the first page....if you think that the data is constant for the letter then define it in the secondary window itself and if you think its not then go for main window and in that table...
    Now coming to the second page define the data in the main window and also apart from that define the third page also which should be same as second page....
    in the second page set go to as third page and in the third page set go to as third page...
    Hope this will help.
    Regards,
    Rohan.

  • How to get data from a second page?

    Hi guys,
    I have the first page, where I have a button, which will navigate to the second page to let user make some choices.
    After the user makes the choices, user will click a button to get back.
    How can I pass the choices back to the first page?
    Regards,
    Aaron.

    Hi Aaron,
    you can use the EventBus for the same.
    1) publish the event bus on click of the button ( the event f which navigates back to the earlier page)
    2) in the publish of this event bus, pass all the data which you have captured / which has been clicked.
    3) subscribe the eventBus in the App.Controller page ( assuming that you have created an app.view in which you have defined the sap.m.App() , to take care of all the pages to be added into the app).
    4) the handler function of this subscribe, will navigate you to the page required, along with the whole set of data you have passed in the publish of event bus.
    5) use onBeforeShow(oEvent) hook method in the view, which is being finally routed to.
    all the data passed from the previous view will be accessible here via : oEvent.data.dataPassedFromPreviousView
    Note : dataPassedFromPreviousView, assuming is to be the object in which u have set the data in the publish.
    Hope it helps.
    Regards,
    Viren Gupta

  • My firefox will allow me to open a page then it gets stuck on the second page and times out--how do I fix this. I have checked the sites on Explorer -it works

    It started with the second page not being able to be displayed
    example it would go to yahoo and I would sign in but the next page would just spin and time out
    Now it won't even go to the first page.
    Firefox will not let me go into the options to change cache.
    I am trying explorer and it works.
    Help

    This is a page within the Yahoo site? When you have a problem with one particular site, a good "first thing to try" is clearing your Firefox cache and deleting your saved cookies for the site.
    (1) Bypass Firefox's Cache
    Use Ctrl+Shift+r to reload the page fresh from the server.
    Alternately, you also can clear Firefox's cache completely using:
    orange Firefox button (or Tools menu) > Options > Advanced
    On the Network mini-tab > Cached Web Content : "Clear Now"
    If you have a large hard drive, this might take a few minutes.
    (2) Remove the site's cookies (save any pending work first). While viewing a page on the site:
    * right-click and choose View Page Info > Security > "View Cookies"
    * Alt+t (open the classic Tools menu) > Page Info > Security > "View Cookies"
    In that dialog, you can individually remove your yahoo.com cookies.
    Then try reloading the page. Does that help?

  • How to print main window data in second page without header

    hi friends.,,,,,,,,,,,,,,,,,,,,
    I am printing billing docu details in main window ,the data is coming in two pages but there is problem in printing as the tables is continuing in second page the line is not coming for the table for first row,space is also coming for second page for header .
    my issue is to remove space before printing table and line should come for the table for 1st row in second page.
    please help .
    thanks in  advance.

    Hi Raghukumar,
    1. For the line not coming on the top row of the second page, check if the rowtype u have used in the table has been given a border on the upper side.
    2.For the space issue in the second page, I assume you might have used only a single Page in your smartform and the same page is called again.Hence as per the main window size and length data will be displayed in all pages of the smartform.
    You may need to create a second page with the Main window length occupying the compete page so that data display starts from the top of the page. next Page attributes of the smartforms should be entered accordingly.
    Please try to elaborate your query to help us understand your issue.
    Regards,
    Rijuraj

  • When printing on both sides, get unreadable stripe on second page, Imageclass D420 printer

    Have a Canon Imageclass D420printer.  Lately I am getting a 1/2 inch wide vertical stripe of smears the full length of the page when printing both sides.  The blurred stripe is approximately 3" from the right hand edge of the sheet.  The smear shows up on the second side 3" from the left hand edge of the sheet.   I reprinted the same document and only printed on one side of the paper and the smear does not occur.   Sounds like some roller needs to be cleaned?    Anyone have similar problem.  
    Thanks,
    Jerry Hudack

    Hi jerryhudack,
    To help isolate the cause of the issue, please check the following:
    1. Confirm that either LTR or A4 paper between 17 to 21 lb (64 to 80 g/sq.m.) is being used when duplex printing (Note: envelopes cannot be used for 2-sided copying). 
    2. If using specialty paper, please test standard laser copy paper for comparison. 
    However, if the above has been checked, the fuser roller in the main unit may be dirty affecting the second side of your duplex printouts.  Cleaning the Fuser Roller can help with the issue.
    The below procedure will step you through the cleaning process. To prepare, load a sheet of blank LTR paper into the multi-purpose tray and start cleaning.  Here are the steps:
    Note:
    - Use standard paper as the cleaning paper.
    - Cleaning the roller takes approximately 130 seconds.
    - When some jobs are stored in memory, this function is not available.
    1. Press [Menu].
    2. Press [ < ] or [ > ] to select <ADJUST./CLEANING>, then press [OK].
    3. Confirm a sheet of blank LTR paper is loaded in the multi-purpose tray.
    4. Press [ < ] or [ > ] to select <FIX. UNIT CLEANING>, then press [OK].
    Cleaning starts.
    Throw away the cleaning paper after use, and perform a duplex test print to confirm the issue has been resolved.
    If unresolved, please contact us here and we'll be glad to help you further.
    Did this answer your question? Please click the Accept as Solution button so that others may find the answer as well.

  • Working on check printing template,Getting Extra space in second page

    I am working on check printing template,in case of multi page output.I am getting almost 1/2 page blank space and getting disturbed output.
    Please provide mail id so that i will share template and xml.
    Thanks in advance.
    Mahi

    Send me the template and the xml, i ll try to figure out the issue
    my main id is : [email protected]
    Ragul

  • The Page is directly getting redirected to the next page

    I have tried using response.redirect("filename.jsp") in the two buttons as shown below but the pages are getting directly to the next page without loading the first page.Even though i write a .js file and include it in the jsp file that method is not getting called into the jsp page.Please advice.....stuck here.
    <%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*" errorPage="" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>Main</title>
    <script src="All.js">
    </script>
    </head>
    <body>
    <form name="one" >
    <h1>Please Choose : </h1>
    <table width="158" border="1">
    <tr>
    <td>
    <input type="button" value="Insert Record" onclick=""/>
    <a href="# onclick="insert();"></a>
    </td>
    </tr>
    <tr>
    <td align="left" valign="middle"><input type="submit" value="Delete/View" /><a href="# onclick="" target="insert()"></a></td>
    <!--td align="left" valign="middle"><input type="submit" value="Delete/View" /><a href="# onClick="insert();" target="_self""></a></td-->
    </tr>
    </table>
    </form>
    </body>
    </html>

    where you use response.redirect()? What is in insert()?

  • Smartforms command to next page without balnk area in main area

    Hi all,
    i have created a smart form for Notification printing.
    i have one page called page1
    page1
    ->Text page from 1 to 8.
    -> text reported by : Tark
    ->MainWindow.
    ->Table itab1 into itab1
    ->loop1 itab into itab. where adrnar = itab1-adrnar.
    ->loop2 itab2 into itab2. where QMNUM = itab1-QMNUM.
    ->command - next page to page1 .
    while printing it prints 6 documents in 7 pages.
    pages no 7 or last page contain page no and rported name but
    main window is blank.
    i need to print one document in one page second in next page and i wand cancel last page because it blank in main window area.
    expecting the reply.
    regards
    Esam

    Dear experts,
    My present issue is that i have a page
    Page1
    MainWindow
    Node1
    Node2
    Node3
    If i create new page
    Page1
    MainWindow
    Node1
    Node2
    Node3
    Page2
    If i check fom,i get error no new page can be created without a mainwindow
    then i add a new window and declare it as main
    Page1
    MainWindow
    Node1
    Node2
    Node3
    Page2
    MainWindow2
    Now it says that two main windows cannot exist.
    THIS THING SHOULDNT HAVE HAPPENED...WHATS UR ECC VERSION?? I CHECKED IN 7..U CAN DO THAT IN THIS VER.
    I join my hands together and make Main Window as Secondary window
    Page1
    MainWindow
    Node1
    Node2
    Node3
    Page2
    SecondaryWindow
    Now i check and get you cannot create a page without main window.
    AGAIN SMTHING IS WRONG. A PAGE WITHOUT A MAIN WINDOW CAN HAVE A NEXT PAGE POINTING TO A PAGE WITH MAIN WINDOW.
    Now i say to smartforms not yours not mine,
    i copy the same mainwindow of page1 to page2 .Now whaever action i perform with mainwindow of page2 same happens to page1 too.
    IT HAS BECOME A COPIES WINDOW..WHATEVER U DO IN PG1.GETS REFLECTED IN PG2..
    I have already declared that next page is Page2 in page 1 and page2 in page2 itself.What i am missing ?

  • Download a file on a separate page without linking it with the current session

    Hi,
    Here is my problem:
    In a JSP, the client chooses a link referring to a document which is contained in a blob on the database. This JSP calls a servlet which retrieves the PDF from the blob. I can send this PDF on a separate page if the <a href> on the JSP specifies TARGET=BLANK. But if the client closes the new window, the server doesn't recognizes the session that was going on on the JSP anymore. It looks like the response sent with the PDF takes the pole of the session and the first pending page (the JSP) is not associated anymore with the session.
    There must be a way to send a second page without associating it with the current session.
    Another way to solve my problem would be to send the PDF as part of a regular html page. I know this can be done, but I don't know how to do it.
    Any suggestion?
    Thanks
    Jean Vaillancourt, Montreal

    When opening the new window use child instead of blank. That should keep the session intact in the old window.

  • My original page is no longer tabbed, and when opening a new tab, I can't go back to the original page without closing all of the tabs.

    In the past, if I didn't have all of the tabs opened, or just opened a new window, the page would still be in a tab if I opened up new tabs. Now, if I hit the "+", I get a tab. I can't get back to the original page without closing all of the tabs.
    Example: I open ebay.com in a window. I hit "+" and go to cnn.com. I want to go back to what I was viewing on ebay, and I can't see it, unless I close the cnn window.

    Troubleshooting extensions and themes
    * https://support.mozilla.com/en-US/kb/Troubleshooting%20extensions%20and%20themes
    Options window - Tabs panel
    * https://support.mozilla.com/en-US/kb/Options%20window%20-%20Tabs%20panel
    * DO NOT SELECT '''When I open a link in a new tab, switch to it immediately'''
    Check and tell if its working.

  • Problem with PDF files opening to the second page

    I am dealing with a fairly annoying issue where the PDF's I open to the second page without any rhyme or reason.  I open my PDF's with Internet Explorer by selecting the PDF> right clicking> selecting open with Internet Explorer. Is there anyway to fix this?
    I have tried on a
    Windows 7 32 Bit
    IE 8.0.7600.16385
    Adobe Reader 9.4

    It happens intermittently to all my PDF's. I have made sure to turn off "Restore last view settings when reopening documents" and i have also tried to change the reading order to" left, right, top to bottom". The wierdest aspect is that I can select a PDF and it will direct me to page 2 and then if i open another PDF then open the same one that opened to page 2 it will now open to page 1.

  • Can't delete the second page in Pages.

    I am designing a newsletter and didn't notice I went past the bottom margin with some of my content creating a second page. Now I can't get rid of the second page! I tried back spacing (deleting) from the top of the second page and that isn't working. I tried pulling up the side menu that shows each individual page and tried to delete from there but pages is keeping them as a group. I am pulling my hair out as I can't put my newsletter to print until I get rid of that page. Please help.

    Maybe you could changing the bottom margin or the footer on your first page. Get rid of the footer if you don't need it and set a small bottom margin and see if that has an effect. Is there anything on the second page?

  • Printing envelopes from address book always has a second page

    When I print an address onto an envelope from address book, it always has a second page without any text on it even though I only want to print the address. So I have to select print 1 of 1 from my print options. Is there a way to eliminate this phantom second page?

    Without actually seeing the screens you open on your system to set this up and print, it's hard to offer any ideas for a fix, since I cannot reproduce it on my system. Can you post links to screen shots here of these different windows from your system?
    And are you running 10.5.3, or have you updated to 10.5.4 yet?
    Mulder

Maybe you are looking for

  • Document name

    Hi Can anyone tell me where is the name of the document sent over XI stored?

  • Problems in Xperia Ray after ICS update

    Hey I just updated my Xperia Ray to ICS..but after the update, the calibration of the accelerometer seems to have gone haywire...Whenever i am browsing through my gallery the screen does not change its orientation automatically (auto screen orientati

  • WRT54G V5 Cannot Disconnect PPPOE

    When press the [Disconnect] button, the web set page hangs! (and internet was NOT disconnected) Is this a bug? I just bought this router (WRT54G V5) few days ago! And, how come there is no option to Manual connect/disconnect internet!!! The auto-disc

  • How to check if database/table exists in MYSQL

    I am writing a program which accesses databases in MYSQL, is there any way to check if the databases exists on the MYSQL server and if not create one && to check if a table exists and create one of if it does not

  • CS6: Measure a shape's area?

    Hi there! With Illustrator CS6, is there a way to measure/calculate the enclosed area of a given vector shape? Thanks Klaus