Java Reference Problem

We are using a Java JLabel class for rendering the cell of a Java JTable.
The problem we are facing is ..even we are clearing our collections to remove the references of these Labels, still the memory of this Labels are not getting released
it seems that some java internal classes(e.g. DefaultTableCellRenderer class) are still using this references, thus increasing the memory overhead.
Can someone suggest a solution
Thanks in advance

DemoPassbyRefWriting, and posting, a class called 'DemoPassbyRef' in Java is a complete waste of time. There is no pass by reference in Java.
However your problem is simply that you have added an object to a collection and then cleared the object, so it is clear when accessed via the collection too. It's the same object. Adding to a collection doesn't perform any copy step. If you don't want the collection item cleared, either don't clear it or do a copy when you add it to the collection. In this particular case clearing paramListTemp is completely pointless anyway, as nobody else uses it by that name.
I can't see the point of your TableContainer class either.

Similar Messages

  • Java Session problem while sending mail(using javamail) using Pl/SQL

    Hello ...
    i am using Java stored procedure to send mail. but i'm getting java session problem. means only once i can execute that procedure
    pls any help.

    props.put("smtp.gmail.com",host);I doubt javamail recognizes the 'smtp.gmail.com' property. I think it expects 'mail.host'. Of course since it cannot find a specified howt it assumes by default localhost
    Please format your code when you post the next time, there is a nice 'code' button above the post area.
    Mike

  • Java Programming Problem

    Hi all,
    I was looking for this java programming problem which had to do with a large building and there was some gallons of water involved in it too somehow and we had to figure out the height of the buiding using java. This problem is also in one of the java books and I really need to find out all details about this problem and the solution. NEED HELP!!
    Thanks
    mac

    Yes, it will. The water will drain from the bottom of
    the tank until the pressure from the water inside the
    tank equals the pressure from the pipe. In other
    words, without a pump, the water will drain out until
    there is the same amount of water in the tank as in
    the pipe The water pressure depends on the depth of the water, not the volume. So once the depth of the water inside the pipe reaches the same depth as the water inside the tank it will stop flowing. This will never be above the height of the tank.
    I found this applet which demonstrates our problem. If you run it you can drag the guy up to the top, when water in his hose reaches the level of the water in the tank it will stop flowing out.

  • Java Uninstall Problem

    Java Uninstall Problem
    This all came about because of a failed uninstall, using Your Uninstaller.
    The {Java runtime which is all I want) is not listed now & I tried all the other fix bad uninstall type features, all to no avail.} )
    When I DL & run the latest package (jxpiinstall-6u11-fcs-bin-b90-windows-i586-25_nov_2008.exe}
    & run it I get:
    1st message:
         "This software has already been installed on your computer.
         Would you like to install it?"
    If I say no, it exits.
    If I say yes, I get this second message:
         :This action is only valid for products that are currently installed."
    So Now I have no Java & have no idea what to do.
    Any help would be greatly appreciated.
    Thanks, Neuromancer23

    Sorry...after posting it i realized there was a more appropriate forum, of which it took quiet awhile to find.)
    Now that I know where to find the forum list I will never double-post again.
    I'll close the question if I can

  • Sun Java security problems

    Please any one tel me about Sun Java security problems
    with Desktop application

    Hi.
    If you're using SSGD 4.41, please download the Admin guide from here:
    http://docs.sun.com/app/docs/doc/820-4907
    There, at page #41 you'll find useful info concerning "Client Connections and Security Warnings".
    Hope this helps,
    Rob

  • Java reference to NWDS

    Hi,
    I am using NWDS 7.3 and i have reference the java version if JDK 1.6.0_18. Now I have updraged the patch level of JDK to 1.6.0_27.
    After these java upgrade, i have changed the java reference in NWDS to JDK1.6.0_27 through Windows --> Preferences --> Java --> Installed JREs.
    But still, when even I build the webdynpro project, it refers to the  java version of older patch level and throws error in the plugin file
    sap.logging.adapter
    Can anyone please help !
    Thanks
    Manchai. N

    Hi,
    I am using NWDS 7.3 and i have reference the java version if JDK 1.6.0_18. Now I have updraged the patch level of JDK to 1.6.0_27.
    After these java upgrade, i have changed the java reference in NWDS to JDK1.6.0_27 through Windows --> Preferences --> Java --> Installed JREs.
    But still, when even I build the webdynpro project, it refers to the  java version of older patch level and throws error in the plugin file
    sap.logging.adapter
    Can anyone please help !
    Thanks
    Manchai. N

  • Looking for Java Reference Manual, Not User Manual

    I'm a mainframe programmer learning Java. I'm going thru "The Complete Reference Java" by Schildt. In the mainframe world, manuals are usually broken into reference manuals (shows just the syntax) and user manuals (shows how to do things). I'm looking for a pure Java reference manual that strips away all of the verbose explanation of how to do things and just lists in an organized way the pure syntax of Java. Does anyone know of such a manual? Everything I've found so far falls more into the user manual category that perhaps contains the syntax somewhere (if you look for it), but is overburdened with tons of explanations. Thanks.

    Thanks. What you provided is a bit like a reference manual and user manual combined into one. It has the complete syntax along with plenty of explanations. BTW, I think I know where Schildt got most of his material for his Complete Java Reference book. It's almost like he took the Java Language Specification book and reorganized it into a tutorial format.

  • OS X Lion - JAVA SCRIPT PROBLEM

    I recently updated from Snow Leopard to OS X Lion. Now I seem to have a JAVA Script problem. Where do I start fixing this issue. I have checked updates etc etc but it seems to be updated. However, when I login to my web site backend, I have a problem. Any advice please?

    Would you please write some more details? explain the problem and what web site backend you use. Thanks.

  • Reference problem in TFS build

    Hi
     I am getting reference problem in TFS build.
    how to update nugget package in  command prompt in TFS server.
    Please advice.
      Primary reference "EntityFramework".
    C:\Program Files (x86)\MSBuild\12.0\bin\amd64\Microsoft.Common.CurrentVersion.targets(1697,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "EntityFramework". Check to make sure the assembly exists on disk. If
    this reference is required by your code, you may get compilation errors. [C:\Builds\1\ACIS\ACISApplication\src\ACIS.Model\ACIS.Model.csproj]
              For SearchPath "{HintPathFromItem}".
              Considered "..\packages\EntityFramework.6.1.1\lib\net45\EntityFramework.dll", but it didn't exist.
              For SearchPath "{TargetFrameworkDirectory}".
              Considered "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5\EntityFramework.winmd", but it didn't exist.
              Considered "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5\EntityFramework.dll", but it didn't exist.
              Considered "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5\EntityFramework.exe", but it didn't exist.
              Considered "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5\Facades\EntityFramework.winmd", but it didn't exist.
              Considered "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5\Facades\EntityFramework.dll", but it didn't exist.
              Considered "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5\Facades\EntityFramework.exe", but it didn't exist.
              For SearchPath "{Registry:Software\Microsoft\.NETFramework,v4.5,AssemblyFoldersEx}".
              Considered AssemblyFoldersEx locations.
              For SearchPath "{AssemblyFolders}".
              Considered "C:\Program Files\Microsoft SQL Server\110\SDK\Assemblies\EntityFramework.winmd", but it didn't exist.
              Considered "C:\Program Files\Microsoft SQL Server\110\SDK\Assemblies\EntityFramework.dll", but it didn't exist.
              Considered "C:\Program Files\Microsoft SQL Server\110\SDK\Assemblies\EntityFramework.exe", but it didn't exist.
              Considered "C:\Program Files\Microsoft SQL Server\120\SDK\Assemblies\EntityFramework.winmd", but it didn't exist.
              Considered "C:\Program Files\Microsoft SQL Server\120\SDK\Assemblies\EntityFramework.dll", but it didn't exist.
              Considered "C:\Program Files\Microsoft SQL Server\120\SDK\Assemblies\EntityFramework.exe", but it didn't exist.
              Considered "C:\Program Files\IIS\Microsoft Web Deploy V3\EntityFramework.winmd", but it didn't exist.
              Considered "C:\Program Files\IIS\Microsoft Web Deploy V3\EntityFramework.dll", but it didn't exist.
              Considered "C:\Program Files\IIS\Microsoft Web Deploy V3\EntityFramework.exe", but it didn't exist.
              Considered "C:\Program Files\Microsoft SQL Server\MSAS11.MSSQLSERVER\OLAP\bin\EntityFramework.winmd", but it didn't exist.
              Considered "C:\Program Files\Microsoft SQL Server\MSAS11.MSSQLSERVER\OLAP\bin\EntityFramework.dll", but it didn't exist.
              Considered "C:\Program Files\Microsoft SQL Server\MSAS11.MSSQLSERVER\OLAP\bin\EntityFramework.exe", but it didn't exist.
              Considered "C:\Program Files\Reference Assemblies\Microsoft\Framework\v3.5\EntityFramework.winmd", but it didn't exist.
              Considered "C:\Program Files\Reference Assemblies\Microsoft\Framework\v3.5\EntityFramework.dll", but it didn't exist.
              Considered "C:\Program Files\Reference Assemblies\Microsoft\Framework\v3.5\EntityFramework.exe", but it didn't exist.
              Considered "C:\Program Files\Microsoft.NET\ADOMD.NET\110\EntityFramework.winmd", but it didn't exist.
              Considered "C:\Program Files\Microsoft.NET\ADOMD.NET\110\EntityFramework.dll", but it didn't exist.
              Considered "C:\Program Files\Microsoft.NET\ADOMD.NET\110\EntityFramework.exe", but it didn't exist.
              For SearchPath "{GAC}".
              Considered "EntityFramework", which was not found in the GAC.
              For SearchPath "{RawFileName}".
              Considered treating "EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL" as a file name, but it didn't exist.
              For SearchPath "C:\Builds\1\ACIS\ACISApplication\bin\".
              Considered "C:\Builds\1\ACIS\ACISApplication\bin\EntityFramework.winmd", but it didn't exist.
              Considered "C:\Builds\1\ACIS\ACISApplication\bin\EntityFramework.dll", but it didn't exist.
              Considered "C:\Builds\1\ACIS\ACISApplication\bin\EntityFramework.exe", but it didn't exist.
      Primary reference "EntityFramework.SqlServer".

    Hi Narasimha,
    I'd like to know whether you can build locally with MSBuild. You need to make sure you can build successfully in local with MSBuild before you can use TFS build, since TFS build use MSBuild as its default compiler.
    However, from the error message, seems you don't have entity framework installed properly. Please have a try to reinstall entity framework for the needed version, also get the assemblies stored in GAC. If you have any other related concerns, you can
    open a new thread in entity framework forum for a better response.
    Best regards,

  • JAVA UFL java-heap problem

    Hi,
    Outline
    I have developed a User Function Library (UFL) in Java to Internationalize the reports. I have followed the guide provided by BusinessObject: http://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/20d050fc-6464-2b10-88aa-a31e24c4febf&overridelayout=true
    System Specifications:
    Windows XP
    Intel Pentium 4 CPU 3.00GHz
    Memory: 3 GB (RAM) 
    Crystal Reports: 2008  version 12.1.3.1028
    Java: JDK 1.6.0.13
    Problem
    Run into a Java heap space when the report is refreshing.
    Description.
    I open the report and click the refresh button. The report starts to quickly fetch data but then starts to slow down, it comes to the point where it stops fetching data. After a few seconds, the Formula Editor pops-up, highlights the Internationalization formula and then another small window titled "Crystal Reports" pops up with the message "Java heap space".
    Comments
    I know that I am running into a memory problem. I have check my memory in the Wondows Task Manager under the tab Performance and I see that my memory never reaches the maximum amount I have. I have also tried changing the Java versions, have also tried the UFL with Crystal reports XI and also tried with different computers all with which I get the same problem.
    Has anyone encountered the same problem, if so, how were you able to fix it?
    Thank you very much for your help.
    Valentine

    Valentine,
    How big is the report? I had a similar problem when trying to produce a large report, although it did not have any UFL reference.
    I increased the JVM stack size with the "-Xms32m -Xmx256m" flags.
    But for the life of me I cannot remember where I set this from running within Eclipse. I will have a look around and see
    if I can remember, but in the mean time it might help.
    Darren

  • Java heap problem

    Hi.
    I have a question about objects in session scope.
    I have created an object which holds a grid (a matrix of 2046 elements of HtmlnputText). At the beginning everything works ok, but later when several users create this matrix populating from database several times I get a java heap error. Reading several documents I think the object created are never released from memory so I don't know how to focus this stuff.
    I have changed the scope of the object to resquest and the behaviour is the same..
    Any comments about this?
    thanks
    PD: I use tomcat 6.0.x

    Hi,
    thanks both for comments.
    I have no access to JVM, so I can't change it.
    About the logic I think the problem is the GC is not working, I mean. when I get the recordset from database I make something like this:
    Grid grid = new Grid(myData);
    myData is an object populated from the recordset and I have defined the beans in request scope (not in session scope).
    so everytime I make this, I lose the reference for the old Grid but I think this remains in memory so, when the application is running for some time it collapse and I get a java heap memory error. I'm not sure but I think that is the behaviour. Am I wrong?
    Anyway I'll try with jmeter.
    Thanks
    greetings

  • Java Memory Problem

    Hi,
    We are using apache and tomcat webserver for our site (built on Unix). We are experiencing a serious problem with java memory.
    For every 1 hour (at around 1000-1500 page hits), site is getting down and giving error,'java.lang.OutOfMemoryError'.
    We observed that the memory consumed by java parocess is not being garbage collected. It is building up gradually and reaching its max limit(128M), and then site is getting down, throwing exception 'java.lang.OutOfMemoryError'.
    I dont under stand what to do.
    Can you please suggest me what to do to fix the problem..
    thankyou,
    Mo

    Test run your server with java -Xloggc:<file> option which logs GC activity. This should give you a clue as to how often gc is running and how much of mem it reclaimed in each cycle. This is just an initial test. Once u know for sure that enough mem is not being reclaimed then you use some memory profiler tools and identify the memory leak and fix the code to release unwanted references.

  • Java Server Problem

    I am using Secure Global Desktop Enterprise Edition (4.0) on Fedora Core 3
    Linux.
    Sometime, the system shows the following error message when I click the
    application.
    Starting...
    Locating session...
    Couldn't start application. Please inform an Administrator.
    Error code: 17
    Details: javax.naming.NoPermissionException [Root exception is
    java.lang.SecurityException: Cannot list directory.]
    I had checked the Server log and I found the error message in
    jserver20936_error.log as follow:
    2005/07/31 04:51:03.756     (pid 20936)     audit/license/error     #1122756663756
    Tarantella Secure Global Desktop Enterprise Edition (4.0) ERROR:
    An exception occurred writing to the file
    /opt/tarantella/var/info/licenseuse/namestamp
    java.io.FileNotFoundException:
    /opt/tarantella/var/info/licenseuse/new.namestamp (Too many open files)
         at java.io.RandomAccessFile.open(Native Method)
         at java.io.RandomAccessFile.<init>(RandomAccessFile.java:204)
         at com.sco.tta.server.license.LicenseFile.newFile(LicenseFile.java:362)
         at
    com.sco.tta.server.license.UsagePersister.writeUsageToDisk(UsagePersister.java:642)
         at
    com.sco.tta.server.license.UsagePersister$1.run(UsagePersister.java:851)
         at java.lang.Thread.run(Thread.java:534)
    The information written to this file will be invalid. This may cause
    more licenses to be consumed than should be.
    Check there is enough free disk space, and that the file exists.
    If the file does not exist, restart the server.
    2005/07/31 04:52:05.929     (pid 20936)     server/server/error     #1122756725929
    Tarantella Secure Global Desktop Enterprise Edition (4.0) ERROR:
    A server socket accepting connections has encountered an unexpected error.
    The Exception was: java.net.SocketException: Too many open files
         at java.net.PlainSocketImpl.socketAccept(Native Method)
         at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:353)
         at java.net.ServerSocket.implAccept(ServerSocket.java:448)
         at
    com.sco.cid.net.BufferedServerSocket.accept(BufferedServerSocket.java:37)
         at com.sco.cid.net.MultiServerSocket.accept(MultiServerSocket.java:265)
         at com.sco.tta.server.server.ServerTask.runTask(ServerTask.java:396)
         at com.sco.tta.server.server.Task.run(Task.java:122)
         at com.sco.cid.common.WorkerPool$Worker.run(WorkerPool.java:524)
         at java.lang.Thread.run(Thread.java:534)
    The server will attempt to create a new socket to handle new connections.
    If this happens frequently it may indicate a problem with resources on the
    server.
    2005/08/01 08:19:11.491     (pid 20936)     server/server/fatalerror     #1122855551496
    Tarantella Secure Global Desktop Enterprise Edition (4.0) FATAL ERROR:
    JServer error: java.lang.NoClassDefFoundError:
    com/sco/tta/common/jndi/auth/ResourceMapper
         at com.sco.tta.server.glue.BaseCtx.setExtendedError(BaseCtx.java:109)
         at
    com.sco.tta.server.glue.SearchAsadOp.handleResults(SearchAsadOp.java:518)
         at
    com.sco.tta.server.glue.SearchAsadOp.doDownSearch(SearchAsadOp.java:273)
         at com.sco.tta.server.glue.SearchAsadOp.search(SearchAsadOp.java:130)
         at com.sco.tta.server.glue.AsadOpHandler.search(AsadOpHandler.java:212)
         at
    com.sco.tta.server.server.asad.AsadCalcTask.search(AsadCalcTask.java:910)
         at
    com.sco.tta.server.server.asad.AsadCalcTask.processEnvelope(AsadCalcTask.java:198)
         at com.sco.tta.server.server.CalcTask.runTask(CalcTask.java:125)
         at com.sco.tta.server.server.Task.run(Task.java:122)
         at com.sco.cid.common.WorkerPool$Worker.run(WorkerPool.java:524)
         at java.lang.Thread.run(Thread.java:534)
    There may be a problem with the JVM.
    The server will exit.
    Check the logs for more information.
    What happen? How could I fix the error?

    Dear Barrie,
    I am using Fedora Core 3 Linux.
    The Tarantella Secure Global Desktop Enterprise Edition(4.0) have 20
    concurrent user license.
    Normally, about 10 users would access the application through Secure
    Global Desktop Enterprise Edition.
    Could I use the license of Tarantella EE 4 to upgrade to Tarantella EE 4.1
    PW Ng
    barrie wrote:
    Hi Ng
    Sorry, I forgot to ask whether you are using Solaris or Linux? I don't
    think Solaris has an upper limit for this value but I'm less sure about
    Linux. I would make sure all tta processes have been terminated and try
    again.
    My feeling is that you shouldn't really be using 4096 files in a single
    process -- not unless you're system is very very large. In 4.0 there is
    a problem with the 1.5 JVM holding on to references that keep files open for
    longer than is necessary and potentially leads to a loss of service by
    keeping too many files open. 4.1 has a fix for this. I think there is a
    good chance this may be your problem aswell.
    Barrie
    On 2005-08-09, Ng Ping Wah <[email protected]> wrote:
    Dear Barrie,
    When i set the file descriptor to 8192 and restart the server, I found the
    error log has follow error message:
    2005/08/09 08:13:46.265     (pid 31540)     pem/circuit     #24
    Tarantella Secure Global Desktop Enterprise Edition(4.0) ERROR:
    An error occurred reading on circuit fdcircuit. Reason: (9) Bad file
    descriptor.
    The current operation has failed.
    If persistent, restart the server.
    2005/08/09 08:13:46.266     (pid 31540)     pem/circuit     #26
    Tarantella Secure Global Desktop Enterprise Edition (4.0) FATAL ERROR:
    The program has encountered an error that means it cannot continue.
    It will now exit. A technical description is given below to help
    establish the cause.
    Error/EOF on file descriptor circuit. Killing PE Manager.
    Services unavailable.
    Restart the server.
    Is the value '8192' too large ?
    What is the Suitable value ?
    best regards
    PW Ng
    barrie wrote:
    Hi Ng,
    Yes, you've run out of files. But, this ulimit thing is already done by
    the SGD EE start up files. What you can do is edit the tuning properties
    of the server in ArrayManager. By default, this should be 4096 but you
    can try increasing this here. You may also change the value of
    rlim_fd_max in /etc/system on Solaris, although the value given in the
    arraymanager should override the setting in /etc/system.
    It's unusual to use this many files, you may be seeing a file descriptor
    leak that was in 4.0 and may be causing this problem, the problem is
    subtle and doesn't necessarily effect all users. I recommend you upgrade
    to 4.1 though.
    Regards
    Barrie
    On 2005-08-04, Rob <[email protected]> wrote:
    PW Ng wrote:
    I am using Secure Global Desktop Enterprise Edition (4.0) on Fedora
    Core 3
    Linux.
    Sometime, the system shows the following error message when I click the
    application.
    Starting...
    Locating session...
    Couldn't start application. Please inform an Administrator.
    Error code: 17
    Details: javax.naming.NoPermissionException [Root exception is
    java.lang.SecurityException: Cannot list directory.]
    I had checked the Server log and I found the error message in
    jserver20936_error.log as follow:
    2005/07/31 04:51:03.756     (pid 20936)     audit/license/error     #1122756663756
    Tarantella Secure Global Desktop Enterprise Edition (4.0) ERROR:
    An exception occurred writing to the file
    /opt/tarantella/var/info/licenseuse/namestamp
    java.io.FileNotFoundException:
    /opt/tarantella/var/info/licenseuse/new.namestamp (Too many open files)[snip]
    I think the "Too many open files" may give you a clue.
    Try by editing the SGD EE startup files (either under /etc/init.d or in
    the /opt/tarantella/bin/scripts folder) and adding the
         ulimit -n 4096
    statement. Of course, 4096 is just an example; find your "maximum number
    of open file descriptors" limit and raise it accordingly.
    Best,
    Rob

  • EJB 3 reference problem

    Hello all.
    I use glassfish b48.
    I need two classes with unidirectional ManyToOne relation:
    Pupil -> Grade
    Pupil.java:
    @Entity
    public class Pupil extends Person {
        @ManyToOne
        private Grade grade;
    }Person.java:
    @Entity
    public class Person extends VersionControl {
    ...VersionControl.java:
    @Entity
    @Inheritance(strategy=InheritanceType.JOINED)
    public class VersionControl implements Serializable {
        @Id
        @GeneratedValue(strategy = GenerationType.AUTO) 
        private Long id;
        ...Grade.java:
    @Entity
    public class Grade extends VersionControl {
    ...When i change Pupil-instance grade attribute from 'A' to 'B' grade attribute in pupil instance, database updates successfully, but grade attribute of Pupil instance contents Grade-class instance with all NULL fields, and
    em.createQuery("select o from Grade o where order by o.name").getResultList();returns Collection with all Grade objects, but on the 'B-object-place' i see object with all fields = null.
    i.e.
    id       name
    "1"        "A"
    "3"        "C"I tried to run on various platforms and glassfish versions, on JavaDB and PostgreSQL database, various CascadeType's - same result.
    When i redeploy my application(or restart server;-)) all is ok.
    If i create new Grade object and use it for setting to Pupil attribute a don't see this problem.
    But if i use "old" Grade object createed before last deploying of application this problem occur.
    Where is my problem?

    The issue is that the Local EJB view was not intended to be accessible across application boundaries. The Local view
    requires pass-by-reference semantics, which implies that both the caller and callee are using the same classloader.
    Some products support cross-application Local EJB access but it's not portable.
    One of the related issues is that the requirement for packaging ejb's in their own ejb-jar is too cumbersome. We're fixing this
    in EJB 3.1 so that EJB components can be packaged directly in a .war. See my blog posting here : http://blogs.sun.com/kensaks/entry/simplified_ejb_component_packaging

  • Visual Web JSF and Java Script problem

    Hi i am using Visual Web JSF for development in my project. AJAX to update data from server when users enters data in one text box its an chat application. i am getting data from server but unable to update my <webuijsf:textarea> component with the new data on my chat page ... I am facing another problem in java script that it is not accepting relational operators (< . >) in JSF Application.... i am attaching some code here for reference...result =http.responseText.split(","); /// this is the response text from AJAX based call
    var obj=document.getElementById('form1:chatter_box'); /// this text area is to be updated...
    var txt=document.createTextNode(http.responseText);
    ///document.getElementById('form1:chatter_box').innerHTML = txt;
    for(i=0;i < size;i++){
    var txt1=document.createTextNode(result);
    obj.appendChild(txt1);

    Try changing onclick to onClick and try...
    regards
    shanu

Maybe you are looking for

  • Windows 7 Pro - 64bit with P43-C51

    Hello there, I am trying to install Windows 7 Pro - 64bit with my P43-C51. But after clicking: "Install" an error-message occurs saying: "A required CD/DVD drive device driver is missing. If you have a driver floppy disk CD, DVD, or USB flash drive p

  • How do I create an array of results?

    I'd like pass an array with test results to LabVIEW code for csv writing. How can I do it? I'd would also need arrays with limits. Something like this does not exist, correct? How do I create it. Do I use a looping option in the test? I cannot find a

  • How to cancel skype subscription?

    I cannot cancel my skype subscription. I purchased only one month and I have no money in my account for another month and yet Skype is constantly attempting to take more out. I tried to follow the guide to cancel but it simply isn't working. I'm furi

  • Is it possible to edit web pages on Safari?

    One could do this on Netscape; anything similar on Safari?

  • Weblogic Threading Issue

    Dear All, We have a situation (very strange one). Here is the setup. Our application is written in struts 1.1. The configuration is as follow. Internet --> Sun One Web Server (7.0) --> WebLogic (10) ---> Database Our application has one page where we