- Q Will first logic's global data quality connector for sap manage my international data?
- Q In the Mughal administration Madad-i-Mash indicates-
- Q Tell me about the best supervisor you’ve ever had.
- Q Retrieve the unique rows from table without using UNIQUE and DISTINCT keywords.
- Q Can i have a reference as a data member of a class? if yes, then how do i initialise it?
- Q What are the models used to make money in gaming business?
- Q The total salary of workers of tol enterprise in 2007 is n17.4 x 106 while it is n13.2 x 106 in 2004. Calculate the percentage average index in 2007 using 2004 as base year?
- Q Give few examples of final classes defined in Java API?
- Q If a class derives from another class, will the derived class automatically contain all the public, protected, and internal members of the base class?
- Q Mention what are the three types of object relations in salesforce?
- Q How many types of relations are there between dimension and measure group?
Answers
JSP Declaration are tags used in declaring variables. They are enclosed in <%!%> tag. They are used in declaring functions and variables.
XHTML
<%@page contentType=”text/html” %>
<%!
int a=0;
private int getCount(){
a++;
return a;
}
%>
123456789101112131415161718192021222324252627
<%@page contentType=”text/html” %> <%! int a=0; private int getCount(){ a++; return a; } %>
Your Comment
XHTML
<%@page contentType=”text/html” %>
<%!
int a=0;
private int getCount(){
a++;
return a;
}
%>
Values of a are:
<%=getCount()%>
123456789101112131415161718192021222324252627
<%@page contentType=”text/html” %> <%! int a=0; private int getCount(){ a++; return a; } %>
Values of a are:
<%=getCount()%>
Your Comment
- 0
- 0
- New Answer
- Contributors: *,
More Software,Java Questions..
What is the inputsplit in map reduce software?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
Can variables be used in Java without initialization?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Java,
What is the difference between java bean and enterprise java bean?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Java,
What is software configuration management?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
How does the java database connectivity (jdbc) work?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Java,
What are the advantages of threads in java?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 0 )
- Tags: Java,
What Is Java Api For Xml-based Rpc (jax-rpc)?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
How can you implement fine-grained auditing?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
What is IBM’s simple explanation for Big Data’s four critical features?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
What is static synchronized method in JDBC API? Give an example?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
What does the NULLIF function do?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
What happens if a start method is not invoked and the run method is directly invoked?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
Should we override finalize method
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
what is the difference between mysql_fetch_array and mysql_fetch_object?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
How will XML affect my document links?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
What is object cloning in Java?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 0 )
- Tags: Java,
Why to use Style Sheets?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
What are Filters in MVC?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
Can you explain Application layer in OSI model?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,
How to define new testplan attributes?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Software,