Matt RaibleMatt Raible is a Web Developer and Java Champion. Connect with him on LinkedIn.

The Angular Mini-Book The Angular Mini-Book is a guide to getting started with Angular. You'll learn how to develop a bare-bones application, test it, and deploy it. Then you'll move on to adding Bootstrap, Angular Material, continuous integration, and authentication.

Spring Boot is a popular framework for building REST APIs. You'll learn how to integrate Angular with Spring Boot and use security best practices like HTTPS and a content security policy.

For book updates, follow @angular_book on Twitter.

The JHipster Mini-Book The JHipster Mini-Book is a guide to getting started with hip technologies today: Angular, Bootstrap, and Spring Boot. All of these frameworks are wrapped up in an easy-to-use project called JHipster.

This book shows you how to build an app with JHipster, and guides you through the plethora of tools, techniques and options you can use. Furthermore, it explains the UI and API building blocks so you understand the underpinnings of your great application.

For book updates, follow @jhipster-book on Twitter.

10+ YEARS


Over 10 years ago, I wrote my first blog post. Since then, I've authored books, had kids, traveled the world, found Trish and blogged about it all.

Export JSPWiki pages to HTML using Hula

This morning, I discovered Hula - a Java client API to the WikiRPCInterface. The nice feature I really like is that it allows you to export your wiki pages to static html. Here's how to set it up on your JSPWiki:

  • Uncomment the XML RPC servlet-mappings in web.xml.
  • Download Hula.
  • Rename hula.zip to hula.jar and put it into JSPWiki's WEB-INF/lib.
  • Copy apps/*.jsp to webapps/JSPWiki/.
You can use my trimmed down version if you like, it only has hula.jar and the JSPs.

Now I can write all my AppFuse documentation on the wiki and bundle it with the downloads - very nice.

Posted in Java at Dec 11 2003, 11:52:03 AM MST 3 Comments
Comments:

I had to change the printwikistart.jsp slightly to make it work. Here are my settings: Servlet mapping in web.xml: <servlet-mapping> <servlet-name>XMLRPC</servlet-name> <url-pattern>/RPC2/</url-pattern> </servlet-mapping> In the printwikistart.jsp I changed the line: mClient = new RPCClient("http://"+request.getServerName()+"/wiki/RPC2/"); to: mClient = new RPCClient("http://"+request.getServerName()+":8080/InexwareWiki/RPC2/"); where 'InexwareWiki' is the name of our webapp. The code should probably be modified to get the webapp name and port number dynamically, but this is just to show what I had to change. /Thomas Nicholls

Posted by Thomas on December 15, 2003 at 10:52 AM MST #

Oops, that comment ended up being very badly formated. Basically I just had to change the two JSPs, since they supposed that my webapp was running on port 80 with the webapp name 'wiki'.

Posted by Thomas on December 15, 2003 at 11:00 AM MST #

I'm the author of Hula, and color me pleased that someone is actually using it and enjoying it. I'll let people know that a new version is out that now natively includes hula.jar and also includes a Table Of Contents printing style, by which you pick a page to display, and that page plus every page it directly references will be displayed (see here for an example).

Posted by Mahlen Morris on January 01, 2004 at 06:47 PM MST #

Post a Comment:
  • HTML Syntax: Allowed