File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 8708
    
    6

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: 475
    
    3
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
issue understanding jstl properties
java.lang.IllegalArgumentException: argument type mismatch
The method print(boolean) in the type JspWriter is not applicable for the arguments(void)
Selection Drop Down Question
Drop Down Menu Problem