Showing posts with label oops. Show all posts
Showing posts with label oops. Show all posts

Saturday, 16 December 2017

How Does Image Upload Controller Is Used JSP Java Programming...

Learning Java Programming Made Easy

Below is the program which uploads the image to the webpage in jsp java program. This program is stored in a jsp controller file and called in form control tag inside view page(html/jsp).





<%--
    Document   : ImageUploadController
    Created on : Oct 4, 2017, 6:40:15 PM
    Author     : HP
--%>

<%@page import="org.w3c.dom.Document"%>
<%@page import="java.io.*,java.util.*, javax.servlet.*" %>
<%@page import="javax.servlet.http.*" %>
<%@page import="org.apache.commons.fileupload.*" %>
<%@page import="org.apache.commons.fileupload.disk.*" %>
<%@page import="org.apache.commons.fileupload.servlet.*" %>
<%@page import="org.apache.commons.io.output.*" %>

<%
   File file ;
   int maxFileSize = 5000 * 1024;
   int maxMemSize = 5000 * 1024;
   String filePath = "C:/Users/HP/Documents/NetBeansProjects/HIbernateWEB/web/ImageStorage/";

   String contentType = request.getContentType();
   
   if ((contentType.indexOf("multipart/form-data") >= 0)) {

      DiskFileItemFactory factory = new DiskFileItemFactory();
      factory.setSizeThreshold(maxMemSize);
      factory.setRepository(new File("c:\\temp"));
      ServletFileUpload upload = new ServletFileUpload(factory);
      upload.setSizeMax( maxFileSize );
      try{ 
         List fileItems = upload.parseRequest(request);
         Iterator i = fileItems.iterator();
         out.println("<html>");
         out.println("<body>");
         
         while ( i.hasNext () ) 
         {
            FileItem fi = (FileItem)i.next();
            if ( !fi.isFormField () )  {
                String fieldName = fi.getFieldName();
                String fileName = fi.getName();
                boolean isInMemory = fi.isInMemory();
                long sizeInBytes = fi.getSize();
                file = new File( filePath + fileName) ;
                fi.write( file ) ;
                
                
    
                out.println("Uploaded Filename: " + filePath + fileName + "<br>");
            }
         }
        
    
         
         out.println("</body>");
         out.println("</html>");
      }catch(Exception ex) {
         System.out.println(ex);
      }
   }else{
      out.println("<html>");
      out.println("<body>");
      out.println("<p>No file uploaded</p>"); 
      out.println("</body>");
      out.println("</html>");
   }
%>



Wednesday, 13 December 2017

How Does Java.Util Pagackage is used in Java?

Learning Java Programming Made Easy




Java.util Package in Java


Java.util Package

