It's not a secret anymore!*
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 Murach's Java Servlets and JSP this week in the Servlets 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: 8836
    
    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: 489
    
    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 ?
 
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)