SendRedirect and controlling the Application

I have an MVC application which consists of a controller servlet and
a number of JSPs.
The controlling servlet uses a sendRedirect to direct control to a
further place - this place being an ORACLE reports server which makes a call to a report and displays it as PDF - when it does this it takes
over the whole window and hence when I come out of the report I have to close down the window and hence the JSP that caused the original
sendRedirect to be made.
What I would like to happen is the following:
1.) Initiating JSP displays records to be reported on
2.) User selects the row to be reported (by clicking a check box) on -
this record is then sent back to the controlling servlet for the
sendRedirect to be made in order to initiate the report.
3.) Report runs and produces the output.
4.) User closes down the report and control is then passed back to
the initiating JSP ready for the user to select the next record to
run the report for.
Whilst I can do the first 3 I cannot figure out how to do step 4.)
Any help much appreciated.
Chris

The immediately obvious solution would be to generate
the report in a new window, thus when the user closes
the reports, the initial JSP page is still active and
the user may select a new report to run.
Another idea... make the page that's generating the
report a framed page, leaving you an frame with the
option to close the reports window and return back to
the originating JSP (similar to how microsoft handles
navigating to/from external sites from Hotmail). When
the user clicks Close or Return, or whatever, the JSP
can then be loaded again.Thanks for this. How do I open a new window from a Servlet - I thought
that command was specific to JavaScript.
Do you mean forward the control/information to a JSP from which
I would do the redirect.
Thanks
Chris

