Seeking help on JSP Validator

hi,
I want to write a jsp validator which will detect syntax
errors in a JSP Page so that it can be validated before
deploying it in a Web Server.I have no clue as how to do it.
Please guide me in this regard.
Thanks and Regards,
Indranilr

Save yourself a lot of time and get an ide that does this for you. Eclipse is free and I think it has this feature (WSAD definitely does)

Similar Messages

  • Seek help!redhat as4 installation oracle 10g configure sysctl.config error!

    [root@localhost ~]# /sbin/sysctl -p
    net.ipv4.ip_forward = 0
    net.ipv4.conf.default.rp_filter = 1
    net.ipv4.conf.default.accept_source_route = 0
    kernel.sysrq = 0
    kernel.core_uses_pid = 1
    kernel.shmall = 2097152
    kernel.shmmax = 2147483648
    kernel.shmmni = 4096
    kernel.sem = 250 32000 100 128
    fs.file-max = 65536
    net.ipv4.ip_local_port_range = 1024 65000
    [root@localhost ~]# /sbin/sysctl -a | grep shm
    error: unknown error 0 reading key 'dev.parport.parport0.autoprobe3'
    error: unknown error 0 reading key 'dev.parport.parport0.autoprobe2'
    error: unknown error 0 reading key 'dev.parport.parport0.autoprobe1'
    error: unknown error 0 reading key 'dev.parport.parport0.autoprobe0'
    error: unknown error 0 reading key 'dev.parport.parport0.autoprobe'
    error: unknown error 22 reading key 'net.ipv6.route.flush'
    error: unknown error 22 reading key 'net.ipv4.route.flush'
    vm.hugetlb_shm_group = 0
    error: unknown error 22 reading key 'fs.binfmt_misc.register'
    kernel.shmmni = 4096
    kernel.shmall = 2097152
    kernel.shmmax = 2147483648
    [root@localhost ~]#
    seek help!!!! help!!!

    [root@localhost ~]# /sbin/sysctl -e -a | grep shm
    error: unknown error 0 reading key 'dev.parport.parport0.autoprobe3'
    error: unknown error 0 reading key 'dev.parport.parport0.autoprobe2'
    error: unknown error 0 reading key 'dev.parport.parport0.autoprobe1'
    error: unknown error 0 reading key 'dev.parport.parport0.autoprobe0'
    error: unknown error 0 reading key 'dev.parport.parport0.autoprobe'
    error: unknown error 22 reading key 'net.ipv6.route.flush'
    error: unknown error 22 reading key 'net.ipv4.route.flush'
    vm.hugetlb_shm_group = 0
    error: unknown error 22 reading key 'fs.binfmt_misc.register'
    kernel.shmmni = 4096
    kernel.shmall = 2097152
    kernel.shmmax = 2147483648
    You have new mail in /var/spool/mail/root
    [root@localhost ~]# /sbin/sysctl -e -a | grep shm
    error: unknown error 0 reading key 'dev.parport.parport0.autoprobe3'
    error: unknown error 0 reading key 'dev.parport.parport0.autoprobe2'
    error: unknown error 0 reading key 'dev.parport.parport0.autoprobe1'
    error: unknown error 0 reading key 'dev.parport.parport0.autoprobe0'
    error: unknown error 0 reading key 'dev.parport.parport0.autoprobe'
    error: unknown error 22 reading key 'net.ipv6.route.flush'
    error: unknown error 22 reading key 'net.ipv4.route.flush'
    vm.hugetlb_shm_group = 0
    error: unknown error 22 reading key 'fs.binfmt_misc.register'
    kernel.shmmni = 4096
    kernel.shmall = 2097152
    kernel.shmmax = 2147483648
    [root@localhost ~]#
    From [email protected] Thu Dec 22 04:02:05 2005
    Return-Path: <[email protected]>
    Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
         by localhost.localdomain (8.13.1/8.13.1) with ESMTP id jBLK25Av010183
         for <[email protected]>; Thu, 22 Dec 2005 04:02:05 +0800
    Received: (from root@localhost)
         by localhost.localdomain (8.13.1/8.13.1/Submit) id jBLK2353010181
         for root; Thu, 22 Dec 2005 04:02:03 +0800
    Date: Thu, 22 Dec 2005 04:02:03 +0800
    From: root <[email protected]>
    Message-Id: <[email protected]>
    To: [email protected]
    Subject: LogWatch for localhost.localdomain
    ################### LogWatch 5.2.2 (06/23/04) ####################
    Processing Initiated: Thu Dec 22 04:02:02 2005
    Date Range Processed: yesterday
    Detail Level of Output: 0
    Logfiles for Host: localhost.localdomain
    --------------------- Cron Begin ------------------------
    **Unmatched Entries**
    STARTUP (V5.0)
    STARTUP (V5.0)
    ---------------------- Cron End -------------------------
    --------------------- Kernel Begin ------------------------
    WARNING: Kernel Errors Present
    vesafb: probe of vesafb0 failed with error -6...: 2 Time(s)
    ---------------------- Kernel End -------------------------
    --------------------- pam_unix Begin ------------------------
    crond:
    Unknown Entries:
    session closed for user root: 217 Time(s)
    session opened for user root by (uid=0): 217 Time(s)
    gdm:
    Unknown Entries:
    authentication failure; logname= uid=0 euid=0 tty=:0 ruser= rhost= user=root: 1 Time(s)
    sshd:
    Authentication Failures:
    unknown (211.93.8.116): 11 Time(s)
    mysql (211.93.8.116): 1 Time(s)
    oracle (211.93.8.116): 1 Time(s)
    root (211.93.8.116): 1 Time(s)
    system-install-packages:
    Unknown Entries:
    auth could not identify password for [root]: 2 Time(s)
    ---------------------- pam_unix End -------------------------
    --------------------- Connections (secure-log) Begin ------------------------
    New Users:
    useradd (oracle)
    New Groups:
    useradd (oracle)
    **Unmatched Entries**
    usermod[2945]: change user `oracle' password
    userhelper[3909]: pam_timestamp: updated timestamp file `/var/run/sudo/root/unknown'
    userhelper[3910]: running '/usr/sbin/system-config-network' with root privileges on behalf of 'root'
    userhelper[4298]: pam_timestamp: updated timestamp file `/var/run/sudo/root/unknown'
    userhelper[4299]: running '/usr/share/system-config-users/system-config-users' with root privileges on behalf of 'root'
    userhelper[7961]: pam_timestamp: updated timestamp file `/var/run/sudo/root/unknown'
    userhelper[7962]: running '/usr/sbin/system-config-packages' with root privileges on behalf of 'root'
    userhelper[9157]: pam_timestamp: updated timestamp file `/var/run/sudo/root/unknown'
    userhelper[9158]: running '/usr/sbin/system-config-packages' with root privileges on behalf of 'root'
    userhelper[9163]: pam_timestamp: updated timestamp file `/var/run/sudo/root/unknown'
    userhelper[9164]: running '/usr/sbin/system-config-packages' with root privileges on behalf of 'root'
    ---------------------- Connections (secure-log) End -------------------------
    --------------------- SSHD Begin ------------------------
    SSHD Started: 2 Time(s)
    Failed to bind:
    0.0.0.0 port 22 (Address already in use) : 2 Time(s)
    Failed logins from these:
    mysql/password from ::ffff:211.93.8.116: 1 Time(s)
    oracle/password from ::ffff:211.93.8.116: 1 Time(s)
    root/password from ::ffff:211.93.8.116: 1 Time(s)
    **Unmatched Entries**
    Invalid user fluffy from ::ffff:211.93.8.116
    Failed password for invalid user fluffy from ::ffff:211.93.8.116 port 50249 ssh2
    Invalid user admin from ::ffff:211.93.8.116
    Failed password for invalid user admin from ::ffff:211.93.8.116 port 50738 ssh2
    Invalid user test from ::ffff:211.93.8.116
    Failed password for invalid user test from ::ffff:211.93.8.116 port 51217 ssh2
    Invalid user guest from ::ffff:211.93.8.116
    Failed password for invalid user guest from ::ffff:211.93.8.116 port 51434 ssh2
    Invalid user webmaster from ::ffff:211.93.8.116
    Failed password for invalid user webmaster from ::ffff:211.93.8.116 port 51651 ssh2
    Invalid user library from ::ffff:211.93.8.116
    Failed password for invalid user library from ::ffff:211.93.8.116 port 52584 ssh2
    Invalid user info from ::ffff:211.93.8.116
    Failed password for in
    valid user info from ::ffff:211.93.8.116 port 52810 ssh2
    Invalid user shell from ::ffff:211.93.8.116
    Failed password for invalid user shell from ::ffff:211.93.8.116 port 53024 ssh2
    Invalid user linux from ::ffff:211.93.8.116
    Failed password for invalid user linux from ::ffff:211.93.8.116 port 53261 ssh2
    Invalid user unix from ::ffff:211.93.8.116
    Failed password for invalid user unix from ::ffff:211.93.8.116 port 53491 ssh2
    Invalid user webadmin from ::ffff:211.93.8.116
    Failed password for invalid user webadmin from ::ffff:211.93.8.116 port 53715 ssh2
    RSA1 &#38335;&#57790;&#27537;&#37922;&#29112;&#22426; succeeded
    RSA &#38335;&#57790;&#27537;&#37922;&#29112;&#22426; succeeded
    DSA &#38335;&#57790;&#27537;&#37922;&#29112;&#22426; succeeded
    ---------------------- SSHD End -------------------------
    ------------------ Disk Space --------------------
    /dev/mapper/VolGroup00-LogVol00
    /dev/hda1 3.9G 47M 3.7G 2% /boot
    ###################### LogWatch End #########################
    From [email protected] Fri Dec 23 04:02:03 2005
    Return-Path: <[email protected]>
    Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
         by localhost.localdomain (8.13.1/8.13.1) with ESMTP id jBMK23vb020633
         for <[email protected]>; Fri, 23 Dec 2005 04:02:03 +0800
    Received: (from root@localhost)
         by localhost.localdomain (8.13.1/8.13.1/Submit) id jBMK23wD020631
         for root; Fri, 23 Dec 2005 04:02:03 +0800
    Date: Fri, 23 Dec 2005 04:02:03 +0800
    From: root <[email protected]>
    Message-Id: <[email protected]>
    To: [email protected]
    Subject: LogWatch for localhost.localdomain
    ################### LogWatch 5.2.2 (06/23/04) ####################
    Processing Initiated: Fri Dec 23 04:02:02 2005
    Date Range Processed: yesterday
    Detail Level of Output: 0
    Logfiles for Host: localhost.localdomain
    --------------------- Init Begin ------------------------
    Re-execs of init: 1 times
    ---------------------- Init End -------------------------
    --------------------- pam_unix Begin ------------------------
    crond:
    Unknown Entries:
    session closed for user root: 458 Time(s)
    session opened for user root by (uid=0): 458 Time(s)
    sshd:
    Authentication Failures:
    unknown (fw-25-15-a8.bta.net.cn): 6 Time(s)
    oracle (82.78.172.155): 3 Time(s)
    root (fw-25-15-a8.bta.net.cn): 3 Time(s)
    unknown (202.29.52.44): 1 Time(s)
    Unknown Entries:
    2 more authentication failures; logname= uid=0 euid=0 tty=ssh ruser= rhost=82.78.172.155 user=oracle: 2 Time(s)
    6 more authentication failures; logname= uid=0 euid=0 tty=ssh ruser= rhost=82.78.172.155 user=oracle: 1 Time(s)
    service(sshd) ignoring max retries; 7 > 3: 1 Time(s)
    ---------------------- pam_unix End -------------------------
    --------------------- sendmail Begin ------------------------
    Bytes Transferred: 9906
    Messages Sent: 2
    Total recipients: 2
    ---------------------- sendmail End -------------------------
    --------------------- SSHD Begin ------------------------
    Failed logins from these:
    oracle/password from ::ffff:82.78.172.155: 3 Time(s)
    root/password from ::ffff:202.108.25.15: 3 Time(s)
    **Unmatched Entries**
    Invalid user test from ::ffff:202.108.25.15
    Failed password for invalid user test from ::ffff:202.108.25.15 port 49076 ssh2
    Invalid user guest from ::ffff:202.108.25.15
    Failed password for invalid user guest from ::ffff:202.108.25.15 port 49212 ssh2
    Invalid user admin from ::ffff:202.108.25.15
    Failed password for invalid user admin from ::ffff:202.108.25.15 port 49318 ssh2
    Invalid user admin from ::ffff:202.108.25.15
    Failed password for invalid user admin from ::ffff:202.108.25.15 port 49448 ssh2
    Invalid user user from ::ffff:202.108.25.15
    Failed password for invalid user user from ::ffff:202.108.25.15 port 49620 ssh2
    Invalid user test from ::ffff:202.108.25.15
    Failed password for invalid user test from ::ffff:202.108.25.15 port 50275 ssh2
    Invalid user test from ::ffff:202.29.52.44
    Failed password for invalid user test from ::ffff:202.29.52.44 port 2356 ssh2
    ---------------------- SSHD End -------------------------
    ------------------ Disk Space --------------------
    /dev/mapper/VolGroup00-LogVol00
    /dev/hda1 3.9G 47M 3.7G 2% /boot
    ###################### LogWatch End #########################
    Message was edited by:
    user475340

  • Failing to install windows 8.1/7/ any kind of windows on my imac,seeking help foreal

    Hey there. It's going to be a long post since I've messed with it for 4 days, and still no success even in the time I'm currently writing this message - the furthest I got is having tons of crashes and black screens. And now I can't even reclaim my lost harddrive space (resizing partitions doesn't work anymore).
    I'll start with that I already tried to make Bootcamp work about a year ago, but then quit it out of no success and reverted all the changes. But this time my situation is different - I'm pretty sure something messed up in the middle and now I'm seeking help and answers to my questions. And here we go - one bright day I decided to install Windows 8.1 as a secondary boot system on my iMac for personal reasons. I went and added Bootcamp's ability to make a bootable USB on my mac by changing the plist file, and finally had the option to do so. Then got an ISO of Windows 8.1's installation, burned it to a DVD with disk utility (on the lowest speed) and here's already where my problems started. The disk failed to burn for some unknown reason, even though when I compared the contents it had the exactly same thing in both the ISO and the DVD. Weird isn't it? I still tried to boot it - and guess what? the DVD booted but it had the non-EFI interface (huge and pixelated). Anyway when I pressed next I had some weird driver errors, so I decided to use an USB instead (1 DVD wasted so far). I used Bootcamp to create a bootable USB with drivers and went to boot it. The USB booted perfectly fine under the name "EFI Boot" and then I reached the partitions screen.. Obviously I had weird errors again (GPT/MBR stuff). One tutorial on the web suggested creating a partition for the windows rather than using the Bootcamp pre-made one. I followed it by booting my main system, and using disk utility to delete the Bootcamp partition. Later on I booted again to the installation and created a new partition from the partitions screen. Windows created two partitions - a Microsoft reserved partition, and the secondary partition which is used for the windows files. After some time the windows finally booted for the first time. It took pretty long but went smooth - until it finally booted. Since here the problems returned - the Windows crashed every 5 minutes from a driver error (that's AFTER I installed the Apple drivers right after the system finished booting), I googled it and followed various tuts but it still wasn't fixed. I decided to quit using 8 since I liked 7 more anyway (I currently have it installed as a virtual system in Parallels), so I decided to install 7 instead of 8 since I never had any issues with it. Booted up my main system again - went to Bootcamp Assistant, USB creation. ISO file + drivers on the USB. I reboot. Holding ALT and... my mac can't even see the USB drive! Luckily I had 4 more installations (various ISOs) of Win 7, so I decided to try them. I tried ALL the Installations I in none of them my mac could see the USB drive (I wonder how my USB survived all this rewriting on it...) Again to Google we go. I researched a bit and realized that I'm missing a file called xboot64.efi in the "efi/boot" folder, which can be taken from windows. I tried extracting it from install.wim but none of my archiving apps could open it (I tried Unarchiver, Keka, 7zX, terminal's unrar command and more, none could!). I also realized my Win 8 installation had this file so I added it to the Win 7 USB. Now my mac could see the USB in the boot screen - and it booted. I saw the "loading files" screen, and after one minute of it... black screen. I waited 10 minutes. Then 30. An hour. Still a pure black screen. I thought something is wrong with my file, and read that this file is also found in an already installed Win 7, so I went to parallels and took it from here, then added it to my installation. Again my mac could see the USB, but still no luck. When I pressed enter to boot from it, nothing happened as if the boot screen was stuck - the drive was selected but it didn't do anything. I waited long time again and decided to stop waiting. I tried to burn another DVD, this time with Titanium Toast. Again the DVD failed to burn, and when I checked the content, it was the same as the ISO I tried to burn from (official ISO from Microsoft of Windows 7 Ultimate SP1). I went and booted it - this time I saw again "Windows" and "EFI Boot"in the boot screen, both with a disc icon. "EFI Boot" didn't load like the usb previously (loads forever), so I booted the "Windows" thing. The setup loaded, and finally I could see the installation window. Reached the partitions screen... and here the problems returned once again. An error along the lines of that Windows can't be installed on a GPT partition. Some tuts on YouTube and in Google suggested to simply format the problematic partition. And so I did - yet the problem wasn't fixed. After messing with all that for one more day - trying different installations, ways to boot the USB and DVDs, formatting the Windows partition etc, I decided it's time to stop messing with it since luck definitely isn't in my side when it comes to Bootcamp (and for the record, I never had any issues with OSX, but when I tried adding windows to it.. eh, you can guess.) I booted back to my normal system, and went to disk utility to delete the partitions. The Windows partition was deleted easily, but the Microsoft reserved one.. not so quite. (by the way when I boot into it I get a Win 8.1 error screen that tells me to repair the system, since I formatted the Win partition itself). Until this very moment I still can't delete the reserved partition and return my beloved 30gb that I lost because of the resizing (I can't resize my Mac HD partition).
    I'm really desperate now. I tried everything and the furthest I got is getting a broken Windows 8.1 (which I deleted later), destroying 5 DVDs, shortening the lifespan of my USB drive, and googling errors the whole day for 4 days in a row. And now I can't even return my lost 30gb even after I decided to quit it. Please help or suggest me what to do, whether it's about how to successfully install Win 7 or to return my lost gigabytes, any kind of help is appreciated. If you managed to read so far, thank you for reading my post and I hope you'll be able to assist me and get me out of this situation.

    Read the Boot Camp Help first. Boot Camp does not yet support Windows 8.1 http://windows.microsoft.com/en-US/windows-8/system-requirements. If you insist on installing 8.1 use a virtual machine like parallels, Fusion, or VirtualBox.
    http://www.apple.com/support/bootcamp/

  • I got this message:" Software Update Update failed Something is trying to trick Firefox into accepting an insecure update. Please contact your network provider and seek help." What on earth is this about? I am not computer savy.

    I got this message:" Software Update Update failed Something is trying to trick Firefox into accepting an insecure update. Please contact your network provider and seek help." What on earth is this about? I am not computer savy.

    taken from https://support.mozilla.com/en-US/questions/826858:
    ''This issue can be caused by the presence of leftover files in the Firefox program folder (defaults\pref) like a file all.js or firefox.js''
    ''Download a fresh Firefox copy and save the file to the desktop.
    Firefox 4.0.x: http://www.mozilla.com/en-US/firefox/all.html ''
    ''Uninstall your current Firefox version and remove the Firefox program folder before installing that copy of the Firefox installer.''
    ''Do not remove personal data if you uninstall the current version.
    It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.''
    ''Your bookmarks and other profile data are stored elsewhere in the Firefox Profile Folder and won't be affected by a reinstall, but make sure that you do not select to remove personal data if you uninstall Firefox.''
    ''If the problem persists See also:
    https://support.mozilla.com/en-US/questions/815130?page=2#answer-185385''
    Check and tell if its working.

  • Need help in date Validation Urgent

    Hi ,
    We need help in Date Validation.
    we have 2 Date fields on the form Start Date, End Date
    The requirement is: End Date (May not be greater than 30 years from the start date).
    I have written following script on End Date Exit event. But the problem is its calculating 30 years from the Current Date not from the Start Date
    var tDate = util.scand("mm/dd/yyyy", new Date());
    var M = tDate.getMonth();
    var D = tDate.getDate();
    var Y = tDate.getFullYear();
    var SRes = util.printd("yyyy-mm-dd", new Date((Y+30), M,D) );
    //app.alert(SRes)if (SRes <= this.rawValue){
    app.alert("May not be greater than 30 years from the start date")
    xfa.host.setFocus(
    this);}
    can someone please help me
    Regards,
    Jay

    Hi,
    You'll need to get javascript date from LCD field, and calculate & compare with the future date in javascript date.
    try following script;
    var sDate = StartDate.rawValue;
    var wkStartDate = util.scand("yyyy-mm-dd", sDate);
    var nYear = wkStartDate.getFullYear();
    var nMonth = wkStartDate.getMonth();
    var nDay = wkStartDate.getDate();
    var wkFutureDate = new Date(nYear  + 30 , nMonth, nDay);
    sDate = EndDate.rawValue;
    var wkEndDate = util.scand("yyyy-mm-dd", sDate);
    if (wkEndDate.getTime() > wkFutureDate.getTime()){
      xfa.host.messageBox("May not be greater than 30 years from the start date");
      xfa.host.setFocus(this);

  • I'm getting an error message from Firefox that says, "Something is trying to trick Firefox into accepting an insecure update. Please contact your network provider and seek help."

    I'm getting an error message from Firefox that says, "Something is trying to trick Firefox into accepting an insecure update. Please contact your network provider and seek help." Do you know what is going on here--what this problem could be? (I do have the latest Firefox version already installed. I have previously received Firefox error messages that say "Firefox Update Failed." However, I already had the latest Firefox version installed when I received those error messages.)

    Apparently this occurs when Firefox has problems with security certificates. There have been a few questions about this. I will try to get advice about this.
    Apparently you are using Internet Explorer 9 (From your system details). Do you have Google Updater plugin installed on Firefox ?
    (That been implicated in this sort of problem by one poster, and some users with the problem do have Google Updater, but some do not)

  • I just got a SSD for my late 2011 mp but I don't know how to change it, can I seek help in the Apple store?

    I want to replace the HDD with SSD in my late 2011 Macbook pro, the question is I dont tools and knowledge about this job. So I am wondering if i can seek help from local Apple store?

    Good choice! I have one installed in my 13" MBP. The installation is not too difficult, but it is not trivial. I'm pretty experienced with this stuff so just take your time and carefully follow the instructions. You'll be working with tiny little screws that are easy to drop and/or lose. I suggest using magnetic tipped tools. There are a couple of screws in some tight areas that are a little difficult to remove.
    Be particularly careful to check all the snap-on cablings when you reassemble. There is one you don't remove during installation that is near the top part of the optical drive and covered over. When I was tugging on the drive to remove it I apparently popped the cable under the cover. Turned out it was for the WiFi and BT. I had to disassemble the back cover and look hard for something I couldn't see. I just happened to press on the covered area where the cable connected and heard the snap of it reconnecting. If it weren't for that I would have never figured out why my WiFi and BT stopped working!

  • Can you please help me with validation logic for Events in Table maintenance generator

    Can you please help me with validation logic for Events in Table maintenance generator,i.e if i enter record in 1st internal table then automatically 2nd internal table should be updated.

    Hi Glen Anthony,
        Thanks for replay,
         I used foreign key relationship between those 2 internal tables....
    I used event 05: When creating a new entry. I want to know the custom logic by which my 2nd Internal table gets automatically updated when i update my 1st Internal table
    Thanks Glen.

  • Help with date validation on input boxes.

    I need some help with date validation on input boxes.
    What I�m trying to create is a form where a user inputs dates and then the rest of the form calculates the other dates for them.
    i.e. � A user inputs 2 dates (A & B) and then a 3rd date which is 11 weeks before date B is calculated automatically.
    Is this possible and if so how do I do it ???
    Thanks

    Hi,
    to get third date try this:
    java.util.Date bDate = ...;
    Calendar yourCalendar = new GregorianCalendar();
    yourCalendar.setTime(bDate);
    yourCalendar.roll(Calendar.WEEK_OF_YEAR, -11);
    java.util.Date cDate = yourCalendar.getTime();Regards
    Ldinka

  • How to get context sensitive help  in JSP Pages

    Is it possible to display context sensitive help in JSP Pages when I press the tab key on the keyboard base on the key focus. I don�t want to use any applet or Swing components, because it�s a web page viewed on the browser
    Thanks

    Java code inside a JSP is interpreted on the server and the HTML produced by the server it is shown in the client browser. The JSP code can incorporate calls to the JavaHelp API if it is available to the server. Those calls can be used on the server side to map parts of the JSP to contents of a help set (HTML pages).
    Given that, you can provide context sensitive help, but when it comes to view help information, you either can show HTML only (without TOC, index, etc.) or you'd need an applet.
    Ulrich

  • JSP Validation failed

    Hi,
    I am working on WSAD environment. In the package explorer view, in one of the projects, error symbol is there. It says "JSP Validation Failed". I was not sure if this is effecting my project execution in any way. But I was wondering what does it mean by "JSP Validation Failed".
    Thanks

    In the task Lists , this error will be displayed,
    Double click on that and it will give the details of that.
    Yes it can create problems later, better fix it when you see it ..
    Try rebuliding the project , that might fix the problem sometimes

  • Seeking help with software upgrade questions for my PowerBook G4

    I am seeking help/advice for a very low tech guy. I upgraded my PowerBook G4 (ancient I know but I have trouble with our thow away society), to Leopard 10.5.2. However, my iDVD no longer works. I plan on upgrading to iLife'08, but based on the system requirements, I am not certain all of the features (i.e. iMovie'08) will work on my older processor. Before I upgrade to iLife, can anyone tell me if I should do it and if they will work on my all the features will work on my PowerBook G4?

    Many prefer iLife'06 to '08, but we went from '05 to '08.
    You are correct in that iMovie'08 will not run on your Book, but when you install iLife'08 you are given the opportunity to download iMovie'06 for free.
    I can't vouch for it fixing your iDVD however.
    Joe

  • Seeking help...when I open Safari it keeps going to a webpage I opened earlier and I cannot see how to get to the home page and out of this webpage. Suggestions?

    Seeking help with Iphone 5S I just got. When I open Safari it keeps opening to a webpage I opened up days ago and I cannot seek how to return to home page or move out of this webpage. Any suggestions?

    A new Apple product comes with 90 days of free tech support from AppleCare.
    AppleCare: 1-800-275-2273
    Call AppleCare.
    Best.

  • Help with jsp session validation

    i've build up a page that only users wil 'administrator' as the session is variable can access. if they don't they will be directed to the login page.
    However, I'm getting a null pointer exception.
    my code is as follows:
    <%@ page import="java.io.*"%>
    <%
         if (session.getAttribute("id").equals(null) || !(session.getAttribute("id").equals("administrator")))
              response.sendRedirect("adminlogin.htm");
    %>
    Error Message:
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException
    root cause
    java.lang.NullPointerException
    any pros please help? i know it's something to do with my jsp session validation. thanks in advance.

    one more thing, with regrads to the solution evnafets provided. I tried it out on all my pages that requires administrator rights and found that the code only redirects when it's not expecting any parameters. Else, it just display an error message there. Is there a way around this? Or I should let let my end user suffer?
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:248)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:289)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2396)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:405)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:380)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:508)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:533)
         at java.lang.Thread.run(Thread.java:534)
    root cause
    java.lang.NullPointerException
         at org.apache.jsp.view_jsp._jspService(view_jsp.java:177)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:136)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:204)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:289)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2396)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:405)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:380)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:508)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:533)
         at java.lang.Thread.run(Thread.java:534)

  • JTA Transaction--please help-----Xid not valid

    HI,
    I am writing a small application which i am posting at the end.This is decription of my application.I am writing a jsp.Later on i will be using in some other way.
    I am using Oracle XA implementation to communicatewith my RM which oracle8.1.7 .
    I am creating two XAConnection with two data instances 'test' and 'test3' .These two reside on my local machine in the same database server.
    With the code which i am sending you i have tried two cases.
    First Case
    1)i use only one XAConnection object of say 'test'.
    2)enlist its XADataSource with my transaction Object
    3) get two connection objects and execute two sql's on themMy code works fine and maintains the transaction.
    Second Case
    1) I use create two XAConnection objects. one of 'test' and other of 'test3'.
    2) enlist their XAResources with transaction object.
    3) Now i take one connection from each of XAConnection and execute two sqls, oneon each of them.
    It gives me exception while enlisting second XAResource with transaction objeectsaying that "The Xid is not valid".
    below is the stackTrace.
    javax.transaction.SystemException: start() failed on resource 'oracle.jdbc.xa.client.OracleXAResource':XAER_NOTA : The XID is not valid
    oracle.jdbc.xa.OracleXAException at oracle.jdbc.xa.OracleXAResource.checkError(OracleXAResource.java:483)
    at oracle.jdbc.xa.client.OracleXAResource.start(OracleXAResource.java:190)
    at weblogic.transaction.internal.ServerResourceInfo.start(ServerResourceInfo.java:1165)
    at weblogic.transaction.internal.ServerResourceInfo.xaStart(ServerResourceInfo.java:1108)
    <----------------------CODE------------------------------------------------------>
    <html>
    <body bgcolor=tan>
    <%@page session="true" %>
    <%@page import="java.util.Hashtable,java.sql.*,javax.naming.*,javax.transaction.*,javax.sql.*,oracle.jdbc.xa.client.OracleXADataSource,javax.rmi.PortableRemoteObject,javax.transaction.xa.XAResource" %>
    <%!
    private static XAConnection getFirstXAConnection() throws java.sql.SQLException{
         OracleXADataSource oxadsFirst = new OracleXADataSource();
         String urlFirst = "jdbc:oracle:thin:@70.7.51.80:1521:test";
         oxadsFirst.setURL(urlFirst);
         XAConnection xaConnectionFirst = oxadsFirst.getXAConnection("scott","tiger");
    return xaConnectionFirst;
    private static XAConnection getSecondXAConnection() throws java.sql.SQLException{
              OracleXADataSource oxadsSec= new OracleXADataSource();
              String urlSec = "jdbc:oracle:thin:@70.7.51.80:1521:test3";
              oxadsSec.setURL(urlSec);
              XAConnection xaConnectionSec = oxadsSec.getXAConnection("scott","tiger");
    return xaConnectionSec;
    %>
    <%
    Context ctx = null;
         Hashtable ht = new Hashtable();
         ht.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
         ht.put(Context.PROVIDER_URL, "t3://localhost:7001");
         try{
              ctx = new InitialContext(ht);
              //javax.transaction.UserTransaction transaction = (javax.transaction.UserTransaction)ctx.lookup("java:comp/UserTransaction");
              System.out.println("Before Lookup JNDI UserTransaction and TransactionManager......................");
              //javax.transaction.UserTransaction userTx = (javax.transaction.UserTransaction)ctx.lookup("javax.transaction.UserTransaction");
              javax.transaction.TransactionManager transactionManager = (javax.transaction.TransactionManager)ctx.lookup("javax.transaction.TransactionManager");
              System.out.println("After Lookup TransactionManager......................");
    try{
                   transactionManager.begin();
                   Transaction transaction = transactionManager.getTransaction();
                   System.out.println("Transaction Object ----------------------------->"+transaction);
    XAConnection xaConFirst = getFirstXAConnection();
    XAResource xaResourceFirst = xaConFirst.getXAResource();
    System.out.println("xaResourceFirst Object ----------------------------->"+xaResourceFirst);
    XAConnection xaConSecond = getSecondXAConnection();
    XAResource xaResourceSecond = xaConSecond.getXAResource();
    System.out.println("xaResourceSecond Object ----------------------------->"+xaResourceSecond);
    if(!xaResourceFirst.isSameRM(xaResourceSecond) )
    System.out.println("<-----------------BOTH THE RESOURCES ARE NOT SAME SMAE SAME----------------------------->");
    boolean firstEnlistBool = transaction.enlistResource(xaResourceFirst);
    System.out.println("firstEnlistBool ----------------------------->"+firstEnlistBool);
    boolean secondEnlistBool = transaction.enlistResource(xaResourceSecond);
    System.out.println("secondEnlistBool -------------------------> "+secondEnlistBool);
    java.sql.Connection firstConn = xaConFirst.getConnection();
    Statement stmt = firstConn.createStatement();
    stmt.executeQuery("insert into dept values(60,'MARKETING','NEW DELHI')");
    java.sql.Connection secondConn = xaConSecond.getConnection();//xaConFirst.getConnection();//
    stmt = secondConn.createStatement();
    //stmt.executeQuery("insert into account values(20,20)");
    stmt.executeQuery("insert into salgrade values(10,10,10)");
    if(Status.STATUS_ACTIVE == transactionManager.getStatus() )
    System.out.println("Before committing status "+transactionManager.getStatus() );
    transactionManager.commit();
    System.out.println("After committing");
              } catch(SQLException sqlE){
                        sqlE.printStackTrace();
                        catch(Exception e){
                                            e.printStackTrace();
         } catch (Exception ex) {
              ex.printStackTrace();
              finally {
                   try {
                        ctx.close();
                        catch (Exception e) {
                             e.printStackTrace();
                   } // close finally
    %>
    <form method="post">
    <input type="submit" name="submit" value="Call Transaction Bean">
    </form>
    </html>
    <-------------------------------------------------------------------------------->
    please help in this..I am stuck with this and dont kow how to move ahead to remove this problem..
    Best Regards
    Akhil Nagpal

    Hi,
    Hi Vicky,
    I think we are in different time zones. I am south
    korea.I have tried your suggestion but it gives me
    the same exception.Yes ,there is a difference of 3.5 hours , I am in India(Mumbai).
    This is what i am trying to achieve.
    My aim is to create some aplication to which i can
    register my XADataSources and this application should
    be able to handle the distributed transactions among
    them.I will be using the TransactionManager of some
    application server.SO i am using weblogic7.0.
    For the testing purpose i have creaed a jsp as i
    i posted the code. I am very new to this JTA and may
    be i am doing wrong.Can you help me this but putting
    insights into your experience may be that will
    increase my enthusiasm :-) ....
    please help me in this.
    I am extracting the following from the docs
    public interface TransactionManager
    The TransactionManager interface defines the methods that allow an application server to manage transaction boundaries.
    public interface UserTransaction
    The UserTransaction interface defines the methods that allow an application to explicitly manage transaction boundaries
    So as per your specs I can understands your application is trying to explicitily control the boundaries of the transaction, so you should use the UserTransction instance to begin the Transaction.My understanding says the TransactionManager will come in picture for declarative transaction and UserTransaction for the your case.I think you have tried that , I would have tried this out here but I dont work on weblogic.Do the things cooly and try to understand the concept.Let me know of the results.
    Regards
    Vicky

Maybe you are looking for

  • Jdeveloper 11.1.2.0.0 Aduit rules problem.

    Hi All, I am using JDeveloper 11.1.2.0.0. I have created some custom audit rules and its working fine .But i cant override the warning or error messages. I have follwoed by the following steps. Tools -->Preferences -->Audit -->Profile -->Rule -- > Ja

  • Where can I find download of Firefox 18 in the Latvian language?

    Hello, Since I upgraded to Firefox 19 the shortcuts wouldn't work on my desktop and anywhere else on my PC. I tried to reinstall Firefox 18 and then Firefox shortcuts came alive again. But it does not have my (Latvian) language. Where can I find the

  • Where is ES2 Located?

    Hello! I recently purchased Logic Pro 9 and saw videos on youtube of a synth called ES2. Where is this located in Logic pro 9?

  • How invalidate a session managed bean

    I have a faces-config. xml file with the following content: <managed-bean> <managed-bean-name>pc_mybean</managed-bean-name> <managed-bean-class>mybean</managed-bean-class> <managed-bean-scope>session</managed-bean-scope> </managed-bean> For some reas

  • Incompletion log for sales order

    Hi, Experts. I am looking for the user-exit for incompletion log for sales order, If the user choose DC = '20', so the incompletion log will check the field of Incoterms.