this is my file upload page, here i am not getting tags input field value to my servlet,please suggest a solution?

this is my file upload page, here i am not getting tags input field value to my servlet,please suggest a solution?

<html>
<head>
    <script type="text/javascript">
    var counter =1;


    function UpdateMultiple () {
        var fileInput = document.getElementById ("fileInput");
    }
    function AddFileUpload() {

    var div = document.createElement('DIV');
    div.innerHTML =
        '<tr><td>select files to upload <input id="file' + counter + '" name = "file' + counter +
        '" type="file" /></td></tr>' 
        + '<input id="Button' + counter + '" type="button" ' + 'value="Remove" onclick = "RemoveFileUpload(this)" />'+'Tag Here<input id="tag'+ counter +'"name="tags' + counter +'"type="text"/>'+'<dfn>Enter Tags with Comma Separated</dfb>';
        document.getElementById("FileUploadContainer").appendChild(div);

        counter++;

    }
    function RemoveFileUpload(div) {
        document.getElementById("FileUploadContainer").removeChild(div.parentNode);
    }
    </script>
</head>
<body>
    <form action="MultifileServ" method="post"  enctype="multipart/form-data">
    <table>
        <tr><td>Incident Location<input type="text" name="incidentlocation"></td></tr>
        <tr><td>Incident Time<input type="time" name="incidenttime"></td></tr>
        <tr><td>Incident Date<input type="time" name="incidentdate"></td></tr>   
        <tr><td>Select files to upload: <input id="fileInput" type="file" name="file0"/>
        Tag Here <input id="tag1" type="text" name="tags0"><dfn>Enter Tags with Comma separated</dfn> </td></tr>
        <tr><td><input id="Button1" onclick="AddFileUpload()" style="height: 27px; width: 74px;" tabindex="25" type="button" value="New File"/></td></tr>
        <tr><td><div id="FileUploadContainer"></div></br></td></tr>

        <tr><td><input type="submit" value="Upload File" /></td></tr>

    </table>
    </form>
</body>
</html>
View Answers









Related Tutorials/Questions & Answers:
this is my file upload page, here i am not getting tags input field value to my servlet,please suggest a solution?
File Upload in struts2 - Invalid field value for field
Advertisements
I am not able to display the selected value of my combobox
attach file in my web page
i am unable to identify the error in my code
i am unable to identify the error in my code
getting null value in my class when using t:inputFileUpload
getting null value in my class when using t:inputFileUpload
how i open my web page
I am trying to create domains for column attributes of my data dictionary?
this is my javascript code and i am not understanding the mistake in this,please help me?
could you suggest me that in which area i have to do a project?i want a complete guidence to complete my project.
i am getting the problem when i am downloading the pdf file from oracle 10g database - Struts
autocomplete(): Spring mvc with jquery: I am not getting correct value in the text filed. Please help me
how do i use sql like query in my jsp page
How can I to my database to my application
I am getting this exception
Can not input value into text field which use sx:datetimepicker
Can not input value into text field which use sx:datetimepicker
Can I put coursera on my resume?
Can I put online courses on my CV?
Should I put DataCamp on my resume?
Can I learn Hadoop on my own?
Can I learn R on my own?
I really hate my data scientist job
display an image on my page
Option onclick am not getting the value ..
:( I am not getting Problem (RMI)
I have problem in my Project
How can I find my DHCP IP address on my computer?
I GOT ERROR FOR MY PROJECT
how can i run tomcat server and my home page come when i double click on an icon in servlets
how can i run tomcat server and my home page come when i double click on an icon in servlets
how can i run tomcat server and my home page come when i double click on an icon in servlets
how can i run tomcat server and my home page come when i double click on an icon in servlets
file uploads to my web site
I need jsp code for how to write text field value into property file.
i am Getting Some errors in Struts - Struts
I am getting Undefined in Text Box Very Urgent - JSP-Servlet
How can I connect my database to my application ?
How can I open my Java desktop app by clicking on its file?
regarding css file in my eclipse
how do i provide down a pdf document fecility on my web page using jsp and servlets?
How can i modify my account in roseindia
Add music to my web page
how can i add wirecard option(or button ) at my web page plz tell all steps? View Answers
i am getting multiple values in listbox
i want to find the byte code of a image file ... for my project..plz if anybody help me for java coding i will grateful..
What should I study on my own to become a data scientist?
How can I start my career in data science?

Ads