JSP default error page - not sure where this goes

So I am not sure where the jsp section of the forums is but Ill post here ....
Any ways I dont like the look and feel of the current default error page when you throw an error on a jsp so i created my own cutom error page and set that as isErrorPage="true" then in the header.jsp I placed errorPage="error.jsp."
It doesnt work.
I have a jsp, a servlet and the error page. the jsp sends information to the servlet which sends the result back. if that servlet throws an error then it should be displayed on the error.jsp page where I told it to...How ever - it just goes to the default error page.
How do I fix this.
Sorry if this doesn't belong here not sure where else to put it. and in theory - it is java.

user8974754 wrote:
Yes its shown in the jSP. so how do I make the servlet be like "oh...thats the error page I want to display the error on"I'm pretty sure you can't, since it's a JSP mechanism, not a Servlet mechanism.
And even if it was possible, it's not something that could be recommended.
A normal way would be to catch the exceptions in your servlet and handle them there (log the exception and redirect to an error page).

Similar Messages

  • Need urgent help with preview (not sure where this goes)

    Hi,
    Ok so I have a Mac OSX and I was editing one of the best pictures I have ever drawn, I have spent weeks working on it! I was absolutely finished it and admiring it in Preview and I was using Sketchbook Pro to edit it. Suddenly Sketchbook Pro quit working then I force quit it thinking nothing would happen! Then Preview stopped working and I quit that too. When I clicked to reopen the file I could not open it! The pop up reads when I try to open it that the file may be damaged or use a file format that is not recognized by Preview. Also the icon before was a small preview of what the picture looked like and then it was turned to the default image of preview. Preview could previously open it and now it can't, the file format the picture was in was .tiff and I checked if preview could open any other tiffs and it CAN! I hadn't activated Time Share either so I can not go back before my file was damaged. This is so maddening and I hope I will not have to start all over again! Please help me!!!!

    I thought you might have saved it at the transitional spot iCloud. This transitional spot iCloud automatically saves changes. If it is not there and you dont have a backup of it, I wish i knew more. Sorry. This is my open screen in preview.

  • Not sure where this goes...

    How do I change my settings (name that's displayed, email address, etc.)? I tried the preferences, but when I clicked "edit my preferences" the window where it's displayed is locked.
    Thanks for your help!

    Are you talking about your preferences here, in the forums? If so then go to the main Support page. Down in the lower right hand corner you'll see, I Need to Update My Contact info. Click the link and follow the steps.
    Jrsy

  • Not sure where this goes but...Firefox

    Hi all,
    I've installed Firefox, and when I log in/start up Mac OSX 10.4.11 Firefox starts. Also, the program always generates a window, upon startup, where the program wants me to add Firefox to my apps folder - this is already done. Why does it want to keep doing this? How can I get this window to stop appearing? How can I get Firefox to stop automatic start-up?
    All help is appreciated,
    Vincenso

    Go to System Preferences > Accounts > Login Items tab and remove Firefox, i.e. select it and click the minus ( - ) sign.
    Hope this helps...

  • Not sure where this question belongs

    I am looking for a Free software program to create Abstract Art from a photo in Iphoto. For example..distort a photo into psychedelic art or what some call computer art. Then also have the ability to print. I have just purchased Photoshop Elements 6 & waiting for delivery, not sure if this program can do Abstract art.
    Any info would be appreciated.

    Welcome to the Apple Discussions.
    It's not the app, it's the Artist
    You might check out Compositor
    Regards
    TD

  • Im not sure where this issue fits in :-) I am consistently getting a window that pops up * Style editor. It started in the last 2 days

    Im running Windows 7...
    Theres a pop up window that keeps appearing If i click settings it is labeled Default Firefox developer tools..NOTHING is checked currently currently at top of this page is StyleEditor with an address for the current window and lists what looks like lines of programming, It has been popping up frequently l the last few days..It has tabs for console inspector debugger style editor

    You may be pressing a hot key that calls up the built in '''Inspector''' page.

  • How to link to an R3 system(not sure where it goes sorry)

    I was handed a netweaver04 installation and now I have to complete it. The Portal is up but I need to point it to the correct R3 system and then get the Iviews loaded and working. Anybody got any clues on where to go with this one.
    Thanks in Advance
    Troy

    Hi Troy
    <u><b>Connecting SAP systems to Enterprise portal with SSO.</b></u>
    So here they are, 10 simple steps :o)
    1) Export certificate from portal (verify.der and verify.pse)
    ..... a) Navigate to 'System Administration' >> 'System configuration' >> 'Keystore Administration'.
    ..... b) in 'Content' select "SAPLogonTicketKeypar-cert" and press'n'save "Download verify.pse file" and "Download verify.der file".
    2) Check existence of SAPJSF user in target system
    ..... a) Create if necessary using transaction SU01.
    ..... b) User should have two roles: SAP_BC_JSF_COMMUNICATION and SAP_BC_USR_CUA_CLIENT_RFC (if you have CUA in place).
    ..... c) Probably you will have to generate profiles for those roles in target system (transaction PFCG).
    3) Check profile parameters
    ..... a) use transaction RZ10
    ..... b) choose instance profile, 'extended maintenance', then 'Change'
    ..... c) make sure that "login/create_sso2_ticket" is set to "2" and "login/accepte_sso2_ticket" set to "1"
    4) Export certificate from target system (the system to which you want to connect using SSO from portal)
    ..... a) use transaction STRUSTSSO2
    ..... b) double-click on "Own Certif." on "CN=..." part.
    ..... c) press on "Export certificate" button in the middle of the screen and provide file name and path, where to save certificate file.
    5) Import portal certificate to target system
    ..... a) Use transaction STRUSTSSO2 in target system
    ..... b) push "Import certificate" button in the middle of the screen
    ..... c) in 'File path' field enter path to *.der file, you created in step 1 (or point at it via 'Browse' button)
    ..... d) Press "Enter"
    ..... e) Press 'Add to certificate list' button and then 'Add to ACL button
    6) Create an JCo RFC provider in J2EE engine of portal system.
    ..... a) Logon to J2EE using J2EE Admin tool (go.bat)
    ..... b) navigate to 'Server' >> 'JCo RFC provider' node
    ..... c) On the right side of the screen choose any entry in 'Available RFC destinations' area.
    ..... d) Enter information about new destination:
    ..... ..... - Program ID: name of the program (you will need it later) - sapj2ee_port, for example
    ..... ..... - Gateway host - FQDN of target system - server.domain.com, for example
    ..... ..... - Gateway service - sapgw00 for example
    ..... e) in 'Repository' section enter:
    ..... ..... - Application server host - FQDN of target system - server.domain.com, for example
    ..... ..... - system number - 00, for example
    ..... ..... - client - 100, for example
    ..... ..... - logon language - EN
    ..... ..... - user - SAPJSF (from step 2)
    ..... ..... - password (from step 2)
    ..... f) press 'Set'
    7) Add target system to Security providers list
    ..... a) Open J2EE Admin and navigate to 'Server' >> 'Services' >> 'Security Provider'. In components select 'Ticket'. Enter edit mode (button with pencil above)
    ..... b) select 'Login module' "com.sap.security.core.server.jaas.EvaluateTicketLoginModule" and press 'Modify'
    ..... c) ensure that "ume.configuration.active" is set to "true"
    ..... d) enter following info:
    ..... ..... - Name - 'trustedsysN' (there should be a number instead "N", if target system is the first one you implementing SSO with, there should be 'trustedsys1'). Enter <SID>,<client> as a value (C11,100 for example)
    ..... ..... - Name - 'trustedissN' (there should be a number instead "N", if target system is the first one you implementing SSO with, there should be 'trustediss1'). Enter CN=<SID> as a value (CN=C11 for example)
    ..... ..... - Name - 'trusteddnN' (there should be a number instead "N", if target system is the first one you implementing SSO with, there should be 'trusteddn1'). Enter CN=<SID> as a value (CN=C11 for example)
    ..... e) Press 'OK'
    ..... f) Do substeps b,c,d,e in 'evaluate_assertion_ticket' view for "com.sap.security.core.server.jaas.EvaluateAssertionTicketLoginModule" login module.
    8) Import target system certificate to J2EE of portal system (from step 4)
    ..... a) Open J2EE Administrator and logon to portal instance
    ..... b) Navigate to 'Server" >> 'Services' >> 'Key storage'
    ..... c) in 'Ticket keystore' view press 'load' and select certificate of target system, you exported in step 3.
    9) Restart J2EE instance.
    10) Create RFC connection in target system
    ..... a) use transaction SM59
    ..... b) Point to TCP/IP connections and press 'New'
    ..... c) Enter name for new connection ("RFC_to_portal", for example), enter connection type "T" (external TCP/IP application) and description. Save.
    ..... d) in 'Technical settings' choose "Registered server program" and enter application name from step 6d in "Program ID" field. Provide 'Gateway host' and 'Gateway service' same as in step 6d. Save. Test connection. RFC connection ready.
    If You had to change or add parameters in RZ10 (in step 3), do not forget to restart target system.
    check the below url
    /people/sap.user72/blog/2004/09/15/quick-guide-for-setting-up-sso-between-ep-and-r3
    regards,
    kanthi

  • Im not sure if this goes in this section of the forums but oh w

    I got my Zen V yesterday and I love it but theres one problem. 3 of the songs I have on it won't play. It says that the audio format is not supported, But the format is mp3 and it plays every other mp3 song that I have. I Don't know why it's having a problem with this song. Can somebody Please help me? Sorry if this is the wrong section to put this in, this is my first time on here. Thanks in advance

    Don't worry! You're in the right place!
    Now, where did you download these songs? Are they from a CD? From a subscription service? Try to convert them to a different format (like WMA or WAV) and see if they do work on your player. So try that and let us know if it worked.
    Good luck!!

  • External hard drive, sharing, itunes? Not sure where to post this?

    sorry guys but i'm not sure where this belongs, but anyway. I just bought my macbook and purchased a Western Digital harddrive ( external ) anyway I have like 80gigs of pics and music and want to get it from my iPod back onto the computer. Not a problem............My problem is that I can't put it directly onto the external drive I first need to put it on the macbook then transfer it to the externak hardrive. When I do this is winds up on my mac HD and also on my external hardrive. I only want it in one place. Ok, my ultimate goal right now is to buy an iMac which I'm doing this weekend. Got rid of my PC's ( Go Apple !) LOL. I want to put all my music ,videos,pics, movies on the external hardrive and be able to share it with both my Macbook and my imac. I simply want to be able to access my everything from both pc's but get it all from the EHD. Right now it's all on my macbook and I want to free up the space, plus learn how to do it for the future. Sorry to ramble. So far I've posted a few times and someone always comes through. Everyone here is awesome, it's like another planet compared to the PC world.
    thanks
    Mike , NYC
    macbook   Mac OS X (10.4.9)   HP Desktop

    Put your iTunes folder on the eternal hard drive, and make a alias to it from your home directory on the MacBook (Cmd-L). Do the same when you get the iMac.
    I didn't quite get how the two computers are sharing the hard drive, or maybe you'll put the hard drive on the iMac and share the library. There's a lot of ways to make this work. You made a good decision.

  • I bought  my MacBook Pro in 2010. This is the first Mac I have owned and recently it is having some difficulty loading we pages, often timing out. This Mac environment is entirely different for me and I am not sure where to begin troubleshooting/clean-up.

    I bought  my MacBook Pro in 2010. This is the first Mac I have owned and recently it is having some difficulty loading we pages, often timing out. This Mac environment is entirely different for me and I am not sure where to begin troubleshooting and/ or clean-up. I have moderate computer skills and try not to download or access questionable material, however recently I visited the Ap Store and purchased a couple of different aps to use in record keeping and for making a flyer. I am not even sure how to remove these programs to see if it helps.
    Any tips or tricks are appreciated.
    Thank you!

    Time to see about the PRAM battery.
    By the way iOS and OS X are different systems.
    iOS is the operating system for iPads, iPhones, and iPod touch.
    Mac OS X is the operating system for Mac labelled computers.

  • I have been having problems with e-mails coming through to my 3g iphone recently, my e-mail provider recommended diabling the SSL as a default option but im not sure where to find this on the phone can anyone help?told

    Please can you advise how to disable the SSL on my iphone, i am not sure where the setting is.
    Thanks
    Tania

    Go to Settings/Mail, Contacts, Calendars.  Tap the name of the email account. If you don't see a bar labeled "Advance" near the bottom,  Tap Account.  Tap Advanced.   Under Incoming Settings, there should be an option to Use SSL.  If it is ON, tap it to turn it off.

  • When I click on an email address on a web page, a page no longer opens in my email program. Not sure if this is a problem due to Firefox or due to recent installation of Office 2010. I use a PC with Vista.

    When I click on an email address embedded in a web page, a page would open in my email program with this address in the "To" line. I recently installed Microsoft Office 2010 and now when I click on an email address nothing happens. I am not sure if this is due to Office 2010 or a Firefox problem. I use a PC with Vista.

    https://support.mozilla.org/en-US/kb/change-program-used-open-email-links

  • This is less a question and more of a suggestion and I am not sure where to put it..... I would like an update that would allow you to have a tone for each individual email account

    I am not sure where to put this but I would like individual tones for all my email accounts

    Wonderful suggestion.
    You can give Apple feedback here > http://www.apple.com/feedback/
    Hop that helps

  • HT4623 i just bought an iPad from a friend. I think is generation 1 or 2 not sure where to look for this. Bottom line, I would like to update it to iOS7. Is this possible?  It does not have the option for software update.

    i just bought an iPad from a friend. I think is generation 1 or 2 not sure where to look for this. Bottom line, I would like to update it to iOS7. Is this possible?  It does not have the option for software update.

    Identify Your iPad
    http://www.ifixit.com/Info/ID-your-iPad
    If you have an iPad 1, the max iOS is 5.1.1. For newer iPads, the current iOS is 7.0.4. The Settings>General>Software Update only appears if you have iOS 5.0 or higher currently installed.
    You can no longer update to iOS 6.x, or down grade the iOS.
    iOS 5: Updating your device to iOS 5 or Later
    http://support.apple.com/kb/HT4972
    How to install iOS 6
    http://www.macworld.com/article/2010061/hands-on-with-ios-6-installation.html
    iOS: How to update your iPhone, iPad, or iPod touch
    http://support.apple.com/kb/HT4623
    If you are currently running an iOS lower than 5.0, connect the iPad to the computer, open iTunes. Then select the iPad under the Devices heading on the left, click on the Summary tab and then click on Check for Update.
    Tip - If connected to your computer, you may need to disable your firewall and antivirus software temporarily.  Then download and install the iOS update. Be sure and backup your iPad before the iOS update. After you update an iPad (except iPad 1) to iOS 6.x, the next update can be installed via wifi (i.e., not connected to your computer).
    Tip 2 - If you're updating via wifi, place your iPad close to your router to preclude getting a corrupted download.
    How to Upgrade to iOS 7
    The iOS 7.0 update requires around 2.5 GB of storage space, so if your iPad is almost full, you may need to clear up some space. You can check your available space in Settings -> General -> Usage.
    There are two ways to upgrade to iOS 7: You can use your Wi-Fi connection, or you can connect your iPad to your PC and update through iTunes. We'll go over each method.
    To upgrade using Wi-Fi:
    Note: If your iPad's battery is under 50%, you will want to plug it into your charger while performing the update.
    Go into the iPad's Settings.
    Locate and tap "General" from the menu on the left.
    The second option from the top is "Software Update". Tap this to move into the update settings.
    Tap "Download and Install". This will start the upgrade, which will take several minutes and will reboot your iPad during the process. If the Download and Install button is grayed out, trying clearing up some space. The space required by the update is mostly temporary, so you should gain most of it back after iOS 7 is installed.
    Once the update is installed, you may have to run through the initial steps of setting up your iPad again. This is to account for new features and settings.
    To upgrade using iTunes:
    First, connect your iPad to your PC or Mac using the cable provided when you purchased your device. This will allow iTunes to communicate with your iPad.
    You will also need the latest version of iTunes. Don't worry, you will be prompted to download the latest version when you launch iTunes. Once it installs, you may be asked to setup iCloud by logging into your iTunes account. If you have a Mac, you may be prompted on whether or not you want to enable the Find my Mac feature.
    Now you are ready to begin the process:
    If you upgraded iTunes earlier, go ahead and launch it. (For many, it will launch automatically when you plug in your iPad.)
    Once iTunes is launched, it should automatically detect that a new version of the operating system exists and prompt you to upgrade to it. Choose Cancel. Before updating, you will want to manually sync your iPad to make sure everything is up to date.
    After canceling the dialog box, iTunes should automatically sync with your iPad.
    If iTunes doesn't automatically sync, you can manually do it by selecting your iPad within iTunes, clicking on the File menu and choosing Sync iPad from the list.
    After your iPad has been synced to iTunes, select your iPad within iTunes. You can find it on the left side menu under Devices.
    From the iPad screen, click on the Update button.
    After verifying that you want to update your iPad, the process will begin. It takes a few minutes to update the operating system during which time your iPad may reboot a few times.
    After updating, you may be asked a few questions when your device finally boots back up. This is to account for new settings and features.
     Cheers, Tom

  • HT201210 hi can anyone help me please im trying to restore my iphone 4 but error comes up -1 not sure what this means ?

    hi can anyone help me please ? im restoring my iphone 4 and comes up with error -1 im not sure what this means ?

    Use the search button at the top right of the forum, this subject has been brought up in numerous thread already.  Look for the green check mark.

