I'm learning JSP and Java. My development environment is BEA Weblogic Workshop (BWW) the last few days. Prior to using BWW, I had a working "application" consisting of several HTMLs, several JSPs, and one Java class. To start the application I would...
* Start server listening on port 8080.
* Go into web browser and enter http://localhost:8080/ApplicationName.jsp
And, the JSP would be found that would in turn call the HTML files at the proper time, and the Java class too. Everything fine so far. But, now I'm trying to understand JAR files. They seem pretty straightforward. But, it seems that to invoke a program in a JAR file, it has to be a Java class with a 'main' method that is invoked. Is this right?
Conversely, is it right that a JSP in a JAR can't be invoked as the starting program for the application? (And, if so, how would I modify my application to run?)
I hope my question makes sense!