aspose file tools*
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
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: 61241
    
  66

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]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: How to upload a file using layout:datagrid in jsp page