It contains the collections framework, legacy collection classes, event model, date and time facilities, internationalization, and miscellaneous utility classes (a string tokenizer, a random-number generator, and a bit array).
Following are the Important Classes in Java.util package :
  1. AbstractCollection: This class provides a skeletal implementation of the Collection interface, to minimize the effort required to implement this interface.
  2. AbstractList: This class provides a skeletal implementation of the List interface to minimize the effort required to implement this interface backed by a “random access” data store (such as an array).
  3. AbstractMap<K,V>: This class provides a skeletal implementation of the Map interface, to minimize the effort required to implement this interface.
  4. AbstractMap.SimpleEntry<K,V>: An Entry maintaining a key and a value.
  5. AbstractMap.SimpleImmutableEntry<K,V>: An Entry maintaining an immutable key and value.
  6. AbstractQueue: This class provides skeletal implementations of some Queue operations.
  7. AbstractSequentialList: This class provides a skeletal implementation of the List interface to minimize the effort required to implement this interface backed by a “sequential access” data store (such as a linked list).
  8. AbstractSet: This class provides a skeletal implementation of the Set interface to minimize the effort required to implement this interface.
  9. ArrayDeque: Resizable-array implementation of the Deque interface.
  10. ArrayList: Resizable-array implementation of the List interface.
  11. Arrays: This class contains various methods for manipulating arrays (such as sorting and searching).
  12. BitSet: This class implements a vector of bits that grows as needed.
  13. Calendar: The Calendar class is an abstract class that provides methods for converting between a specific instant in time and a set of calendar fields such as YEAR, MONTH, DAY_OF_MONTH, HOUR, and so on, and for manipulating the calendar fields, such as getting the date of the next week.
  14. Collections: This class consists exclusively of static methods that operate on or return collections.
  15. Currency: Represents a currency.
  16. Date: The class Date represents a specific instant in time, with millisecond precision.
  17. Dictionary<K,V>: The Dictionary class is the abstract parent of any class, such as Hashtable, which maps keys to values.
  18. EnumMap,V>: A specialized Map implementation for use with enum type keys.
  19. EnumSet: A specialized Set implementation for use with enum types.
  20. EventListenerProxy: An abstract wrapper class for an EventListener class which associates a set of additional parameters with the listener.
  21. EventObject: The root class from which all event state objects shall be derived.
  22. FormattableFlags: FomattableFlags are passed to the Formattable.formatTo() method and modify the output format for Formattables.
  23. Formatter: An interpreter for printf-style format strings.
  24. GregorianCalendar: GregorianCalendar is a concrete subclass of Calendar and provides the standard calendar system used by most of the world.
  25. HashMap<K,V>: Hash table based implementation of the Map interface.
  26. HashSet: This class implements the Set interface, backed by a hash table (actually a HashMap instance).
  27. Hashtable<K,V>: This class implements a hash table, which maps keys to values.
  28. IdentityHashMap<K,V>: This class implements the Map interface with a hash table, using reference-equality in place of object-equality when comparing keys (and values).
  29. LinkedHashMap<K,V>: Hash table and linked list implementation of the Map interface, with predictable iteration order.
  30. LinkedHashSet: Hash table and linked list implementation of the Set interface, with predictable iteration order.
  31. LinkedList: Doubly-linked list implementation of the List and Deque interfaces.
  32. ListResourceBundle: ListResourceBundle is an abstract subclass of ResourceBundle that manages resources for a locale in a convenient and easy to use list.
  33. Locale – Set 1Set 2: A Locale object represents a specific geographical, political, or cultural region.
  34. Locale.Builder: Builder is used to build instances of Locale from values configured by the setters.
  35. Objects: This class consists of static utility methods for operating on objects.
  36. Observable: This class represents an observable object, or “data” in the model-view paradigm.
  37. PriorityQueue: An unbounded priority queue based on a priority heap.
  38. Properties: The Properties class represents a persistent set of properties.
  39. PropertyPermission: This class is for property permissions.
  40. PropertyResourceBundle: PropertyResourceBundle is a concrete subclass of ResourceBundle that manages resources for a locale using a set of static strings from a property file.
  41. Random: An instance of this class is used to generate a stream of pseudorandom numbers.
  42. ResourceBundle: Resource bundles contain locale-specific objects.
  43. ResourceBundle.Control: ResourceBundle.Control defines a set of callback methods that are invoked by the ResourceBundle.getBundle factory methods during the bundle loading process.
  44. Scanner: A simple text scanner which can parse primitive types and strings using regular expressions.
  45. ServiceLoader: A simple service-provider loading facility.
  46. SimpleTimeZone: SimpleTimeZone is a concrete subclass of TimeZone that represents a time zone for use with a Gregorian calendar.
  47. Stack: The Stack class represents a last-in-first-out (LIFO) stack of objects.
  48. StringTokenizer: The string tokenizer class allows an application to break a string into tokens.
  49. Timer: A facility for threads to schedule tasks for future execution in a background thread.
  50. TimerTask: A task that can be scheduled for one-time or repeated execution by a Timer.
  51. TimeZone: TimeZone represents a time zone offset, and also figures out daylight savings.
  52. TreeMap<K,V>: A Red-Black tree based NavigableMap implementation.
  53. TreeSet: A NavigableSet implementation based on a TreeMap.
  54. UUID: A class that represents an immutable universally unique identifier (UUID).
  55. Vector: The Vector class implements a growable array of objects.
  56. WeakHashMap<K,V>: Hash table based implementation of the Map interface, with weak keys.

How Does java.lang package is used in java?

Learning Java Programming Made Easy



Java.lang package in Java


Java.lang package in Java

