Home | JSP | EJB | JDBC | Java Servlets | WAP  | Free JSP Hosting  | Spring Framework | Web Services | BioInformatics | Java Server Faces | Jboss 3.0 tutorial | Hibernate 3.0 | XML

Tutorial Categories: Ajax | Articles | JSP | Bioinformatics | Database | Free Books | Hibernate | J2EE | J2ME | Java | JavaScript | JDBC | JMS | Linux | MS Technology | PHP | RMI | Web-Services | Servlets | Struts | UML


 

Java Tutorials


 

 

Struts Tutorials

Struts Resources

Visit Forum! Post Questions!
Jobs At RoseIndia.net!

Struts Struts2 Struts 2 Tags

User Comments
Add This Tutorial To:
  Del.icio.us   Digg   Google   Spurl
  Blink   Furl   Simpy   Y! MyWeb 

Add This Tutorial To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 

Current Comments

6 comments so far (post your own) View All Comments Latest 10 Comments:

It become easier and much simpler in struts2. Keep a member in your action as
class MyAction {
File myImage;
getMyImage(File myImage) {
this.myImage = myImage;
}

getMyImage()
return myImage;
}

In your JSP
<s:form action="imageLoader" method="post" enctype="multipart/for-data">
<s:file name="myImage" label="Upload your image: " />
<s:submit />
</s:form>

Posted by Deepak on Wednesday, 10.21.09 @ 22:01pm | #92000

Hi RoseIndia team,

I need sample code for upload a image and store it in a DB and then display it on a Jsp with Struts2.

Thank you,

You are the best!

Math

Posted by Math on Wednesday, 10.22.08 @ 23:34pm | #81254

Is there tag for image and how can I upload a image and store it in DB and then display it on a jsp???

THank you

Posted by Thas on Friday, 01.4.08 @ 20:43pm | #44521

I want to know how the tags in struts 2 work wihtout tld files or how actually tags are working in struts 2

Posted by anand on Tuesday, 08.14.07 @ 15:46pm | #23362

Hi RoseIndia team,

Your material is excellent but you need to give on struts 2 framework tags and struts-el examples.

with best regards,
Seshagiri rao

Posted by Seshagiri rao on Thursday, 06.7.07 @ 16:57pm | #18499

Hi RoseIndia team,

Your material is excellent but you need to give on struts 2 framework tags and struts-el examples.

with best regards,
Seshagiri rao

Posted by Seshagiri rao on Thursday, 06.7.07 @ 16:56pm | #18498

Ask programming questions?

 

 

Back to Tutorial

 

  JDO Tutorials
  EAI Articles
  Struts Tutorials
  Java Tutorials
  Java Certification

Tell A Friend
Your Friend Name

 

 
Browse all Java Tutorials
Java JSP Struts Servlets Hibernate XML
Ajax JDBC EJB MySQL JavaScript JSF
Maven2 Tutorial JEE5 Tutorial Java Threading Tutorial Photoshop Tutorials Linux Technology
Technology Revolutions Eclipse Spring Tutorial Bioinformatics Tutorials Tools SQL
 

Home | JSP | EJB | JDBC | Java Servlets | WAP  | Free JSP Hosting  | Search Engine | News Archive | Jboss 3.0 tutorial | Free Linux CD's | Forum | Blogs

About Us | Advertising On RoseIndia.net  | Site Map

India News

Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.

Copyright 2007. All rights reserved.