<< < 8 9 10 11 12 13 14 15 16 17 18 > >>   Sort: Date

Setting Session Timeout Period
Is there a way I can set the inactivity lease period on a per-session basis? Typically, a default inactivity lease period for all sessions is set within your JSPengine admin screen or associated properties file. However, if your JSP engine supports the Servlet 2.1 API, you can manage the inactivity ...
2007-04-03, 5845👍, 0💬

Deleting Cookies in JSP Pages
How do you delete a Cookie within a JSP? Cookie mycook = new Cookie("name","value"); response.addCookie(mycook); Cookie killmycook = new Cookie("mycook","value"); killmycook.setMaxAge(0); killmycook.setPath("/"); killmycook.addCookie(killmycoo k);
2007-04-03, 5843👍, 0💬

How to write a script manage a list using JavaScript?
How to write a script manage a list using JavaScript? 1. To remove an item from a list: set it to null: myList[3] = null; 2. To truncate a list: reset the length property: myList.length = 2; 3. To delete all items in a list, set the length to 0: myList.length = 0;
2008-07-01, 5837👍, 0💬

What are the problems associated with using JavaScript, and are there JavaScript techniques that you discourage?
What are the problems associated with using JavaScript, and are there JavaScript techniques that you discourage? Browser version incompatibility is the biggest problem. It requires knowing how each scriptable browser version implements its object model. You see, the incompatibility rarely has to do ...
2008-07-22, 5834👍, 0💬

Missing JSP and SSI Includes
How do I mix JSP and SSI #include? If you're just including raw HTML, use the #include directive as usual inside your .jsp file. &lt;!--#include file="data.inc"--&gt;
2007-04-03, 5833👍, 0💬

What Is SQL*Plus
What Is SQL*Plus? - Oracle DBA FAQ - Oracle Basic Concepts SQL*Plus is an interactive and batch query tool that is installed with every Oracle Database Server or Client installation. It has a command-line user interface, a Windows Graphical User Interface (GUI) and the iSQL*Plus web-based user inter...
2007-04-22, 5826👍, 0💬

What is negative infinity?
What is negative infinity? It’s a number in JavaScript, derived by dividing negative number by zero.
2008-06-17, 5815👍, 0💬

What is Jakarta Struts Framework
What is Jakarta Struts Framework? Jakarta Struts is open source implementation of MVC (Model-View-Controller) pattern for the development of web based applications. Jakarta Struts is robust architecture and can be used for the development of application of any size. Struts framework makes it much ea...
2007-12-10, 5812👍, 0💬

Serializalble and Externalizable Interfaces
What is the difference between Serializalble and Externalizable interface? When you use Serializable interface, your class is serialized automatically by default. But you can override writeObject() and readObject() two methods to control more complex object serailization process. When you use Extern...
2007-03-03, 5812👍, 0💬

Relation between HTML and XML
What Is the Relation between HTML and XML? XML (Extensible Markup Language) is a generic markup language to organize generic information into a structured document with embedded tags. HTML is not related to XML other than the factor that both languages uses embedded tags in with similar syntaxes. Fo...
2007-03-03, 5811👍, 0💬

Who Should Use JUnit, Developers or Testers
Who Should Use JUnit, Developers or Testers? I should say that JUnit is mostly used by developers. JUnit is designed for unit testing, which is really a coding process, not a testing process. But many testers or QA engineers, are also required to use JUnit for unit testing. For example, I found this...
2008-01-02, 5807👍, 0💬

How do you submit a form using Javascript?
How do you submit a form using Javascript? Use document.forms[0].submit(); (0 refers to the index of the form – if you have more than one form in a page, then the first one has the index 0, second has index 1 and so on).
2008-03-18, 5801👍, 0💬

Preventing the Creation of Sessions in JSP Pages
How do you prevent the Creation of a Session in a JSP Page and why? By default, a JSP page will automatically create a session for the request if one does not exist. However, sessions consume resources and if it is not necessary to maintain a session, one should not be created. For example, a market...
2007-04-03, 5801👍, 0💬

Modifiers on Inner Classes
What modifiers may be used with an inner class that is a member of an outer class? A inner class may be declared as public, protected, private, static, final, or abstract.
2007-03-03, 5798👍, 0💬

Calling unmanaged function from within managed code
Calling unmanaged function from within managed code When we use windows API in Dot Net?Is it managed or un managed code? Have you ever tried to called an unmanaged function (eg: MessageBox function inside the User32.dll ) with in a managed code? Let's try to do that. Open up your Visual studio 2005 ...
2009-03-06, 5790👍, 0💬

Java Bean Class with 100 Fields
How to write a bean class, when you have 100 fields and each have three sub fields.
2007-04-26, 5790👍, 0💬

Serialized JavaBean
Can a JSP page instantiate a serialized bean? No problem! The useBean action specifies the beanName attribute, which can be used for indicating a serialized bean. A couple of important points to note. Although you would have to name your serialized file like "filename.ser", you only indicate "filena...
2007-04-03, 5790👍, 0💬

What Is Synchronization
What do you understand by Synchronization? Synchronization is a process of controlling the access of shared resources by the multiple threads in such a manner that only one thread can access one resource at a time. In non synchronized multithreaded application, it is possible for one thread to modif...
2007-03-03, 5785👍, 0💬

Methods GET and POST in HTML forms - what's the difference?.
Methods GET and POST in HTML forms - what's the difference?. GET: Parameters are passed in the querystring. Maximum amount of data that can be sent via the GET method is limited to about 2kb. POST: Parameters are passed in the request body. There is no limit to the amount of data that can be transfe...
2008-06-24, 5781👍, 0💬

What is the difference between a web-garden and a web-farm?
What is the difference between a web-garden and a web-farm? Web-garden - An IIS 6.0 feature where you can configure an application pool as a web-garden and also specify the number of worker processes for that pool. It can help improve performance in some cases. Web-farm - A general term referring to...
2008-08-12, 5779👍, 0💬

SingleThreadModel Deprecated
In the Servlet 2.4 specification SingleThreadModel has been deprecated, why? Because it is not practical to have such model. Whether you set isThreadSafe to true or false, you should take care of concurrent client requests to the JSP page by synchronizing access to any shared objects defined at the ...
2007-04-03, 5779👍, 0💬

What Is Transport Network Substrate (TNS)
What Is Transport Network Substrate (TNS)? - Oracle DBA FAQ - Oracle Basic Concepts TNS, Transport Network Substrate, is a foundation technology, built into the Oracle Net foundation layer that works with any standard network transport protocol.
2007-04-22, 5777👍, 0💬

What is reflection?
.NET INTERVIEW QUESTIONS - What is reflection? All .NET assemblies have metadata information stored about the types defined in modules. This metadata information can be accessed by mechanism called as “Reflection”.System. Reflection can be used to browse through the metadata information.Using reflec...
2010-03-30, 5775👍, 0💬

Why Does Poeple Import org.junit.Assert Statically
Why Does Poeple Import org.junit.Assert Statically? Poeple use the static import statement on org.junit.Assert to save coding time on calling its assetion methods. With a normal import statement, assertion method names must qualified with the class name like this: import org.junit.Assert; ... Assert...
2008-01-29, 5773👍, 0💬

<< < 8 9 10 11 12 13 14 15 16 17 18 > >>   Sort: Date