| A Servlet that generates HTML views of an Agent's Blackboard.
This Servlet allows the user to:
- List Tasks, PlanElements, Assets, UniqueObjects
- View detailed information for Tasks, PlanElements,
etc.
- Search for an item by UID
- Illustrates the use of URLs to allow the user to
seamlessly jump between views of separate blackboards
- Provide XML views of data (using XMLize)
.
This is a very large Servlet and is overly-complex to be
a good example for future Servlet developers. Consider
using this simple example:
public class HelloServlet extends HttpServlet {
private SimpleServletSupport support;
public void setSimpleServletSupport(SimpleServletSupport support) {
this.support = support;
}
public void doGet(
HttpServletRequest req,
HttpServletResponse res) throws IOException {
PrintWriter out = req.getWriter();
out.print("Hello from agent "+support.getEncodedAgentName());
}
}
|