For solving your problem do the following:
1-Set your HTML encoding to UTF-8 by using meta tag
2-Set your JSP encoding to UTF-8 by using @page directive
3-Recomended to Set the default encoding of your server VM to utf-8
by using System.setPropert(...)
4-Recommended to add filters to your application to change request
and response character encoding to UTF. Java Tutorial has a very good
tutorial
5-In SQL* plus, some changes needed in nls and default font OR
develope a new one with unicode support :)
6-For solving sorting problem create a new encoding file for persian.
Oracle9i has a tool for these purpose. It's simple and fast.
7-compile and deploy ;-)
8-Enjoy your persian Web Application. ;-)
9-Send an email for me if your problem solved.