Problem in JSP with JavaScripts, which works perfectly in TOMCAT

The peice of code below works without any problem in tomcat, which assign some values from a form named "frmOffice" which is in another jsp. In 9iAS it seems the values are not found. Also it says 'error on page'. What could be the reason. Please respond as soon as possible. Thanks.
<SCRIPT Language="JavaScript">
function Opennewwindow(url,size)
window.open (url,"Newwindow",size);
function NewContact()
var UserID =
parent.parent.frmMenubar.document.frmOffice.UserID.value;
var GroupID =
parent.frmFolderHead.document.fomFolderHead.FolderID.value;
var intDomainID =
parent.parent.frmMenubar.document.frmOffice.DomainID.value;
Opennewwindow('../../modules/contact/Contact_New.jsp?
UserID='+UserID+'&GroupID='+GroupID+'&Email=&DomainID='+intDomainID,'scrollbars=1,width=680,height=190');
</SCRIPT>

Mr. Ahmed,
Excuse-me by my bad english.
I experienced the same problem when surrounded my scripts with comment caracters:
<!--
< SCRIPT ...
-->
If this is your case, simply uncomment it and the script will work fine.

Similar Messages

  • I have set up my airprint wifi printer which works perfectly with the HP eprint app. However, when i view an email and click on the top right arrow button and select "PRINT" on my ipad nothing happens????...

    I have set up my airprint wifi printer which works perfectly with the HP eprint app. However, when i view an email and click on the top right arrow button and select "PRINT" on my ipad nothing happens????...
    Also, when im viewing websites and i find something i wish to print, same again, if i simply click on the print option at the top right of the screen nothing happens... the only way I can print is if i copy the weblink of the site page then click on my HP eprint app and paste the web link, then select print, it prints off fine.. but its it such a pain to keep copying and pasting links or screen dumping emails just to print...

    Just to recap, this is a collection of ports I have collected over time for people who needed this information when setting up the HP ePrint app so that they could view their email from within the app.  I am certain other applications also need this information.  Although lengthy, I could not find a more comprehensive place to retrieve this information.  Feel free to post additional information, faulty information, or other related topics below as this is simply a collection of data and it would be practically impossible to test all of them. Thank you!
    Don't forgot to say thanks by giving "Kudos" if I helped solve your problem.
    When a solution is found please mark the post that solves your issue.
    Every problem has a solution!

  • Lion mountain newest update :I loos the internet connection, but the network shows connected. And IPhone, IPad stay connected and work. Only the MacBook Pro , which worked perfectly before with Lion unless I updated to Mountain. I have tried everything.

    I have a MacBook Pro, Early 2011, 2 GHz Intel Core i7 which I udated some days ago with Lion Mountain 10.8.2. Before it worked just perfect. Now, since the update,  I loos the internet connection after a wile, (at the beginning every 20 sec, now up to 4 hours) even that the sign of the WiFi network connection shows to be perfectly connected.
    My other divices like IPhone, IPad stay connected and work. The rooter is new and cannot be the problem. I tried nearly everything I found on the bloggs, but nothing helped actually. It must be a softwear problem on Lion Mountain, what can I do?
    Thanks for any help

    I FINALLY SOLVED THIS ISSUE!!!!
    New routers have "mixed" modes for your network; this means that it will automatically choose the best option between wireless-B, wireless-G and wireless-N network modes. I used to experience this issue using the 2.4 GHz. mixed mode wireless network.
    Thankfully, my router can create 2 networks: a 2.4 GHz. network and a 5 GHz. network.
    When I randomly changed this value to "use only wireless-B and wireless-G" trying to fix an issue with a wi-fi expander, the iMac wi-fi  issue dissapeared! I tried it with wireless-N only, but it didn't work.
    So, finally, I have a 2.4 GHz network with only wireless-B and wireless-G modes which works PERFECT with the iMac, and a 5 GHz. network with a mixed* wireless mode for everything else mode.
    *PD: by "mixed" mode it means that the router will automatically choose between B, G and N network modes as it fits better.

  • I have had my apple tv 2 for about 3 months which work perfectly fine when I use it with my iPad 3 ー all of the sudden I get the HDCP Error!  I read the forms and done everything!  Apple I name a loyal customer, please come out with an update soon!

    I have had my apple tv 2 for about 3 months which work perfectly fine when I use it with my iPad 3 ー all of the sudden I get the HDCP Error!  I read the forms and done everything!  Apple I name a loyal customer, please come out with an update soon!

    That's one of the weird things.. it recognizes it maybe 10% of the time. And usually, only after I do the two-button reset. Problem is.. since it won't charge above 2%, anytime I try to do a restore or anything like that using iTunes, my device shuts off and I lose whatever progress I'd made.
    So, an update... after reading through a bunch of similar complaints (there are literally 1000's of them so there's NO WAY this isn't somehow ios7 related, thanks a lot APPLE ) I decided to try a restore in recovery mode. After 3 hours and several disconnections... I ended up having to just set it up as a new iPad, as the restore did nothing. Weirdly though... as I was doing the restore in recovery mode.. I noticed I'd gotten up to a 10% charge.. higher than it's been since September, so after setting it up as a new device, I turned it off and plugged it in using the wall charger. 2 hours later and I was up to 38%. Still not great, as my iPad, before ios7 could've fully charged twice in the amount of time it took for me to now get 28% more of a charge. And that's with a fully cleaned out device.. so that really ***** and I'm now more confused than ever.
    But I'm gonna leave it overnight charging and see what I come up with tomorrow. Sadly, when I paid $600 for it in February, I never expected to have to play "wait and see" with it...

  • My ipod touch just shows the charge symbol on the screen and i checked whether there is a problem in the charger but it works perfectly on my iphone 4 and when my ipod is connected to the computer itunes is not recognising my device pls help me

    my ipod touch just shows the charge symbol on the screen and i checked whether there is a problem in the charger but it works perfectly on my iphone 4 and when my ipod is connected to the computer itunes is not recognising my device pls help me

    tmplHi pranoop,
    If you are having an issue with your iPod touch not being recognized by iTunes when connected to your Windows computer, I would suggest that you troubleshoot using the steps in this article - 
    iPhone, iPad, or iPod not recognized in iTunes for Windows - Apple Support
    Thanks for using Apple Support Communities.
    Sincerely,
    Brett L 

  • Just bought an ipad3. Downloaded a music video desk which works perfectly except there is no sound. Please help

    Just bought an ipad3. Downloaded a music video desk which works perfectly except there is no sound. Please help

    Contact iTunes and request a redownload.
    How to report an issue with Your iTunes Store purchase

  • Numbers Sort function. In Numbers 09 there was 'rearrange' which worked perfectly. New Numbers 13 has Sort by column but I can't get it to work. is there a bug?

    In Numbers 09 there was 'rearrange' which worked perfectly. New Numbers 13 has Sort by column but I can't get it to work. is there a bug?

    Numbers '09 has a Reorganize panel and the top section of that panel is for sorting. Numbers 3 also has the ability to sort and it works.  However, Numbers '09 and Numbers 3 sort differently.
    In Numbers '09, if you had a formula such as =Table 1::A1 and if a sort of Table 1 moved cell A1 to A20, the formula would change to =Table 1::A20. In Numbers 3, the formula would stay =Table1::A1.

  • I have a powerpoint presentation with music which works fine when played through my macbook onto tv, but want to save the presentation to dvd.  Music doesn't play - presently saved as wav.  Anything i can do - have tried through idvd.

    I have a powerpoint presentation with music which works fine when played through my macbook onto tv, but want to save the presentation to dvd.  Music doesn't play - presently saved as wav.  Anything i can do - have tried through idvd.

    Hi
    Please describe How You go from PPT to iDVD. Via iMovie ?
    If so - then convert Your .wma file to .aiff (same kHz) and use this in iMovie instead. (no .mp3 either)
    Yours Bengt W

  • Problem in jsp with container(JEUS)

    Hi I am a developer in Korea
    Nowadays I have a problem in jsp pages which have contained some pakage directive in a library path
    so my problem is changing some of the classes in the package during service time.
    Error result is
    -Root Exception stack trace :
    -jeus.servlet.jsp.compiler.JspCompileException: fail to compile : source = C:\TmaxSoft\JEUS6.0\webhome\epims_container1\_generated_\j2ee-modules\harweb\jeus_jspwork\_custermg\_html\_mypage\_600_MyReqJob_5fjsp.java, -error msg = C:\TmaxSoft\JEUS6.0\webhome\epims_container1\_generated_\j2ee-modules\harweb\jeus_jspwork\_custermg\_html\_mypage\_600_MyReqJob_5fjsp.java:76: cannot access custermg.MyPageQuery
    bad class file: C:\epims\harweb\WEB-INF\classes\custermg\MyPageQuery.class
    -class file has wrong version 8241.8224, should be 49.0
    -Please remove or make sure it appears in the correct subdirectory of the classpath.
    -     MyPageQuery myquery = null;
    I don't know why this could be happed in random period of time It happens nearly each 10 hours . after this failure, the same error happen in other classes.
    Before ten hours?.... No problem with the jsp pages
    The number 8241.8224 tells me that it is not generated by java compiler but I don't have any clue but the above error
    my run time environment is
    - HP Server, Windows Server 2003, 64bit
    - Jeus, jdk1.5.0_15
    so any help from you will be appreciated...
    thanks

    Mr. Ahmed,
    Excuse-me by my bad english.
    I experienced the same problem when surrounded my scripts with comment caracters:
    <!--
    < SCRIPT ...
    -->
    If this is your case, simply uncomment it and the script will work fine.

  • I have 2 emai accounts which worked perfectly on iphone 4 but on iphone 5 my msn account wont let me reply to emails sent to that account, it leaves the message in my outbox saying recipient was rejected by the server because it does not allow relaying

    I have 2 email accounts which both worked perfectly well on my ipone 4 but since going over to iphone 5 my msn account will not allow me to reply to any emails. It places a message on my screen stating a copy has been placed in your Outbox. The recipient   @.com was rejected by the server because it does not allow relaying. Any ideas on how I can sort this. Would it be worth deleting my MSN account ant putting re-inputting the details again?

    Your email provider has blocked the standard mail port 25 for sending emails and is requiring a different port. This is to avoid mail relays that use mail clients to send spam. You need to find the port that is used by your provider for sending outgoing mail. Then change the settings in your email account on your phone to match the port. You will also have to provide some security credentials for the account.
    You can also try deleting the email account from your iphone, and the adding the email account back as this will many times set the correct port for sending emails.
    You could also do a Google search on the the settings for your device with your email provider. That will provide you with the proper settings.

  • I got safari 5.1 but it doesn't work. so i am using firefox which work perfectly.

    recently i upgrate to snow leopard. every things work perfectly except my safari 5.1. So i want to know whats going with it.. i have unstalled and installed new noe as well but its not working.. some one plz help me...

    Try starting your computer in safe mode (hold down the shift key while restart) then try to launch Safari, if it works then click on the Safari menu and select reset Safari.  Restart you MacBook Pro normally then try Safari.

  • Problems with javascript not working correctly, have firefox version 15.0.1. Javascript enabled in tools option. What else should I be looking at?

    Certain websites do not load correctly, the webpage sometimes does not display. Upgraded to current version of Java, this did not solve the problem. The most blatant thing I noticed is that when I hit the plus button to open a new tab, the page that displays displays my nine most favorite websites, all nine have descriptions, but only two or three display the actual web page.
    I also have hotmail and when I try to load some pages directly from the e-mail I get the message Javascript needs to be enabled.

    Are you using any cleanup software like CCleaner that might cleanup the cache?
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do not click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    To avoid confusion:
    *http://kb.mozillazine.org/JavaScript_is_not_Java

  • Capturing form values with javascript (not working in Safari!)

    Hi
    I'm working on a site and I need to be able to take the values of one form (that the user has entered) and use them to populate a second form (more details) in the appropriate input boxes. This works on all browser except Safari. It seems to me a javascript problem (as getElementById does not work properly) but I'm not entirely sure. The code I use to grab the form elements is as follows:
    obj = $('formslider".$this->id."');
    obj.getElementById('registerfirstname".$this->id."').value = callbackfirstname".$this->id.";
    obj.getElementById('registersurname".$this->id."').value = callbacksurname".$this->id.";
    obj.getElementById('registeremail_addr".$this->id."').value = callbackemail".$this->id.";
    obj.getElementById('registertelephone".$this->id."').value = callbacktelephone".$this->id.";
    obj.getElementById('registerrequest_type".$this->id."').value = requesttype_callback".$this->id.";
    This basically takes the values of the "callback" form and places them into the appropriate input boxes of the "register" form. However it seems to lose the values when moving to the next form. Please note, I am not refreshing - I am using Ajax to change the form so new content simply replaces an existing content, not transfering to another page. I use Sessions so it shouldn't forget the values.
    Can anyone help? It's quite an important thing as I need to migrate hidden form inputs too which are needed for this particular request system.
    Thanks
    Michael

    I'm seeing this same issue in Mavericks, 10.9.2.  Althought JavaScript is enabled in Safari, it just doesn't work, for any pages.
    I've tried different user accounts, including a new account, on the same machine, but they all do the same thing, so it's a machine-wide issue.
    I have plenty of other Mavericks machines, including my own, where it is working just fine, however, with the same settings.

  • On financial site which worked perfectly in IE for many years, I get immediate timeout error after entering my ID and password. Does not happen every time and multiple retries do not work.

    I have used the PrimeVest web site to keep track of my IRA for several years now. For most of that time I have used Internet Explorer and have had no trouble. I have a link to that site pasted onto an Excel spread sheet and I click on that link daily to get my present balance. I have been doing it this way for years and have had no trouble while using Internet Explorer.
    I recently installed the Firefox browser on my new laptop and have switched to using it as my default browser. When I click on that link now and enter my account number and password, sometimes it works OK in Firefox and sometimes it gives me a message saying "Your session has timed out. Please Log In Again." I have tried multiple times to re-enter the account number and password but always get the same message. Closing Firefox and reopening it produces the same result. I have even tried shutting the computer completely down and restarting it, but I got the same result. I can not find any pattern or reason to the days when I can use Firefox and the ones when I can not. The only way I have been able to log on to this site on those days is to past the link into Internet Explorer.
    I do the same thing with several other financial sites and have not had any trouble with them and Firefox.

    Thanks for the response.
    I attempted to remove cookies, but I can not identify any of the cookies on the list with the PrimeVest web site. No PrimeVest, no PVs, nothing that looks like it came from them.
    I have also reported the problem to PrimeVest and their tech did answer. He suggested erasing the browsing history (temporary internet files), which I did with no effect. He also had me check for the correct starting page address, which was OK. He stated that they are aware of a problem and it is on their list. No indication of how far down that list though. His only cure was to use IE for now, which I was already doing. Perhaps he can tell me which cookies to remove.

  • Problem linking jsp with javabeans

    Hey guys,
    I am new at this jsp stuff, but have read a few threads as well as a few tutorials. however, i dont understand why i keep getting this error. any help would be appreciate it!
    i m currently running it off tomcat 4.1, and the hierarchy that i have currently is set like this:
    "xxx/build/array.jsp"
    "xxx/build/WEB-INF/classes/arraymap/javaBeans/ArraysBean.java"
    the content of my jsp is as follows:
    <%@ page import="arraymap.javaBeans.ArraysBean" %>
    <html>
    <head>
         you are in the array page!
    </head>
    <jsp:useBean id="test" class="arraymap.javaBeans.ArraysBean" scope="page"/>
    <body>
    <a href="index.html"> LOG OUT</a>
    <center>
    Please choose one of the following queries:
    </h3>
    </center>
    </body>
    </html>and my simple bean code:
    package arraymap.javaBeans;
    import java.util.*;
    import arraymap.*;
    public class ArraysBean {
        ArrayMapModMain a = ArrayMapModMain.instance();
        public Object[] getArrayTypes()
         return a.getArrayTypes();
    }but i get this error:
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: 6 in the jsp file: /cds_jsp/build/array.jsp
    Generated servlet error:
    [javac] Compiling 1 source file
    C:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\_\cds_jsp\build\array_jsp.java:7: package arraymap.javaBeans does not exist
    import arraymap.javaBeans.ArraysBean;
    ^
    C:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\_\cds_jsp\build\array_jsp.java:46: package arraymap.javaBeans does not exist
    arraymap.javaBeans.ArraysBean test = null;
    ^
    An error occurred at line: 6 in the jsp file: /cds_jsp/build/array.jsp
    Generated servlet error:
    C:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\_\cds_jsp\build\array_jsp.java:48: package arraymap.javaBeans does not exist
    test = (arraymap.javaBeans.ArraysBean) pageContext.getAttribute("test", PageContext.PAGE_SCOPE);
    ^
    An error occurred at line: 6 in the jsp file: /cds_jsp/build/array.jsp
    Generated servlet error:
    C:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\_\cds_jsp\build\array_jsp.java:51: package arraymap.javaBeans does not exist
    test = (arraymap.javaBeans.ArraysBean) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "arraymap.javaBeans.ArraysBean");
    ^
    4 errors
    any idea on why i cant recognize the package? the file is on the tomcat server (the class file is physically there when i manually check it), and i couldnt figure out what i went wrong with either the jsp or hte beans. i have been stuck on this problem for several hours and it is painful sitting in a cube not knowing what is goin on. any help would be GREATLY appreciated! thanks in advance!
    kev

    I copied your files into my environment and it worked fine for me (I had to strip out the ArrayMapModMain stuff to get a compilation though), so it looks like an environment thing as opposed to an issue with your code.
    Possibilities include (shots in the dark):
    1.) The path it showed in the error messages
    "C:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\_\cds_jsp\build\array_jsp.java"
    looks a little funny, mainly the underscore between localhost and cds_jsp. Maybe there's something wrong in your Tomcat config file (see #3).
    2.) Maybe your directory has a permissions issue. Is it readable? Likely not an issue as you're using windows, but it bites me all the time in linux.
    3.) I haven't used Tomcat in a while, but I'll bet it has a config file. Are you sure it's pointing to your WEB-INF/classes dir for your servlets?
    Sorry I can't be of more help.
    jengi

Maybe you are looking for