I need to have both Next & Back buttons displayed for viewing 20 records at

Hi Everybody,
I have a JSP page which has 2 part: The header (Selection for search with the SEARCH button) and a search result table.
Is it possible to remember the last record printed & start from the next record when I click on "Next" button? When I click on the "Next" button will it create new page? I need to have both Next & Back buttons displayed for viewing 20 records at a time.
The current JSP is using "session.removeAttribute("XXXWorkItemVector") to print out records.
I'm very new to JAVA and JSP, so please help me with my assignment and send me e-mail to [email protected]

Check this:
http://forum.java.sun.com/thread.jsp?forum=45&thread=188239
This should be of help to you.

Similar Messages

  • HT5262 If I have an IPad and an I Phone 4S do I need to have both do back ups? They both sync with each other. My ICloud space is running low and it loos as if my phone is the one using the most storage. Do I need to back it up or if my phone?

    I am running out of ICloud storage space of 5 KB. It looks as if my phone is the one that is using more space. If all my info links to both do I need to back up the phone?

    Set up as new, since it newer has been connected to iTunes. Your iPhone will remain on iTunes. I have 4 different devices on my iTunes with no problems.
    And regarding the sync - it will sync whatever you tell it to sync on iTunes.

  • HT4847 I have a phone and a pad. Do I need to have both of them backed up as everything is moved to the pad?

    I have a phone and a pad. Do I need to have both of them backed up as everything is moved to the pad?

    Welcome to the Apple Community.
    I guess it may not be absolutely necessary, but if you need to restore the phone, you can't do it from an iPad back up.
    Being able to back up to the cloud can be very useful, especially if you don't have access to a computer or have infrequent access to one, however unless you specifically need to use iCloud for back up, you will find backing up to iTunes significantly more convenient and possibly more reliable.

  • Image gallery: Open browser w/ 'Next/Back' button?

    Howdy people. I am planning on making a photo gallery. I want
    to have the user click on the first image - have a browser window
    open then have a 'NEXT' 'BACK' and "CLOSE WINDOW" button in that
    browser window. I know how to do all except the arrow part. Can
    anyone help? Thank you so much!

    Create your second page so it's layed out the same way as the
    first. The
    next link simply points from one page to another as per
    normal hyperlink.
    You'll need to change the next link (and previous link) on
    each page
    manually.
    So, page2.htm will have a previous link to page1.htm and a
    next link to
    page3.htm, and
    page3.htm will have a previous link to page2.htm and a next
    link to
    page4.htm.
    Or are you looking for more automated way using a server-side
    language?
    HTH,
    Piers

  • Using next/back button along with thumbnails

    Please Help! I cannot figure out how to get the back/next buttons to work with the thumbnails. For instance if I click on the 4th thumbnail then hit next/back it skips and goes to the 2nd or 12th image. I know my scripting is wrong but I just can't figure it out. I also want the next/back buttons to loop.
    Can anyone please help me.
    Thank you for your time,
    stop();
    next_btn.addEventListener(MouseEvent.CLICK, nextimage);
    var imageNumber:Number = 1;
    function checkNumber():void{
    next_btn.visible = true;
    back_btn.visible = true;
    //If the imageNumber is = 12, then do something...
    if(imageNumber==12){
      trace(imageNumber);
    //if the imageNumber is = 1, then don't show the back button
    if(imageNumber==1){
      trace(imageNumber);
    checkNumber();
    function nextimage(evtObj:MouseEvent):void {
    //Adding number to the current value +1
    imageNumber++;
    UILoader_courand.source="portfolio/large/Courand/Courand_"+imageNumber+".jpg";
    checkNumber();
    back_btn.addEventListener(MouseEvent.CLICK, backimage);
    function backimage(evtObj:MouseEvent):void {
    //Subract 1 from the current value
    imageNumber--;
    UILoader_courand.source="portfolio/large/Courand/Courand_"+imageNumber+".jpg";
    checkNumber();
    aboutProject_btn.addEventListener(MouseEvent.CLICK, aboutclick);
    function aboutclick(evtObj:MouseEvent) {
    trace("Courand Desc was clicked");
    gotoAndStop("Courand Desc");
    var thumbLoader:Loader = new Loader();
    thumbLoader.load(new URLRequest("portfolio/thumbs/Courand/courandThumb1.jpg"));
    thumbLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, thumbLoaded);
    function thumbLoaded(event:Event):void {
    allThumbnails.addChild(thumbLoader);
    thumbLoader.addEventListener(MouseEvent.CLICK, loadMainImage1);
    function loadMainImage1(event:MouseEvent):void {
      UILoader_courand.source="portfolio/large/Courand/Courand_1.jpg";
    var thumbLoader2:Loader = new Loader();
    thumbLoader2.load(new URLRequest("portfolio/thumbs/Courand/courandThumb2.jpg"));
    thumbLoader2.contentLoaderInfo.addEventListener(Event.COMPLETE, thumbLoaded2);
    function thumbLoaded2(event:Event):void {
    allThumbnails.addChild(thumbLoader2);
    thumbLoader2.x=70;
    allThumbnails.buttonMode=true;
    thumbLoader2.addEventListener(MouseEvent.CLICK, loadMainImage2);
    function loadMainImage2(event:MouseEvent):void {
      UILoader_courand.source="portfolio/large/Courand/Courand_2.jpg";
    var thumbLoader3:Loader = new Loader();
    thumbLoader3.load(new URLRequest("portfolio/thumbs/Courand/courandThumb3.jpg"));
    thumbLoader3.contentLoaderInfo.addEventListener(Event.COMPLETE, thumbLoaded3);
    function thumbLoaded3(event:Event):void {
    allThumbnails.addChild(thumbLoader3);
    thumbLoader3.x=140;
    allThumbnails.buttonMode=true;
    thumbLoader3.addEventListener(MouseEvent.CLICK, loadMainImage3);
    function loadMainImage3(event:MouseEvent):void {
      UILoader_courand.source="portfolio/large/Courand/Courand_3.jpg";
    var thumbLoader4:Loader = new Loader();
    thumbLoader4.load(new URLRequest("portfolio/thumbs/Courand/courandThumb4.jpg"));
    thumbLoader4.contentLoaderInfo.addEventListener(Event.COMPLETE, thumbLoaded4);
    function thumbLoaded4(event:Event):void {
    allThumbnails.addChild(thumbLoader4);
    thumbLoader4.x=210;
    allThumbnails.buttonMode=true;
    thumbLoader4.addEventListener(MouseEvent.CLICK, loadMainImage4);
    function loadMainImage4(event:MouseEvent):void {
      UILoader_courand.source="portfolio/large/Courand/Courand_4.jpg";
    var thumbLoader5:Loader = new Loader();
    thumbLoader5.load(new URLRequest("portfolio/thumbs/Courand/courandThumb5.jpg"));
    thumbLoader5.contentLoaderInfo.addEventListener(Event.COMPLETE, thumbLoaded5);
    function thumbLoaded5(event:Event):void {
    allThumbnails.addChild(thumbLoader5);
    thumbLoader5.x=280;
    allThumbnails.buttonMode=true;
    thumbLoader5.addEventListener(MouseEvent.CLICK, loadMainImage5);
    function loadMainImage5(event:MouseEvent):void {
      UILoader_courand.source="portfolio/large/Courand/Courand_5.jpg";
    var thumbLoader6:Loader = new Loader();
    thumbLoader6.load(new URLRequest("portfolio/thumbs/Courand/courandThumb6.jpg"));
    thumbLoader6.contentLoaderInfo.addEventListener(Event.COMPLETE, thumbLoaded6);
    function thumbLoaded6(event:Event):void {
    allThumbnails.addChild(thumbLoader6);
    thumbLoader6.x=350;
    allThumbnails.buttonMode=true;
    thumbLoader6.addEventListener(MouseEvent.CLICK, loadMainImage6);
    function loadMainImage6(event:MouseEvent):void {
      UILoader_courand.source="portfolio/large/Courand/Courand_6.jpg";
    var thumbLoader7:Loader = new Loader();
    thumbLoader7.load(new URLRequest("portfolio/thumbs/Courand/courandThumb7.jpg"));
    thumbLoader7.contentLoaderInfo.addEventListener(Event.COMPLETE, thumbLoaded7);
    function thumbLoaded7(event:Event):void {
    allThumbnails.addChild(thumbLoader7);
    thumbLoader7.x=420;
    allThumbnails.buttonMode=true;
    thumbLoader7.addEventListener(MouseEvent.CLICK, loadMainImage7);
    function loadMainImage7(event:MouseEvent):void {
      UILoader_courand.source="portfolio/large/Courand/Courand_7.jpg";
    var thumbLoader8:Loader = new Loader();
    thumbLoader8.load(new URLRequest("portfolio/thumbs/Courand/courandThumb8.jpg"));
    thumbLoader8.contentLoaderInfo.addEventListener(Event.COMPLETE, thumbLoaded8);
    function thumbLoaded8(event:Event):void {
    allThumbnails.addChild(thumbLoader8);
    thumbLoader8.x=490;
    allThumbnails.buttonMode=true;
    thumbLoader8.addEventListener(MouseEvent.CLICK, loadMainImage8);
    function loadMainImage8(event:MouseEvent):void {
      UILoader_courand.source="portfolio/large/Courand/Courand_8.jpg";
    var thumbLoader9:Loader = new Loader();
    thumbLoader9.load(new URLRequest("portfolio/thumbs/Courand/courandThumb9.jpg"));
    thumbLoader9.contentLoaderInfo.addEventListener(Event.COMPLETE, thumbLoaded9);
    function thumbLoaded9(event:Event):void {
    allThumbnails.addChild(thumbLoader9);
    thumbLoader9.x=560;
    allThumbnails.buttonMode=true;
    thumbLoader9.addEventListener(MouseEvent.CLICK, loadMainImage9);
    function loadMainImage9(event:MouseEvent):void {
      UILoader_courand.source="portfolio/large/Courand/Courand_9.jpg";
    var thumbLoader10:Loader = new Loader();
    thumbLoader10.load(new URLRequest("portfolio/thumbs/Courand/courandThumb10.jpg"));
    thumbLoader10.contentLoaderInfo.addEventListener(Event.COMPLETE, thumbLoaded10);
    function thumbLoaded10(event:Event):void {
    allThumbnails.addChild(thumbLoader10);
    thumbLoader10.y=70;
    allThumbnails.buttonMode=true;
    thumbLoader10.addEventListener(MouseEvent.CLICK, loadMainImage10);
    function loadMainImage10(event:MouseEvent):void {
      UILoader_courand.source="portfolio/large/Courand/Courand_10.jpg";
    var thumbLoader11:Loader = new Loader();
    thumbLoader11.load(new URLRequest("portfolio/thumbs/Courand/courandThumb11.jpg"));
    thumbLoader11.contentLoaderInfo.addEventListener(Event.COMPLETE, thumbLoaded11);
    function thumbLoaded11(event:Event):void {
    allThumbnails.addChild(thumbLoader11);
    thumbLoader11.x=70;
    thumbLoader11.y=70;
    allThumbnails.buttonMode=true;
    thumbLoader11.addEventListener(MouseEvent.CLICK, loadMainImage11);
    function loadMainImage11(event:MouseEvent):void {
      UILoader_courand.source="portfolio/large/Courand/Courand_11.jpg";
    var thumbLoader12:Loader = new Loader();
    thumbLoader12.load(new URLRequest("portfolio/thumbs/Courand/courandThumb12.jpg"));
    thumbLoader12.contentLoaderInfo.addEventListener(Event.COMPLETE, thumbLoaded12);
    function thumbLoaded12(event:Event):void {
    allThumbnails.addChild(thumbLoader12);
    thumbLoader12.x=140;
    thumbLoader12.y=70;
    allThumbnails.buttonMode=true;
    thumbLoader12.addEventListener(MouseEvent.CLICK, loadMainImage12);
    function loadMainImage12(event:MouseEvent):void {
      UILoader_courand.source="portfolio/large/Courand/Courand_12.jpg";

    Hi Tapash,
    You are probably right. However - I have been reading the User Guide back button chapter twice now - and still not sure what the problem is.
    I think, that for this purpose, you can consider my page as a very simple application - a search page with a search result table. Admit that I am not an OAF back button expert yet, but I wonder - this must be a very common problem to all OAF pages with a search / result table, not a problem specific to my application.
    My page is almost built out-of-the-box, except that I have a SingleSelection added to the result table. I have very little custom code in my processRequest, it looks like this:
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    OATableBean table = (OATableBean)webBean.findIndexedChildRecursive("ResultsRN");
    table.setTableSelectionText("Set Item number, then Select Equipment and...");
    table.setSelectionDisabledBindingAttr("DisableApproval");
    The page works fine after navigating back from the home page - except for the standard Next/Previous links in the results table. If I click the search button - for instance - a new search is being done ok.
    Appreciate if you can share an example what is needed to support back button in such a simple page.
    Thanks,
    Søren Moss

  • Since I've updated to iOS 6 I am unable to use the next/back buttons from Headphone for audio book chapters.

    Since I've updated from iOS 5 to iOS 6 I am unable to use the next/back buttons from Headphone for audio book chapters.
    This is working fine for albums but are broken for audio books.
    The back button refers always to the first chapter of the audio book (very annoying if you are in the middle of an audio book) and the nex button goes one level higher back to the selection of the audio book itself.
    In iOS 5.0 it was still possible to navigate throught the audio book chapters using these buttons.
    This still happens in iOS 6.1.
    Is this a known bug?
    Does any solution exist?
    Thx,
    Oliver

    To gdgmacguy your a f****** idiot for one I'm having the same problem as pennymar. And you tell me to quit whinning. You got more problems then the iOS 6 you did not answer my question nor the other 13 or whatever you replied to within a 30 min time frame. You must got nothing better to do then to harass people and to pretend you know something about apple products. Which you don't from what I've read the other advices you should have gave to other people. But you didn't you replied a question back to the people asking a question. So if your not gonna use these community forums the right way don't use them at all.

  • Hello, we have both Creative Cloud and Creative Cloud for teams. Can you help me with the difference and if i need to have both?

    Hello, we have both Creative Cloud membership and Creative Cloud for team. Can you help me with the difference and if i need to have both? We have 9 employees that are using it. Just not sure if i'm paying for something i don't need.
    Thank you

    Please refer to Creative Cloud Help | Creative Cloud / Common Questions
    CC is for retail use with 20 GB of storage space, CCT is where number of seats are purchased & assigned by one program admin where each seat gets 100GB of storage space.
    You can not have both the CC & team in one account as it will only provide you added storage space of 120 GB but you can activate the CC any of them or either of them twice as CC is based on Adobe ID.
    Regards
    Rajshree

  • I am using PS cs6 and lightroom and I am having a hard time know what color space to choose.  The lab that I am using told me that their color space is sRGB.  Do I need to have both PS and Lightroom set at sRGB or should I have PS set at adobe RGB and jus

    I am using PS cs6 and lightroom and I am having a hard time know what color space to choose.  The lab that I am using told me that their color space is sRGB.  Do I need to have both PS and Lightroom set at sRGB or should I have PS set at adobe RGB and just set my export from lightroom as sRGB?

    Please post in the Photoshop forum.
    http://forums.adobe.com/community/photoshop
    Bob

  • I was going to buy monthly CC because I thought my CS6 license had expired and then it updated my creative suite 6 too. Do I now have 2 versions of everything? Do I need to have both?

    I was going to buy monthly CC because I thought my CS6 license had expired and then it updated my creative suite 6 too. Do I now have 2 versions of everything? Do I need to have both?

    It sounds like the Cloud managed to work its way into your system and take over the CS6 applications.  If you are happy with CS6 and don't want to afford the Cloud your license is likely as good as ever.  You just need to get the Cloud's claws out of your system.
    See if the following helps get you there...
    How do I prevent Creative Cloud from taking over my CS6 perpetual license?
    https://forums.adobe.com/thread/1584746
    Aside:  I was trying to update one of my CS6 applications thru the Application Manager last week and I decided afterwards I would try to update the manager since it seemed to get stuck.  I clicked a prompt without reading closely, turned away and returned to find the Application Manager was replaced with the Cloud Manager... which I guess is the latest update for it.  A similar thing happened on my previous machine and I was not happy with it because my other machine was not spec'd for the Cloud and it ended up resetting all my preferences.  So this time I immediately uninstalled it and decided I can live without it.  If I need any updates I'll look for them myself.

  • HT4859 i have purchsed music on my ipod but it is not on my iphone they have both been backed up to icloud ?

    i have purchsed music on my ipod but it is not on my iphone they have both been backed up to icloud ?

    Welcome to the Apple Community.
    Check that automatic downloads are enabled at settings > iTunes & App Stores.

  • Using Back button issue for radio button

    Dear All,
    My initial screen has 2 radio buttons, on selecting will take to a selection screen with few fields, i have enabled the back button using MODULE user_command AT EXIT-COMMAND.
      when i select a Radio Button 1 which takes to the Selection Screen 1, if the user clicks back button it works fine, even thou we got a mandatory field, it goes back,
    however when i click Radio Button 2 it still takes me to Selection Screen 1, its the same vice versa.
    Is there anyway i can change the screen based on radio button entry

    Hi Krishan,
    You can call your desire selection screen based on the button click.
    if you are working on report program (SE38), then say you have two radio button p1 and p2 and also you have created two selection screen block B1 and B2 and each block has some selection screen elements i.e fields.
    Now if you want that after radio button click b1, you want the only selection screen block B1 and while clicking radio button b2 click ,you want only selection screen block B2.
    Two acheive this in report programming, use the event AT SELECTION-SCREEN OUTPUT.
    so a demo code for the same,
    SELECTION-SCREEN BEGIN OF BLOCK a WITH FRAME TITLE text-049.
    PARAMETERS: p_header RADIOBUTTON GROUP asim USER-COMMAND s DEFAULT 'X',
                                p_item RADIOBUTTON GROUP asim.
    SELECTION-SCREEN END OF BLOCK lim.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-051.
    PARAMETERS : p_vbeln TYPE vbak-vbeln MODIF ID sc1,
                  p_audat TYPE vbak-audat MODIF ID sc1.
    SELECTION-SCREEN END OF BLOCK b1.
    SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-050.
    PARAMETERS : p_vbeln1 TYPE vbap-vbeln MODIF ID sc2,
                                 p_posnr TYPE vbap-posnr MODIF ID sc2.
    SELECTION-SCREEN END OF BLOCK b2.
    AT SELECTION-SCREEN OUTPUT.
       IF p_header EQ 'X'.
         LOOP AT SCREEN.
           IF screen-group1 = 'SC1'.
             screen-active = '1'.
           ELSEIF screen-group1 = 'SC2'.
             screen-active = '0'.
           ENDIF.
           MODIFY SCREEN.
         ENDLOOP.
       ELSEIF p_item EQ 'X'.
         LOOP AT SCREEN.
           IF screen-group1 = 'SC2'.
             screen-active = '1'.
           ELSEIF screen-group1 = 'SC1'.
             screen-active = '0'.
           ENDIF.
           MODIFY SCREEN.
         ENDLOOP.
       ENDIF.
    If you are working with Module POOL, then code in the PAI of the screen, and call your respective screen while respective button click.
    code:
    MODULE user_command_900 INPUT.
         IF p1 EQ 'X'.
              CALL SCREEN 9001.
         ELSEIF p2 EQ 'X'.
              CALL SCREEN 9002.
         ENDIF.
    NOTE: your screen 9001 have some screen input fields and 9002 have some screen input fields.
    Thanks & Regards
    Syed

  • What licenses are needed to have CUCM not in demo but for LAB

    I am trying to build a lab with new versions of CUCM 9.1
    I do not want to use demo versions for 60 days nor request a temp license for 6 months.
    what is the minimum licenses i will need to have CUCM in full production mode for Lab somulation and with the least cost?

    Hi.
    If you are a Cisco partner, you can obtain an NFR kit at a reasonable price.
    Check the following link.
    http://www.cisco.com/web/AP/partners/promotions/nfr/index_nz.html
    HTH
    Regards
    Carlo
    Please rate all helpful posts
    "The more you help the more you learn"

  • Do I need to have a .MAC account in order for me to purchase a photo book?

    Do I need to have a .MAC account in order for me to purchase a photo book?

    No. You do need an Apple ID, which is the same thing you'd set up to buy content on iTunes or stuff from the Apple store online. This doesn't cost you extra, e.g. $99 for a .Mac account, but you do need to set it up with a credit card.

  • ITunes 11: Next/Previous buttons in Grid View

    Clicking on the next/previous buttons in list view work as expected, i.e. the next or previous song plays!  However, in Grid View, the playlist just stops completely when I click next or previous!!  Why doesn't iTunes play the next song in the playlist while in Grid view?

    Actually, I stand corrected.  If I start playing a playlist while in List View, then switch to Grid View while that song is playing, and then hit next, it works fine.  But if I'm already in Grid View, double click to start playing a new song, then hit next, the playlist just stops completely.

  • During video recording the auto focus doesn't work automatically!i must have a tap on the display for to use the autofocus! Ihave an iphone 4s

    during video recording the auto focus doesn't work automatically!i must have a tap on the display for to use the autofocus! Ihave an iphone 4s

    I know.  Same issue here.  When I'm not recording but have the video camera on, the autofocus works fine.  As soon as I tap the record button and recording starts, the focus is locked until I tap on the screen to focus.  I haven't used the camera all that much because of this problem.

Maybe you are looking for

  • List component row manipulation

    I have two questions regarding as3 list component: - I'd like to highlight and keep selected the item a user last selected from my list component. I've combed the live reference as well as google and must be typing the wrong search words. I can tell

  • I need to start all over again! Help...

    So, somehow or other, I still haven't quite figured out how, I have completely lost my Admin Password. My mac refuses to allow me to create a new password on the OSX disc; it tries to launch and then fails and shuts down. I haven't been able to updat

  • Mail search won't search Entire Message

    When I type anything into the search bar in mail, and have it select to search Entire Message, it won't find anything. Even if I only type 2 characters, it won't find it. In the SpotLight System Preference, I tried adding the whole drive to the priva

  • Reminder Message

    Dear All,                    I have to send the mail on the basis of my date which i maintain in IT0019 (Monitoring of Task). First I have to know how  can i send mail.I need a step wise detail.Kindly guide me . How i can create the dyanamic action f

  • I keep getting kicked out of my itunes!

    Everytime I go into iTunes I last about maybe a minute then it freezes on me and kicks me out! Microsoft just states "iTunes has stopped working. A problem caused the program to stop working correctly. Windows will close the program and notify you if