Provides classes that are fundamental to the design of the Java programming language. The most important classes are Object, which is the root of the class hierarchy, and Class, instances of which represent classes at run time.
Following are the Important Classes in Java.lang package :
  1. Boolean: The Boolean class wraps a value of the primitive type boolean in an object.
  2. Byte: The Byte class wraps a value of primitive type byte in an object.
  3. Character – Set 1, Set 2: The Character class wraps a value of the primitive type char in an object.
  4. Character.Subset: Instances of this class represent particular subsets of the Unicode character set.
  5. Character.UnicodeBlock: A family of character subsets representing the character blocks in the Unicode specification.
  6. Class – Set 1Set 2 : Instances of the class Class represent classes and interfaces in a running Java application.
  7. ClassLoader: A class loader is an object that is responsible for loading classes.
  8. ClassValue: Lazily associate a computed value with (potentially) every type.
  9. Compiler: The Compiler class is provided to support Java-to-native-code compilers and related services.
  10. Double: The Double class wraps a value of the primitive type double in an object.
  11. Enum: This is the common base class of all Java language enumeration types.
  12. Float: The Float class wraps a value of primitive type float in an object.
  13. InheritableThreadLocal: This class extends ThreadLocal to provide inheritance of values from parent thread to child thread: when a child thread is created, the child receives initial values for all inheritable thread-local variables for which the parent has values.
  14. Integer :The Integer class wraps a value of the primitive type int in an object.
  15. Long: The Long class wraps a value of the primitive type long in an object.
  16. Math – Set 1, Set 2: The class Math contains methods for performing basic numeric operations such as the elementary exponential, logarithm, square root, and trigonometric functions.
  17. Number: The abstract class Number is the superclass of classes BigDecimal, BigInteger, Byte, Double, Float, Integer, Long, and Short.
  18. Object: Class Object is the root of the class hierarchy.
  19. Package: Package objects contain version information about the implementation and specification of a Java package.
  20. Process: The ProcessBuilder.start() and Runtime.exec methods create a native process and return an instance of a subclass of Process that can be used to control the process and obtain information about it.
  21. ProcessBuilder: This class is used to create operating system processes.
  22. ProcessBuilder.Redirect: Represents a source of subprocess input or a destination of subprocess output.
  23. Runtime: Every Java application has a single instance of class Runtime that allows the application to interface with the environment in which the application is running.
  24. RuntimePermission: This class is for runtime permissions.
  25. SecurityManager: The security manager is a class that allows applications to implement a security policy.
  26. Short: The Short class wraps a value of primitive type short in an object.
  27. StackTraceElement: An element in a stack trace, as returned by Throwable.getStackTrace().
  28. StrictMath: The class StrictMath contains methods for performing basic numeric operations such as the elementary exponential, logarithm, square root, and trigonometric functions.
  29. String: The String class represents character strings.
  30. StringBuffer: A thread-safe, mutable sequence of characters.
  31. StringBuilder: A mutable sequence of characters.
  32. System: The System class contains several useful class fields and methods.
  33. Thread: A thread is a thread of execution in a program.
  34. ThreadGroup: A thread group represents a set of threads.
  35. ThreadLocal: This class provides thread-local variables.
  36. Throwable: The Throwable class is the superclass of all errors and exceptions in the Java language.
  37. Void: The Void class is an uninstantiable placeholder class to hold a reference to the Class object representing the Java keyword void.

How Does java.io pacakage in Java Programming ?

Learning Java Programming Made Easy



Java.io Package in Java


Java.io Package in Java


