org.apache.jasper.JasperException: Failed to load or instantiate TagExtraInfo class
(I had to shorten the article title to fit!)
I’ve just had a problem when I’ve taken a web application from my local Tomcat 5.5 development server (where it worked fine) and uploaded it onto a public server (also using Tomcat 5.5).
We have several web applications derived from the same code base and as well as sharing the jars in WEB-INF/lib, we provide set of administration pages to allow users to configure and administer the applications. Until now, we’ve always had to make copies of the admin pages and this has caused us configuration headaches as [...]
This article describes how we used Groovy to create a DSL for the clauses in a rules engine. We have been collaborating in the development of an “expert system” application for KnowledgeBench Ltd. This application uses a forward chaining rules engine to provide a “smart” system capable of [...]
I’ve recently been having difficulty getting JNDI lookup for MySQL connection pools working on our public server.
This proved very difficult to track down as all the stuff that I could find on the web said that I had to have:
commons-dbcp-1.2.1.jar commons-pool-1.2.jar mysql-connector-java-3.1.6-bin.jar
(or the latest appropriate versions)
Unfortunately this didn’t work and my [...]
If you’re writing a JSP using the JSTL tag <c:catch var=”myError”> … </c:catch> then I’m sure that you know that the next thing to do is to check after the closing catch tag to see if myError is empty. If not you can output some useful error message having successfully caught any exception. However, sometimes [...]
We’ve recently had a problem where we wanted to produce a website in multiple languages including Russian, Czech, Romanian, and other eastern European languages. No problems, we thought, we can just use Java properties files and the fmt:message JSTL tags.
Hi again, I’m now tackling something I’ve been meaning to do for ages (and probably should have done before I started the project) and that is to use Hibernate rather than rolling my own SQL.
I’m reading the book “Hibernate in Action” by Christian Bauer and Gavin King and have been trying it [...]
I’ve been having problems with putting unicode strings into the subject of emails sent using javax.mail.
In the end, the solution was very simple and I found it here:
As long as you use “UTF-8″ and not “UTF8″ it all seems to work fine, so the code you need is:
Properties props [...]
Further to my post about creating properties files when I had text files in unicode, we decided that the best thing was to have a web application to do the conversion. You can then just paste in whatever text you want to encode and it tells you what the java escaped text string(s) should be.
If you enjoyed reading or using this, please consider donating