GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

GeekInterview.com  >  Interview Questions  >  J2EE
Go To First  |  Previous Question  |  Next Question 
 J2EE  |  Question 92 of 97    Print  
Java Tokens
What are tokens in Java? How and Where do we use them in an application. Give an example.


  
Total Answers and Comments: 2 Last Update: June 18, 2008     Asked by: sateeshm1 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
June 06, 2008 23:10:55   #1  
Sonthosh Member Since: June 2008   Contribution: 1    

RE: Java Tokens
Tokens in java means the string tokens generated by the string tokenizer based on the delimiters used. For example, if the phrase "hello world" is tokenized based on delimiter ' ', it will return two tokens namely 'hello' and 'world'.
 
Is this answer useful? Yes | No
June 18, 2008 01:41:16   #2  
gaanbd Member Since: June 2008   Contribution: 1    

RE: Java Tokens
Java Tokens are used in struts. when a form is refreshed the value gets submitted twice results in duplicate form submission. To avoid this each page is given a identity called token one can save token to page by saveToken method. then use verify token if the token matches duplicate submission will not happen.If it does not match form is submitted.
 
Is this answer useful? Yes | No

 Related Questions

1.what is meant by inheritance,single inhertiance,multiple inheritance?2.define abstract class & abstract method?3.how to developed and delopying a SERVELT,JSP program in the TOMCAT APACHE SERVER,WEBLOGIC 
Latest Answer : Basically inheritence means subclass inherit the features of his parent class as well as his own different additional features. The example is parents and child. The child have features from his mother and father as well as his own additional features. ...
Read Answers (17) | Asked by : sivakumar

Latest Answer : Java is a platfrom independent language. It is used for application programming.But JavaScipt is used to view the presentation part into the web browser. ...
Read Answers (7) | Asked by : vijay

Explain about 3-tier architecture in Java 
Latest Answer : middle tier is primarly based on processing the bussiness logic. The main idea of dividing into tiers is like the application developer can concentrate on specific tier in developing webapplication and the changes  that effect the entire application ...
Read Answers (22) | Asked by : shubhodeep

I need to build a 4-Tier System, where I have a presentation-Tier, a Business-Tier, a Data-Tier and a 4th tier compose by remote machines. What is the best JAVA solution, between all the JSP, Servlet's, EJB, etc. ?
Read Answers (2) | Asked by : João Neto

Latest Answer : In C args[0] = filename args[1]= first argumentin Java args[0] = first argument ...

Latest Answer : Hi,This was exact output about java.util.Date and java.sql.Date:  java.util.Date date1 = new java.util.Date();  System.out.println("Hello World! "+ date1);    java.sql.Date date2 = new java.sql.Date(date1.getTime());  System.out.println("Hello ...
Read Answers (8) | Asked by : murthy

What is the need of JNDI(Java Naming and Directory Interface) ? Explain with real-time usage ? 
Latest Answer : Hi Friends ,The main advantage of JNDI(java naming and directory interface) is used for the searching the information in the huge amount data. if we have huge amount of data, for searching we use  JNDI API instead of JDBC API then it increases ...

Latest Answer : main difference between java and javax : javax is a extension package of java package. new Api was added in the javax package. ...
Read Answers (5) | Asked by : hdhd

Latest Answer : what is weak reference and soft reference in java ...
Read Answers (4) | Asked by : ravi

ca fe ba besteps:when u open any .class file.u can see first 4 characters.u have read those characters from the class file and convert those characters into Hexadecimal using toHexString method in Integer 
Latest Answer : A reserved word, sometimes called a magic word is a word which, in some computer programming language  cannot be used as an identifier because it is already used for some grammatical purpose. For instance, in SQL a user cannot be called 'group' because ...
Read Answers (3) | Asked by : tirupathaiah


 Sponsored Links

 
Related Articles

Service Oriented Java Business Integration Review

Service Oriented Java Business Integration Review Introduction If you ve read through the texts which give you an introduction to SOA or Web Services you will often find them to be quite frustrating and the reason for this is because they spend too much time referencing business processes which are
 

Java and Client Server Models

Java and Client Server Models The Role of Client Servers on the Web Client server models provide the essential mechanisms for working with the Internet In fact most of the World Wide Web is built according to this paradigm In client server models the web browsers run by millions of users are the cli
 

The Interview Snafu

How to turn someone else’s mistake to your advantage Your dream job is about to become reality. A recruiter gave you the heads up about the perfect position at Humungous Conglomerate, Inc. You went through five interviews as well as a battery of psychological tests mandated by their HR de
 

Winning a Job Interview with a Winning Resume

Does your resume unlock your potential, take your skills to the highest level and win you the interview and the job you want now? The job market today is highly competitive and even if you think you have what it takes to get an interview you won’t get over the line without a polished, prof
 

Using UML with Java

Using UML with Java While Java is not a new language its application for the development of embedded systems is quite new Developers are beginning to take a second look at modeling languages such as UML and many feel it can be a powerful tool in their development arsenal mosgoogle center Introductio
 

Importance of Proper English during Job Interview

Importance of Proper English during Job Interview Your job interview is crucially important and it will determine whether or not you will get the job Depending on the type of job you re going for it is very important for you to use proper English In most cases jobs which offer higher salaries will h
 

Java Technology Trends

Technology Trends Involving Java Java is an object oriented programming language OOP for Web browsers It is organized around data rather than actions and supports polymorphism which allows the same code to be written generically so it can function with different datatypes inheritance which allows on
 

HR Interview - HR Interview Mistakes You Will Want To Avoid

HR Interview Mistakes You Will Want To Avoid The job interview can be a stressful process This is especially true for those who are going after a competitive position Your nonverbal communication combined with the answers you give during the interview will determine if you are hired mosgoogle While
 

HR Interview - Behavioral HR Interviews

Behavioral HR Interviews As the name implies a behavioral interview is an interview that is held by a human resources department to determine if an applicant has the behaviors that are appropriate for a job The company must know how an applicant will behave in a certain situations mosgoogle The logi
 

HR Interview - How To Prepare For Your HR Interview

How To Prepare For Your HR Interview Before you begin thinking about how you are going to dress for the interview it is important to do your research first You should learn everything you can about the company you wish to work for When you have detailed information about your employer you will conve
 

Sponsored Links

 




About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape