cancel
Showing results for 
Search instead for 
Did you mean: 

Write a webscript to download binary content

jspuchau
Champ in-the-making
Champ in-the-making
Hi,

I'm developing an Alfresco Client using Spring Surf and the CMIS client. To download the content I write a webscript and once the ContentStream is retrieved, I write it in the OutputStream in the response.

Using SpringSurf 1.0 the application raises an IllegalStateException due to the extensibility mechanism of the Container, but the content is downloaded correctly.

How can I avoid that exception? Someone had the same problem?

Regards, Jorge Saenz.
2 REPLIES 2

ddraper
World-Class Innovator
World-Class Innovator
Hi,

You've not really given us a lot to go on there unfortunately ! Smiley Happy

I would certainly suggest that you grab the latest Surf JARs from the latest Community Source rather than relying on the old 1.0.0 version that you can download (you never know, this might even solve your problem!). If it doesn't then could you provide some more information such as a full stack trace and also the code that you've written that is generating the problem.

Regards,
Dave

colin5
Champ in-the-making
Champ in-the-making
what conditions apply in webscript to run and its effect on sever during runtime ?