Java script not working in JSP.

Hi everyone
I've got a problem with a java scipt that's not doing what I want it to do.
I have a jsp which gets data from a database to display.
On the jsp there is a "add" button which on click will open another jsp to add a contact, when I add the contact the jsp calls a web servlet which adds the contact to the database.
After the contact is added the servlet directs the page back to the contacts page, and it must display the newly added contact in the jsp.
I've configured a script that checks if there is a attribute called "addContact", if it has a value of "added" it must reload the page on load, which in turn will display the newly added contact, it refreshes but it doesn't display the newly added contact, it worked but after awhile it stopped working.
Beneath is my code for the contact list jsp and the servlet.
ContactList.jsp
<?xml version="1.0"?>
<%@ page import="contacts.Contacts"%>
<%@ page import="java.util.*"%>
<jsp:useBean id = "contactsData" scope = "page" class ="contacts.ContactsData"/>
<html>
     <head>
          <title>Contact List</title>
          <script language=JavaScript>
          <!--
               function clicked(clickedValue)
                    if(clickedValue == "add")
                         window.location = "AddContact.jsp";
          -->
          </script>
     </head>
          <%
          String refreshSession = (String)session.getAttribute("addContact");
          if(refreshSession != null && refreshSession.equals("added"))
          %>
          <body onload="window.location.reload(true);">
          <%
          session.removeAttribute("addContact");
          else
          %>
          <body>
          <%
          %>
          <h1>Contacts</h1>
          <form>
               <table cellpadding="5">
                    <%
                         ArrayList contactList = contactsData.getContacts();
                         Iterator contactsIterator = contactList.iterator();
                         Contacts contacts;
                         while(contactsIterator.hasNext())
                              contacts = (Contacts) contactsIterator.next();
                              String contactName = contacts.getContactName();
                    %>
                              <tr>
                                   <td><input type="radio" name="deleteContact" value=<%=contactName%>></td>
                                   <td><a href = "UpdateContact.jsp?paramName=<%=contactName%>"><%=contactName%></a></td>
                                   <td><%=contacts.getCompany()%></td>
                                   <td><%=contacts.getWorkNumber()%></td>
                                   <td><a href = "mailto:<%=contacts.getEmail() %>"><%=contacts.getEmail() %></a>
                              </tr>
                    <%
                    %>
               </table>
                    <br>
                    <input type="button" value="Add" onClick="clicked('add')"/>
          </form>
     </body>
</html>NewContactServlet.java
package contacts;
import javax.servlet.*;
import javax.servlet.http.*;
import java.io.*;
import contacts.*;
public class NewContactServlet extends HttpServlet
     public void doPost(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException
          res.setHeader("Expires", "Tues, 01 Jan 1980 00:00:00 GMT"); //no cache allowed
          HttpSession session = req.getSession(true); //get current session
          String contactssession = (String)session.getAttribute("contactsSession");
          if(contactssession.equals("add"))
               Contacts contacts = new Contacts();
               ContactsData contactsData = new ContactsData();
               contacts.setContactName(req.getParameter("contactName"));
               contacts.setCompany(req.getParameter("companyName"));
               contacts.setWorkNumber(req.getParameter("workNum"));
               contacts.setCellNumber(req.getParameter("cellNum"));
               contacts.setFaxNumber(req.getParameter("faxNum"));
               contacts.setEmail(req.getParameter("email"));
               contacts.setCountry(req.getParameter("country"));
               contactsData.addContact(contacts);
          else if(contactssession.equals("add"))
          session.setAttribute("addContact","added");
          res.sendRedirect("ContactList.jsp");
}

