To: Struts Users Mailing List
Subject: Re: N by N multiboxes !!!
Study the tutorials at www.keyboardmonkey.com for using the nested Struts
tags.
--- Lawrence Williams [EMAIL PROTECTED] wrote:
Hi,
I am trying to generate a form allowing attributes in a catalog to be
set on or off for particular
Hi,
I am trying to generate a form allowing attributes in a catalog to be set on
or off for particular products.
So depending on the state of the Database there will be N Attributes each
with M slectable values (as attributes are added and new styles become
available N and M will vary:
E.g.
how about a shell script that calls wget? ( http://www.gnu.org/software/wget/wget.html
)
Ive used that a couple of times with good results.
Cheers
Lawrence
-Original Message-
From: Manfred Wolff [mailto:[EMAIL PROTECTED]
Sent: Mon 26/01/2004 14:26
give your class a properties member:
private Properties p;
then have a method like this (parameter props is name of properties file):
protected boolean loadSQL(String props){
log.debug(Loading properties (+props+));
java.io.InputStream i = null;
try{
If its printing only html:base/ in your browser source then chances are you have not
referenced the html taglib.
%@ taglib uri=/tags/struts-html prefix=html %
Regards
Lawrence
-Original Message-
From: Antony Paul [mailto:[EMAIL PROTECTED]
Sent: 11 December 2003 14:28
To: struts
Hi,
Hope this isn't too naïve a question Is there anyway of setting parameters in a
module-level struts-config file and referencing those variables within an action?
Effectively giving me a module scope.
Regards
Lawrence
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus
mapping.getParameter() from withing you Action class.
action
...
...
parameter=someValue/
-Jonathan
-Original Message-
From: Lawrence Williams [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 10, 2003 11:20 AM
To: [EMAIL PROTECTED]
Subject: 'Module scoped' variables
Hi
Hi,
In my web.xml I have defined a default and named module as follows:
init-param
param-nameconfig/param-name
param-value/WEB-INF/struts-config.xml/param-value
/init-param
init-param
param-nameconfig/admin/param-name
Aman,
Thanks for your reply,
However I cant see what you are suggesting here? Can you describe what you are
meaning? -
btw I dont use the application param because as far as im aware it is deprecated in
favour of the message-resources element.
The crux of my problem is that my index.jsp
Hi,
I am using the following in a JSP (Welcome.jsp) - trying to output the User-Agent
header value.
%@ page language=java %
%@ taglib uri=/tags/struts-bean prefix=bean %
%@ taglib uri=/tags/struts-html prefix=html %
%@ taglib uri=/tags/struts-logic prefix=logic %
...
logic:present
10 matches
Mail list logo