This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Struts and the fly likes Why File name is becoming null in action class ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Why File name is becoming null in action class ?" Watch "Why File name is becoming null in action class ?" New topic
Author

Why File name is becoming null in action class ?

Priyanka Das
Greenhorn

Joined: Mar 01, 2011
Posts: 15


This is my action class








this is my form




This is my Jsp page



Please reply as soon as possible.Its urgent

Thanks in advance..

Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8874
    
    8

I fixed your code tags. You have to put the code inside the code tags for them to work.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
Karthik Shiraly
Ranch Hand

Joined: Apr 04, 2009
Posts: 497
    
    5
I think problem is here:


You have to use either


or


Priyanka Das
Greenhorn

Joined: Mar 01, 2011
Posts: 15
Karthik Shiraly wrote:I think problem is here:


You have to use either


or





yaa that was the problem thanks..
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Why File name is becoming null in action class ?