aspose file tools*
The moose likes Struts and the fly likes Upload file into layout:datagrid using struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Upload file into layout:datagrid using struts" Watch "Upload file into layout:datagrid using struts" New topic
Author

Upload file into layout:datagrid using struts

nazir ahmed
Greenhorn

Joined: Aug 02, 2008
Posts: 16
Hi,

I am using strus1.2 and using layout:datagrid.

this is my code as follows.

<layout:datagrid property="datagrid" selectionAllowed="true"
multipleSelectionAllowed="true" styleClass="FORM"
model="datagrid" >

<layout:datagridColumn title="ContentPath" property="contentPath"/>
</layout:datagrid>


i want upload content path (same as <input type="file"> in html).

is it possible. send reply very urgent.


ujjwal soni
Ranch Hand

Joined: Mar 28, 2007
Posts: 403
Hi,

You can easily upload files using struts upload.

Check out this example

http://www.roseindia.net/struts/strutsfileupload.shtml


Cheers!!!
Ujjwal B Soni <baroda, gujarat, india> <+919909981973>
"Helping hands are better than praying lips......"
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Upload file into layout:datagrid using struts
 
Similar Threads
hwo to hide or display struts layout's datagrid tag
How to upload a file using layout:datagrid in jsp page
Can any one tell me html:button is not working in the FireFox but its working fine in IE?
Reg: datagrid
Struts-layouts