This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JSF and the fly likes Junk characters in field after submitting 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 » Java » JSF
Bookmark "Junk characters in field after submitting" Watch "Junk characters in field after submitting" New topic
Author

Junk characters in field after submitting

Pradeep Chandrasekharan Nair
Ranch Hand

Joined: Apr 01, 2004
Posts: 48
Hi All

I am working on a project using JSF/Seam1.2/Hibernate. I am facing one issue with form submitting. If I am submitting the JSF form without filling required fields, in some fields junk characters are coming like this "-----------------------------7d73e2132d0384Content-Disposition: form-data; name="_id24:highschool""


I have the attribute enctype="multipart/form-data" specified in the form since I have some file upload fields. I noticed that If I remove file upload part its working fine.


Please suggest me what is wrong with my implementation

Thanks in Advance

Regards,
Pradeep
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Junk characters in field after submitting
 
Similar Threads
problem with multipart/form-data
HTML Form Upload produces junk characters
File Upload
Problem in uploading file
Upload file and fetch other parameters as well...