Restrict webpages in iframe to redirect
Is there any way to restrict webpages loaded in iframe to redirect to other website out of iframe?
Difference between include directive and script tag while including Java scripts file in JSP.
I was trying to use Javascript file for validations of the fields and buttons in my JSP page. but found that the following worked: and not: i wanted to know the reason? thanks in advance!!
Problem with jsf / spring security 2.5
Hello, first I would say sorry I dont speak english very well... i use the spring framework 2.5 to apply the security rules for hand interception on the page in my application j2ee, I want that the page is only accessible when the user is connected. the problem is that when I do: the page still accessible...
What design pattern are available for j2ee?
Singleton Design Pattern,Factory,DAO,MVC ,Prototype ..
How would we use log4j in our applications? Is it necessary to use log4j applications in our web application?
To implement log4j in the web application there are different way. 1.we have to write a common logger class. 2.we have to configure corresponding class in web.xml and 3. we have to configure the prop...
Singleton design pattern in multiple JVM
How can we implement singleton design pattern in multiple JVM environment? How we will make sure to be an object in multiple JVM?
You cannot do that.
What is the usage of abstract method?
Abstract classes used to implement polymorphism. Abstract class allows additional method declaration in the class.
Please read detailed discussion here http://www.geekinterview.com/question_details/19145
What is the difference between hash map and hash table?
Hash map is basically a collection API which is used to save data in sorted order avoiding duplicates. where hash table herits Object class. Hashtable is synchronized, whereas HashMap is not. This m...
The HashMap class is roughly equivalent to Hashtable, except that it is unsynchronized and permits nulls. (HashMap allows null values as key and value whereas Hashtable does not allow). HashMa...
Servlet is not thread safe, but that is because of the class/instance variables. So care must be taken to provide synchronized access to class/instance variables. Synchronizing entire service or doGet/doPost methods is bad and should be avoided.
servlet is not thread safe by itself but u can make it thread safe by synchronizing the particular line's of service method.
How to configure richfaces in myeclipse 8.5?
Explain how a weakhashmap works?
Servlet intialization parameter
How we can define servlet initalization parameter?
What are the properties of a Java bean?
Load j2me application into mobile
How can we load j2me application into mobile?
How to make a tld file in eclipse?
No, you cannot call Java swing in JSP or Servlet without using Applet.
how can i convert the jsp file into html file?
How to count objects of a class ?
Why do we call 'throw' and 'throws' as clauses?
What is the maximum data size cookies can hold ?
Java 2 Enterprise Edition