Page reload problem

Hello,
I am experiencing problems with a JSP page that contains 1 text field and 2 list boxes.
The page has a form with no action, 3 buttons at the bottom (save, delete and back), they are '<input type="button"...' witch throw some JS code to forward to the next page.
The thing is that when I press <enter> when I'm in the text field, the page reloads... BUT, if I put a second text field, this does not occur... (and don't tell me to leave the second field ;-)), and that's exactly what I'd like, but only with one field.
I even tried without the buttons and the JS code, but it's still the same thing... What can I do???
Please help me...
Best regards
NAS

Hi!
I stripped the code down to its simplest state, this is what I have left...
<html>
<head>
<title>unifr.ch</title>
<META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=iso-8859-1">
<link href="script/standard.css" rel="stylesheet" type="text/css">
<%@ page import="alumni_web.*" %>
</head>
<body bgcolor="#ffffff" background="images/general/bg_m2.gif">
<table border="0" cellpadding="0" cellspacing="0" id="content_3_col">
<tr>
<td align="left" valign="top">
          <form name="edi_saes" method="post">
               <table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
               <INPUT type="text" name="textfield">
</td>
</tr>
</table>
</form>
</td>
</tr>
</table>
</body>
</html>
There it is all... And if I type in something in the field and press enter, it reloads the page... If I add a second field, this does not occur...
Thanks for your time

