[opencms-dev] How to access own Java Class via JSP in OpenCMS 5 RC2

ambiesense at gmx.de ambiesense at gmx.de
Thu Apr 3 18:23:16 CEST 2003


Hi,

I followed the advice of Tim Howland and want to use JSP and JSTL for
dynamic page generation. I am planning to develop an Hello World example:

I want to have a JSP page with a very basic form (textfield and submit
button).  The user enters his name  in the textfield (i.e. Bob) and press the
submit button. The word get somehow transported to another JSP page which calles
a method in my own Java class with the word as parameter. The Java class
simply returns the input (Echo method). This result should be displayed in this
JSP so it finally produces the output: "Hello World Bob".

Is this generally possible? Will I need to develop my own TLD file declaring
the tags I want to be able to use? Does somebody has already developed some
JSP which access a own (non-OpenCMS) Java class (i.e. a Java Bean) ?

Thanks in advance,
Ralf 

-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!




More information about the opencms-dev mailing list