server « Compile « JSP-Servlet Q&A





1. Java overloaded method in library fails when not run in web server    stackoverflow.com

I am trying to write a small library that can either be used in a standard java app or as part of a servlet. I have defined a couple of overloaded methods ...

3. How to compile .java for Java-Server-Pages    coderanch.com

Hello All, Compile of Java-code (.java) needs "public static void main(String[] args)". In Java Server Pages how do you compile helper .java codes without "public static void main(String[] args)"? I tried to compile .java from the command line but I get error saying "Java uses unchecked or unsafe opertaion. Note: Recompile with Xlint: unchecked for details". The code looks as follows: ...