ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
Google
 
Categories >> Software >> Java-Related >> Java-J2EE >> Java-J2EE-AllOther
 
 


 

Back to Questions Page
 
Question
I have include a jsp page by using <jsp:include
page="/.../xyz.jsp"/>
The thing is that the xyz.jsp page has its submit
button.When i click on that button the whole main page get
refreshed.But i want to refresh only the xyz.jsp page.How
could i achive it so that i can only refresh the xyz.jsp not
the main page page?
Rank Answer Posted By  
 Question Submitted By :: Laliasonu
I also faced this Question!!   © ALL Interview .com
Answer
This is possible by<jsp:forward  page="/xyz.jsp"/>
forward is nothing but it will goes directly to next jsp page.
It will no look after the current JSP page
 
0
Rajesh
 
 
Answer
Use Tiles framework or Ajax technology to refresh a part of 
the page. We could also use portlets for the same.
 
0
Ricky
[WiproInfo]
 
 
Question
Runining mutiple tomcat server in a single machine is 
possible
Yuo wil have to duplicate configuration with different port 
numbers
Rank Answer Posted By  
 Question Submitted By :: Vikneswarank
This Interview Question Asked @   HCL
I also faced this Question!!   © ALL Interview .com
Answer
You need to change the port number from server.xml
 
0
Puneet Khanna
 
 
 
Answer
Yes it running multiple tomcat server in single machine.you
need chang the port number at the time instalation of tomcat
server or other change port number in server.xml file in
Tomcat located in your system

Note: Better  to use default port numbers grater than 1000
beacuse less than 1000 are predefined for Operatin system or
others
 
0
Srinu
[Jadian]
 
 
Question
what is filter ?
Rank Answer Posted By  
 Question Submitted By :: Vikneswarank
This Interview Question Asked @   SolutionNET
I also faced this Question!!   © ALL Interview .com
Answer
The Java Filter gives effective protection against unwanted
execution of Java applets, without having to switch off Java
support of your browser. For example, you could only allow
applets from within your firewall onto your computer.
 
0
Rama
 
 
Question
how to delete cookie information?and when it will delete?
Rank Answer Posted By  
 Question Submitted By :: Vikneswarank
This Interview Question Asked @   SolutionNET
I also faced this Question!!   © ALL Interview .com
Answer
choose 
 Tools-internet options-Browsing history

press delete-it opens one window with several option 
choose  Delete cookies.cookies get deleted.
 
0
Raseek
 
 
Answer
Some cookies have an expiration set, in this case the cookie
is deleted after the time expires. The cookies without an
expiration time are deleted after the session ends.
 
0
Vazza Jones
[Jadian]
 
 
Answer
you just set the maxAge ofcookie as 0


as 
myCookie.setMaxAge(0);

when browser will close the cokie will also be closed.

otherwise set the age of cookie -1 for istant deleting of
cookie.
 
0
Achal
[Jadian]
 
 
Question
what is jndi?
Rank Answer Posted By  
 Question Submitted By :: Vikneswarank
I also faced this Question!!   © ALL Interview .com
Answer
jndi expanson is(java naming and directory interface)its is 
an api(applivation programing interface)which helps to 
access the directory and naming services
 
0
Bablu
 
 
Answer
java naming directory interface
 
0
Poorna Chandar Rao.yerrabothu
[Jadian]
 
 
Question
what is acl(access control list)?
Rank Answer Posted By  
 Question Submitted By :: Vikneswarank
This Interview Question Asked @   HCL
I also faced this Question!!   © ALL Interview .com
Answer
With respect to a computer filesystem, an access control 
list (ACL) is a list of permissions attached to an object. 
The list specifies who or what is allowed to access the 
object and what operations are allowed to be performed on 
the object. In a typical ACL, each entry in the list 
specifies a subject and an operation: for example, the 
entry (Alice, delete) on the ACL for file WXY gives Alice 
permission to delete file WXY.
 
0
Srikanth Jakka
 
 
Question
what is difference between web server and application 
server?
Rank Answer Posted By  
 Question Submitted By :: Vikneswarank
This Interview Question Asked @   L&T
I also faced this Question!!   © ALL Interview .com
Answer
webserver  :
1)webserver imlementation on servlet,jsp Api specifation.
2)less middleware services
3)its recoginses only WAR files
4}its understand only http requset
5}its develop only webapplications.
Ex: tomcat server
Applicationserver:
1)Application server implementation on All J2EE specifications
2)more middle ware services( nearly 16 middle ware)
 Ex:connection pooling,security,transaction management
3)its recoginses  WAR,RAR,EAR files
4)its understand http,non http requsets
5}its develop  webapplications and enterpraise
applications,distributed applications.
ex:-weblogic

FORMULA:
APPLICTION SERVER=WEBSERVER+MIDDLEWARE SERVERICE+EJB CONTAINER
 
2
Paletipatisrinu
 
 
Question
waht are architecture of web application?
Rank Answer Posted By  
 Question Submitted By :: Vikneswarank
I also faced this Question!!   © ALL Interview .com
Answer
The archtechture followed in developing any web application 
is MVC ( Model View Controller ).The Model part is the Java 
bean(Value objects) used in the application,the View may be 
HTML,Jsp etc and the controller part is the servlet where 
the actual business logic is implemented.
 
0
Arun
 
 
Answer
THE web application follwed by MVC architectute

MODEL----->Persistance logic+Middle ware services(JDBC with
coonection pooling)

View------->presentation layer(html,jsp)

Controller------->controll the all the component +
integration logic(connect with DAO)
 
0
Srinu
[Jadian]
 
 
Question
what about web architecture?
Rank Answer Posted By  
 Question Submitted By :: Vikneswarank
This Interview Question Asked @   HCL
I also faced this Question!!   © ALL Interview .com
Answer
Web architecture, the focus is properly on the user and on user requirements. This requires particular attention to web content, a business plan, usability, interaction design, information architecture and web design.

Web architecture entirely depends J2EE standards and folder structure. It depends on the design patterns we define as per the user requirements...Ex: MVC architecture.
 
0
Manoj
 
 
 
Back to Questions Page
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com