Get your CodeRanch badge!*
The moose likes Struts and the fly likes How to upload a file using layout:datagrid in jsp page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How to upload a file using layout:datagrid in jsp page " Watch "How to upload a file using layout:datagrid in jsp page " New topic
Author

How to upload a file using layout:datagrid in jsp page

nazir ahmed
Greenhorn

Joined: Aug 02, 2008
Posts: 16
Hi,

i am using struts1.2. i am using layout:datagrid .
but i am not upload a file in layout:datagrid tag.

i want upload a file.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>

it display a textbox .I want upload a contentpath value using browse button.

how is it possible.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60041
    
  65

Please be sure to ask Struts questions in the Struts forum. I have moved this post there for you.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to upload a file using layout:datagrid in jsp page
 
Similar Threads
struts layout datacolumn
Upload file into layout:datagrid using struts
Struts-layouts
hwo to hide or display struts layout's datagrid tag
Reg: datagrid