[opencms-dev] cms links from servlets... CmsJspTagLink.linkTagAction()?

Alexander Wallace aw at avatartechnology.com
Tue May 24 16:33:44 CEST 2005


Hi there... I'm trying to develop functionality using servlets instead of 
jsp... and looking for a substitute to cms:link, I thought i found it and 
started using CmsJspTagLink.linkTagAction().... It works fine when i'm logged 
in the workplace and in offline mode, but when i publish and access the 
servlet in online mode, the lines that call that linkTagAction method return 
a NullPointerException... The server is indeed called and seems to work 
otherwise.  Hardcoding the links for now works, but it won't in the long 
run...

I'm sure i'm doing the wrong thing... Can some one advise me on this? paste 
some sample servlet they use for different things, including the links, i 
would really appreciate it...

Thanks!



More information about the opencms-dev mailing list