Software Development Life Cycle (SDLC)

Tuesday, September 4, 2012

to be continued


How to give command line arguments in eclipse

Wednesday, March 14, 2012

It's simple,
Create a test programe on eclipse IDE.

public class NameArguments {
public static void main(String[] args) {
System.out.println("First Name " + args[0]);
System.out.println("Last Name " + args[1]);

Goto: Run->Run Configurations

in that window select Arguments tab and give the arguments(only the arguments)
Notice that there is at least one space between every two arguments.
Then just click Apply

execute the code.
output would be

First Name Pradeep
Last Name Rathnayaka


JSP URL Mapping

Wednesday, January 4, 2012

Given in the figure below JSP resources reside under subdirectories or directly there in the document root that are accessible directly to users via URL. In order to protect the web resources, behind WEB-INF directory hide the JSP files that provide protection to JSP files, Java Script files, image files, css files (cascading style sheets), pdf files, html files etc, from the direct access. To servlet, a request shall be made as it is responsible for the authorization as well as authentication of use before JSP pages/resources are returned.


  © Blogger template Writer's Blog by 2008

Back to TOP