The net's largest PHP, CGI, Perl, JavaScript and ASP script collection and resource web portal
  New Listings
New Listings
Most Popular
Most Popular
Top Rated
Top Rated
Discussion
Discussion
Link to Us!
Link To Us
Search For:         
   
 
Sponsors


Categories

Ajax
ASP
ASP.NET
C and C++
CFML
CGI and Perl
Flash
Java
JavaScript
PHP
Python
Remotely Hosted
Ruby on Rails
Tools and Utilities
Web Hosting
XML

Sponsor Links


Home :: Java :: Tips and Tutorials :: JSP and Servlets
Click "Subscribe" if you want to be notified of new or updated links in this category.

 
Content Management (1)
Cookies and Sessions (4)
Database-Related (7)
Development (27)
Form Processing (3)
Frequently Asked Questions (1)
Installing JSP and Servlets (3)
Introduction to Servlets (25)
JavaBeans (4)
Miscellaneous (7)
Networking (2)
XML (1)


  Total: 4    Displaying: 1 - 20 Pages:  1   

   Handling Unhandled Exceptions   Hits: 609 

 
Java Server Pages (JSP) could handle any erros that might be arised in scriptlets, expressions, or other JSP elements. You could use try/cacth blocks to handle any known erros. In this technic we could use to display a custom error on our file where unhandled exception is thrown.


Free   Version: n/a   Platform(s): linux, windows, freebsd, sun   Updated: Wed Mar 22 2006

Listing Details
Visit
Refer
PDF
  Member Reviews (0) Visitor Ratings

   How to set cookies in JSP   Hits: 1317 

 
You can put client's browser a cookie in JSP easily. Following example displays how to create cookie and set target browser.


Free   Version: n/a   Platform(s): windows, freebsd   Updated: Tue Mar 21 2006

Listing Details
Visit
Refer
PDF
  Member Reviews (0) Visitor Ratings

   Sending Emails in JSP   Hits: 923 

 
Before to start to examine this sample code, you need a SMTP server. If you know your mail server name you could easily use this sample code in a real website. We will use JavaMAIL API. You must put j2ee.jar under WEB-INF/lib folder in your web work folder. Our testing system is Red Hat Linux with Tomcat 5.


Free   Version: n/a   Platform(s): linux, windows, freebsd, sun   Updated: Tue Mar 21 2006

Listing Details
Visit
Refer
PDF
  Member Reviews (0) Visitor Ratings

   Starting to work with JSP Sessions   Hits: 895 

 
Session are very helpful to associate some data with each visitor. You may pass and retrieve values in diffrent page using sessions. All sessions are an object associated with each web client. In this sample code we will create a session named `username` and later put a value inside our new Session object. On next step we will get our session value. .


Free   Version: n/a   Platform(s): linux, windows, freebsd, sun   Updated: Tue Mar 21 2006

Listing Details
Visit
Refer
PDF
  Member Reviews (0) Visitor Ratings


Register | FAQ/Support | Contact Us | About Us | Getting Rated | Link to Us | Bookmark Us | Advertising Info | Terms of Use | Privacy Policy
Copyright © 2008 iNET Interactive. All rights reserved.
Other iNET Interactive Sites:
Web Hosting Talk | dBForums | Mac Forums | Hosting Catalog