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.

Java2Html Plugin for JSPWiki causes downtime

There's an annoying thing that currently happens with the Java code on my wiki: selecting code to copy doesn't work in Firefox (try it). Any easy workaround is to use IE. However, I found a solution yesterday after communicating with the author of the Java2HtmlPlugin for JSPWiki. His solution was to upgrade to the latest version (4.1) of the library. I did the upgrade yesterday morning, tweaked a couple of stylesheets and called it good. The copying was working and everything seemed to be fixed.

In the last 24 hours, this site has crashed around 8 times - seemingly every two hours. This is strange b/c it's been up a week at a time prior to that, as well as the fact that my ISP has scripts to restart Tomcat if it's not responsive. The only thing I changed was the java2html.jar, so I'm guessing that was the problem. I backed out the change this morning - and copying with Firefox is going to suck once again. Hopefully that change fixes the stability of this site.

Update: This site crashed 3 times today even after I backed out yesterday's change. It must be something else. It's wierd that it's crashing now after having several weeks of excellent stability.

Posted in Java at Apr 28 2005, 09:48:13 AM MDT 8 Comments
Comments:

Not sure why this works...but if you hold ctrl and click on a code block you can copy/paste the block fine. Still rather annoying though.

Posted by James Estes on April 28, 2005 at 10:34 AM MDT #

Just to be a pain... I have to say 24/8 = 3 ;) Thanks James for the tip on the Ctrl+Left Click. It would be nice to be able to select a section of a block, but the whole block is better than a single line ;) I must agree with you Matt, stability of the site is far more important.

Posted by Nathan on April 28, 2005 at 10:46 AM MDT #

Or you can start graping from the right-hand bottom corner and move your way up to copy a block. Of course CTRL and click is far easier.

Posted by Vui Lo on April 28, 2005 at 11:18 AM MDT #

You can also do SHIFT-click by first clicking at the top of the code and then using SHIFT-click at the bottom. Mozilla rememebers where your first click occured, thus allowing you to select a range. It is interesting what you find out when you are testing bugs.

Posted by Dan Allen on April 28, 2005 at 01:08 PM MDT #

Don't know if this has changed, as I haven't tried it lately, but... When I copied/pasted from my browser (IE or Firefox) to Eclipse and compiled, I got all kinds of errors. If I went through and deleted all the white spaces and recreated them from Eclipse (the white spaces) everything seemed to work fine. Not sure why.

Posted by David Thompson on April 28, 2005 at 01:48 PM MDT #

I tried that: SHIFT Click and while holding SHIFT click at the bottom.

Posted by gant on May 17, 2005 at 08:32 PM MDT #

I use the AutoCopy extension for FF and it seems to work OK for me. As the name implies, you just select the desired text and it is automatically copied to the clipboard.

Posted by Gary White on February 11, 2006 at 12:24 AM MST #

Copying seems to work fine for me. Perhaps something has changed in Firefox? I'm using 1.5.0.4.

Posted by Steve Stair on July 17, 2006 at 02:27 PM MDT #

Post a Comment:
  • HTML Syntax: Allowed