Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Can we use methods in JSP? If so where the methods are
stored in servlet class file?

Answer Posted / mandrita sinha choudhuri

Yes we can write java methods inside jsp files within
the "declarations" tag <!%//the method%>.

This part of the code is compiled by the servlet engine and
inserted outside the _jspservice() method in the generated
servlet class.

Is This Answer Correct ?    38 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to include a jsp file in another jsp file?

900


What are the primary differences between the jsp custom tags and java beans?

872


What is custom tag library?

851


List all tags that are provided in jstl?

888


Is the session object always created on the jsp page, is it possible to disable its creation?

898


What is the major difference between servletcontext and pagecontext?

984


What is el?

924


What is session setattribute?

896


What is scriptlet and what is expression?

906


How many tags are provided in jstl?

1120


Tell us about the stages (phases) of the jsp life cycle.

925


what are the tools used in your project , How to ask the answer this question

2018


Why jsp is better over static html also explain lifecycle of a jsp?

864


hpcl information systems officer 2008 Question Papers or any last previous questions papers thanks in advance shyamprasad71@gmail.com shyamprasad71@gmail.com

2327


What are the implicit, internal el jsp objects and their differences from jsp objects?

975