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 / prs01

@Karthikeyan ...In Java, you cannot have a method inside
another method (service). You may try the same, in JSP
itself you will get compile time error when defining a
method in scriplets.

Is This Answer Correct ?    15 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain ioc concept?

1120


What’s jboss cache in short?

1098


What is a modular application?

1057


What is permgen or permanent generation?

1008


What is the purpose of the wait() method?

1175


How many times may an objects finalize() method be invoked by the garbage collector?

1083


What is the purpose of the notify() method?

1051


Describe responsibilities of Activator?

2250


Explain about RMI Architecture?

1066


Why does the option tag render selected=selected instead of just selected?

1158


What is meant by method chaining?

1128


what is the use of State Factories?

2378


Which characters may be used as the second character of an identifier, but not as the first character of an identifier?

1034


What is difference between object state and behavior?

1080


To what value is a variable of the string type automatically initialized?

1122