Category Archives: Java Server Pages(JSP)

Trouble Splitting String Using | [pipe] in Java

While developing java application I came across a problem while splitting string in java using pipe | as delimiter. The problem I was getting is that when using below code: Tweet

Tags: , , ,

Reading and Writing Linux Files Using JSCH (Java)

JSCH (Java Secure Channels) JSCH allows us to connect to sshd server and use file transafer, port forwarding, X11 forwarding and we can use its functionality in our java applications. I have created an example which shows us how to use JSCH in java application to read and write linux files. JSch is in pure Java, but it depends on JavaTM Cryptography Extension (JCE) Below is class which consist two methods: 1st one is used to read files from linux and [...]

Tags: , , , , , , , ,

Convert TIFF to JPEG using Java Advance Imaging

Java advance imaging API allows you to convert Tiff to JPEG. You need to download & install Java Advance Imaging before adding conversion functionality in your project. Below is the method and usage for converting Tiff to JPEG in JAVA. Tweet

Tags: , , , , ,