This package provides for system input and output through data streams, serialization and the file system. Unless otherwise noted, passing a null argument to a constructor or method in any class or interface in this package will cause a NullPointerException to be thrown.
Following are the important classes in Java.io package:
  • BufferedInputStream
  • BufferedOutputStream
  • BufferedReader
  • BufferedWriter
  • ByteArrayInputStream
  • ByteArrayOutputStream
  • CharArrayReader
  • CharArrayWriter – Set1 Set2
  • Console
  • DataInputStream – Set1 Set2
  • DataOutputStream
  • File
  • FileDescriptor
  • FileInputStream
  • FileOutputStream
  • FilePermission
  • FileReader and FileWriter
  • FilterInputStream
  • FilterOutputStream
  • FilterReader
  • FilterWriter
  • InputStream
  • InputStreamReader
  • LineNumberInputStream
  • LineNumberReader
  • ObjectInputStream
  • ObjectInputStream.GetField
  • ObjectOutputStream – Set 1 Set2
  • ObjectOutputStream.PutField
  • ObjectStreamClass
  • ObjectStreamField
  • OutputStream
  • OutputStreamWriter
  • PipedInputStream
  • PipedOutputStream
  • PipedReader
  • PipedWriter
  • PrintStream – Set1   Set2
  • PrintWriter – Set1  Set2
  • PushbackInputStream
  • PushbackReader
  • RandomAccessFile
  • Reader
  • SequenceInputStream
  • SerializablePermission
  • StreamTokenizer – Set1 Set2
  • StringBufferInputStream
  • StringReader
  • StringWriter
  • Writer
  • ZipInputStream class in Java
  • ZipEntry class in Java
  • JarEntry class in Java
  • ZipOutputStream class in Java
  • Zip.InflaterInputStream class in Java
  • Zip.DeflaterInputStream class in Java
  • Zip.DeflaterOutputStream class in Java

Sunday, 10 December 2017

How to write Java program to get a list of all file/directory names from the given

Learning Java Programming Made Easy


Here is an example program to get the list of all file/directory names from the given link...

Please try this by your self and learn..



import java.io.File; import java.util.Date; public class Exercise1 { public static void main(String a[]) { File file = new File("/home/students/"); String[] fileList = file.list(); for(String name:fileList){ System.out.println(name); } } }

Thursday, 7 December 2017

How to Send an Email through Java Programming

Learning Java Programming Made Easy


Java - Sending Email


To send an e-mail using your Java Application is simple enough but to start with you should have JavaMail API and Java Activation Framework (JAF)installed on your machine.


Download and unzip these files, in the newly created top-level directories, you will find a number of jar files for both the applications. You need to add mail.jar and activation.jar files to your CLASSPATH.

Send a Simple E-mail

Here is an example to send a simple e-mail from your machine. It is assumed that your localhost is connected to the Internet and capable enough to send an e-mail.

// File Name SendEmail.java

import java.util.*;
import javax.mail.*;
import javax.mail.internet.*;
import javax.activation.*;

public class SendEmail {

   public static void main(String [] args) {    
      // Recipient's email ID needs to be mentioned.
      String to = "abcd@gmail.com";

      // Sender's email ID needs to be mentioned
      String from = "web@gmail.com";

      // Assuming you are sending email from localhost
      String host = "localhost";

      // Get system properties
      Properties properties = System.getProperties();

      // Setup mail server
      properties.setProperty("mail.smtp.host", host);

      // Get the default Session object.
      Session session = Session.getDefaultInstance(properties);

      try {
         // Create a default MimeMessage object.
         MimeMessage message = new MimeMessage(session);

         // Set From: header field of the header.
         message.setFrom(new InternetAddress(from));

         // Set To: header field of the header.
         message.addRecipient(Message.RecipientType.TO, new InternetAddress(to));

         // Set Subject: header field
         message.setSubject("This is the Subject Line!");

         // Now set the actual message
         message.setText("This is actual message");

         // Send message
         Transport.send(message);
         System.out.println("Sent message successfully....");
      } catch (MessagingException mex) {
         mex.printStackTrace();
      }
   }
}

How to Perform Arithmetic Operations using Java Programming

Learning Java Programming Made Easy


Performing Arithmetic Operations using Java Programming:

/**
 * This program is used to perform arithmetic operations.
 * @author javatutorialpoint
 */
public class ArithmeticOperations {
      /**
       * This method is used to add two numbers.
       * @param num1
       * @param num2
       */
      static void addition(int num1, int num2){
            System.out.print("Addition of given numbers = ");
            System.out.println(num1 + num2);
      }     
 
      /**
       * This method is used to subtract two numbers.
       * @param num1
       * @param num2
       */
      static void subtraction(int num1, int num2){
            System.out.print("Subtraction of given numbers = ");
            System.out.println(num1 - num2);
      }     
 
      /**
       * This method is used to multiply two numbers.
       * @param num1
       * @param num2
       */
      static void multiplication(int num1, int num2){
            System.out.print("Multiplication of given no.s = ");
            System.out.println(num1 * num2);
      }     
 
