Configure proxy server HttpURLConnection If you or your company using proxy server to filter out the request then please pass proxy server information as below to send request and get response:
Send Get request java Below is sample java program to send get request. We will send get request to Google search with single parameter and read the search results from response:
Java servlet hello world dynamic web module 2.5 Java Servlet hello world This demo will show you how to create servlet dynamic web application on dynamic web module 2.5 in java.
Java Servlet hello world This demo will show you how to create servlet dynamic web application hello world in java. We will create java servlet hello world application using dynamic web module 3.0. Please note: If you use dynamic web … Continue reading
No tag library could be found with this URI taglib prefix c If you see below error:
NoClassDefFoundError-org-apache-taglibs-standard-tag-rt-core-IfTag java.lang.NoClassDefFoundError: org/apache/taglibs/standard/tag/rt/core/IfTag If you see below error:
Send email using spring from Gmail and Yahoo Spring Framework gives very helpful utility library to send an email which is responsible for doing all lower level resource handling for the client.
Send email from Yahoo java Sample java program to send email from yahoo account to different email account. Please have java program below:
Convert string to image java Below is program which will convert string to image java . We are using Apache commons codec library to convert image to Base64 string so we need commons-codec-1.9.jar or latest version and this you could … Continue reading
Convert image to string java Below is demo java program where we will read image from local folder and convert it to string and once we convert image to string we will convert it back byte array and write back … Continue reading