Sunday, January 21, 2007

Jsp -2

* What is the difference between servlet session and jsp session?

* Why should we setContentType() in servlet ?what is the use of that method?


* When jsp is compiled into servlet, where the servlet is actually stored(storage location)?


* How to generate BAR & PIE Graphs using JSP code...?


* What is the diff. b/n declaring members in and declaraing in jspinit() method ?

* How to check the value in the text field is not a number


* what is the use of extends in jsp...we we want to import a class in current jsp file which i am working how can i do that ...if i use extnds for that means how can i do that...pls explain me this

* I have a String name & Map m, in my bean class. I have get & set methods on both. To Display the String name, i do The above one works fine. Te below one, displays the entire Map contents I know the KEY, how do i display the VALUE for that KEY


* What is the difference between , pagedirective include, action tag include ?

* What are the default objects provided by JSP container? Other than page, request, session and context objects.


* What is the default scope of jsp tags?

* When many Users are browsing the same application at the same time and they click the "Submit" button will many objects be created for each and every User?


* What is the difference between Difference between doGet() and doPost()?


* How do we perform redirect action without using response.sendRedirect(" ");


* A] Is the response.sendRedirect ends the existing session? B] If I logged in to a site ( say a.com) & then in same browser window I type the url for another site (say b.com), then does my session gets ended on first site ( a. com ) ?

* How we abort jsp page from a servlet


* What is difference between getAttribute() and getParameter()?


* What is the diff. b/w PAGE,APPLICATION and SESSION implicit objects of JSP?


* Wat is the difference between and in jsp..wen translate into servlet..wer it is stored in servlet..can we create global variables in jsp..if yes then how??

* How can i restrict the user from Clicking of Back button in any browser


* In one class i stored the key and values in the hashmap.so using key value i have to check wheter the value for key is correct or not.so how to retreive the key and values in jsp page


* What is the differnce between application server and web server


* What is use of implict Objects?why the container is given those one?

* How to delete cookies in JSP?


* In Oracle table some fields are "null".By default it will show as "null" in JSP page text box.But i dont want that. I want as blank textbox.What i can do for that?

* In Internet explorer if we give a jsp , How the server will know it has to execute?


* How the jsp changes will be effected in servlet file after converting?

* When to use struts technology? What type of applications are developed using struts frame work?


* What is the need of taglibraries?


* Explain online banking system using java.that means i need architecture of online banking system.please sir i want full details


* Text in textarea cant be copy by anyone while it is running in the browser (i.e,the text cant be copy and then paste on the other page) give me suggestion?


* How can i clear values in sessions. if i open a jsp page it is containing previous values. then i need to open a new page then only i am getting a fresh page


* What data is stored in the variable appname when we give the folowing statement String appname=("manager".equalsIgnoreCAse(request.getContextPath()))?"/manager":"/portal";


* Web browser concept using jsp


* Why we can't implement interface in JSP? Why we can only extend classes in JSP?


* How can we implement logoutpage using jsp ..? and Is there any method to force the browser to show the same page again and again after logout..?


* How to Upload a textfile from JSP to Servlet


* My html form contains an INPUT "text" element that accepts Date, i want to catch that date and want to query it using JSP? In short, how can i use that HTML form element with Prepared Statements in JSP?


* Types of indexing used in oracle applications ? and when and how we decide to implement indexing to database ?


* What is the need of implicit objects?
* When we design some login form how we manage security for those forms?which technology used for that purpose?

* How Do you implement interface in JSP?


* How can initialize interface in JSP?

* How do u maintain a Session?

* What is the differences between JSP LifeCycle and Servlet LifeCycle?


* Can I call an interface in a JSP?

* What is the Difference between sendRedirect() and Forward?
* I want to place two buttons one for save and one for delete.i am using DispatchAction as controller,how can i find which button i am pressing and how to diffrentiate?
* What is JSP

* What is the difference betweeen a statis and dynamic include?


* How can my JSP communicate with java class file


* I want to accomplish the following scenario: 1) user submits a jpg/gif file from an html form (using in the form, the user can browse to a file of their choice) 2) upload the jpg/gif file through a combination of Java and JSP's 3) put the jpg/gif into a database on a server and/or into a folder on my local system.


* How to pop up a jsp page?refreshing every two seconds.
* What is difference between scriptlet and expression

* What does < %= obj.getXXX() %> the following expression get evaluated to ?


* How can we move from one JSP page to another(mean using what tecnique?)

No comments:

Post a Comment