      /**
       * This method is used to divide two numbers.
       * @param num1
       * @param num2
       */
      static void division(int num1, int num2){
            System.out.print("Division of given given no.s = ");
            System.out.println(num1 / num2);
      }     
 
      /**
       * This method is used to modulo divide two numbers.
       * @param num1
       * @param num2
       */
 
      static void moduloDivision(int num1, int num2){
            System.out.print("ModuloDivision of given no.s = ");
            System.out.println(num1 % num2);
      }
 
      public static void main(String args[]){
            //method call from main method
            addition(20, 10);
            subtraction(40, 30);
            multiplication(20, 30);
            division(20, 4);
            moduloDivision(20, 3);
      }
}

What is Difference Between Windows Web Hosting and Linux Web Hosting..?


Difference Between Windows Web Hosting and Linux Web Hosting


Introduction :

  • Linux and Windows are two different types of operating systems. 
  • Linux is the most popular operating system for web servers. 
  • Since Linux-based hosting is more popular, it has more of the features web designers expect.  So unless you have websites which need specific Windows applications, Linux is the preferred choice.

Windows Specific Applications:Windows Hosting

Windows applications which require a Windows server:
  • ASP Classic
  • ASP.NET
  • MSSQL (Microsoft SQL Server)
  • MS Access (Microsoft Access)
  • Visual Basic Development
  • C#
  • Remote Desktop (dedicated server only)
Windows Dedicated Servers can support additional Windows-specific applications. For some applications, you may need to purchase a license and install the software on your Windows dedicated server.
  • Microsoft Exchange (requires license & Installation)
  • Microsoft SharePoint (requires license & Installation)

Linux Specific Applications:Linux Hosting

Applications that require a Linux-based server.
  • SSH
  • Scripts or applications that require specific Apache modules



Control Panels:

Windows servers and Linux servers use different control panels.

  • cPanel is available on all Linux-based hosting plans, such as Linux Shared, Reseller, VPS and Linux Dedicated Servers.
  • WHM (Web Host Manager) is available on Linux Reseller, VPS and Dedicated Servers.
  • Plesk is available on Windows Shared and Dedicated Servers.


File Names:


Another difference between Linux and Windows servers is that Linux files are case sensitive while Windows files are not.


For example:
  • On a Linux server, home.html and Home.html are different names.
  • On a Windows server, home.htmlHome.html, and HOME.HTML are all the same name.


Server Security:


Although many people consider Linux to be more secure than Windows, both operating systems are equally secure. Security really depends more on the server setup and the administrators running the server. All of HostGator's managed servers are maintained with the latest security and performance patches and configured for optimal security.


