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

It will give compilation error. In order to define a method
in JSP, it should be defined in the JSP declarations <%!..%
>, and it can be called in the JSP expression.
On translation, the method will be added outside all
methods in the servlet class.

Is This Answer Correct ?    35 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

1054


Why won’t the jvm terminate when I close all the application windows?

1191


what are the activation groupworks?

2129


Can I run seam with jdk 1.4 and earlier?

940


Explain what is orm?

1067


In inglish: How to convert jar to exe files? Em português: Como converter arquivos .jar para .exe?

2612


What class is used to create Server side object ?

2179


Is there a guarantee of uniqueness for entity beans?

961


Where can I find seam examples and documentation?

1046


What are the sequence of steps to write pub or sub model kind of application?

2452


Is the infobus client side only?

1062


Why is actionform a base class rather than an interface?

1003


Why use POJO when I can use hashmap

2591


How is a java object message delivered to a non-java client?

997


Can I run seam outside of jboss as?

1034