RequestDispatcher and Yahoo lib

hi I try a example call
test.html , the code is , it work if I click the html file,
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>Simple Panel Example</title>
<style type="text/css">
/*margin and padding on body element
  can introduce errors in determining
  element position and are not recommended;
  we turn them off as a foundation for YUI
  CSS treatments. */
body {
     margin:0;
     padding:0;
</style>
<link rel="stylesheet" type="text/css" href="build/fonts/fonts-min.css" />
<link rel="stylesheet" type="text/css" href="build/container/assets/skins/sam/container.css" />
<script type="text/javascript" src="build/yahoo-dom-event/yahoo-dom-event.js"></script>
<script type="text/javascript" src="build/dragdrop/dragdrop.js"></script>
<script type="text/javascript" src="build/container/container.js"></script>
<!--there is no custom header content for this example-->
</head>
<body class=" yui-skin-sam">
<h1>Simple Panel Example</h1>
<div class="exampleIntro">
     <p>Use the show/hide buttons below to show and hide two simple panels.  The first panel is created based on markup on the page and its <code>draggable</code> configuration is set to <code>true</code>; it can be dragged around the screen.</p>               
</div>
<!--BEGIN SOURCE CODE FOR EXAMPLE =============================== -->
<style>
     #container {height:15em;}
</style>
<script>
          YAHOO.namespace("example.container");
          function init() {
               // Instantiate a Panel from markup
               YAHOO.example.container.panel1 = new YAHOO.widget.Panel("panel1", { width:"320px", visible:false, constraintoviewport:true } );
               YAHOO.example.container.panel1.render();
               // Instantiate a Panel from script
               YAHOO.example.container.panel2 = new YAHOO.widget.Panel("panel2", { width:"320px", visible:false, constraintoviewport:true } );
               YAHOO.example.container.panel2.render();
               YAHOO.util.Event.addListener("show1", "click", YAHOO.example.container.panel1.show, YAHOO.example.container.panel1, true);
               YAHOO.util.Event.addListener("show2", "click", YAHOO.example.container.panel2.show, YAHOO.example.container.panel2, true);
          YAHOO.util.Event.addListener(window, "load", init);
</script>
<div id="container">
     <div>
          <button id="show1">Show panel1</button>
     </div>
     <div id="panel1">
               <forM action="test.html">
          <table>
                 <tr><td>hello</td></tr>
               </table>
               <input type="submit" vale="test">
       </form>
     </div>
     <div>
          <button id="show2">Show panel2</button>
     </div>
       <div id="panel2">
               <forM action="test2.html">
          <table border="1">
                 <tr><td>hello2</td></tr>
                  <tr><td>bbbb</td></tr>
               </table>
               <input type="submit" vale="test2">
       </form>
     </div>
</div>
<!--END SOURCE CODE FOR EXAMPLE =============================== -->
</body>
</html>but if I test it under
disp = getServletContext().getRequestDispatcher("/WEB-INF/jsp/secure/admin/test.html"); I get error YAHOO is undifie.
i did hard code the
<link rel="stylesheet" type="text/css" href="http://localhost/FIFE/WEB-INF/jsp/secure/admin/build/fonts/fonts-min.css" />
<link rel="stylesheet" type="text/css" href="http://localhost/FIFE/WEB-INF/jsp/secure/admin/build/container/assets/skins/sam/container.css" />
<script type="text/javascript" src="http://localhost/FIFE/WEB-INF/jsp/secure/admin/build/yahoo-dom-event/yahoo-dom-event.js"></script>
<script type="text/javascript" src="http://localhost/FIFE/WEB-INF/jsp/secure/admin/build/dragdrop/dragdrop.js"></script>
<script type="text/javascript" src="http://localhost/FIFE/WEB-INF/jsp/secure/admin/build/container/container.js"></script>
still some error, what is the problem?
thnak you

requestDispatcher.forward() should be used in servlets and jsp:forward should be used in JSPs. The functionality is the same.

Similar Messages

  • Problem with JRE and Yahoo applets

    Hi, I couldn't find any answer for this anywhere else...
    Whenever I try to play a Yahoo game, certain windows will "shake". For example, if I log into yahoo, then go to play their spades game, the applet will load without any problem. The game room will appear and everything seems to be fine. But if I click on the Start Panel, the borders of the Start menu will "shake" If I right click on anything, that menu will also shake. This only occurs while JRE is running the yahoo applet. Once I leave the yahoo game, everything returns to normal. If I use IE and MSVM, this problem does not occur. This problem does not seem to occur with other instances of Java either. Only Yahoo games. I tried searching Yahoo for an answer to this, but didn't find anything. When I tried getting help from them, they replied with an email to update Java and/or my browsers. Well, I am using version 1.4.2_04 of java, and have IE6 updated as of today. Also, I am using Opera version 7.54 and Firefox 0.93. This problem with Java and Yahoo occurs no matter which browser I am using. The only way to keep this from happening seems to be to use IE with MSVM. Any ideas?

    That page does apply. Everything that you have written indicates conclusively that the Yahoo game you're playing is the source of the problem. The fact that it works with the MS jvm but not with the Sun jvm, that the Sun jvm works with other Java applets, etc all say the same thing - that Yahoo applets wer/are coded to work with the MS jvm, which uses MS extensions in violation of the Sun/MS licensing agreements. The statement at the bottom of the page is proof positive - your spades game is not listed by Yahoo as being fixed.
    "07/17/03 - From Yahoo! Customer Care:
    We have deployed a fix for the incompatibilities with the Sun JVM� in the following games:
    Chess Gin Cribbage Euchre Bridge
    Hearts Toki Toki Boom Graffiti Pool
    We plan to upgrade the rest of the games on an ongoing basis. "
    The Yahoo applet is the problem and requires repair...

  • Safari and yahoo mail not getting along

    Safari and Yahoo Mail don't seem to be getting along this past month

    Hi powerbook1701!
    It is a shame...Yahoo has always been bad with Safari...I think most people here keep a copy of Firefox/Camino for cases like this when webdesigners don't make their pages compatible with Safari. It's not much of a problem anymore but there are still a few sites depending on where you surf...
    Actually the reason I started using Mail is because the standard Yahoo mail wouldn't display custom fonts, etc. on Mac. At that time not even with Firefox for Windows. But I'm glad that I switched because I enjoy using Mail much more that Yahoo's webmail which by the way was never good at searching...
    Oops this sounds like Yahoo bashing!!! It's not meant to be...just letting you know other people have the same issues you're experiencing...
    Reg

  • I have Exchange and Yahoo accounts on my iPhone 4. At least 1 email a day I send as a reply fails to leave my outbox of my Exchange account.

    I have Exchange and Yahoo accounts on my iPhone 4. At least 1 email I send from out thru my Exchange account fails to send and it simply refuses to leave the outbox. The only guaranteed way of sending it is to change the sender to my yahoo account. Note that is ONLY occurs on replies to existing emails, never new emails.
    It is only certain mails that fail. Even if I delete the mail and write another reply it will still fail.
    Could it be content related? It happened on IOS4 & 5.
    I've asked one of the staff in the Apple shop and he said he's seen this before but doesnt know the answer - not really helpful if you're trying to work off your iPhone :-(

    Thanks razmee209.
    I would agree with you if I still couldnt send the reply by changing the sender to my yahoo account; but as I mentioned before - whenever the mail fails to send, I can ALWAYS send it by changing the sender to my yahoo account.
    I agree that it must be something within the original mail, but why does it trigger a failure if I reply from my exchange account and not my yahoo yahoo account.
    I can delete the Exchange account and re-add it, but it makes no difference. I've also rebooted the phone but again, no difference.

  • On my iphone4 i need to be able to use both TDS and Yahoo e-mail.  TDS works only sporadically.  For instance, today I was able to both send and receive, then an hour later could not send.  got the message that the server was not recognized.

    On my iphone4 I need to be able to receive and send both TDS and Yahoo e-mail accounts (I also need to access from my Macbook Pro and my HP desktop).  I have NO problem with Yahoo, but with TDS, the e-mail seemed to work on my phone.... and then it didn't.)  In adding the TDS account, I chose "other" ( TDS is somehow accessed on the back end through gmail).  For the incoming server I used the Incoming Sever Name of pop.gmail.com and the Outgoing Mail Server as smtp.gmail.com.  I have using SSL "on" and the server port is 995.  Is this setup correct for TDS?

    FYI: POP will by default, delete messages from the server after downloading them (This applies to most pop clients, computer or mobile). POP is old tech and is not recommended if IMAP or Exchange are available. The default when setting up a g-mail type account is IMAP. Full synchronization with the server. You may also be able to set it up as an Exchange account, allowing for push e-mail and sync of calendars and contacts as well. See the Gmail help pages for instructions.

  • Multiple PC's and Itune libs, how do I move a playlist from one lib to Iphone if phone not sync'd with that lib / pc?

    Multiple PC's and Itune libs, how do I move a playlist from one lib to Iphone if phone not sync'd with that lib / pc?

    La121485 wrote:
    how do I move a playlist from one lib to Iphone if phone not sync'd with that lib / pc?
    You create the playlist on the other computer which may require moving or copying of the media from the first computer to the second computer.

  • TS1843 Not receiving apple mail.  Connection Doctor says not connected to server.  Yet receiving gmail and yahoo mail.

    Not receiving apple mail.  Checked connection Doctor.  Not connected to server, yet receiving gmail and yahoo mail.

    No, I have a Mac and my email connects via our pacbell account we've had for years.  However, something in the Preferences/Accounts is not correct I am guessing.  Also, it asks for the password and if I put it in and click save through general or viewing, it's NOT saving it and still not allowing me to get email. My husband tried reading about this through our AT&T acct and said to change the incoming server to imap.mail.yahoo.com and outgoing smtp.mail.yahoo;[email protected], but now I can't receive or send any email on my Mac. In advanced not sure if it should be Port of 465 or 900 something or other and SSL checked or not.  I called AT&T and they want to take over my machine by charging $15/mos for a year to fix this.  Ridiculous. 
    So, everytime prior to yesterday, when my husband messed around with it, I was getting a POP needs password box, typed in my password, but to no avail..Then it Keychain password popped up and assumed it was the same, but there's no way to change or modify it even using the new password my husband set up through AT&T.  I am at a complete loss.
    I can access mail through yahoo mail and it takes me to AT&T Yahoo Mail, but no contacts are there so needless to say this is a pain.
    I appreciate any assistance you can give me so I can get back on my email as I have for 4 years.
    Thanks Hackintosh...I look forward to hearing from you....you can use the email above and it will come to me through my yahoo web page....Thanks again and let me know if you need any other information.  If you respond on here, I may not get the answer from you as I didn't know you responded until I came on discussions.  THanks

  • I can't get into my yahoo bookmarks. I have spent time with AT&T and the conclusion they came to is that it may be a problem with Firefox and yahoo. Help please

    I am using a HP Laptop NOT mobile device. Every time I try to go into my YAHOO bookmarks it asks me to sign in which I do to no avail. AT&T came to the conclusion it may be that Firefox and Yahoo are not working together. I just downloaded both the latest versions of Firefox and the yahoo toolbar again to no avail. Is there something with Firefox that is preventing me from getting into my yahoo bookmarks??

    It's really up to you how often you want to clear history. If you have a large hard drive, Firefox may save history for a year or more...

  • I have updated to Mozilla 16.0.1 and yahoo toolbar 2.4.8.20120412011105. Search assist now no longer works on the toolbar. Enter key also will not work on toolb

    I have updated to Mozilla 16.0.1 and yahoo toolbar 2.4.8.20120412011105. Search assist now no longer works on the toolbar, nor does the enter key. I've reinstalled both Mozilla and the yahoo toolbar. I've followed the instructions given in the customize toolbar section, but I am thinking that perhaps this toolbar just doesn't work with Mozilla?

    '''Try the Firefox Safe Mode''' to see how it works there. The Safe Mode is a troubleshooting mode, which disables most add-ons.''
    ''(If you're not using it, switch to the Default theme.)''
    * You can open the Firefox 4.0+ Safe Mode by holding the '''Shift''' key when you use the Firefox desktop or Start menu shortcut.
    * Or use the Help menu item and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
    ''Don't select anything right now, just use "'Start in Safe Mode"''
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before using the Firefox shortcut (without the Shift key) to open it again.''
    '''''If it is good in the Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one.
    Please follow the [[Troubleshooting extensions and themes]] article for that.
    ''When you figure out what's causing your issues, please let us know. It might help other users who have the same problem.''

  • With all the updates with Firefox and Yahoo, My Yahoo homepage no longer works or functions at all. It doe's work on Safari. When I click on anything on My homepage all I get is a message" sorry bad request".

    I also often have to do a forced quit as firefox freezes up. I did not have these problems until I tryed to upgrade to firefox4. for Mac.
    I tryed re-enstalling 3.5 but ended up with 5 which was worse. It appears that Firefox and Yahoo are no longer compatible.

    I know you can't help with my Yahoo problem, however, apparently at some time in the past I have went to the Sync and tried to figure it out on both my laptop and my desktop, because I have the long snyc key information. However, when I go to try to sync both computers I never get the box to enter that key on either one. That is my problem. So should I try and get a new sync key and see if that works.

  • Is anyone else having email problems such as apps exiting in the middle of an email? It may be a wireless issue. I use First Class for work and yahoo email for personal. I will be in the middle of typing a long email and the app just quits, all data lost.

    Is anyone else having email problems such as apps exiting in the middle of an email? It may be a wireless issue. I use First Class for work and yahoo email for personal. I will be in the middle of typing a long email and the app just quits, all data lost.

    Have you tried restarting or resetting your iPad?
    Restart: Press On/Off button until the Slide to Power Off slider appears, select Slide to Power Off and, after the iPad shuts down, then press the On/Off button until the Apple logo appears.
    Reset: Press the Home and On/Off buttons at the same time and hold them until the Apple logo appears (about 10 seconds). Ignore the "Slide to power off"

  • Can't send email to Hotmail and Yahoo ??

    Hello everyone,
    I tried to send email to my adress in Hotmail or yahoo and doesn't work. I have another POP address and it works perfectly. Anyone know what i have to do to send mail to Hotmail and yahoo. thank you for any reponse.
    Rania+

    and finally I receive the email
    which I have send 2 days before , so I don't know why
    it's take all this time, have you an idea about this
    ?What error do u get? Are u sending mail to valid addresses.
    Some mail servers keep trying to send mail for invalid addressfor specified amount of time. Whereas others reject mail straigt away.
    Are you using a valid mail server( sometimes mail servers may have differnt forward and reverse lookups whic may cause problem ) to send mails.

  • My Yahoo toolbar has disappeared and also my "bookmarks". How do I get them back on both gmail and yahoo?

    Hello Firefox:
    I am quite dismayed at changes that have recently been made on my two email accounts; gmail and yahoo.
    My yahoo toolbar has completely disappeared along with the bookmarks of which I had several.
    Not long ago my "favorites" list disappeared and I had to replace it with "bookmarks".
    WHAT IS GOING ON?
    I also do not like the e-mail changes with the send box having the "send" and other tools on the BOTTOM. How awful. Change doesn't always mean "better".
    Will you please advise me as to how I may get my toolbar and bookmarks back?
    ALSO, the e-mails do not fit my computer screen and many times I have shut down the e-mail and re-enter my passwords in order to get out of a page. CAN YOU FIX THIS? Everything worked so well before.
    Please tell me where I can get help with these items. I AM A VERY UNHAPPY CUSTOMER.
    ''[email addresses removed by moderator]''

    Click Firefox (orange) button > Preferences > [x] check the yahoo Toolbar
    Press CTRL + SHIFT + O to show all the Bookmarks

  • I no longer can get "Tools" or "Options" at the top of my screen. Google and Yahoo toolbars dominate the entire top of the screen. I want to get rid of them and go backk to a regular screen shot. How???

    I can no longer get "Tools" or "Options" at the top of my screen. Google and Yahoo toolbars dominate the entire top of the screen. I want to get rid of them and go back to an original screen shot. How?

    <u>'''Can't see the Menu Bar'''</u> (File, Edit, View, History, Bookmarks, Tools, Help)?
    Turning the Menu Bar on and off is a new feature in version 3.6.
    ''(~~red:Linux & OSX see~~: [[Menu bar is missing]] )''
    <u>''Windows'' Method 1.</u> '''''Hold down''''' the key and press the following letters in this exact order: V T M then release the key
    <u>''Windows'' Method 2.</u> Tap once on the F10 key, while the Menu bar is visible, choose "View > Toolbars", click "Menu Bar" so that a check mark is placed next to Menu Bar
    <u>''Windows'' Method 3.</u> Tap once and release the key. The Menu Bar will be displayed; then choose ~~red:V~~iew > ~~red:T~~oolbars and click on ~~red:M~~enu Bar so that a check mark is placed next to Menu Bar
    The Menu Bar should now be displayed permanently, unless you turn it off again using View > Toolbars. Check mark = displayed, NO check mark = not displayed.
    See:
    http://support.mozilla.com/en-US/kb/Menu+bar+is+missing
    http://kb.mozillazine.org/Toolbar_customization#Restoring_missing_menu_or_other_toolbars
    <u>'''Navigation Toolbar, Bookmarks Toolbar and other Toolbars'''</u> under View > Toolbars. Clicking on one of them will place a check mark (display) or remove the check mark (not displayed).
    <u>'''To display the Status Bar'''</u>, View, then click Status bar to place a check mark (display) or remove the check mark (not displayed).
    <u>'''Full Screen mode'''</u>
    http://kb.mozillazine.org/Netbooks#Full_screen
    Also see:
    ''' [[Back and forward or other toolbar buttons are missing]]'''
    '''[[Navigation Toolbar items]]'''
    '''[http://support.mozilla.com/en-US/kb/How+to+customize+the+toolbar How to customize the toolbar]'''

  • Sir, Google and yahoo and some other websites are not viewing correctly. Texts are not showing in englsih

    Sir,
    some websites are not opening correctly like Google and yahoo. please help

    Did you create a new profile for that 4.0 beta version?
    Do you still have the regular Firefox 3.6.8 version installed?
    Create a new profile as a test to check if your current profile is causing the problems
    See [[Basic Troubleshooting#Make_a_new_profile|Basic Troubleshooting&#58; Make a new profile]]
    There may be extensions and plugins installed by default in a new profile, so check that in "Tools > Add-ons > Extensions & Plugins"
    If that new profile works then you can transfer some files from the old profile to that new profile (be careful not to copy corrupted files)
    See http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox

Maybe you are looking for