File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Struts project Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts project" Watch "Struts project" New topic

Struts project

Ayaz uddin

Joined: Jan 22, 2012
Posts: 6
This is struts project
<%@ taglib uri="/tags/struts-html" prefix="html" %>
<%@ taglib uri="/tags/struts-bean" prefix="bean" %>

<html:form action="/" method="post" enctype="multipart/form-data">
Choose the File to UPLOAD

<html:file property="file"/>


But output comes in http://localhost:9999/fileupld/ as the following
Choose the File to UPLOAD <there should be one text box as browse on right hand side here>
Save <it should be submit button no plain text>

Is there any formatting error in
<html:file property="file"/> Is there any tld file configuration error in eclipse.
Nam Ha Minh
Ranch Hand

Joined: Oct 31, 2011
Posts: 502

I think you should write this:

instead of:

PM Me If You Want to get Urgent Help on Java Programming
I agree. Here's the link:
subject: Struts project
It's not a secret anymore!