Hello,
I’m attempting to create my first plug-in and am trying to get an admin console page to work, and I must be doing something really stupid as I haven’t been able to get this to work. I just want to create a simple servlet page that will render “hello, world” just to get it to work right now.
I set up in plugin.xml:
<adminconsole>
<tab id="tab-server">
<sidebar id="sidebar-server-settings">
<item id="wello-console" name="Foo bar" url="wello-console.jsp"
description="Click to manage the service that exposes presence information" />
</sidebar>
</tab>
</adminconsole>
And in my wello-console.jsp:
<%@ page import=“org.jivesoftware.openfire.plugin.spark.manager.FileTransferFilterManage r” %>
<%@ page import=“org.jivesoftware.util.JiveGlobals”%>
<%@ page import=“org.jivesoftware.openfire.XMPPServer” %>
<%@ page import=“org.wello.middleware.WelloAction” %>
<%@ taglib uri=“http://java.sun.com/jstl/core_rt” prefix=“c” %>
<%@ taglib uri=“http://java.sun.com/jstl/fmt_rt” prefix=“fmt” %>
Wello, Horld!
I build my plugin and it compiles and installs the .jar correctly. The “wello” admin page shows up in the console fine, but when I hit my page: /plugins/wello/wello-console.jsp I get a blank page.
Any ideas? I’m at a loss, as at first I thoguht I might need to create a web.xml or web-custom.xml but looking at other samples that doesn’t seem to be the case.
thanks!
-Simon