I'm unable to use setProperty with any of my beans with tomcat, it worked
under jserv so I know my beans have the correct mutators.
jsp:useBean id=conn class=wiBeans.ConnectionBean scope=session /
jsp:setProperty name=conn property=username /
jsp:setProperty name=conn property=password
the bean declared with jsp:useBean .. /, but since this
servlet isn't under your classes path, it needs to find
webapps/wi/WEB-INF/classes in CLASSPATH.
Regards
Alessio
[EMAIL PROTECTED]
-Messaggio originale-
Da: Mats Palats [mailto:[EMAIL PROTECTED]]
Inviato: mercoledì 3 luglio 2002 12.16
the form element has the same name as the property.
If the bean property and the request parameter have different names,
you must specify both property and param. If they have the same name,
you can specify property and omit param.
If a parameter has an empty or null value, the corresponding
it's in server.xml,
if you want to have www.url.com you set path to
Context path= docBase=your_webapps_subdir debug=0 reloadable=true/
(reloadable makes tomcat reload your classfiles when you've changed 'em btw)
http://server.ccl.net/cca/software/UNIX/apache/debian-tomcat/node9.html
that page
When using pja with tomcat, where should I place the pjaf files (the fonts).
Should they just be in a system path or some special directory inside the
tomcat tree.
//Mats
_
På MSN hittar du det roliga, intressanta och användbara
I'm having problems setting properties with setProperty
in the top of my .jsp page I have:
jsp:useBean id=conn class=wiBeans.ConnectionBean scope=page
jsp:setProperty name=conn property=connstr
value=jdbc:oracle:thin:@localhost:1521:orcl /
jsp:setProperty name=conn property=username