Hi,
I am thinking of a concept how to best realize a WYSIWYIG preview of filed
in form values.
what's the job?
after a struts-from was validated and everything is filled in okay I want to
preview the values in a JSP-Site that shows the just filed in values for
final verification by the User.
If
Hi,
I was wondering what the best data type for Struts ActionForm class is.
According to the design I would say it should be the same as the data type
in the application.
(e.g. float) But then the associated form already comes with a 0 filed in
the form. That's something I don't wont at all!
As
Hi Craig, Simon and James,
thanks!
Rainer
-Ursprungliche Nachricht-
Von: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Gesendet: Freitag, 11. Oktober 2002 19:00
An: Struts Users Mailing List
Betreff: Re: Struts forms best practice
On Fri, 11 Oct 2002, rainer juenger wrote:
Date
Mailing List
Subject: Re: Struts forms best practice
On Fri, 11 Oct 2002, rainer juenger wrote:
Date: Fri, 11 Oct 2002 18:38:40 +0200
From: rainer juenger [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Struts forms best practice
Hi,
I
Hi,
getting a JspException when I try to access a getter within a bean:write/ Tag. The
getter is there and it gives back a value from type String.
The coresponding setter is form type float. Can it have something to do with that?
Thanks, Rainer
yes, the setter and the getter have to give back an have to become the same
type.
Rainer
Hi,
getting a JspException when I try to access a getter within a bean:write/
Tag. The getter is there and it gives back a value from type String.
The coresponding setter is form type float. Can it have
Hi,
how can I get values out of the ServletContext within a Action?
such as:
ServletContext ctx = getServletConfig().getServletContext();
String dbdriver = ctx.getAttribute(Constants.DBDRIVER);
thanks rainer
(the ActionServlet).
Check out the javadocs for Action and you will see what he means:
http://jakarta.apache.org/struts/api/org/apache/struts/action/Action.html
Jason
-Original Message-
From: rainer juenger [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 09, 2002 1:16 PM
To: Struts
which Tomcat 4 does, as does any J2EE app server
Well Craig, there where many of us who could not get it running with 4.0x
The lookup was null!
Some succeeded using 4.1x.
Rainer
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Hi,
I am having some probs with setting up the logging with commons-logging and log4j used
in struts.
1) I placed the commons-logging.jar and the log4j.jar in the common/lib directory of
my tomcat 4.01.
2) placed my commons-logging.properties file within the WEB-INF/classes directory of
my
Hi,
Every container will provide it's own mechanisms to do that sort of thing.
But your application just protects things in terms of roles, and will run
on any such container.
but does that mechanism work sort of automatically?
Or do I have to implement it within the Controller?
e.g.:
if
Hi,
need a hint.
Struts is using the commons Logging.
private Log log =
LogFactory.getLog(org.apache.struts.webapp.Example);
1)
Where actually can I find the log file??
It should be where it is configured in the package org.apache.commons.logging
configured in
Hi.
I want to use the Tomcat user managment with struts. Is there already some sample code
or tutorial or so that makes starting somewhat easier???
thanks for any help,
Rainer
could try
it
without specifying the scope, but I don't think it would make much of a
difference. What is the error message? Do you import the logic taglib at
the top of your jsp?
~ Keith
http://www.buffalo.edu/~kkamholz
-Original Message-
From: rainer juenger [mailto:[EMAIL
Hi,
thanks for the hint! So JAAS seams to be the Keyword.
Is there a sample somewhere ? JAAS/Tomcat/Strus authentification?
Rainer
On the Struts resources pages there is a link to Security/JAAS.
rainer juenger wrote:
Hi.
I want to use the Tomcat user managment with struts
Hi,
can I compare an attribute value of a bean with the logic TagLib?
eg.:
my beans name is myobject and it has session scope
Wirthin that bean there is an attribute:
boolean myattribute = true;
There is of course a setter and a getter for that attribute.
How would the logic tag look like??
Hi Craig,
thanks for your answere!!
I figured out the right solution!! It works now.
I think a small example test case would be really helpful, as I'm having a
hard time understanding what the issue is.
Of course!!
Maybe that makes it more clear:
action path=/trinkwasserform
Hi Craig,
thanks a lot for your pations!
I think we are getting confused over terminology. The action servlet is
configured in web.xml, not struts-config.xml action elements.
You are write! I am actually not talking about the ActionServlet but about
the Class Action that is a Servlet as well
Hi Craig,
It depends on how you set up your servlet-mapping.
The usual practice for Struts is to use a URL pattern like *.do, which
means that any URL ending with .do will be sent to the controller
servlet. Other URLs (like one ending in foo.jsp) will bypass the
controller, and go to
Hi,
Everything just used to work fine for weeks! All of a sudden we are getting an error
503 back:
Servlet action is currently unavailable.
- we checked the rights of the files on our SuSE Linux Server, running Tomcat 4.01
under JDK 1.3.1_02
- restarted the server several times
- compiled the
Hi andre,
thanks for your answer.
By the way, it seems there is an error in your struts-config.xml.
I know, it looks like that. But I haven't changed it since some time
Or you changed it or you changed this file, or your tomcat config, or your
J2SDR or JRE config...
no, actually not! thats
, but no opening quote
character was found... (replace with forward name=success)
Andre Powroznik
-Original Message-
From: rainer juenger [mailto:[EMAIL PROTECTED]]
Sent: 02 July 2002 11:46
To: Struts Users Mailing List
Subject: Re: strange things
Hi andre,
thanks for your answer
Hi,
When I change the scope in the strus-config.xml form an action to session I
am receiving the below exception.
With request-scoupe everything works just fine! So I cannot understand why
once the Bean can be found and when the scoupe is session it cannot?
My setup is as follows:
Hi Maarten,
join the club! There are some more guys having exactliy the same problem as
you.
To me your configuration looks all right. I saw some samples :
parameter namedriverName/name
valuejdbc:mysql://localhost/test/value /parameter
where the parameter name is not driverName but url. I
Hi,
I am using the Struts Database pooling.
My database connection is realised after the sample in the Struts User's
Guide.
http://jakarta.apache.org/struts/userGuide/building_model.html#databases
But I think the sample is very contradicting.
In chapter 2.5 Business Logic Beans is said:
For
not necessarily following the best
practices, they are more like proof of concepts than anything else.
Rgs
Vikram
-Original Message-
From: rainer juenger [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 10, 2002 1:45 PM
To: Struts Users Mailing List
Subject: Database access design question
-
From: rainer juenger [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 10, 2002 1:45 PM
To: Struts Users Mailing List
Subject: Database access design question
Hi,
I am using the Struts Database pooling.
My database connection is realised after the sample in the Struts User's
Guide
the servlet api implement such a
method ??)
3. If using a connection pool (which you should really), get the
connection
object out of the pool and use it to access the database.
HTH
Vikram
-Original Message-
From: rainer juenger [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 10, 2002 2:04
28 matches
Mail list logo