Similar Messages

  • Applet - page reload problem

    Greetings 4all,
    I'm developing, a bit complicated applet with few threads, listeners, and not difficult but expanded GUI. You can see it under www.demo.twelvee.com.pl.
    The problem is that this applet doesn't behave correctly after page reload in the browser. I mean that there are no graphics with parameters drawn in the middle of the main internal frame. I don't know why. When I'm visiting page first time everything works fine. This bug occurs only after reloading the page. Threads are still working, also all listeners are catching events. After few small tests I've recognized that method paintComponent() in each JPanel isn't called. I suppose it might be connected with browser's cache.
    Have You got any ideas? Because I have none, any suggestions are welcome :)
    You can access source here: http://www.iem.pw.edu.pl/~opalam/12/source/

    If it is due to the browser's cache of the applet, the only way that most (all?) current browsers will reload the applet is to close ALL of the browser's windows and restart the browser. (You used to be able to CTRL-F5 but this no longer works, afaik.)

  • IF Form region AND report + search tool in same page THEN = problem

    Helllo everybody
    I posted an initial and now the advanced as I received helpful comments but still is unsolved:
    Problem:
    If I have a Form, and a Report With a Search feature on the same page the problem is that when I click on the button of Search to find records in the Report, the page reloads as it goes and returs to the server. Alright, however, that reloading causes the Form to submit data while there is no data because I was not working with the Form. When the report gets the "submission of the Form" it receives all empty data and it complains as it cannot have Null values in its rows.
    Solution:
    The thing would be to tell the form not to submit anything unless expressley pressed the button Create or Save. It seems that these buttons activate when the page is reloaded I mean reloaded by haiving pressed the button Search of the Reports region.
    The helpful comments were in the direction of going to Processes, Automatic Row Processing and then choosing a conditional for processing of the Form, that it, it would only activate (submit itself if that condition is met)
    So I go to PL/SQL Function body Returning a boolean and I paste this: RETURN :REQUEST IN('SAVE','CREATE');
    but the problem continues unsolved, that doesnt help. It must be very close but there is something I am missing
    thank you very much
    Alvaro
    Edited by: user12155340 on 18-Nov-2009 15:04

    Hi,
    I think this is double post.
    BUTTON CLICK ON SEARCH ITEM CAUSES OTHER REGIONS (FORM) IN TABLE TO ERRORS
    Please read my last comment from that link.
    Application express forum might give you better and precise answer.
    You need just figure out how set conditions
    http://download.oracle.com/docs/cd/E14373_01/appdev.32/e11838/concept.htm#sthref149
    http://download.oracle.com/docs/cd/E14373_01/appdev.32/e11838/concept.htm#sthref237
    Br, Jari
    Edited by: jarola on Nov 19, 2009 12:51 PM
    BTW, I remember that there was just few days ago same kind question answered in Application Express forum.
    I post link if I find it. You may try find it also

  • Spry tabs shouldn't open before page reload/refresh

    I have a big problem.I said "big problem".Because it has stolen my days/weeks.I have tab panel(5-6 tabs). When i clicked any tab, naturally content doesn't reload page.At the point i added url's end ?tab=0, for example : myprofile.php?tab=1.Now i clicked a tab and reload page.But when i clicked a tab, firstly tab display later page reload.This situation is unpleasant.I want to open when i clicked tab, after reload page, show tabs contents.I have looked for it for days.But i couldn't find.
    Please help me.
    Thanks.
    Battal Gazi

    I am glad to help.Theese my codes :
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    <script src="SpryAssets/SpryTabbedPanels.js" type="text/javascript"></script>
    <link href="SpryAssets/SpryTabbedPanels.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
    <!--
    function MM_goToURL() { //v3.0
      var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
      for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
    //-->
    </script>
    </head>
    <body>
    <div id="TabbedPanels1" class="TabbedPanels">
      <ul class="TabbedPanelsTabGroup">
        <li class="TabbedPanelsTab" tabindex="0" onfocus="MM_goToURL('parent','dodo.php?tab=0');return document.MM_returnValue">Tab 1</li>
        <li class="TabbedPanelsTab" tabindex="0"><a href="#" onclick="MM_goToURL('parent','dodo.php?tab=1');return document.MM_returnValue">Tab 2</a></li>
      </ul>
      <div class="TabbedPanelsContentGroup">
        <div class="TabbedPanelsContent">deneme</div>
        <div class="TabbedPanelsContent">
          <p>bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbkkkkkkkkkkkkkkkkkkkkkkkkkkddddddddddddddddddddddddddd ddddddddddddddd</p>
          <p>sddssdjjjjjjjjjjjjkkkkkkkkkkkkkkkkkk</p>
        </div>
      </div>
    </div>
    <script type="text/javascript">
    <!--
    var TabbedPanels1 = new Spry.Widget.TabbedPanels("TabbedPanels1", { defaultTab: -1 });
    //-->
    </script>
    </body>
    </html>

  • What would be the reasons for my iMac keyboard to freeze up while online? Several page reloads brings it back but only for one set of typing. If I stop or need to delete it freezes.

    Using Firefox, Safari and Chrome depending on what I am working on or gaming. All recent updates as of 3.19.13
    iMac is fully loaded first quarter 2009 model. I use Office.
    Problem:
    While online typing just stops. This occurs most frequently when I have to change something or delete, it does not matter how many letters or numbers.
    Page reloads sometimes take 2 or 3 times for any effect, then it is only for one straight set of typing. If I have to stop and delete or go back and do something as small as adding a letter it will not type. The is well known muted "dump" sound.
    Is it possible that I was somehow infected with malware? No one else uses the computer and I do not go to any sites I am unfamiliar with or are gambling or ****.
    Help please. I am a writer.

    Take a look at your computer's CPU and RAM usage with Activity Monitor, It some like your system is slowing down not you keyboard.  Take a look at this link, http://support.apple.com/kb/HT1342?viewlocale=en_US&locale=en_US
    Also try to verify/repair your hard drive with disk utility, see this link, http://support.apple.com/kb/HT1782?viewlocale=en_US&locale=en_US

  • How stop sound on flash movie when page reloads?

    CLICK
    HERE TO VIEW THE SITE
    The problem is obvious. The flash banner has sound. Whenver
    you go to ANY page the page reloads and the sound replays.
    This template only allows you to use one header, so I cannot
    make 1 with sound and 1 without sound.
    Any ideas how I can handle this? Not sure if frames will work
    in this case. Your ideas????

    Use sharedobjects, they are kind of like cookies. You could
    do something
    similar like this sample I made here:
    http://www.smithmediafusion.com/blog/?p=212
    If the user has already seen your banner, make it go to a
    different frame
    and play somethin else OR tell the sound not to play. Make
    sense?
    Dan Smith > adobe community expert
    http://www.dsmith.tv
    "robertnzana" <[email protected]> wrote in
    message
    news:fgqn87$5n1$[email protected]..
    >
    http://stores.channeladvisor.com/Auto-Parts-Direct-To-You/
    >
    > The problem is obvious. The flash banner has sound.
    Whenver you go to
    > ANY
    > page the page reloads and the sound replays.
    >
    > This template only allows you to use one header, so I
    cannot make 1 with
    > sound
    > and 1 without sound.
    >
    > Any ideas how I can handle this? Not sure if frames will
    work in this
    > case.
    > Your ideas????
    >

  • Applet Reloading problem

    Hi,
    I am involved in a project in which we are using many images to scroll in a applet.The url of the images are retiriving from the data base and given to the applet using jsp.The problem is when the page is reloaded it takes much time to show the applet again even i am using the archive tag.Can any one tell me how to get rid of this reloading problem.
    Regards,
    Prakash

    Hi,
    Thanks for the reply.Actually i am not reloading the page.when i go to some other page and comes back it takes a long time ro load the page.Is there any way to overcome this problem.
    Regards,
    Prakash

  • Page style problem!!

    some website still looks like NO page style even if I select Basic Page Style, and when I try to log in to 163 email, it always says that problems occur when loging in to the mail navigation bar and the page style is abnormal and I cannot open any links in the email page.

    Reload web page(s) and bypass the cache.
    * Press and hold Shift and left-click the Reload button.
    * Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    * Press "Cmd + Shift + R" (MAC)
    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    * Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove Cookies" from sites causing problems:
    * Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode

  • Animated gif and page refresh problem

    Animated gif and page refresh problem
    Hi There,
    I'm trying to build a simple "Please wait......" screen using jsp and javascript.
    So far all is going well except that my animatate gif keeps refreshing everything the page is refresh.
    Is there a way the i can prevent the body of the page from refreshing?
    below is my sample code:
    <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
    <jsp:useBean id="StatusBean" class="com1.CandidateRelease" scope="session"/>
    <html>
    <script LANGUAGE="JavaScript">
    function refresh()
    <% if (StatusBean.isRunning()) { %>     
         //setTimeout("refresh()", 1000);
         setTimeout("location='status.jsf'", 1000);
    <% }else{%>
         window.location= "busStopAdmin.jsf";
    <%} %>
    </script>
    <head>
         <script LANGUAGE="JavaScript">     
              refresh();
         </script>     
    </head>
    <body>
         <img id="myImage" src="../img/ojp_wait.gif" alt="" width="151" height="36">
    </body>
    </html>

    Animated gif and page refresh problem
    Hi There,
    I'm trying to build a simple "Please wait......" screen using jsp and javascript.
    So far all is going well except that my animatate gif keeps refreshing everything the page is refresh.
    Is there a way the i can prevent the body of the page from refreshing?
    below is my sample code:
    <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
    <jsp:useBean id="StatusBean" class="com1.CandidateRelease" scope="session"/>
    <html>
    <script LANGUAGE="JavaScript">
    function refresh()
    <% if (StatusBean.isRunning()) { %>     
         //setTimeout("refresh()", 1000);
         setTimeout("location='status.jsf'", 1000);
    <% }else{%>
         window.location= "busStopAdmin.jsf";
    <%} %>
    </script>
    <head>
         <script LANGUAGE="JavaScript">     
              refresh();
         </script>     
    </head>
    <body>
         <img id="myImage" src="../img/ojp_wait.gif" alt="" width="151" height="36">
    </body>
    </html>

  • Question: Is there a way to create a PDF from outlook e-mail that does not embed the attachment? better, is there a way to convert the e-mail with attachement (not embeded) as pdf pages? - Problem: I have 1400 e-mails with attachments that need to be conv

    Is there a way to create a PDF from outlook e-mail that does not embed the attachment? better, is there a way to convert the e-mail with attachement (not embeded) as pdf pages?
    - Problem: I have 1400 e-mails with attachments that need to be converted into pdf and the attachments cannot be embeded.
    System: PC Windows 7 using Acrobat X Prof. - Thank you!

    Hi ,
    There is an option of embedding index for faster search while converting email to a PDF .
    However I am not sure that will serve your purpose or not .
    I would recommend you to get in touch with Microsoft support as well .
    Meanwhile I'll work on it and get back to you in case I get a desired solution .
    Regards
    Sukrit Dhingra

  • Page expire problem in one env of two environments having same code

    Hi,
    We have an web application deployed into two environments. The application versions and server versions are same in both environments. We are using sun one application server.
    When we click on back button (Say Env1) we are getting page exipre problem. The same code is working fine in other env (Say Env2).
    We have not coded anywhere to clear the client side information after it is displayed. It looks like there is some server setting using which we can specify not to save any information at client machine.
    Can any one of you help me in resolving this issue.
    Thanks in advance.
    K Vishnu Chaithanya

    http://support.microsoft.com/kb/234067
    http://lists.evolt.org/archive/Week-of-Mon-20040405/157547.html

  • Page Size Problem in Pdf

    Hi All,
    I want to print cheques form oracle Reports 10g, I developed report in 6i & it works fine, Now I am going to convert it in 10g, in report developer it works fine but when it generates through reports server it generates on full pdf page.
    Kindly help me how can I reduce the page size by default.
    Regards,
    Najeebullah Soomro

    Salam, Najeebullah Soomro
    I want to print cheques form oracle Reports 10g, I developed report in 6i & it works fineDoes PDF also working as your page setup in 6i?
    Now I am going to convert it in 10g, in report developer it works fine but when it generates through reports server it generates on full pdf page.Now problem in 10g PDF ?
    set the page margin at layout property and also make smaller the frame at Edit Margin mode.
    Hope this helps

  • Servlet Reloading Problem!

    JSP + Bean is OK!
    But, Servlet + Bean occur a reloading problem.(Reloading does not happen)
    For example,
    1) TestClass.java (Bean)
    public class TestClass {
    private String txt;
    public TestClass() {
    txt = "Test!!"; ---(1)
    public String getTxt() {
    return txt;
    2) Test.java (Servlet)
    public class Test extends HttpServlet {
    public void service(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException {
    TestClass testClass = new TestClass();
    PrintWriter out = res.getWriter();
    out.println(testClass.getTxt());
    In above examples, though I change txt String(number (1)) Bean reloading does not occur. So old txt String shows.
    In Tomcat, such problem does not happen.
    Is this a problem of OC4J?
    Thanks.
    null

    Well, only servlets are supposed to be reloaded, not their dependent classes.
    If you are using Tomcat 4.x, then there might be an explanation. It seems that Tomcat 4.x will simply reload the entire web app context if it detects that a servlet (not a JSP!) has changed. Just define a servlet context listener to see that.
    Regards,
    Vadym

  • Stupid question, I know, but after years of using Firefox, on this one I can't find the Page Reload icon?? Please help.

    In the past, when I want to refresh a page, I've simply gone to the page reload icon on the toolbar. On the new version, I can't fin the reload icon. Sorry I know this is a very stupid question,, but I just can't find that reload icon. The toolbar is a lot different from previous versions, but I'm sure tht pesky icon must be there somewhere!!

    Hi merren,
    Not a stupid question at all :) You should take a look at [https://support.mozilla.org/en-US/kb/common-questions-after-upgrading-firefox-36 this article with common questions after upgrading].
    You could also benefit from the looking at the article on [https://support.mozilla.org/en-US/kb/how-do-i-customize-toolbars customizing the tool bar]. That will show you not only how to verify that you have the refresh button, but give you options on where it lives as well.
    Hopefully this helps!

  • IPhone - PDF Page Display Problem

    I am trying to display pages from a PDF included in my application to a Quartz context. I can get the first page to display correctly, but am having trouble displaying subsequent pages. In essence I am using the example shown in the Quartz 2D programming Guide (13-1 and 13-2 code examples).
    When the view is first loaded, I display the first page, and do something like the following:
    CGPDFDocumentRef document;
    CGPDFPageRef page;
    document = MyGetPDFDocumentRef (filename);
    page = CGPDFDocumentGetPage (document, 1);
    CGContextDrawPDFPage (myContext, page);
    After this the function exits. There is a button on the screen to go to the next page. In the pressed event function I do something like this:
    page = CGPDFDocumentGetPage (document, 1);
    CGContextDrawPDFPage (myContext, page);
    The problem is the page does not show up on the screen. It only shows up if I leave the view and then come back (I have a Toolbar at the bottom of the application similar to the iPod or Clock application).
    Am I missing something to get the second page to display immediately? Or is there a better way to display a PDF in my application...
    Thanks.
    -James

    searching MS WORD > HELP > CONVERSION SETTINGS
    doesn't give me anything close to this issue
    any idea where to find those conversion settings ?
    thanks again
    k

Maybe you are looking for

  • ITunes 12 bugs 1 - right-click to Transfer Purchases no longer available

    After upgrading OS X Yosemite and iTunes 12.0.1, when an iPhone is connected to iTunes, I cannot find the usual way to right-click on it and select Transfer Purchases.  So, when I upgraded the iPhone to iOS8.1, I was warned that some purchases on my

  • Startroutine issue when updating transactional DSO from parallel process

    Hi I have the following issue. In a start routine i do some processing of data. In some cases errors missing master data creates a potiential error but does not stop the processing. What i want to achieve is the following. I have created a transactio

  • Workflow assignment to Payment Release

    Hi, some of our documents are being assigned a payment release using the WORKFLOW MM PURCHASING and other documents are using the correct WORFLOW FI-AP which is asking for release from the FI guy. The first one is asking the MM guy for release, but h

  • Missing Text_Edit????

    missing Text_Edit???? it said "open with Text_Edit" but I don't find it..... Help please Thank you

  • How to test my ADF mobile browser application on Android emulator?

    Hi I have created a Mobile Browser Application. Could anyone please tell me how to test it on Android emulator? I read the information about downloading and configuring simulators(Blackberry) and emulators(Microsoft Windows) for ADF Mobile browser in