Similar Messages

  • Can i connect my iMac to a mac mini (wirelessly) and control the mac mini display on my TV?

    Can i connect my iMac to a mac mini (wirelessly) and control the mac mini display on my TV?

    Look up "screen sharing" in help
    You can control your mini (which I am assuming you are hooking to your TV) complete from your iMac.
    After you set up screen sharing, you can go to the finder, under the "go" menu choose "Connect to server" and then browse.  Choose your mac mini's name, and look for the "Screen Sharing" button.
    Choose Apple menu > System Preferences, and then click Sharing.
    Select the Screen Sharing checkbox.
    To specify who can share your screen, select one of the following:
    All users:
    Select this if you want to allow any user with a user account on your computer to share your screen.
    Only these users:
    Select this if you want to restrict screen sharing to specific users.Click Add at the bottom of the Users list and select a user from Users & Groups (accounts you have set up in Users & Groups preferences), Network Users (users on your network), or your Address Book. Or click New Person and enter a name and password to create a sharing account. Then select that user from the list, and then click Select.
    Click Computer Settings and set the following options:
    Anyone may request permission to control screen:
    Select this to allow anyone on your network to request to share your screen.
    VNC viewers may control screen with password:
    Select this and enter a password that VNC viewer applications can enter in order to control your screen.It’s recommended that you not set a password if you only share this computer’s screen using the built-in screen sharing viewer in Mac OS X.

  • Could I connect the lap top to TV and watch movies and control the lap top from a distance?

    could I connect the Apple lap top to my TV to watch movies and control the lap top from a distance just like the Window lap top???

    Check out Apple TV.  It is a wireless interface to your TV.  It may be the best $99 investment you can make for entertainment on your TV.  It simply requires a standard $10 HDMI cable, not supplied with the Apple TV unit.  Through Apple TV, with Mavericks, you can use the TV as a standard OS X monitor or for entertainment.  Also check out the Beamer software to stream videos to it from your Mac.
    Apple TV requires a Mid 2011 or newer MacBook Air with OS X Lion v10.7.5 or later.
    If your MBA is not new enough you can use the AirParrot application but the video quality is not as high as with a newer MBA.  It also streams from iOS devices.
    http://www.apple.com/appletv/
    http://www.apple.com/appletv/airplay/
    http://store.apple.com/us/ipod/ipod-accessories/apple-tv
    http://www.apple.com/osx/whats-new/features.html#displays
    http://www.amazon.com/AmazonBasics-High-Speed-HDMI-Cable-Meters/dp/B003L1ZYYM/re f=sr_1_1?ie=UTF8&qid=1385514116&sr=8-1&keywords=hdmi+cable
    AirPlay is available on all devices running iOS 4.3 or later. Some features require the latest software. Second-generation Apple TV or later required.
    AirPlay Mirroring is available with iPhone 4s or later; iPad 2 or later; iPad mini; iPod touch (5th generation); and iMac (Mid 2011 or newer), Mac mini (Mid 2011 or newer), MacBook Air (Mid 2011 or newer), MacBook Pro (Early 2011 or newer), and Mac Pro (Late 2013) with OS X Mountain Lion or later.

  • I just got my replacement ipad last night. when i got home and tried the applications, there is no sound. but the videos do have sounds.

    i just got my replacement ipad last night. when i got home and tried the applications, there is no sound. but the videos do have sounds. i already checked the settings. i cannot find what's causing it. please help.

    You may have already checked the settings, but it still sounds like you have system sounds muted.
    If you lose sounds for keyboard clicks, games or other apps, email notifications and other notifications, system sounds may have been muted.
    System sounds can be muted and controlled two different ways. The screen lock rotation can be controlled in the same manner as well.
    Settings>General>Use Side Switch to: Mute System sounds. If this option is selected, the switch on the side of the iPad above the volume rocker will mute system sounds.
    If you choose Lock Screen Rotation, then the switch locks the screen. If the screen is locked, you will see a lock icon in the upper right corner next to the battery indicator gauge.
    If you have the side switch set to lock screen rotation then the system sound control is in the task bar. Double tap the home button and in the task bar at the bottom, swipe all the way to the right. The speaker icon is all the way to the left. Tap on it and system sounds will return.
    If you have the side switch set to mute system sounds, then the screen lock rotation can be accessed via the task bar in the same manner as described above.
    This support article from Apple explains how the side switch works.
    http://support.apple.com/kb/HT4085

  • How do I show my keynote file on a dvd player and control the slides?

    how do I show my keynote file on a dvd player and control the slides with the skip or next chapter command on the dvd remote? when I export to quicktime, it changes slides on a timed basis. I want the chapter button on a dvd remote to act like a mouse click would.

    Hi Robert
    You have to export the individual slides from your Keynote presentation, and then import them into your DVD application.
    I use DVDStudioPro - it works fine this. I'm sure iDVD will be OK.Going via QT has never worked for me.
    Regards Robert
    G4(7 y.o)1.5GHz 1.25 GB Ram, 2x120GB intHD, orig AGP & Radeon 9200 PCI card   Mac OS X (10.4.8)   2monitors, CRT TV, FCP5.0.4, DVDSP4.1.1, STP1.1, Comp2.3, LT2.1, QT7.1.3

  • I cant open Photos om my mac. Just upgraded to Yosemite. The message I get is: An unexpected error has occurred. Please quit and restart the application. I have done this several times but nothing seems to work. iPhoto is gone. What do I do?

    I just upgraded to Yosemite on my mac from 2010. Everything seems to work, accept Photos. When I try to open it i push the "Get started" button, then the picture with "Preparing Library" comes up. Then a message appears with the text "An unexpected error has occurred. Please quit and restart the application." I have done this several times, but nothing happens. What do I do?

    I just upgraded to Yosemite on my mac from 2010. Everything seems to work, accept Photos. When I try to open it i push the "Get started" button, then the picture with "Preparing Library" comes up. Then a message appears with the text "An unexpected error has occurred. Please quit and restart the application." I have done this several times, but nothing happens. What do I do?

  • I have two apple id accounts ,when i used to update application it used to prompt a default id and if the application was downloaded using the other id i would cancel and it would prompt the other id but not any more .

    i have two apple id accounts ,when i used to update application it used to prompt a default id (the old one) and if the application was downloaded using the other id i would cancel and it would prompt the other id but not any more .
    it just prompt the old id which im not signed in with im signed in using the new id and when i cancel nothing happens and when i try to update applications separately  i have the same problem .
    im signed in using the new id
    the old one is my wife's so i can't delete it
    the problem happens  when i update all or  each application by its own
    using ios 5.0.1 on a iphone 3gs
    the applications are downloaded using both the new and old id's
    any help will be greatly appreciatedِ

    These are user-to-user forums, you are not talking to Apple here and they don't monitor these forums - I've asked the hosts to remove yout account ids from your post.
    In terms of combining accounts it's not currently possible to do so, nor to copy/transfer content from account to another.

  • Hi, I have just loaded Lightroom 5 from the disc onto my Mac.  every time i try and launch the application, it goes to the registration/licence window.  i have input the data five times already.  When Lr5 launches the update window appears, when i try to

    Hi, I have just loaded Lightroom 5 from the disc onto my Mac.  every time i try and launch the application, it goes to the registration/licence window.  i have input the data five times already.  When Lr5 launches the update window appears, when i try to do anything the following message comes up: - An error occrred when attempting to change modules.  What do i need to do to fix this?

    Masher please use the uninstaller located in the Applications/Utilities/Adobe Installers folder.  Once Photoshop Lightroom is removed then please download Lightroom 5.5 from Adobe - Lightroom : For Macintosh : Adobe Photoshop Lightroom 5.5 and reinstall.

  • How I can do to display the comments of the cells in an Excel spreadsheet? I have an iPhone (4S) and use the application Numbers

    how I can do to display the comments of the cells in an Excel spreadsheet? I have an iPhone (4S) and use the application Numbers

    I would write a LabVIEW VI to read the Excel file(s) on computer n°1 and publish the data in a shared variable over the network.
    Chilly Charly    (aka CC)
             E-List Master - Kudos glutton - Press the yellow button on the left...        

  • "We want to use any one of a variety of digitizers: NI5102, NI5112, NI5122 and have the application determine which one is installed.

    "We want to use any one of a variety of digitizers: NI5102, NI5112, NI5122 and have the application determine which one is installed. Similar to the LabVIEW "niScope Init", using what Measurement Studio .NET call can one ascertain the model name of the digitizer using C# in .NET?

    Sorry, meant to post to "high speed digitizers".

  • How to Create a default domain and deploy the application in jdeveloper  using a script or code (not manually)

    Hi ,
    I have installed Jdev   using silent installation .
    Now I have some  apps already created I want to create a default domain and then deploy apps into that through ant or any script?
    Can anyone help me on this?
    Thanks and Regards,
    Vivek Pemawat

    We still don't know what you want to archive with here.
    Cvele_new_account got you a pointer on how to install the DefaultDomain.
    Tip: if you want to know or see the exact command line jdev uses to install the DefaultDomain, open jdev and in the application server navigator right click on hte integrated server and select configure DefualtDomain. In the log window you see the command line with all parameters.
    Timo

  • While Deploying and running the application

    Dear all,
    While deploying and running the application, after importing the relevant files into my local amchine workspace from another machine, i am facinf exception/error message as below:
    'Service call exception; nested exception is: com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (404) Not Found'.
    Would someone suggest for the same.
    With Regards,
    Lux.

    Hi,
    This is the message i am receving during runtime
    Web Dynpro client:
    HTML Client
    Web Dynpro client capabilities:
    User agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.0.3705; .NET CLR 1.1.4322), version: null, DOM version: null, client type: msie6, client type profile: ie6, ActiveX: enabled, Cookies: enabled, Frames: enabled, Java applets: enabled, JavaScript: enabled, Tables: enabled, VB Script: enabled
    Web Dynpro runtime:
    Vendor: SAP, Build ID: 6.4013.00.0000.20050607163945.0000 (release=630_SP_REL, buildtime=2005-06-07:21:12:54[UTC], changelist=351986, host=PWDFM067)
    Web Dynpro code generators of DC local/SurveysOverview:
    SapDictionaryGenerationCore: 6.4013.00.0000.20050606171348.0000 (release=630_VAL_REL, buildtime=2005-07-18:20:02:28[UTC], changelist=351717, host=PWDFM026.wdf.sap.corp)
    SapMetamodelWebDynpro: 6.4013.00.0000.20050609113138.0000 (release=630_VAL_REL, buildtime=2005-07-18:20:05:41[UTC], changelist=352442, host=PWDFM026.wdf.sap.corp)
    SapMetamodelCore: 6.4013.00.0000.20050606171700.0000 (release=630_VAL_REL, buildtime=2005-07-18:19:56:40[UTC], changelist=351724, host=PWDFM026.wdf.sap.corp)
    SapWebDynproGenerationTemplates: 6.4013.00.0000.20050628104636.0000 (release=630_VAL_REL, buildtime=2005-07-18:20:21:22[UTC], changelist=356134, host=PWDFM026)
    SapWebDynproGenerationCTemplates: 6.4013.00.0000.20050628104636.0000 (release=630_VAL_REL, buildtime=2005-07-18:20:21:22[UTC], changelist=356134, host=PWDFM026)
    SapGenerationFrameworkCore: 6.4013.00.0000.20041104141254.0000 (release=630_VAL_REL, buildtime=2005-07-18:19:55:55[UTC], changelist=298452, host=PWDFM026.wdf.sap.corp)
    SapIdeWebDynproCheckLayer: 6.4013.00.0000.20050606172055.0000 (release=630_VAL_REL, buildtime=2005-07-18:20:09:17[UTC], changelist=351729, host=PWDFM026.wdf.sap.corp)
    SapMetamodelDictionary: 6.4013.00.0000.20050606171352.0000 (release=630_VAL_REL, buildtime=2005-07-18:19:59:56[UTC], changelist=351719, host=PWDFM026.wdf.sap.corp)
    SapMetamodelCommon: 6.4013.00.0000.20050606171700.0000 (release=630_VAL_REL, buildtime=2005-07-18:19:56:48[UTC], changelist=351724, host=PWDFM026.wdf.sap.corp)
    SapWebDynproGenerationCore: 6.4013.00.0000.20050606172055.0000 (release=630_VAL_REL, buildtime=2005-07-18:20:09:46[UTC], changelist=351729, host=PWDFM026.wdf.sap.corp)
    SapDictionaryGenerationTemplates: (unknown)
    Web Dynpro code generators of DC sap.com/tcwddispwda:
    No information available
    Web Dynpro code generators of DC sap.com/tcwdcorecomp:
    No information available
    J2EE Engine:
    No information available
    Java VM:
    Java HotSpot(TM) Server VM, version: 1.4.2_08-b03, vendor: Sun Microsystems Inc.
    Operating system:
    Windows XP, version: 5.1, architecture: x86
    Error stacktrace:
    java.lang.NullPointerException
         at com.sap.survey.NewSurveyView.onActionCreateSurvey(NewSurveyView.java:180)
         at com.sap.survey.wdp.InternalNewSurveyView.wdInvokeEventHandler(InternalNewSurveyView.java:198)

  • Help!!! the app Iphoto is closed marking a erros. I go back and open the application and are not photos. How can I recover them? Are not in the image folder.

    I was editing my photos and adding them to a album and suddenly the app is closed marking a erros. I go back and open the application and are not photos. How can I recover them? Are not in the image folder.

    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Repair Database. If that doesn't help, then try again, this time using Rebuild Database.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. (In early versions of Library Manager it's the File -> Rebuild command. In later versions it's under the Library menu.)
    This will create an entirely new library. It will then copy (or try to) your photos and all the associated metadata and versions to this new Library, and arrange it as close as it can to what you had in the damaged Library. It does this based on information it finds in the iPhoto sharing mechanism - but that means that things not shared won't be there, so no slideshows, books or calendars, for instance - but it should get all your events, albums and keywords, faces and places back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.  
    Regards
    TD

  • HT3415 Ive formatted my iMac and now the applications disc will not install on my computer

    Ive formatted my iMac as I am selling it on and now the applications disc will not install on my computer.

    Isaac, Two knowledge base articles that may be of further help are:
    Reinstalling Mac OS X 10.6http://support.apple.com/kb/PH6606
    and Reinstalling Application Software that came with Mac OS X 10.6
    Be sure to read them through if you have any further problems.
    Regards,
    Ralph

  • HT1338 The application can't be updated due to the presence of Mac Osx 10.7.5. I updated the software of my mac to the latest update and still the application can't be updated. I'm using Mac osx lion (10.7.4)!?

    The application can't be updated due to the presence of Mac Osx 10.7.5. I updated the software of my mac to the latest update and still the application can't be updated. I'm using Mac osx lion (10.7.4)!?
    Regards,
    Mhareky

    OS X Lion Update 10.7.5 (Client Combo).

Maybe you are looking for

  • Batch search strategy based on goods receipt date

    Hello, Can some one help me with setting up Batch search strategy based on goods receipt date currently is on batch number. Thanks a lot Thanks! Best Regards Srw

  • Override Security Profile for one employee

    Hi I have one employee who works in 'Accounts Department' and the HR user of accounts department can see only the employees of Accounts Department based on the security profile. This is working fine. But theres a different requirement. Some employees

  • Asset master record validation rule

    Dear All, Could you tell me the way, how i can write a validation/substitution rule in the Asset master record. I need to make sure the below steps shoud be the same: A. Cost center in the Aseet master record. B. Responsible cost center in the asset

  • BPM alert issue

    Hi, i created bpm with block step in that i was used deadline exception branch, while testing the message was processed successfully but message also going to excetion and deadline branch and creating alerts.(but there no exception found).i gave the

  • JTextArea font won't change

    I know this problem has been answered in similar form previously., but my version is a little different. I have a JList of fonts. When a font is selected on the list, changes should be applied to a JTextArea. I have my <JTextArea>.setFont(Font f) com