Skip navigation
This discussion is archived
3530 Views 5 Replies Latest reply: Dec 1, 2005 4:46 AM by Scott RSS
Bronze 14 posts since
Nov 26, 2005
Currently Being Moderated

Nov 26, 2005 12:41 PM

make servlet output html

I am a newbie to plugin writing so please be patient:

 

I am trying to implement an in/out board that works similar to the presence plugin. I would like this to be accessible to everyone on the LAN/VPN. I was thinking of implementing this as a servlet.

 

I was able to get my test plugin to build and install ok using text/plain content type. But when I try to use text/html content type I am always redirected through the admin console. Is is possible to output html content from a custom servlet?

 

Also, I can''t seem to get the AuthCheckFilter.addExclude("myPlugin"); to work. If I am logged in, I either get the text/plain content I expected or my html content in the admin console. If I am not logged in, I get a NullPointerException

 

Any ideas?

 

Thanks in advance

More Like This

  • Retrieving data ...

Bookmarked By (0)