AnsweredAssumed Answered

DeclarativeWebScript

Question asked by xsp on Feb 19, 2013
Latest reply on Feb 21, 2013 by xsp
Hi,

I followed "Creating a Folder Listing Java-backed web script" as per http://docs.alfresco.com/4.0/index.jsp

The issues is that the class org.alfresco.web.scripts.DeclarativeWebScript does not exist in the SDK. (…in fact is the whole package that does not exist org.alfresco.web.scripts)

I changed it to the following package.


import org.springframework.extensions.webscripts.DeclarativeWebScript


This allowed me to compile my java backed webscript. However once I deployed it to the alfresco servcer, it complained that the class cannot be found.

So it seems that the alfresco SDK is expecting one package for the DeclarativeWebScript and the alfresco server another. ?

Can someone please confirm, or let me know what is wrong with this?

thanks

Outcomes