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

Answer Posted / vamsi krishna.i

The code that writes in JSP Scriptlets itself excutes in
service method.We can not create a method with in the
Method.So We cont define a method in <%...%>.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

600


What you mean by COM and DCOM?

609


What is ioc concept & explain it?

611


Will the general public have access to the infobus apis?

526


What are transaction attributes?

610






Describe, in general, how java's garbage collector works?

534


What are the purpose of introspection?

674


What is prototype?

602


Can I run seam outside of jboss as?

635


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

566


when A client sent a request to the server to open facebook page and close the browser after this request .at that time the same user do login by using a different browser then that session id will exist or not for the same client??

1096


What is in-memory replication?

551


What restrictions are placed on the values of each case of a switch statement?

533


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

550


What if the static modifier is removed from the signature of the main method?

700