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 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 Android Security Essentials Live Lessons this week in the Android 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: 8843
    
    7

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: 492
    
    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..
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Why File name is becoming null in action class ?
 
Similar Threads
java.lang.IllegalArgumentException: argument type mismatch
issue understanding jstl properties
Drop Down Menu Problem
Selection Drop Down Question
The method print(boolean) in the type JspWriter is not applicable for the arguments(void)