User Profile

Collapse

Profile Sidebar

Collapse
akoymakoy
akoymakoy
Last Activity: Nov 12 '09, 07:34 AM
Joined: Oct 18 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Javascript Control Style in creating a new element

    hi
    i have this function which sets the attribute of my select element:

    Code:
    var cell4 = row.insertCell(4);
    var selectCost = document.createElement("select");
    setAttributeForElementSelect(selectCost , 'COST_'+nextRow , '80' );
    
    function setAttributeForElementSelect(element,nameIDandTitle,width){
    			element.setAttribute('id',nameIDandTitle);
    			element.setAttribute('title',nameIDandTitle);
    ...
    See more | Go to post
    Last edited by Dormilich; Feb 11 '09, 06:30 AM. Reason: added [code] tags

  • Create <select> tag with an onchange property

    Good Day

    I have these line of codes in my javascript
    ......
    Code:
    if (selObj.type == 'text' ) {
            parentObj = document.getElementById('destinationCity').parentNode;
            parentObj.removeChild(selObj);
            var inputSel = document.createElement("SELECT");
            inputSel.setAttribute("name","destinationCity");
            inputSel.setAttribute("id","destinationCity");
    ...
    See more | Go to post
    Last edited by acoder; Nov 14 '08, 09:04 AM. Reason: Added [code] tags

  • Good Day ,
    Right now i used the uploadPackage.j ar that i found . If anyone is familiar on how to use this jar pls help me.
    When i upload an image file of any type and upload it or copy it to another pc the image file is broken.. the image is distorted..

    this is my configuration.t xt:

    name=report3.jp eg
    dir=c:\
    log=c:\
    max=100000000
    extensions=
    reply=/upload.jsp...
    See more | Go to post

    Leave a comment:


  • so far all i have seen are jar files that need to be bought or is only in trial versions... are there open / free web upload file servlet. ?
    See more | Go to post

    Leave a comment:


  • i would look into it thanks


    i would also get back here i f i get it done or not..
    See more | Go to post

    Leave a comment:


  • i guess it runs FTP (Linux)

    The machines are connected like this:

    im browsing through the web application through IE on a windows workstation

    the application is being hosted in a linux platform.

    The method im doing is to upload a file from the windows workstation to the linux workstation.

    *SCENARIO*
    i want to change the picture the front page displays (.../pic1.jpg)...
    See more | Go to post

    Leave a comment:


  • Im sorry but i dont know what sockets are... pls help me..
    a link to a tutorial on socket programming might help.. or a sample code will extremely help.....
    See more | Go to post

    Leave a comment:


  • How to copy a file from windows to linux using java

    Good Day:
    as the title says i am creating a program that will copy a file from windows to a linux machine. any help would be appreciated. i tried looking for it on google but i dont see a real help.

    a sample code will be a huge help.. ive tried a few times but to no avail and im running out of ideas

    thanks in advance
    See more | Go to post

  • since the programs aim is to change a particular picture:

    i dont know how i will implement relative path names if i am to select a picture file from the windows directory. where do i put it?
    note that the app is running on the linux server....
    See more | Go to post

    Leave a comment:


  • is there a way to copy this file to the linux directory?
    See more | Go to post

    Leave a comment:


  • InputStream in=null;
    OutputStream out = null;
    String webDirectory=/usr/local/jakarta/apache-tomcat-5.5.25/webapps/LaCoronaHotel-ForTesting2/images

    String src = c:\samplepic.jp g

    in = new FileInputStream (src);
    fileName="/packages.gif";

    out = new FileOutputStrea m(webDirectory+ fileName);
    while ((len = in.read(buf)) > 0) {
    out.write(buf, 0, len);
    }
    ...
    See more | Go to post

    Leave a comment:


  • well i have 2 kinds of process one is that of the picture changing and the other is .txt

    the .txt file is changing properly while that of the picture is not..
    See more | Go to post

    Leave a comment:


  • akoymakoy
    started a topic File input stream conflict from windows to linux?
    in Java

    File input stream conflict from windows to linux?

    InputStream in=null;
    OutputStream out = null;
    String webDirectory=/usr/local/jakarta/apache-tomcat-5.5.25/webapps/LaCoronaHotel-ForTesting2/images

    String src = c:\samplepic.jp g

    in = new FileInputStream (src);
    fileName="/packages.gif";

    out = new FileOutputStrea m(webDirectory+ fileName);
    while ((len = in.read(buf)) > 0) {
    out.write(buf, 0, len);
    } ...
    See more | Go to post

  • akoymakoy
    replied to Java - Apache Tomcat 5.5 problem
    in Java
    well the server im deploying to is the server provided by the client.. im pretty sure i didnt forget to include some files because things are working well on other workstations.. only on that certain workstation which is unfortunately where the server is. Would there be anyone who experienced the same case wherein i deploy warfiles and it fails to create a folder of the web app , instead it just puts the .war file in the webapps folder.
    See more | Go to post

    Leave a comment:


  • akoymakoy
    started a topic Java- Apache 5.5 problem in deploying .warfile

    Java- Apache 5.5 problem in deploying .warfile

    Good Day,
    i am having difficulty in deploying my .war file on my web server... when i deploy my warfile in my pc or any other workstation it deploys fine. but when i deploy it on my server. it only deploys the .war file on the /webapps folder.. there are no folder structure being created.. therefore my site cannot work properly.

    ex:
    when i deploy my .war file (test.war) on my workstation there will be a folder named:...
    See more | Go to post

  • akoymakoy
    started a topic Java - Apache Tomcat 5.5 problem
    in Java

    Java - Apache Tomcat 5.5 problem

    Good Day,
    i am having difficulty in deploying my .war file on my web server... when i deploy my warfile in my pc or any other workstation it deploys fine. but when i deploy it on my server. it only deploys the .war file on the /webapps folder.. there are no folder structure being created.. therefore my site cannot work properly.

    ex:
    when i deploy my .war file (test.war) on my workstation there will be a folder named:...
    See more | Go to post

  • akoymakoy
    replied to Firefox Vs IE on java? pls help
    in Java
    Sry for the dead link.. they put the server down... but still the problem remains it shows ok on IE but only pure source code on Firefox...

    they use apache as a webserver... and i am using apache tomcat for the development.. is that a conflict? or can apache run jsp?...
    See more | Go to post

    Leave a comment:


  • akoymakoy
    started a topic Firefox Vs IE on java? pls help
    in Java

    Firefox Vs IE on java? pls help

    Hello

    i gave a .war file to a client and when he deployed it to his webserver, it was all screwed up on firefox but it shows ok in IE.

    Except that all my java codes dont work on either browsers. i have yet to confirm the server and to what it used but what could be the possible reason why firefox show the site as a source code and IE shows it as a webpage..

    this is the link: (pls try it on both IE and...
    See more | Go to post

  • akoymakoy
    replied to Image processing in Java
    in Java
    i have the same problem... how do i encode/ decode a tiff format image in java...

    any link would help thanks
    See more | Go to post

    Leave a comment:


  • akoymakoy
    replied to JAVAMail question
    in Java
    hi im using java 1.5
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...