How can I use the results of my method?
ea:
<%!
method (int x) {
stuff
return y;
}
%>
<%
out.println(y);
%>

how can I make this work? "y" is a variable made during the
method.


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More JSP Interview Questions

Can a subsequent request be accessed with one’s servlet code, if a request attribute is already sent in his jsp?

0 Answers  


What is the difference between <jsp:forward> and sendRedirect?

6 Answers   HCL,


What are the primary differences between the jsp custom tags and java beans?

0 Answers  


What is an expression language?

0 Answers  


How do you delete a cookie within a jsp?

0 Answers  






What's the difference between javabeans and taglib directives?

0 Answers  


What do you know about jsp tags? Explain how you understand the action tag and jsp action elements.

0 Answers  


What is jsp scriptlet tag used for?

0 Answers  


What is full form of jsp?

0 Answers  


What are the advantages of jsp?

0 Answers  


What is jstl?

0 Answers  


What's the difference between an import and include directive, and also the difference between include directive and include action?

1 Answers  


Categories