title: How to do HTTP binding for Openfire plugin
body: <p>I'm using Openfire as the chat server for my company. And now I need to create a plugin for Openfire.</p>
  
  <p>As I can see from other plugins, they can have HTTP binding to themself through port 7070.
  For example: <a href="http://example.com:7070/redfire" rel="nofollow">http://example.com:7070/redfire</a> where <strong>redfire</strong> is the name of the plugin.</p>
  
  <p>The name of my plugin is <strong>toplug</strong>, so I want to be able to access the JSP pages of my plugin through: <a href="http://example.com:7070/toplug/index.jsp" rel="nofollow">http://example.com:7070/toplug/index.jsp</a> where 'index.jsp' is some example page.</p>
  
  <p>But when I try to access my JSP pages through port 7070, the Jetty server (on which Openfire runs) always reports error 404 'page not found'. I guess this is because the binding to my folder which contains JSP pages hasn't been set. How to do this binding thing please?</p>