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

What is prototype?

1158


What is the difference between the font and fontmetrics classes?

1156


What is a class loader? What are the different class loaders used by jvm?

1103


If I wanted to use a solarisui for just a jtabbedpane, and the metal ui for everything else, how would I do that?

1052


Why do threads block on i/o?

1249


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

1028


When a thread blocks on i/o, what state does it enter?

1091


What is the purpose of the wait() method?

1194


What is the difference between RMI and Corba?

2746


If your ui seems to freeze periodically, what might be a likely reason?

1040


What restrictions are placed on the location of a package statement within a source code file?

1112


Explain ioc concept?

1139


Which javutil classes and interfaces support event handling?

1043


What is permgen or permanent generation?

1023


What state does a thread enter when it terminates its processing?

1061