ServiceShared/ResellerDedicated/VPS
Ad servingNoYes
Adobe ColdFusion
(Installation & configuration not available)
NoYes
Adobe Media Server (was Flash Media Server)NoYes
AdSpy SitesNoNo
AjaxYesYes
Alias files, aliasesYesYes
aMember ProYesYes
AmfphpYesYes
Apache 2YesYes
Apache CassandraNoYes
Apache FlexNoYes
Apple Mail, Mac MailYesYes
apt-get (would require a different OS than we provide)NoTIX
Aspell, PspellYesYes
AutosshNoYes
AWstats (included)YesYes
AWstats includesTIXYes
browscap, browscap.iniNoYes
Bugzilla (Installation & configuration not available)
(Snappy VPS 2000 or higher)
NoYes
Byte Range Requests/Byte ServingYesYes
C, C++, GCC, C CompilerNoYes
CakePHPYesYes
Clam AVNoTIX
CentOS 6.4 (included)YesYes
CGExtensionsYesYes
ClipShare/File SharingNoYes
Code signingNoYes
Colo, colocation servicesNoNo
Composer
(Installation & configuration not available)
NoYes
Compressed Files (.rar* .zip .tar.gz .bz2)YesYes
concrete5YesYes
CouchDBNoYes
cPanelYesYes
cPanel ProNoYes
cPanel skins - Third partyNoYes
CRE Loaded SitesYesYes
CRE Loader
(Not included, but you can install it)
YesYes
Cron jobs (included)YesYes
Crypt::SSLeay5TIXYes
CS-CartYesYes
cURL, libcurl, PHP/CURL (included)YesYes
Cyberduck FTPYesYes
DelavoYesYes
Disable open_base dirYesYes
Django (shared requires fastcgi)YesYes
dl() functionNoYes
Dolphin 7
(You provide installation and license)
NoYes
Ray, Orca, & older Dolphin versions (Boonex.com)YesYes
Drupal (included)YesYes
e107YesYes
eAcceleratorNoNo
eGroupWareYesYes
elggYesYes
Email PipingYesYes
ExpressionEngineYesYes
FastCGIYesYes
FFmpegNoVPS = No
Dedi = Yes
Flash FLV
(browsers must have MacroMedia Flash Player installed)
YesYes
Flv2toolNoYes
formailYesYes
formmailYesYes
fopenYesYes
FreeBSD, Ubuntu (all at your own risk)NoYes
fsockopenYesYes
FXP (File Exchange Protocol)NoYes
Game serverNoVPS = No
Dedi = Yes
GCD (Google Cash Detective)NoNo
GD2 Library (included)YesYes
get, WgetYesYes
GhostscriptYesYes
Git clientYesYes
Git serverNoYes
Gnome/KDE (No support or installation provided, install at your own risk)NoYes
GnuPGYesYes
Google AdSense & AdWordsYesYes
Google Apps & EmailYesYes
gzipYesYes
HIPAA complianceNoNo
HTML (Hyper Text Markup Language)YesYes
HTTP Digest AuthenticationNoYes
HTTP keep-aliveYesYes
HTTP streaming (audio/video)YesYes
If-Modified-Since HTTP headerYesYes
ihtmlNoYes
ImageMagick, Image Magick (included)YesYes
IMAPYesYes
imap_openYesYes
innoDBYesYes
ionCube Loader, decoderYesYes
IPsecNoVPS = No
Dedi = Yes
IRCNoNo
Java, Tomcat, .jspNoYes
Java virtual machine (JRE, JVM)NoYes
JavaServer Faces (JSF)NoYes
JavaScriptYesYes
JIRANoYes
Joomla (included)YesYes
JSONYesYes
KayakoYesYes
KVMNoNo
LAME MP3 EncoderNoYes
LaravelYesYes
LaTeX (but we do not support the binary)YesYes
LDAP, openldapNoYes
lib_curlYesYes
libmysqlclientYesYes
Libogg + LibvorbisNoYes
Live streaming, webcam, radio or video broadcastNoYes
Load balancingNoTIX
lynxTIXYes
MagentoYesYes
Mail - EximYesYes
Mail - any other MTA (postfix)NoYes
memcached
(Snappy 2000 VPS or higher)
NoYes
Midnight Commander, MCNoYes
Ming (PHP module)NoYes
Miva empresaNoYes
mod_deflate, mod_gzipYesYes
mod_layoutNoYes
mod_mimeYesYes
mod_pagespeedNoYes
mod_perl, mod_python, mod_sql_auth, mod_rubyNoYes
mod_rewrite, mod_speling
(must enable in .htaccess)
YesYes
mod_security, mod_secTIXYes
MokoalaYesYes
MongoDBNoYes
MoodleYesYes
mpeg2encTIXTIX
Mplayer + MEncoderNoYes
MySQL 5 (included)YesYes
MySQLiYesYes
mysqlndNoYes
MySQL ClusterNoYes
NNTP/UsenetNoYes
Node.jsNoYes
Nulled scripts (forbidden per our TOS)NoNo
NuSphere PhpExpressNoYes
OLSB, OLPNoNo
Online chat programsYesYes
openSSL 0.9.8oYesYes
Oracle (not recommended for VPS plans)NoYes
ownCloud (against our TOS on shared servers)NoYes
paFileDBNoNo
ParaChatNoYes
Payment gateway/merchant providerYesYes
PCI ComplianceYesYes
PCRE (Perl Compatible Regular Expressions)YesYes
PDFlib (requires commercial license)NoYes
PDFtkNoYes
PDO or pdo_mysqlYesYes
Pear MDB2TIXTIX
PEAR modules - full listYesYes
PennyWizeNoYes
Perl 5, Python 2, CGI, CPAN (all included)YesYes
Perl DBI moduleYesYes
PHP 5 (included)YesYes
PHP-FPM with Zend OPCache (Snappy 2000 VPS or higher)NoYes
PHP iconvYesYes
PHP and PECL modules - full listYesYes
PHP shell_execYesYes
PHP tokenizerYesYes
PHPArcadeScript, phpasYesYes
phpFoxYesYes
PHPmotionNoYes
PHP Multibyte String (mbstring)YesYes
phpMyAdmin (included)YesYes
Pine (email client)NoYes
PleskNoNo
PodcastingYesYes
POP3 (included)YesYes
PostgreSQL, Informix, Sybase Solid, Generic ODBCNoYes
PrestaShopYesYes
procmailYesNo
Proxy servers, socket servers, SOCKS 4, 4a, &5NoNo
Push Button Cash SiteNoNo
Push EmailNoNo
Python setuptoolsYesYes
QuickInstall (included)YesTIX
Rapid LeechNoYes
Red5 Media ServerNoYes
RedisNoYes
RHEL (Red Hat Enterprise Linux)NoYes
RiakNoYes
Round Robin DNSNoYes
RSS feedsYesYes
rsyncYesYes
Ruby on Rails (included)YesYes
Safe Harbor Certified (included)YesYes
SCP, SFTPYesYes
sem_getNoNo
Sendgrid SMTP
(Sending email via Sendgrid's SMTP servers via script) (Note: Sendgrid's Web API may work on shared & reseller, but is untested at this time.)
TIXYes
Server clock adjustments
(other than Central Standard Time [CST] & Central Daylight Saving [CDT])
NoYes
Server redundancyNoNo
session_gc, probability, divisor, maxlifetimeNoYes
Shared SSLNoNo
Shopping cartsYesYes
SHTML (SSI-enabled HTML), SSI, server side includes (all included)YesYes
ShoutCast, IcecastNoYes
SimpleXMLYesYes
SiteBuilder by Parallels Plesk (available by request)Shared = No
Reseller = Yes
Yes
SmartyYesYes
SMF (Simple Machines Forum)YesYes
SMS Gateway, MMSNoNo
SMTP (Simple Mail Transfer Protocol)(included)YesYes
SOAPYesYes
SoftaculousNoYes
SourceGuardian (decoder)YesYes
SoX (audio processing)YesYes
SpamAssassin, spamdYesYes
SQLiteYesYes
SRV record (Service Record)YesYes
SSH2 (included)YesYes
SSH tunnelNoYes
Streaming FlashNoYes
Subversion SVN ClientYesYes
SVN/CVS RepositoryNoYes
SWFToolsNoYes
tmpfs (configuration requires billing for admin time)NoYes
Trac, TracInstallNoYes
Urchin Stats (discontinued)NoYes
vBulletinYesYes
vi (requires SSH)YesYes
VidiscriptNoYes
VMware (virtualization)NoYes
VirtualEnvYesYes
VNC (You provide installation)NoYes
Voice servers (TeamSpeak/Ventrillo)NoYes
VPN/VPSNoVPS = No
Dedi = Yes
vtiger CRM, SugarCRM
(You provide installation and license)
YesYes
WAPYesYes
Webalizer (included) (Video tutorial)YesYes
Webdav (class 1)YesYes
Web DiskYesYes
WebMail Access: Horde, SquirrelMail, Roundcube (all included)YesYes
WHMYesYes
Wiki (MediaWiki, PhpWiki, TWiki)YesYes
Wildcard SSLmulti-domain SSLYesYes
WoopraYesYes
WordPress (included)YesYes
WordPress MU (now incorporated into WordPress 3.0 and above)YesYes
WSGI (Web Server Gateway Interface), mod_wsgiNoYes
X Windows (X11)NoNo
XAMPPNoYes
xdebugNoYes
XenNoYes
XMLxml-rpcYesYes
XMPP (you provide installation)NoYes
XOOPSYesYes
XSiteProYesYes
XSLTYesYes
XSSI (extended server side includes)NoYes
yamdiNoYes
yumNoYes
Zend CoreNoYes
Zend FrameworkNoYes
Zend Guard (replaces Optimizer)NoYes
zip_openYesYes
zlib compression libraryYesYes
Zope/PloneNoYes

Charactor_At_Position

public class Char_At_Position { public static void main(String[] args) { String str = "Wankhede"; String rev=""...