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...

If I define a method in JSP scriplet <%..%>, where will it
go after translation into a servlet?

Answer Posted / karthik

After translation of jsp code into servlet the scriplets
(<%...%> contents will be executed via the service methods.
suppose if we define the new method inside the scriplte tag
the container will raise the compilation error.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is Stream Tokenizer?

2177


Is the ternary operator written x : y ? Z or x ? Y : z ?

1051


What is jboss?

986


What do you mean by Socket Programming?

1035


What value does readline() return when it has reached the end of a file?

1038


What modifiers may be used with an inner class that is a member of an outer class?

1006


How would you reatach detached objects to a session when the same object has already been loaded into the session?

1146


What is the diffrence between a local-tx-datasource and a xa-datasource? Can you use transactions in both?

986


How a component can be placed on Windows?

2791


Why is actionform a base class rather than an interface?

1005


Which textcomponent method is used to set a textcomponent to the read-only state?

1066


What is the relationship between an event-listener interface and an event-adapter class?

1081


What class is used to create Server side object ?

2181


Explain how will the struts know which action class to call when you submit a form?

919


How substring() method of string class create memory leaks?

992