Hi,
I am trying to learn RDLS Open API.
As part of it I have added "rdls-openapi-9.0.0.10.jar" to my NetBeans
library.
I wrote the example program given in the Open API documentation
import de.reddot.api.web.weblet.WebletAdapter;
import de.reddot.api.web.io.*;
import de.reddot.api.common.session.*;
import de.reddot.api.common.connector.*;
public final class MyWeblet extends WebletAdapter {
public final void handleRequest( CoaSession session,
WebletRequest request,
WebletResponse response ) throws
Exception
{
StringBuffer html = new StringBuffer();
html.append("<HTML><BODY>\n");
html.append("Hello World!\n");
html.append("</BODY></HTML>\n");
response.getHttpServletResponse().setStatus(200);
response.printString( html.toString(), false, "text/html" );
}
}
But the error I am getting is "Package de.reddot.api.web.weblet does
not exist".
When I checked the imported "rdls-openapi-9.0.0.10.jar" in NetBeans I
could not find de.reddot.api.web.weblet package in the tree where as I
found only one package with "web" in the path i.e.
"de.reddot.api.web.io".
Please suggest me if i am missing something.
Thanks,
Chandrakanth
--
You received this message because you are subscribed to the Google Groups
"RedDot CMS Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/reddot-cms-users?hl=en.