Skip to main content

Code to upload image

1 reply [Last post]
ujjwalos
Offline
Joined: 2009-08-12

Hi,
Iam new in java. I want to upload a image to the server from client machine. My server is linux server. And the client machine may be windows or linux(though iam current working on windows client). Just a client will browse a page of my applycation(application stored in server) and will upload a image to the server.

So i need a code to upload images to my linux server.

Thanks ion advance.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Martin Gainty

for uploading images try FileUploadInterceptor (webwork interceptors now wrapped in Struts.2.x)
http://www.opensymphony.com/webwork/wikidocs/File%20Upload%20Interceptor...

free free to ping me offline for questions
Martin Gainty
______________________________________________
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité

Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni.

> Date: Wed, 19 Aug 2009 09:16:10 -0700
> From: glassfish@javadesktop.org
> To: users@glassfish.dev.java.net
> Subject: Code to upload image
>
> Hi,
> Iam new in java. I want to upload a image to the server from client machine. My server is linux server. And the client machine may be windows or linux(though iam current working on windows client). Just a client will browse a page of my applycation(application stored in server) and will upload a image to the server.
>
> So i need a code to upload images to my linux server.
>
> Thanks ion advance.
> [Message sent by forum member 'ujjwalos' (ujjwalos)]
>
> http://forums.java.net/jive/thread.jspa?messageID=361204
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
> For additional commands, e-mail: users-help@glassfish.dev.java.net
>

_________________________________________________________________
Get back to school stuff for them and cashback for you.
http://www.bing.com/cashback?form=MSHYCB&publ=WLHMTAG&crea=TEXT_MSHYCB_B...
[att1.html]