Posts by Cadudragon • 61 points
4 posts
-
2
votes2
answers818
viewsA: Referencing CSS in jsp via$pagecontext.request.contextpath in tomcat8 does not work
The following jsp configuration in web.xml was wrong: <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd" > After much…
-
1
votes2
answers818
viewsQ: Referencing CSS in jsp via$pagecontext.request.contextpath in tomcat8 does not work
I am using Tomcat 8. My css and js files do not load into jsp via $pagecontext.request.contextpath in tomcat8. I can only load css if I set the absolute path from the webapp directory.…
-
0
votes2
answers325
viewsA: Byte validation through an image bit array
I ended up solving my problem using the following libraries: import org.apache.commons.codec.binary.Hex; import org.apache.commons.io.IOUtils; With Commons.io.Ioutils the transformation of…
-
3
votes2
answers325
viewsQ: Byte validation through an image bit array
I am trying to validate an incoming image in an FTP folder. The images start with the bytes "FFD8" and end with the sequence "FFD9" so that there is the possibility to perform the check. I’m getting…