News

The above example was pretty pointless, because all the Java code we called did was to print out static HTML which we could have done without all the JSP/Java Servlet overhead. Now, let's make a ...
JSP directives are the elements of a JSP source code that guide the web container on how to translate the JSP page into it’s respective servlet. Syntax : @ <%@ directive attribute = "value"%> ...
Note that this plugin is added in the plugins section. project->build->pluginMangement->plugins; Then run the project with maven: mvn tomcat7:run this will build the project into a war, start tomcat, ...
That is, as in both the Personal Tomcat and JSP Tutorial pages, assume that we've already done the following: mktomcat6 ~/example-context cd ~/example-context. Thus, you are already sitting in ...
Last month, we took a first look at server-side Java, sticking our toes into the water by writing some servlets. Servlets are Java programs that produce dynamic web content. CGI programs are ...
In this article, I introduce you to Java Web applications through the Java Servlet Specification, the Java programming language itself and Java Server Pages. These three tools can help you get a Web ...
I propose an alternative that defines portlet namespaces and portlet context paths using JSTL andJSP> EL.. Author's note: I recently discovered that this so-called archaic method seems to be required ...
J2EE Architecture<BR><BR>Check out that link to get an idea about the various java web technologies.<BR><BR>Basically, JSP deals with presenting data.Servlets and Beans deal with both presenting ...
When the dynamic web project wizard appears, name the project restful-java, choose Apache Tomcat 8.5 as the target runtime (even though we are using TomEE Plus, not Tomcat), specify 3.1 as the dynamic ...