Ren2407 wrote:
Hi stevejluke
Thanks for the reply.
ContactsData stores the Contacts into a database, Access to be precise.
The store of the Contacts works fine and it gets redirected to the ContactsList.jsp page, but I need to click refresh on the browser to see the new
contact. I've tried to make it load automatically when the browser opens but it wouldn't, it worked before.
I'm using Apache to host the webpage.I don't see any errors.So lemme get this straight:
You have the contactsList.jsp which when Add is clicked you go to addContact.jsp in the same window. Then when addContact is submitted it goes to the neContact servlet which adds the contact to the database and then sends a redirect back to the contactsList.jsp.
When contactsList.jsp is re-shown it doesn't display the new data so you are using javascript to force-refresh the page, which used to work, but doesn't anymore.
My guess is that your browser or some proxy between your browser and server is caching the page. You have to tell all clients not to cache that page using META tags:
<?xml version="1.0"?>
<%@ page import="contacts.Contacts"%>
<%@ page import="java.util.*"%>
<jsp:useBean id = "contactsData" scope = "page" class ="contacts.ContactsData"/>
<html>
     <head>
          <title>Contact List</title>
                <meta HTTP-EQUIV="expires" CONTENT="0" />
                <meta HTTP-EQUIV="Pragma" CONTENT="no-cache" />
                <meta HTTP-EQUIV="Cache-Control" CONTENT="no-cache" /> You could then get rid of your javascript refresh code altogether.
p.s. I am a big fan of using JSTL. Try to get rid of all your scriptlets and replace it with JSTL. It would look something like this:
          <h1>Contacts</h1>
          <form>
               <table cellpadding="5">
                    <c:forEach var="contact" items="${contactsData.contacts}">
                              <tr>
                                   <td><input type="radio" name="deleteContact" value="${contact.name}"></td>
                                   <td><a href = "UpdateContact.jsp?paramName=${contact.name}">${contact.name}</a></td>
                                   <td>${contact.company}</td>
                                   <td>${contact.workNumber}</td>
                                   <td><a href = "mailto:${contact.email}">${contact.email}</a>
                              </tr>
                    </c:forEach>
               </table>
                    <br>
                    <input type="button" value="Add" onClick="clicked('add')"/>
          </form>

