File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes isTokenValid and multipart/form-data Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "isTokenValid and multipart/form-data" Watch "isTokenValid and multipart/form-data" New topic

isTokenValid and multipart/form-data

Bucsie Dusca
Ranch Hand

Joined: Oct 18, 2004
Posts: 31

I am using a multiple-page workflow, and on one page I need to input both a file and some textfields. Since it is a multi-page flow, I need to use the saveToken, isTokenValid methods to ensure correct input.
Unfortunately I always get an false in istokenValid after the multipart form is submitted.
Is there no possible workaround?
I agree. Here's the link:
subject: isTokenValid and multipart/form-data
It's not a secret anymore!