Results 1 to 1 of 1
Thread: JSP - Application object example
-
JSP - Application object example
An example of application object is presented below:
Java Code:<% String theSharedObject = (String) application.getAttribute("message"); %> <HTML> <HEAD> <TITLE>Application Object - Page 2</TITLE> </HEAD> <BODY> This page retrieves the message that was stored in the <i>application</i> object by another page. <P> The message is <b><%= theSharedObject %></b> </BODY> </HTML>
Similar Threads
-
Operator < cannot be applied to java.lang.Object, Object
By Albert in forum Advanced JavaReplies: 2Last Post: 11-26-2010, 02:12 AM -
Launching an application from another application dynamically
By Java Tip in forum Java TipReplies: 0Last Post: 02-16-2008, 09:31 PM -
Launching an application from another application using thread
By Java Tip in forum Java TipReplies: 0Last Post: 02-16-2008, 09:29 PM -
Object ID
By javaplus in forum New To JavaReplies: 4Last Post: 11-26-2007, 12:08 PM -
Creating object of Type Object class
By venkatv in forum New To JavaReplies: 3Last Post: 07-17-2007, 03:33 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks