How can I declare methods within my JSP page?
Services | Updates | Contact

Question: How can I declare methods within my JSP page?

How can I declare methods within my JSP page?
Answer:You can declare methods for use within your JSP page as declarations. The methods can then be invoked within any other methods you declare, or within JSP scriptlets and expressions. Do note that you do not have direct access to any of the JSP implicit objects like request, response, session and so forth from within JSP methods. However, you should be able to pass any of the implicit JSP variables as parameters to the methods.

Post Your Answer/Comments

Comment Title:
Comment:
Save   Cancel
 
  Home | JSP | EJB | JDBC | Java Servlets | WAP | Free JSP Hosting | Spring Framework | Web Services | BioInformatics | Java Server Faces | Jboss 3.0 tutorial | Hibernate | XML
Send your comments, Suggestions or Queries regarding this site at editor@roseindia.net
Copyright © 2007. All rights reserved.