Get The Real Path Of A Servlet

Last updated on November 17th, 2015 at 05:13 amClick to rate this tutorial! [Total: 0 Average: 0]Sometimes programmers need to write a JSP or Servlet code that will save a text file to a particular path, Execute a shell / perl script etc., for this we need to find the real path in which our […]

Redirect to another page using Perl

Last updated on February 17th, 2022 at 06:59 pmClick to rate this tutorial! [Total: 0 Average: 0]Sometimes there will be a requirement for websites to redirect users to different location. For example in case of a perl application, once authenticated if the user belongs to a specific group then that user can be redirected to […]

Java Servlet create cookie example

Last updated on May 5th, 2016 at 01:59 amClick to rate this tutorial! [Total: 0 Average: 0]Java Servlet create cookie example, Just a straight forward and simple example on using Servlet to create a cookie and read it.. All you have to do is copy the below script and Name it as HttpCookie.java, Modify the […]

Shell script tutorial part 1

Last updated on November 18th, 2015 at 03:49 amClick to rate this tutorial! [Total: 0 Average: 0]Here is a simple shell script to start with, #!/bin/sh MY_MESSAGE=”Hello World” echo $MY_MESSAGE This assigns the string “Hello World” to the variable MY_MESSAGE then echoes out the value of the variable. Note that we need the quotes around […]