File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes EL questions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "EL questions" Watch "EL questions" New topic

EL questions

Steven Colley
Ranch Hand

Joined: Feb 18, 2005
Posts: 290
1- is correct to use the "public static void main (Stringargs[])" method as a EL normal function?

2- is it necessary to have a non-args contructor in java class for EL function?


SCJP | SCWCD | SCBCD | SCWSD 5 | SCEA (I) 1.4 | SCEA 5 | IBM SOA 669
Aleksander Zielinski
Ranch Hand

Joined: Nov 11, 2005
Posts: 127
1) I don't think it's a problem.
2) I don't think it's necessary, since in EL you are using static functions that don't need any instance of the class, therefore there won't be any consctructor invocation.
jQuery in Action, 2nd edition
subject: EL questions
Similar Threads
Expression Language Help
Javascript escape characters in a JSP
How to escape quote characters (")?
Are EL functions included in SCWCD objectives?
Date and Timestamp comparison