How to save uploaded image file to Apache Web Server from Tomcat

Hi guys,
Perhaps this is not an appropriate topic to ask under this forum but I really don't know where should I post my question. Hope you understand.
Ok, I need to know if my web application is running in Tomcat5 and user uploading some image file where I need to save these image files to the other server, which is running Apache Web Server. Should I ftp to there or other better method ?
Anyone got a better idea on doing this kind of process pls advice. Many Thanks !
regards,
Mark

if your Apache server is running in the same computer and if your servlet have write access to the folder in apache under which you want to save the file you can just write the file there but you will have to address concurrency issues.
Otherwise you will have to do ftp but since apache does not have abuilt in frp server you will need a seperate FTP server for this

Similar Messages

  • Uploading a file to the web server

    How can i upload a file to the web server using JSP.

    hello sir,
    Could U even tell me performance which one is better.
    U have mentioned that Multipartrequest is Complex for Beginers,
    but as far as performance is concerned which is better.
    If Taglib is used is it error Free , as I do not know much abt taglib.
    have just read a little abt it , have never created my own Custome Tag.
    Could U just Guide me which is the best site where I could get know a little abt Taglib.An easy tutorial where I could read and start working on My application.
    I have been given a Deadline. So Please help me man.
    If U have the source Code for Uploading of a File Please Cut Paste it.
    I have to finish the project on time .
    Please
    With Regards
    Eklavya

  • How to Configure Apache Web Server  with Tomcat web container in Linux

    Hi all,
    I am working on Tomcat web server 5.0.19 on Linux AS 3.0., ( my Control Server)
    I need map my tomcat to Apache Web Server (httpd) in another system
    (web server).
    I dont have jk2_ or jk_mod .so files to use in my tomcat/conf directory to make them available for httpd.conf files of Apache Web server.
    I have only jk2.properties file in my conf.,
    Please tell me how to go about it
    my mail id [email protected]
    Thank You
    Subramanyam.V
    Hyderabad
    India

    The simple answer is to download a web server that has a web container already integrated on it, so all that painful configuration work is avoided.
    You can use the mature SJS Web Server 6.1 SP5 at
    http://www.sun.com/webserver
    Or you can try a preview of the upcoming version at
    http://www.sun.com/download/products.xml?id=446518d5
    You will get better performance and security, with easy of use, at about the same price ;)

  • How to uninstall Apache web server from 9.2.0.7.0/windows

    Hi All,
    Due to security vulnerability issues we would like to uninstall the Apache Web server from the currently installed oracle 9i version 9.2.0.7.0 on the windows box.
    One of the production database is associated with the current oracle version.
    I really don't know is it possible to uninstall Apache Web server from the oracle version, if we can uninstall is there any documentation available from oracle metalink?
    Please let me know what is the correct procedure to uninstall Apache Web server.
    Thanks in advance,
    karv.

    Using the Oracle Universal Installer, click the uninstall button and see if the Web server appears in the list of installed products. If so you should be able to uninstall it there.

  • Install Apach web server and Tomcat

    Is it possible to install Apach web server and Tomcat into Oracle Application Server?
    If possible, which way is the best? People said that I would better install Apach web server and Tomcat in Redhat.
    If you know the answer, would you mind give me the answer or document link?
    Thanks

    Tomcat is just a servlet engine. Oracle Application Server already includes a servlet engine. Apache is a default component too.

  • The tab is bad with apache web server and tomcat

    the tab not run with apache web server + tomcat.
    It is very bad..

    Fijate que solo he estado experimentando con JSC, no he tenido oportunidad de poner nada en producci�n usando la combinaci�n Apache Web Server y Tomcat JSP container y no cuento en �ste momento con �sta configuraci�n para probar.
    Nosotros (en donde trabajo) usamos IBM Web Server (basado en Apache Web Server 2), IBM Websphere 6 y las aplicaciones JSF en producci�n est�n hechas con Rational Web Developer.
    Ahora he estado muy ocupado con un proyecto urgente, si tengo alg�n tiempo libre la semana entrante tratar� de probar tu combinaci�n (no te prometo nada) pero para ello necesito que me digas las versiones que est�s usando de Apache Web Server y de Tomcat, como est�s enlazando entre ambos con un m�dulo o con ProxyPass y mejor si me mandas el httpd.conf.
    Saludos.

  • Issue with permissions to upload files into Apache web server to OS 10.8.2

    Hello everyone;
    I setted up Apache web server and mysql to OS 10.8.2 Mountain Lion. It's working fine except for the permissions. I can't upload files into the web site directory. Doesn't recognize, e.g., the PHP function "move_uploaded".
    One problem for my is that I can't modify the permissions by "Terminal" app since it telling me that the "Process completed" and I can't write any script.
    Any suggestion will be welcome.
    Thanks in advance.

    My only question now would be how to speed up Safari's 6.0.1 performance in 10.8.2 or do I just accept that it's a little slower than it was, which is fine. Are other folks having this issue?
    I was primarily passing along info about my particular download speed and for the Web Confidential 3.8 people: make a backup of your passwords b4 installing 10.8.2 or be prepared to upgrade.

  • Apache web server/jakarta tomcat

    Hey guys!
    here's the fact, i installed jakarta-tomcat and apache web server, but i don't know how to integrate them, i mean, I just want to have one http server with the functionality to use servlets. Do I need only jakarta tomcat to have this?, please help me.
    and forgive my very poor english! :)

    Hallo.
    Create or edit the file %APACHE_HOME%/conf/worker.properties
    worker.list=ajp13
    worker.ajp13.port=8009
    worker.ajp13.host=localhost
    worker.ajp13.type=ajp13
    Edit the file %APACHE_HOME%/conf/httpd.conf
    LoadModule jk_module modules/mod_jk.dll
    AddModule mod_jk.c
    JkWorkersFile "%APACHE_HOME%/conf/worker.properties"
    JkLogFile "APACHE_HOME%/logs/mod_jk.log"
    JkLogLevel debug
    Alias /myWebApp "%TOMCAT_HOME%/webapps/myWebApp"
    JkMount /myWebApp/*.jsp testWorker
    Check the file mod_jk.dll in the folder %APACHE_HOME%/modules/. Howevere there are different libraries for different versions of Apache Web Aerver and Tomcat.
    Edit the file %TOMCAT_HOME%/conf/server.xml
    <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
    port="8009" minProcessors="5" maxProcessors="75"
    enableLookups="true" redirectPort="8443"
    acceptCount="10" debug="0" connectionTimeout="20000"
    useURIValidationHack="false"
    protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/>
    Good luck.

  • Integrating Apache Web Server and Tomcat

    Hi,
    how do i integrate Apache Web Server (version 2.0) with Tomcat 5, on 2 different machines physically?
    I have managed to integrate them on the same machine. Now, I need to separate the 2 into 2 different servers.
    Please help.

    This is a forum for Sun's Java Application Server.
    Sun's AS is built on top of Tomcat and it's free in production (Platform Edition). The Standard Edition provides integration with an Apache HTTP server via a plugin.
    http://wwws.sun.com/software/products/appsrvr/home_appsrvr.htm
    For Tomcat, try http://jakarta.apache.org/tomcat/index.html
    -Alexis

  • Apache web server and tomcat

    I had loaded tomcat on my system to run JSP
    But it didnt worked
    so i loaded Apche web server on Win NT 4
    then tried to run JSP, but no result
    do Apache run JSPs by them selves
    or we need to attache Tomcat also
    if yes then how
    Thanks in advance

    Follow this steps:
    1. Set your JAVA_HOME environment variable in Autoexec.bat to
    your JDK installation directory.
         eg. SET JAVA_HOME=C:\j2sdk1.4
    2. Restart your computer.
    3. Install Tomcat
    4. Set your CATALINA_HOME environment variable in Autoexec.bat to
    your Tomcat installation directory.
         eg. SET CATALINA_HOME=C:\Program Files\Apache Tomcat X.X
    5. Goto C:\Program Files\Apache Tomcat X.X\Bin and right click in the startup.bat,
    choose Properties then select Memory. You should set you Conventional Memory's
    initial environment to something like 4096. Do the same with shutdown.bat.
    This will create a new shortcuts for the scripts you just modified.
    6. Restart your computer.
    7. Goto C:\Program Files\Apache Tomcat X.X\Bin and double-click on the startup shortcut you
    created in step 5.
    This will start your tomcat server. To test run your JSP's, put these in the ROOT folder.
    Then you must read your Java Web Services tutorial from then on.

  • How to save an image file

    I am developing an applet which can manipulate an image,such as scale image,rotate image,subtract image...
    then how can I save this manipulated image as generic .jpg format within applet environment.

    Hi,
    You can do this with JAI Java Advanced Imaging.
    Here is the code you can use:
    Image image =...
    BufferedImage bufImage = (BufferedImage)image;
    JPEGEncodeParam jep = new JPEGEncodeParam();
    JPEGImageEncoder jencoder = JPEGCodec.createJPEGEncoder(out);
    jencoder.encode(bufImage);
    out.flush();
    out.close();
    Hope this helps,
    Matt.
    Java Developer Technical Support
    Sun Microsystems.

  • How do I upload my PDF to a web page from my iPhone?

    I'm filling out an application. I have downloaded and completed the PDF file. Where do I find the file to upload? When I click "upload file" on the application page it only pulls up photos from my phone.

    Perhaps you can email it from Adobe Reader. Not sure.

  • Error message when trying to run Apache Web Server from OSX 10.3.9

    Hi there
    I accidently deleted the index.html file, and upon replacing it, I get the message "Forbidden
    You don't have permission to access /~fourdcmac/ on this server.
    Apache/1.3.33 Server at 4.local Port 80"
    I have tried repairing permissions using Disk Utility, and manuall checking the permissions on the file against the same file on other machines.
    Any ideas anyone??
    Thanks
    Macfool

    I think the problem is that typically in Apache if you don't have an index.html file then the server will display a listing of files in its directory. This is controlled by having an "Options Indexes" directive in the configuration file httpd.conf.
    If your permissions on the folder in question don't allow you to read the folder contents, then if your index.html is missing this error may come up.
    Also, if you don't have an index.html file, and you have "Options -Indexes" then you will not be allowed to browse the folder.
    Your best bet is to create a new index file.

  • Problem in configuring Apache Web Server v2.2

    Hi,
    I am facing problem in configuring apache web server with tomcat 7.0. I want to configure the web server in such a way that I can access the application only using the localhost(without appending the port to it). Ex I want to access the application through "http://localhost" instead of "http://localhost:8080".
    I tried to configure it using the concept of vertical clustering and "load balancer", but failed to do that.
    Can anyone please tell me steps to configure apache web server with tomcat or provide any useful link / urls to do that one.
    Thanks in advance

    The only way you can achieve it is by running the web server to listen on port 80
    Please change the port in your httpd.conf file for the webserver and restart it.
    If any other processes are running/using on port 80 on that machine, then please stop them, otherwise you will not be able to achieve your requirement.
    Arun

  • J2EE & Apache web server

    Dear friends,
    We are going to use open source Apache web server(with Tomcat), but can we use all J2EE components especially EJB in the Apache web server?
    Thanks.

    Dear friends,
    We are going to use open source Apache web server(with
    Tomcat), but can we use all J2EE components especially
    EJB in the Apache web server?
    Thanks.You can use Tomcat for the Web container. You can then select an application server to host the EJB container. See http://www.jboss.org/overview for details.
    Christian

Maybe you are looking for

  • How in Bridge to view AVCHD files using Adobe Media Player

    a) AVCHD is not in the list under Edit / preferences / File association !!! b) Where is the Adobe player located ? Operating System: Windows 7

  • [SOLVED] Kernel panic USB3 ExHDD (perhaps related to uas module?)

    Greetings fellow Arch users! Annoying problem: Hitachi Touro Pro 1GB USB 3 external drive causing consistent, repeatable kernel panic on 3.15.2-1-ARCH #1 SMP PREEMPT. The same panic occurs whether the drive is already attached upon reboot or attached

  • Distributi​on settings are not saved in a .cds file

    I have successfully created a distribution for my CVI8.0 application, and deployed it with no problems.  However, although the settings work, a .cds file never gets created - I checked in the directory.  When I close CVI and start it up again, it com

  • Final Cut Pro "improves" my exposure upon export.

    I'm using Final Cut Pro 6. I export my entire timeline as a series of stills, which I batch process in Photoshop to apply specific curves. Then I reimport the stills into a timeline. When I export the timeline, Final Cut takes it upon itself to chang

  • Removing Task from UWL after approval

    HI Gurus I Need to Delete a task in the UWL after approval Scenario: I have developed the mss/pcr adobe forms inthe place of standard adobe forms i have configured the customized adobe forms which i have developed in Webdynpro for Java So in mss/pcr