cancel
Showing results for 
Search instead for 
Did you mean: 

Uploding an image into a folder in 7.1 CE portal from webdynpro application

Former Member
0 Kudos

Hi Experts,

I have a requirement where i need to upload an image into the following path in portal from webdynpro application.

usr\sap\CE1\J00\J2EE\cluster\apps\sap.com\irj\servlet_jsp\irj\root\image, where "image" is the folder.

I am working on 7.1 CE and this portal has no KM in it.

Any guidance in this area will be of great help.

Thanks in advance,

Vishweshwara P.K.M

Accepted Solutions (1)

Accepted Solutions (1)

former_member214651
Active Contributor
0 Kudos

Hi,

Try using the File upload UI element to upload on to a location:

http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/202a850a-58e0-2910-eeb3-bfc3e0812...

Regards,

Poojith MV

Answers (3)

Answers (3)

Former Member
0 Kudos

Solved on my own. I have also published an article in SDN for this. http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/6080a443-f21b-2e10-2d82-ea1674e51052

Former Member
0 Kudos

Hi Poojith,

Thanks for your replay.

In my understanding when i use a fileUpload UI element the uploaded image is stored as byte array in the context attribute binded to this element. But i need to know how can this be stored into a folder in portal.

Regards,

Vishweshwara

p330068
Active Contributor
0 Kudos

Hi Vishweshwara,

Please have a look at How To Upload and Download Files in an Web Dynpro for Java Application under [Web Dynpro for Java Demo Kit |http://wiki.sdn.sap.com/wiki/display/WDJava/Web%20Dynpro%20for%20Java%20Demo%20Kit]

Hope it will helps

Regards

Arun