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  >  JSP
Go To First  |  Previous Question  |  Next Question 
 JSP  |  Question 291 of 306    Print  
What is the valid value for the body-content element in the TLD file?
tags


  
Total Answers and Comments: 1 Last Update: June 13, 2007     Asked by: JC 
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: akantilal
 
There is a slight difference in the valid values for the body-content element in J2EE 1.3 vs 1.4.

In J2EE 1.3, the valid values are "empty", "JSP" and "tagdependent". "empty" indicates a tag without body. "JSP" indicates that the body content can possibly contain JSP tags so they would be evaluated first by the JSP Container and then the resulting content would be passed to your tag class. "tagdependent" indicates that the body content of the tag should not be evaluated for JSP tags at all.

In J2EE 1.4, the valid values are "empty", "scriptless" and "tagdependent". "scriptless" has the same meaning as the "JSP" value in 1.3 except that scripting elements are not allowed. The default if you do not specify any value is "scriptless".

Above answer was rated as good by the following members:
suresh_mech05
June 13, 2007 00:49:26   #1  
akantilal Member Since: June 2007   Contribution: 15    

RE: What is the valid value for the body-content eleme...
There is a slight difference in the valid values for the body-content element in J2EE 1.3 vs 1.4.

In J2EE 1.3, the valid values are "empty", "JSP" and "tagdependent". "empty" indicates a tag without body. "JSP" indicates that the body content can possibly contain JSP tags so they would be evaluated first by the JSP Container and then the resulting content would be passed to your tag class. "tagdependent" indicates that the body content of the tag should not be evaluated for JSP tags at all.

In J2EE 1.4, the valid values are "empty", "scriptless" and "tagdependent". "scriptless" has the same meaning as the "JSP" value in 1.3 except that scripting elements are not allowed. The default if you do not specify any value is "scriptless".

 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    

 Related Questions

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 

You can declare methods for use within your JSP page as declarations. The methods can then be invoked within any other methods you declare, or within JSP scriptlets and expressions.Do note that you do 

A jsp:useBean action may optionally have a body. If the body is specified, its contents will be automatically invoked when the specified bean is instantiated. Typically, the body will contain scriptlets 

You will need to set the appropriate HTTP header attributes to prevent the dynamic content output by the JSP page from being cached by the browser. Just execute the following scriptlet at the beginning 

Yes. Preemptive termination of request processing on an error condition is a good way to maximize the throughput of a high-volume JSP engine. The trick (asuming Java is your scripting language) is to use 
Latest Answer : How do I have the JSP-generated servlet subclass my own custom servlet class, instead of the default? One should be very careful when having JSP pages extend custom servlet classes as opposed to the default one generated by the JSP engine. In doing ...

Answer Static resources should always be included using the JSP include directive. This way, the inclusion is performed just once during the translation phase. The following example shows the syntax: 

If you're just including raw HTML, use the #include directive as usual inside your .jsp file.But it's a little trickier if you want the server to evaluate 
Latest Answer : As in answer, it was written that i have use  for file having jsp code but in my application i have used the code like that and  user_information.inc ...

Static resources should always be included using the JSP include directive. This way, the inclusion is performed just once during the translation phase. The following example shows the syntax: Do note 

Static resources should always be included using the JSP include directive. This way, the inclusion is performed just once during the translation phase. The following example shows the syntax: Do note 

No problem! The useBean action specifies the beanName attribute, which can be used for indicating a serialized bean. For example: 


 Sponsored Links

 
Related Articles

What is Data Element

In some aspects of information technology, a data element is referred to as any named unit of data which may or may not consist of other data items. In many electronic record keeping applications, a data element is a combination of bytes or characters which refer to a separate item of information li
 

What is Data File

In a logical data model, the conceptual data model which is based on the business semantic is being defined. Thus, entities and relationships and corresponding table and column design, object oriented classes, and XML tags, among other things are being laid regardless of the database will be physica
 

Content Writer Career

A content writer basically writes about the advertisement and creates ideas to deliver the ad related to the client. The content writer plays a large role in online advertising and news print advertising. There are many methods of advertising within the online media. Examples of this include Adsense
 

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
 

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
 

PHP Tutorials - File manipulation (Part-2)

File manipulation Part 2 In this PHP Tutorial you will learn the 2nd Part of File Manipulation Reading lines from a file Reading arbitrary amounts of data from a file Writing to a file Creating directories Removing a directory and Opening a directory for reading mosgoogle Reading lines from a file T
 

PHP Tutorials – File manipulation (Part 1)

PHP Tutorials File manipulation Part 1 In the PHP Tutorial You will learn about File manipulation Part 1 Checking file existence A file or directory Determining file size Creating and deleting files and Opening a file for writing reading or appending mosgoogle Checking file existence You can test
 

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
 





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