This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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: 60785
    
  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]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to upload a file using layout:datagrid in jsp page
 
Similar Threads
Struts-layouts
Reg: datagrid
Upload file into layout:datagrid using struts
struts layout datacolumn
hwo to hide or display struts layout's datagrid tag