Similar Messages

  • Java script not working in 1 pdf, but same script is NOT working in other

    Dear Experts,
    I have a problem with java script.
    I have created 2 PDFs with the same Form name and sub form names.
    I have written a javascript and this script seems to be working in one (Demand2.pdf) and NOT working in the other (Sample.pdf).
    The link for Demand2.pdf is
    https://acrobat.com/#d=XIydWx1RIU4oNdTySHtHfg
    and the link for sample.pdf is
    https://acrobat.com/#d=sKPRs2dtDY57RSvMVtnh3w
    Can you please guide me on this.
    Many Thanks
    BookFans

    Hi,
    The second file (Sample.pdf) is saved as Static. The script is changing the visual appearance of the form (showing and hiding objects). This requires the file to be saved as a Dynamic PDF. This is available in the save-as dialogue under the file name.
    Good luck,
    Niall

  • Java script not working

    Hi all
    I have a web dynpro abap application with an adobe interactive form. In the form I want to make certain fields read only. To do this I am using java script. It works fine from the livecycle designer in preview mode but when I run the wd4a nothing happens - like the java script is not being executed. I tried changing the Adobe form properties to Acrobat 8 (Dynamic) XML form but it still does not work. Any ideas?
    I'm using ALD 8.0, sapgui 710, Netweaver 7 SP 22 and IE8
    Regards

    Have you checked that you can see the access property, for example, with a message box?
    xfa.host.messageBox(xfa.form.D8.Page2.<my field>.access);
    Also try accesing the field directly
    <my field>.access = "readonly";
    Do you have any script working in your form?
    Regards, Aldo.
    Edited by: Aldo Velazquez on Dec 9, 2010 4:36 PM

  • Java script not working in firefox browser

    hi,
    I created my application in struts and it was running perfectly in Internet explorer. My application is a public facing application so now i am in need to run the application in Firefox and safari browsers.
    While running the application in those browsers i am facing the problem in javascript.
    function change() {
              if(document.usedCarSearchForm('usedCarSearchDto.blockCode').selectedIndex==0){
                   document.usedCarSearchForm.command.value="executeLoad";
                   document.usedCarSearchForm.submit();
              }else {
                   document.usedCarSearchForm('usedCarSearchDto.block').value=document.usedCarSearchForm ('usedCarSearchDto.blockCode').options[document.usedCarSearchForm('usedCarSearchDto.blockCode').selectedIndex].text;
                   document.usedCarSearchForm.command.value="executePrefectureLoad";
                   document.usedCarSearchForm.submit();
        }I am calling this onchange() function,
    document.usedCarSearchForm('usedCarSearchDto.blockCode').selectedIndex
    this line is not working
    Help me to resolve this issue.
    Thanks in advance.

    Hi,
    Atlast i found the solution. Its very small change, I changed document.usedCarSearchForm ('usedCarSearchDto.blockCode'). To
    document.usedCarSearchForm ['usedCarSearchDto.blockCode'].
    Now its working.
    I hope this will be useful.
    Thanks.

  • Java code not working in Jsp page....

    I like to say to myself "there is no magic" when I come to a perplexing situation, today is one of those times.
    The following code when executed from the java class retrieves all the specified objects from the database and displays the requested attributes without issue:
    try {
    DBBody dbb = new DBBody();
    Entity[] allbods = dbb.retrieveAll(true);
    for(int k=0;k < allbods.length;k++) {
    Body body = (Body)allbods[k];
    System.out.println("From the dbase index position: " + k +" : " + "\n" + "Id: " + body.getId() + "\n" + "Type: " + body.getType() + "\n" + "Load: " + body.getLoad() + "\n XML:" + body.toXml() + "\n");
    dbb.close();
    } catch (Exception adb) {
    adb.printStackTrace();
    : the **exact same** code as displayed above when run in a Jsp only lists the values for the "body.getId()" and "body.getType()" methods...for a reason I can't discern, "body.getLoad()" and "body.toXml()" return empty strings in the Jsp. Everything else returns as when the code is run from the class. Both "getLoad()" and "toXml()" return strings but behind the scenes use StringBuffer objects that are converted to Strings...getId() returns an int and "getType()" returns a String also, but for whatever reason (to repeat) only those two attributes come through IN THE JSP, in the class ALL attributes are retrieved without a problem...so, what is wrong with Jsp? Java? I get no error message what so ever, just empty strings for the two specified method returns...what am I overlooking. I am running the embedded Jsp engine of the Jetty Http Server that I've incorporated into my application, which uses the latest Jsp version.
    Any help on this issue would be greatly appreciated.

    If you dont want to paste your code, then you will
    certainly not get any responses from the so called
    Java Engineers rest is left to you. We can get dukes
    elsewhere instead.
    SwarajSwaraj, I apologize if I was taken to be abrassive with my last comment, I myself am a java engineer so I have no animosity, as for your request to copy the entire code it is no longer needed I have solved the problem and the solution follows just incase anyone else runs into similar issues. It indeed had nothing to do with StringBuffer working improperly but rather it was how I was getting my dbase connection.
    As many of you who have developed applications with jdbc support to popular dbase vendors may already know, a connection must be established to the database by specifying various parameters, namely the name of the jdbc connection driver classes for the desired vendor (eg. "com.microsoft.jdbc.sqlserver.SQLServerDriver" for MS Sql Server instances) and the driver specific db connection url. Of course the driver classes must be available on the class path so that they can be accessed. Without these parameters the connection will not be initialized..well it turns out my "bug" was caused by my inadvertently ommitting the connection parameters in my Jsp, you might wonder "but you said it executed fine in the jsp except for the missing "getBody()" and "toXml()" results..how could it even execute at all if you didn't establish a connection?"
    The answer is I designed the application to use a default connection driver class (the jdbc odbc bridge driver) and a default connection url (one that is tied to my testing instance of MsSqlServer2000) it turns out that the jdbc odbc bridge is very light weight...it lacks support for certain very useful MsSql datatypes namely "ntext", I use the "ntext" type for fields that can grow to any size (stylesheet code,xml code...etc.) but the bridge driver doesn't support "ntext" BUT rather than throw an exception error like proper error handling would require it silently eats the request (very very bad) ...this exacerbated the problem I had significantly (had it thrown an error I would have known immediately that the connection was using the wrong driver and url and fixed it sooner) as it is ...I was led down blind allies thinking my code was faulty, (which it wasn't strictly speaking ..I was just missing some extra code to account for the possibility that the bridge driver is instantiated by accident) so after adding the following code above the Jsp code shown previously:
    //Configure a connection to a Microsoft Sql Database.
    DBConfig.setVendorId(DBConfig.MSSQL_VID);
    DBConfig.setDBHostId("xiassql");
    DBConfig.setDBHostPort("1433");
    DBConfig.setDBUrl(DBConfig.buildDBUrl());
    :The code worked perfectly. The "DBConfig" class does exactly that..allowing me to pass in connection attributes including the type of vendor "DBConfig.MSSQL_VID", (I have built in support for 5 popular vendors so far), the dbase host name "xiassql" and the port "1433" , then we build the url using the specified attributes and the connection is complete. After adding the code above the Jsp returned all the retrieved values perfectly. So, when testing applications that enable backend dbase connections if you get seemingly identical code behaving differently from class to Jsp, suspect an issue relating to your connection url and classes (assuming you have multiple support and a default value as I do in my app.) also any changes in the execution context from class to Jsp can cause similar errors (like not declaring the same classes at the top of the Jsp file , or less likely using an outdated Jsp engine!)
    Regards,
    PS I will take off the Duke Dollars on this question since I answered it myself!

  • Java script not working..help plzzzz

    i am trying to do the following but not getting the result..help me plzzz
    admin.jsp
    <html>
    <script language="JavaScript">
    function compare()
    var name1;
    var pwd1;
    var repwd1;
    name1=name.value;
    out.println(name1);
    </script>
    <body>
    <%@ page language="java" import="java.sql.*,java.text.SimpleDateFormat,java.util.*" %>
    <%
    String staff=request.getParameter("staff");
    if ("add".equals(staff))
    %>
    <p>Name<input type ="text" name="name" size="10"></p>
    <p>Password<input type ="text" name="pwd" size="10"></p>
    <p>Re-enter password<input type ="text" name="repwd" size="10"></p>
    <p>Accesslevel<input type ="text" name="Name" size="10">
    <input type="submit" name="b1" value=" Go " onClick="compare()">
    <%}%>
    </body>
    </html>
    i cannot pass the text value to the javascript function...why?..help me plzzzz.

    This is not a javascript forum, but you may want to look up something called document.getElementById().

  • Java script not working in Answers

    Hi All,
    I have a problem with my Narrative report which contains Javascript.
    I need to show a checkbox (Checked or Unchecked) using a certain condition.
    This is showing correct output when am doing _"Preview Analysis"_ , but not in the _"Display Results"_ section and not even on the Dashboard.
    Am not really sure what is causing this behavior. Anyone kindly help me to get this report displayed properly on the dashboard.
    Thanks,
    Imtiaz.

    Hi,
    My advise, when ever you are writing javascript for a report. First place the report in the dashboard and then take the view source html code and then write your script accordingly. Because the code in the report and the code when placed in the dashboard always varies.
    Hope this helps.
    Regards
    MuRam

  • Refreshing java script not working properly

    Hello
    i am using two frames in my system and one is top and other is main.The top frame contains the link and the main frame displays data according to the clicked link.When i refresh the page i will reach to the lending page of my website .but when i did the right click my top frame get refresh it shows the menu of the lending page but my main frame stiill shows the same page from which the refresh button is pressed .
    So what i want to know that do what needs to include to make my right click to work as simillar as refresh button

    Frames are soo 1990. Throw away (better, burn away) that oldfashioned tutorial/book you've learnt the frames from.
    As you're already on JSP, just use jsp:include to include page fragments.

  • Javascript is not working in JSP

    Hi everybody,
    My javascript is not working in JSP.I m not able to fix this problem.Please tell where the problem in code.
    thx in advance.
    <%@page import="javax.servlet.http.*" %>
    <%@page import="java.sql.*" %>
    <html>
    <head>
    <script type="text/javascript" >
    funtion checkentries()
    if(document.LForm.uname.value==null || document.LForm.upassword.value==null)
    alert("Please fill all entries")
    else
    document.LForm.submit()
    </script>
    </head>
    <body>
    <table width=100% height=100% valign="center" align="center" border=0>
    <tr height=10% ><td>
    <%@ include file="Header.jsp" %>
    <hr>
    </td></tr>
    <tr height=1% width=100%>
    <td align=right>Register
    <hr>
    </td>
    </tr>
    <tr height=77% width=100% ><td>
    <table>
    <tr><td width=65%>
    </td>
    <td bgcolor="black" width="1" ></td>
    <td align="right" valign="top" >
    <form method="POST" action="/EIS/Home.do" name="LForm">
    User Name: <input type="text" align=right name="uname"><br>
    Password: &nbsp&nbsp&nbsp<input type="password" name="upassword"><br>
    <input type="submit" name="submit" value="Submit" onclick="checkentries()">
    </td>
    </tr>
    </table>
    </td></tr>
    <tr height=10% ><td>
    <hr>
    <%@ include file="Footer.jsp" %>
    </td></tr>
    </table>
    </body>
    </html>

    in this part:
    if(document.LForm.uname.value==null || document.LForm.upassword.value==null)should be:
    if(document.LForm.uname.value=="" || document.LForm.upassword.value=="")or
    if(document.LForm.uname.value.length==0 || document.LForm.upassword.value.length==0)

  • Java does not work at all upon using the update manager to update to firefox 3.6.10 for Ubuntu 9.0.4

    OS: Ubuntu 9.0.4
    Browser: Firefox 3.6.10
    upon updating to firefox 3.6.10, java does not work at all.
    websites that use java do not work at all anymore, when they worked just fine before the updating thru update manager. e.g. hulu website cannot play any of the shows.
    i can give the folder of bookmarked pages i tried.
    how to do that on here, i've yet to see if possible.
    i can even give saved text from the terminal concerning certain attempts.
    when i updated thru update manager, it gave some weird java plugin that wasn't there before "The IcedTea Web Browser Plugin IcedTea6 Java Web Browser Plugin (execution of applets on webpages)".
    i uninstalled this as instructed by an answer found in one of the pages i saved, cuz it was conflicting w/another java program the updater said i needed. right now, i don't remember for sure what it was. it perhaps was realplayer flash or Java itself. w/all the hours/days of searching i put in, it's difficult if not downright impossible for me to remember all the specifics of what i tried.
    i've searched throughout many webpages (including many searches on mozilla, ubuntu, java, etc) for instruction in fixing the problem.
    oh, and incidentally, on the Java site, when i try the verify test of Java, firefox pops up with that yellow bar right below the slew of tabbed website windows, giving the statement "additional plugins are required to display all the media on this page. (w/link to) install missing plugins ." which is what i do, go thru the requesting plugin installation. it comes up with, guess what, the IcedTea Java Plugin. i click on the 'next' in the "Plugin Finder Service" box that pops up, & all it gives me is "No plugins were installed. IcedTea ...Plugin failed. and the link 'find out more about plugins or manually find missing plugins'". the link takes me to some of the very things/plugins that wouldn't install in the first place. the Java test failure is a LOL funny, as what plugin it is saying is required (IcedTea) is a recommended alternate program to display the very test in the first place.
    i followed the given instructions on those many searched pages, in every case (barring what i may have just plain missed), but to no avail.
    i've even gone to the point of trying to reinstall the previous 3.5.13 firefox version, from mozilla site. even that wouldn't install.
    i've tried installing Java for my sys direct from it's site. nada.
    now it's time for me to post the problem & perhaps someone will come up with some kind of "dummy" way to fix it.
    until then many sites a regularly use are totally useless to me on this fast puter.
    the only way i can get to use such sites, are two choices: 1. use a dinosaur laptop, which is slower than molasses & cannot handle to any streaming stuff, or 2. use an available internet access puter at the library. but useage for ea person per day is limited to only one hour a day. and one can end up waiting for an hour or more ( in the busiest periods) to even get to use one.
    so, is there anyone at all, who knows any for-sure working fix for this problem?
    thanks muchly :^D
    p.s. i can't pay anybody any money for such help, as is required in certain sites (e.g. Java website), cuz i don't have any.
    i can pay in labor tho, if there is someway to find someone who can physically be at this puter w/me, taking me step-by-step
    sorry for the 20-pg essay. i hope it was all clearly understood. if, not, well, clear communication is always what is needed, ask away.

    Your above posted system details show outdated plugin(s) with known security and stability risks.
    *Shockwave Flash 9.0 r999
    Update the [[Managing the Flash plugin|Flash]] plugin to the latest version.
    *http://www.adobe.com/software/flash/about/
    In Firefox 3.6 and later versions you need the Next-Generation Java™ Plug-In present in Java 6 U10 and later (Linux: libnpjp2.so; Windows: npjp2.dll).
    http://java.com/en/download/faq/firefox_newplugin.xml
    See also http://java.sun.com/javase/6/webnotes/install/jre/manual-plugin-install-linux.html

  • HT1338 I installed Mac OSX Snow Leopard 10.6.3 And now my Java is not working, what can I do to fix's this?

    I installed Mac OSX Snow Leopard 10.6.3 And now my Java is not working,what can I do to fix's this?

    Run Software Update to get to 10.6.8 and update Java.

  • Java Plugin not working with firefox 3.o.13  and linux.

    this is my ln -s to the plugin at /usr/lib/mozilla/plugins
    libjavaplugin_oji.so -> /usr/local/jdk1.6.0_16/jre/plugin/i386/ns7/libjavaplugin_oji.so
    Any ideas why java is not working?
    Here's the ln -s again:
    #pwd
    #/usr/lib/mozilla/plugins
    # ls -l
    lrwxrwxrwx 1 root root 63 Sep 28 20:41 libjavaplugin_oji.so -> /usr/local/jdk1.6.0_16/jre/plugin/i386/ns7/libjavaplugin_oji.so
    Here are my java stats:
    # java -version
    java version "1.6.0_16"
    Java(TM) SE Runtime Environment (build 1.6.0_16-b01)
    Java HotSpot(TM) Client VM (build 14.2-b01, mixed mode, sharing)
    Firefox 3.0.13:
    Mozilla/5.0 (X11; U; Linux i686;
    Gentoo Linux:
    # uname -a
    Linux tma 2.6.30-gentoo-r5 #10 SMP Sun Sep 20 21:52:19 PDT 2009 i686 Pentium III (Coppermine) GenuineIntel GNU/Linux
    I installed java from a jdk*.sh file and set the class path in /etc/bash/bashrc (not that it matters.
    The appletviewer does work.

    solved: I knew you all knew I could figure this out.
    #cp -R /usr/lib/mozilla/plugin/ /usr/lib/firefox-mozilla/
    asuming this is true:
    tma plugins # pwd
    /usr/lib/mozilla/plugins
    tma plugins # ls -l
    total 4
    lrwxrwxrwx 1 root root 63 Sep 28 20:41 libjavaplugin_oji.so -> /usr/local/jdk1.6.0_16/jre/plugin/i386/ns7/libjavaplugin_oji.so
    tma plugins #

  • Java 7 not working on new (4/2/13) OS 10.8 machine

    I downloaded Java 7 and the app is not working.
    Checked it on Java site and it is not functioning.
    Validated Java is enabled in browser
    Cleared Cache...
    Not sure what else to do.
    Was going to uninstall and re-install with security off, but am not sure how to uninstall. My first Mac....
    Thanks in advance.

    I had a similar problem running Java with OSX 10.8.3.  Even after performing the latest software update (including Safari 6.0.4) in addition to download and installation of the latest version of Java (version 7 update 21), Java did not work. And the “Java icon” was absent from the “system preferences” menu (should be at the bottom under the tab “other”). Very strange! But I found a solution: 1.) Go to “Library > Internet Plug-Ins”; 2.) Move all JavaAppletPlugins to trash (I moved “JavaAppletPlugin (1.7.10.18).plugin” and “JavaAppletPlugin.plugin”); 3.) Download and run the latest Java update; 4.) re-launch Safari.
    That solved my problem and I can run Java applications in Safari. Again......

  • Java is not working any more

    The last 6 months Java has not worked at all. I have Java 1.4.2 and 5.0 installed. I have tried re-installation, emptying buffers, resettings safari, using other browsers, created new user account in OSX and so on. I have tried all the tricks in the book and I have talked with other people that have the same problem without being able to find a solution.
    My theory is that everything went wrong with the last java update, and I'm wondering whether Apple will release another update also including Java 1.6. I have waited quite long now, hoping for a update, but it doesn't seem to happen. Does anybody have some ideas on what I can do to get Java working again.

    HI punsk and Welcome to Apple Discussions ...
    Since you're having so much trouble with Java, you might consider backing up your files and doing a complete erase and reinstall. Not an Archive and Install, ERASE and start over. Once you do that, go to Software Updates available from the Apple menu; Apple/Software Updates and start from scratch.
    If you do this, after this is finished, run Disk Utility from your Applications/Utilities folder and Repair Disk Permissions.
    Also, on your iBook. Make sure you have available drive space for updates. Open Disk Utility, select MacintoshHD in the panel on the left, then look down right side of window and you'll see:
    Capacity and Available. Make sure your Available drive space is at least 20% of the total drive.
    Carolyn

  • Java 7 not working on OSX 10.8.3

    I need some help with Java 7.
    I am trying to open my photo lab software, however, it keeps giving me a message saying I need to download the Java Runtime Environment. I clicked on the link and it brought me to the Java site. I sucessfully download the software but it still doesn't work even though Java test show's it's working.
    I'm running OS X 10.8.3.
    I downloaded the softwared using Firfox don't know if that makes a difference.
    I've checked my Java setting and they all seem to be enabled. At this point I have not idea whats going on. I didn't have this problem before and can't figure out what to do.

    I had a similar problem running Java with OSX 10.8.3.  Even after performing the latest software update (including Safari 6.0.4) in addition to download and installation of the latest version of Java (version 7 update 21), Java did not work. And the “Java icon” was absent from the “system preferences” menu (should be at the bottom under the tab “other”). Very strange! But I found a solution: 1.) Go to “Library > Internet Plug-Ins”; 2.) Move all JavaAppletPlugins to trash (I moved “JavaAppletPlugin (1.7.10.18).plugin” and “JavaAppletPlugin.plugin”); 3.) Download and run the latest Java update; 4.) re-launch Safari.
    That solved my problem and I can run Java applications in Safari. Again......

