<< < 5 6 7 8 9 10 11 12 13 14 15 > >>   Sort: Date

How Struts control data flow
How Struts control data flow? Struts implements the MVC/Layers pattern through the use of ActionForwards and ActionMappings to keep control-flow decisions out of presentation layer.
2007-11-30, 6050👍, 0💬

What are the core classes of Struts
What are the core classes of Struts? Action, ActionForm, ActionServlet, ActionMapping, ActionForward are basic classes of Structs. An Action class in the struts application extends Struts 'org.apache.struts.action.Acti on"Class. Action class acts as wrapper around the business logic and provides an ...
2007-11-29, 6047👍, 0💬

Garbage Collection
Does garbage collection guarantee that a program will not run out of memory? No, it doesn't. It is possible for programs to use up memory resources faster than they are garbage collected. It is also possible for programs to create objects that are not subject to garbage collection.
2007-03-03, 6038👍, 0💬

Do we need to pay the Struts if being used in commercial purpose
Do we need to pay the Struts if being used in commercial purpose? No. Struts is available for commercial use at no charge under the Apache Software License. You can also integrate the Struts components into your own framework just as if they were writtern in house without any red tape, fees, or othe...
2007-11-29, 6015👍, 0💬

What does "1"+2+4 evaluate to?
What does "1"+2+4 evaluate to? Since "1" is a string, everything is a string, so the result is a string of "124".
2008-07-29, 5994👍, 0💬

Performance Testing
What are major factors to consider when doing performance testing What is Performance Testing? Testing conducted to evaluate the compliance of a system or component with specified performance requirements. Often this is performed using an automated test tool to simulate large number of users. Also k...
2009-03-23, 5993👍, 0💬

What helpers in the form of JSP pages are provided in Struts framework
What helpers in the form of JSP pages are provided in Struts framework? There are 4 major JSTLs (JSP Standard Tag Libraries) provided in Struts as JSP helpers. Those tag libraries are described in TLD (Tag Library Descriptor) files: struts-html.tld - Tags to help generating HTML elements. struts-for...
2007-12-05, 5992👍, 0💬

What Is a HTML Tag
What is a HTML tag? In HTML, a tag tells the browser what to do. When you write an HTML page, you enter tags for many reasons -- to change the appearance of text, to show a graphic, or to make a link to another page.
2007-03-03, 5977👍, 0💬

Forms and Pull-Down Navigatin Menus
How can I use forms for pull-down navigation menus? There is no way to do this in HTML only; something else must process the form. JavaScript processing will work only for readers with JavaScript-enabled browsers. CGI and other server-side processing is reliable for human readers, but search engines...
2007-03-03, 5970👍, 0💬

How to add Buttons in JavaScript?
How to add Buttons in JavaScript? The most basic and ancient use of buttons are the "submit" and "clear", which appear slightly before the Pleistocene period. Notice when the "GO!" button is pressed it submits itself to itself and appends the name in the URL. &lt;form action="" name="buttonsGalo...
2008-05-20, 5963👍, 0💬

Synchronized Methods and Synchronized Statements
What are synchronized methods and synchronized statements? Synchronized methods are methods that are used to control access to a method or an object. A thread only executes a synchronized method after it has acquired the lock for the method's object or class. Synchronized statements are similar to s...
2007-03-03, 5953👍, 0💬

Differences between Interfaces and Abstract Classes
What's the difference between an interface and an abstract class? An abstract class may contain code in method bodies, which is not allowed in an interface. With abstract classes, you have to inherit your class from it and Java does not allow multiple inheritance. On the other hand, you can implemen...
2007-03-03, 5953👍, 0💬

What are benefits and limitations of using Cookies?
.NET INTERVIEW QUESTIONS - What are benefits and limitations of using Cookies? Following are benefits of using cookies for state management :- * No server resources are required as they are stored in client. * They are light weight and simple to use Following are limitation of using cookies :- * Mos...
2009-07-21, 5937👍, 0💬

What can JavaScript programs do?
What can JavaScript programs do? Generation of HTML pages on-the-fly without accessing the Web server. The user can be given control over the browser like User input validation Simple computations can be performed on the client's machine The user's browser, OS, screen size, etc. can be detected Date...
2008-05-27, 5936👍, 0💬

What configuration files are used in Struts
What configuration files are used in Struts? There are main configuration files used in Struts to bridge the gap between the Controller and the Model: ApplicationResources.propertie sstruts-config.xml
2007-12-03, 5928👍, 0💬

What Is PEAR
What Is PEAR? PEAR is the next revolution in PHP. This repository is bringing higher level programming to PHP. PEAR is a framework and distribution system for reusable PHP components. It eases installation by bringing an automated wizard, and packing the strength and experience of PHP users into a n...
2007-02-27, 5924👍, 0💬

How to turn on Perl warnings? Why is that important
How to turn on Perl warnings? Why is that important? Perl is very forgiving of strange and sometimes wrong code, which can mean hours spent searching for bugs and weird results. Turning on warnings helps uncover common mistakes and strange places and save a lot of debugging time in the long run. The...
2007-11-19, 5920👍, 0💬

Two or More Actions in the Same Form
Can I have two or more actions in the same form? No. A form must have exactly one action. However, the server-side (e.g., CGI) program that processes your form submissions can perform any number of tasks (e.g., updating a database, sending email, logging a transaction) in response to a single form s...
2007-03-03, 5920👍, 0💬

What are different types of JIT ?
.NET INTERVIEW QUESTIONS - What are different types of JIT ? JIT compiler is a part of the runtime execution environment. In Microsoft .NET there are three types of JIT compilers: * Pre-JIT :- Pre-JIT compiles complete source code into native code in a single compilation cycle. This is done at the t...
2010-04-13, 5916👍, 0💬

What is DOCTYPE
What is a DOCTYPE? Which one do I use? According to HTML standards, each HTML document begins with a DOCTYPE declaration that specifies which version of HTML the document uses. Originally, the DOCTYPE declaration was used only by SGML-based tools like HTML validators, which needed to determine which...
2007-03-03, 5908👍, 0💬

Defining an Interface
How to define an Interface? Java Interface defines methods but does not implement them. Interface can include constants. A class that implements an interface is required to implement all the methods defined in the interface. Here is an example of interface definition: public interface MyInterface { ...
2007-03-03, 5908👍, 0💬

Uploading Files with File Input Fields in a Form
How To Write the FORM Tag Correctly for Uploading Files? When users clicks the submit button, files specified in the &lt;INPUT TYPE=FILE...> will be transferred from the browser to the Web server. This transferring (uploading) process is controlled by a properly written &lt;FORM...> tag as: ...
2007-02-27, 5905👍, 0💬

What is ActionServlet
What is ActionServlet? The class org.apache.struts.action.Actio nServletis called the ActionServlet. In the the Jakarta Struts Framework, this class plays the role of controller. All the requests to the server goes through the controller. Controller is responsible for handling all the requests.
2007-12-12, 5904👍, 0💬

Differences between Simple Variables and Variable Variables
What is the difference between $message and $$message in PHP? $message is a simple variable with a fixed name which is called "message". $$message is a variable variable with a variable name which is stored in another variable called $message. If $message contains "user", $$message is the same as $u...
2007-02-27, 5903👍, 0💬

<< < 5 6 7 8 9 10 11 12 13 14 15 > >>   Sort: Date