How complex is complex?
Struts is here to solve complex problem unless the problem is so complex
that struts cannot solve ;-)
-Dan
- Original Message -
From: Hariharan [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, June 06, 2003 9:18 PM
Subject: should I use struts
Hello guys,
I need help with a Define tag cannot set a null value' error I get.
I have a state and country that _is_ null, when the user first comes into
this form for the first time. I do validate this when they submit the form,
but I don't get that far.
Can someone please help me with this?
Here is the 2
I currenlty have my whole struts application in 2 jars and a war inside my
ear. This is all done via ant. This is quite time consuming at times as it
can take me as much as 15 minutes between compiles before I can test my
code. So, I want to modify my ant so it will just deploy the sode itself,
On Sat, Jun 07,'03 (10:09 AM GMT-0400), Mark wrote:
I would NEVER use srtuts for ANY project...
You only use Flash:)
--
Rick
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
and LISP!
-Original Message-
From: Rick Reumann [mailto:[EMAIL PROTECTED]
Sent: Saturday, June 07, 2003 10:29 AM
To: [EMAIL PROTECTED]
Subject: Re: should I use struts
On Sat, Jun 07,'03 (10:09 AM GMT-0400), Mark wrote:
I would NEVER use srtuts for ANY project...
You only use
I'm not sure I understand - but I think this may be more of a 'limitation'
with HTML rather than particularly with tiles. A page composed of tiles is
still just 1 complete HTML page. If you want to redirect any part of it I
think you will need to consider using frames or iframes that has its own
Here is one example of a back button solution I plan to implment.
http://www.robertpenner.com/experiments/backbutton/backbutton_code.html
Try it.
.V
Craig R. McClanahan wrote:
On Fri, 6 Jun 2003, Steve Raeburn wrote:
Date: Fri, 6 Jun 2003 22:32:04 -0700
From: Steve Raeburn [EMAIL
When a user directly access to a JSP page which belongs to
a Struts module, module switching is not processed and Struts
links (html:link) in that page do not work correctly because
action path specified in an action or forward attribute of
html:link tag is module relative.
How
Perhaps I was not making myself clear when I first posted this.
I know how to write the javascript, I know how to use struts
nested/logic tags. What I was looking for when I posted was
a solution whereby I could add new elements to a collection
in a form. Not update existing elements, thus
Hi,
I have been posting my problem and work through for the past 5 days and not
even a single mail stating
this is good or bad. so I am again banging with my implemented code.
This is just a positive approach to improve struts in a more comprehensive
framework. I haven't done
Hi,
I have been posting my problem and work through for the past 5 days and not
even a single mail stating
this is good or bad. so I am again banging with my implemented code.
This is just a positive approach to improve struts in a more comprehensive
framework. I haven't done
I just implemented myself, so let me throw a shot at this.
In my case, I make my action derived from LookupDispatchAction
which can handle multiple button submission handlers.
One of the button is called something like addRow. When you hit this
addRow button, struts will repopolate what ever on
Kevin,
Thanks for replying. I made doubly sure that I called super.init(config) in
the init method (I read the Servlets book by Jason Hunter three years ago
and he beat it into me like a mantra). I will check my code to make sure I
have not introduced any subtle bugs since I subclassed
If you take an example of a traditional action form, the same would
happen with that.
If you've populated the form in the referring action then you should
have an insight into how action forms and actions work together.
The form bean should always be there, but know it won't self populate
hey man, discuss this real-time at irc.darkmyst.org 6667! If you need a
client, get it at www.mirc.com.
mark
-Original Message-
From: Vic Cekvenich [mailto:[EMAIL PROTECTED]
Sent: Saturday, June 07, 2003 10:46 AM
To: [EMAIL PROTECTED]
Subject: Re: newbiew Q: how to do redirect instead
Am I missing something here? Tomcat keeps on giving me the following
exception about my JDBC connection driver not being loaded when I try to establish a
datasource connection to a mysql database in struts :
Initializing application data source org.apache.struts.action.DATA_SOURCE
Hi Mark, thanks for reply. I knew it is a popular topic
but at the time, I was not able to think of good search key for looking into
the archive.
Until I tumbled on a old post regarding lazyList. and the
answer is there just like you have explained ;-) I hope Struts 1.2 will
incorporate the
do you have your jdbc driver in your classpath?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Saturday, June 07, 2003 1:59 PM
To: [EMAIL PROTECTED]
Subject: Newbie Q: Cannot load JDBC driver class using Datasource Connection
Am I missing something here?
hi,
I'm trying to submit Unicode encoded to a search engine through a web client
developed is Struts.
Each JSP page of the Web client sets the page encoding using the following
HTML statement:
meta http-equiv=Content-Type content=text/html; charset=utf-8
After the submission, in the Action
I would put the JAR files of the JDBC driver in the lib folder of the
application. It works in my case.
dimitar
- Original Message -
From: Mark Galbreath [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Saturday, June 07, 2003 2:03 PM
Subject: RE: Newbie Q:
I'm still not beard-sporting on these types of issues... but...
wouldn't that start to cloud the demarcation between model and
controller?
On Saturday, Jun 7, 2003, at 19:02 Europe/London, Dan Tran wrote:
Hi Mark, thanks for reply. I knew it is a popular topic
but at the time, I was not
If you've mapped you form bean to an associated action then the form
will be in an available scope in your jsp page..
You dont need the useBean tag. You just need to make sure you've a form
bean (dyna or otherwise) an action servlet, and that they be mapped in
stuts-config.xml.
cheers mark
Mark,
I think Brandon Goodin proposed a batch to enhance DyanActionForm to
automaticly pupolating dyanamic list with a known element type
It has nothting to do controller and model. Just an enhancement to the
tool.
Am I wrong?
-Dan
- Original Message -
From: Mark Lowe [EMAIL
http://www.anassina.com/struts/i18n/i18n.html
I heard Struts 1.2 may incorporate this in the future.
-Dan
- Original Message -
From: Dimitar Georgievski [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Saturday, June 07, 2003 11:41 AM
Subject: how to submit
Yes, I have my JDBC driver both in my application's as well as in Tomcat's
classpaths
If you have it in the $TOMCAT_HOME/common/lib, then remove it from you
web-app. It is redundant. Also, are you using the Struts Datasource config
or Tomcat JNDI?
Brandon Goodin
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Saturday, June 07, 2003 12:57 PM
To:
Thanks Brandon , Dimitar, Mark
It's working now : After putting the JDBC driver jar in
$TOMCAT_HOME/common/lib and referencing it in Tomcat's classpath, it's working!
Dan,
that solved the problem. I wasn't aware the application needs a filter to
set the content type.
thanks a lot,
dimitar
- Original Message -
From: Dan Tran [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Saturday, June 07, 2003 2:45 PM
Subject: Re: how to
Dan
Lets find out...
I suppose having some way of mapping a bean to form property in struts
xml could be handy.
Although I start getting confused when i think of this in terms of non
dyna action forms... Populating the ArrayList in the form bean I
believe could compromise MVC, at least as
Bill Johnson wrote:
Ted, you're one of the better known Struts people
right? What do you think of JSF?
I need to ship things now, and JSF isn't final yet. I've strolled
through the tutorial, and parts of it look interesting. But I'm not
going to study it carefully until 1.0 ships.
I'm also
I am using target attribute in html:form to display the results of a serachform in
an inline frame
html:form method=post action=/myAction target=myFrame
In the validate method of the form bean I validate the search form. If the validate
method has no actionerrors the results are displayed
Hello all,
Suppose an action.execute method adds an Object to the
application cache
getServlet().getServletContext().setAttribute(...)
The key value should probably be specified as a
constant value to provide a level of indirection.
(Suppose constants are stored in a java interface, and
How do I specify the FormBean in the iterate name property?
I have DynaActionForm, with a List property (myList),
I populate it in my Action with a bunch of beans that have a get setTag()
method.
This is in my html:form
logic:iterate id=cols indexId=ctr name=
html:checkbox name=cols
Hi, I've been through the mailing archive without success. I remember had
being used the Validator succesfully in a past; then my web developer
started to use javascript to perform the checks so we didn't put attention
to Validator any more. Now I'm using tiles for my site and would like to use
I use Tiles and Validator together with no problems. You should never use
Javascript as your sole form of validation, it's merely a convenience for
the client. Did you subclass ValidatorForm? I've forgotten to do that once
or twice and wondered why no validation was happening.
David
From:
35 matches
Mail list logo