In this Tutorial we are going to see that how can we Handle SESSION in JSP.
1. Setting Session :
Before we validate or check the existing session it is important to know that how we set session in JSP.
we use session.setAttribute("ATTRIBUTE NAME","ATTRIBUTE VALUE"); you can set as many attribute as you want.
2. Retrieving valuse from session attribute
To retrieve value from session attribute we use following method. session.getAttribute("attribute name");
to store the retrieved value in a variable we write code as shown below.
data-type variable-name=(data type cast)session.getAttribute("attribute...
Wednesday, March 20, 2013
Wednesday, March 13, 2013
0
Web.XML Explained
apache web.xml
Deployment Descriptor
tutorial
web project
web xml
web.xml
web.xml tutorial
webshpere
The web.xml Deployment Descriptor file tell about that how application will be deployed in the server or servlet container such as TOMCAT
This file is Required for every application which will be deployed on Tomcat/Apache . The location of Web.XML is always Application-root/WEB-INF/web.xml or WebContent/WEB-INF/web.xml
There is minimum one tag is required in web.xml that is <web-app> TAG. This contains following information
<?xml version="1.0" encoding="ISO-8859-1"?>
<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee...
2
File Download Script For JSP

In this Tutorial i'm going to explain how you can serve files to your users using JSP. Since we are not serving a HTML page so first we need to tell the browser that what kind of data we are going to serve for that we set Response Headers
response.setContentType("application/msword"); response.addHeader( "Content-Disposition","attachment; filename=your file name" );
Here application/msword is the mime type you can search internet for diff. mime type required for diff. extensions few commonly used are
image/jpeg
text/plain
application/pdf
link format for filedownload
<a href="download.jsp?filename=myresume.doc">Download...
Wednesday, February 27, 2013
0
Integrating Image slider to a Web Page
In this tutorial step by step i am going to expalin that how you can integrate slider into your web application.
Prerequisite
Download thie required files . i packed all required files in a zip , click Here to download zip
if you Downloded the files . then extract them and folllow these steps.
create a New HTML file or if you want to integrate in existing Page . create a New div tag whre ever you want and follow next step
Copy all files to your project directory if you want to add this to existing Project
add following files to your Headerof the Page
<link rel="stylesheet" href="themes/default/default.css" type="text/css"...
Friday, February 22, 2013
0
Create Relationship Timeline on Facebook
In Facebook Timeline there is feature of creating a Relationship timeline By which you can see what happens between you and other person on Facebook even you can share it with your friends , customize it by uploading cover photo.
How to build it ?
1. in chat bar hover on the person name to whom with you wanna see relationship , it display a box ,click on see friendship link
2. open user profile , click on settings icon tab and then select see friendship.
...
Wednesday, February 20, 2013
1
How to Track Facebook Pending Friend Requests
Finally there is A Trick by which you can track your Facebook Friend Requests and you can save your self from getting blocked for 30 days .
How This Trick Works ?
This is Just two Step Process and you need not to be a Geek for that .
Go to your Profile .
Click on Activity Log
Tab . this will open a new page. which looks something same as shown below
check on Include only Me Activity box so it will be easy to see your recent activities.
Now Scroll Down and See your sent Requests Activity . it will be something like. ...
Tuesday, February 12, 2013
0
Facebook Developers Live

#infinite_list li{
list-style: none;
}
Today Facebook Announced Its New Section for developers Called Facebook Developers Live.it will be going live from feb. 20th. To join developers Live visit here
what it Provides For Developer ?
It provides all the resources for developing and growing your Facebook Application. Specially the most needed section of Facebook developer "Video Tutorials"
Growing Mobile Apps with Facebook SDKs
Showcase
03:51
How to Build & Measure Mobile App Install Ads
Screencast
08:40
Facebook...
Wednesday, February 6, 2013
0
Are you Ready For New Ubuntu Phone ??

Recently Ubuntu Announced that its Phone will be available in market in last quarter of 2013.So Are you ready for getting hands on New Phone Experience .
At the Press Release in London Mark Shuttleworth said that
Calling the product launch a “significant next step in our history”, he also gave demo of the device
Ubuntu Phone Preview
But What's Special about Ubuntu ?
Ubuntu Provides some Features that makes your Phone Experience amazing
Access Everything by just 1 finger swipe
Full utilization of Mobile Screen
Everything on screen but Nothing shown until you...
Subscribe to:
Posts (Atom)