Maybe you are looking for

  • Apple Mail vs. Gmail IMAP disagreeing counts

    A friend has two iMacs (10.6.5), iPad & iPhone (iOS 4.2) recently switched to gmail for his primary email service. The problem is that not all the devices “see” the same Sent, Drafts and Trash mailbox. Working with other IMAP services, I never see is

  • How do you make the icons bigger in Illustrator?

    I've read a lot of questions like this and people are saying to adjust the resolution on your computer?! ABSURD! There is no way that this is the right answer. Once you adjust the resolution on your computer, the image quality goes to hell. I work wi

  • Selection screen for Hierarchy Node Variable

    HI All, I Have an issue with Hierarchy Node Variable , in my selection screen the for an info object , Z_ACCT  i have a Hierarchy Node Varable it only displays Text on F4 help , i want to desplay both Text and Key , i check in the Info Object bex set

  • Multiple attachment of planning books to planning area

    Dear all, I am facing an issue: When I copied the planning book in a planning area without making any changes I was not able to display the original book, In display I found that planning area of original planning book was changed and the copied book

  • How to Set up PRT (Production Resource Tool)

    Hi , Anyone knows How to Set up PRT (Production Resource Tool)  for equipment , is it all master data set up or there any configuration required to activate PRT . Thanks Pawan