Maybe you are looking for

  • The ipod cannot be synced?

    when i plug my ipod into the computer itunes will open but it wont reconize my ipod. instead it wont do anything until i remove my ipod. then two error messages pop up. the first one says The ipod cannot be synced. the disk could not be read from or

  • Domain.xml gets screwed up

    Multiple times now, the Server is unable to start up. The last time it sat there, apparently in a loop greating over a 1 GB log file. Previously, I reinstalled Creator to solve the problem. The last time, I traced it to domain.xml. Fortunately there

  • Problem with scheduledSystemEvent Filter

    Hi All, I have a scheduledSystemEvent filter which triggers every night between 0000 to 0200. Since last few days all of sudden the control is not going in it. I have a few question around the same. 1) How many times "scheduledSystemEvent" filter exe

  • How to debug the webdynpro application

    Hi , i am facing a problem for debugging web dynpro application from offshore (my server is located in onsite) and i connected using VPN and also i changed my SDM Debug Mode to ON  and also enable debugging of  process also but it is giving error mes

  • Xerces Parser... Please Help.

    Hello, I have a problem when I use the XERCES Parser. I want to generate a Option FieldType of a HTMLForm. My code is: Element select = sourceDoc.createElement("select");    select.setAttribute("name", name);    select.setAttribute("required", requir