Can we use methods in JSP? If so where the methods are
stored in servlet class file?

Answer Posted / anto

<%!

action-specifier return type methodname(arguemnts)
{
statements.............or task
}
%>

Is This Answer Correct ?    31 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is _jspservice() method starting with an '_' while other life cycle methods do not?

505


Can you disable jsp scripting?

510


What do you mean by custom tag in jsp?

503


What are directives in jsp?

492


Which implicit object is not available in normal jsp pages?

469






Is jsp page extensible true false?

488


What is response sendredirect?

457


How is jsp better than servlet technology?

538


What is the difference in using request.getrequestdispatcher() and context.getrequestdispatcher()?

558


Is there a way I can set the inactivity lease period on a per-session basis?

474


What is include directive in jsp?

490


What are the different scope values for the jsp objects?

495


Explain some jsp life-cycle methods that can be overridden.

493


What is jsp api?

476


in jsf page i use two dropdown list.i.e state & district.if state dropdown is selected then & then district is enable.what should be my code.

2080