(Servlet 3.0) Using @MultipartConfig, but getParts() returns null

Setup You are trying to use the new getParts() method defined in the Servlet 3.0 spec to process your multipart/form-data HTTP-POST uploads without using Commons FileUpload. Your servlet looks something like this: @WebServlet("/image/*") @MultipartConfig(location="D:\\Temp", fileSizeThreshold=10, maxFileSize=10485760) public class ImageServlet extends APIServlet { } And your HTML looks something like this: <form action="image/upload.json?version=1.0" enctype="multipart/form-data" method="POST"> <input […]

Continue Reading 0

Fenix PD30 R5 LED Flashlight Video Review

Introduction [8.5 out of 10] The Fenix PD30 (we reviewed the R5 revision) is a tactical, personal-sized super-flashlight. With a maximum output of 257 lumens on the highest setting (2hr runtime), durable shock and water-resistent design and varying modes of operation, the PD30 gets a strong recommendation from us for anyone wanting to get a […]

Continue Reading 0

The Box Movie Review

Summary [9 out of 10] The Box was a poorly marketed Sci-Fi thriller based on a short story with (what I found) to be a great extension of the source material with a very creative and well-told Sci-Fi story of it’s own. I never got the impression from the trailers of the movie that it […]

Continue Reading 0

Simple Java XML Parser (SJXP) 2.1 Released

Hot on the heals of the 2.0 release, SJXP 2.1 was released with the following changes: Fixed bug where isStartTag was always true for TAG type rules https://github.com/thebuzzmedia/simple-java-xml-parser/issues/closed#issue/6 Removed use of enhanced for-loop in code base because it caused a large number of AbstractList$Itr classes to be created for no great reason. https://github.com/thebuzzmedia/simple-java-xml-parser/issues/closed#issue/5 As always, head […]

Continue Reading 0

Simple Java XML Parser (SJXP) 2.0 Released

I am proud to scream from the top of my desk, directly at my closet, that Simple Java XML Parser (SJXP) 2.0 has just been released. The 2.0 release brings a huge performance boost over the 1.x series that decreases memory and CPU usage by an order of magnitude. Additionally, user object pass-through support was […]

Continue Reading 1

imgscalr Java Image-Scaling Library 3.1 Released

Announcement imgscalr 3.1, the high performance Java Image Scaling library was released. imgscalr’s focus has always been on simple, fast and correct image resizing in Java (an inherently convoluted subject with many different answers). The library itself consists of a single class (Scalr) and a series of thread-safe static methods used to scale an image. What is new […]

Continue Reading 0