I'm not familiar with that plugin, however it uses YUI and ajax file
uploads via YUI are really simple. If you take a moment to read this
page you'll understand it a little better:
http://developer.yahoo.com/yui/connection/
My guess from the error below is that you're missing the afile:head tag
and instead used the s:head tag
Otherwise there's a template conflict (two tags using the simple theme
head template), or the tag's is simply broken.
sharath karnati wrote:
Hi All,
I tried Ajax fileupload program from below link,
http://www.struts2.org/ajax-file-upload-in-struts2-using-ajax-file-upload-plugin/#comment-100
When I tried to access, I'm getting below error message
FreeMarker template error!
Error on line 27, column 20 in template/simple/head.ftl
Expecting a string, date or number here, Expression
parameters.debug?default(false) is instead a
freemarker.template.TemplateBooleanModel$1
The problematic instruction:
----------
==> ${parameters.debug?default(false)} [on line 27, column 18 in
template/simple/head.ftl]
----------
Java backtrace for programmers:
----------
If anyone having code for doing AJAX fileupload with struts2 then please send to me.
Thanks in advance.
Regards,
Sharath.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
------------------------------------------------------------------------
No virus found in this incoming message.
Checked by AVG.
Version: 7.5.519 / Virus Database: 269.22.12/1372 - Release Date: 10/04/2008 5:36 PM
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]