Again, sharing my opinion on his points with you guys.
* "The DynaActionForm bloats up the Struts config file with the xml based
definition. This gets annoying as the Struts Config file grow larger."
I use FormDef, so this isn't a problem for me.
* "The DynaActionForm is not strongly typed as t
Hi folks,
How could i config log4j to get no more DEBUG informations about the init
method of the actionservlet? What will be the best way to config log4j?
I would use chainsaw from log4j to see all Error Levels in a queue, but at
present
the debug msg are disturbing to use them.
Any suggesstion
For most forms, you can probably get away with just using a DynaActionForm
and combining it with the Validator. I still use ActionForm subclasses for
really complex forms because of the control they provide. (I have a form with
two dimensional indexed properties plus mapped properties, all in one
Hello List,
I am using Struts 1.1 and I want to get connected to SQL SERVER 2000.I am
using tag from web.xml where I am providing the
driverclassname,url,username and password as the properties to this Tag.
But I am getting an error of com.microsoft. . . . . .SQLServerDriver is not
intilised
Can
Eric,
perhaps this is useful for you.
http://weblogs.java.net/pub/wlg/964
cheers,
matthias
> -Original Message-
> From: Eric Noel [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, May 04, 2004 7:35 AM
> To: Struts Users Mailing List
> Subject: Struts 1.1 ActionForm
>
>
> What is now the reco
Hi All,
We wish to provide a link to the user, clicking on which user can download the
file(jpg,gif,mpg,wav,tiff) to his/her local disk.
The user should be therefore prompted for the path where the file is to be saved.
Can anyone guide me as to how to achieve the same using Struts.
Thanks,
Reg
Guys,
Not to offend anybody but would you please stick to the objective of this
user group? One mail starts the chain of such mails and everyone's mail box
gets flooded with it. We can have a separate yahoo or msn fun group for that
:)
Thanks,
From: "Andrew Hill" <[EMAIL PROTECTED]>
Reply-To
What is now the recommend technique for ActionForm, do we still have to
use them? or just make use of the DynaActionForm instead and then create
the corresponding Action or LookupDispatchAction?
-
To unsubscribe, e-mail: [EMAIL
Take the advice about using your foot for the mouse seriously. The only
proper use for a hand is holding a can of beer. ;-)
Im not sure I agree on the wire though. Problem is that there is not enough
springiness there. The best idea is to have the wires attached to firm
springs and the springs att
Balu -
Use the JSTL tag - it's a faster and better tag.
Generally use the JSTL tags over the Struts tags where applicable.
Regards,
Mark
-Original Message-
From: balu raman [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 4 May 2004 5:56 AM
To: Struts Users Mailing List
Subject:
Hello,
Ca
Hi!
I have problems to use the struts taglibs in jsp with xml syntax.
When I use
<%@ taglib uri="/WEB-INF/tags/struts-bean.tld" prefix="bean" %>
the generated servlet contains the line
'_jspx_dependants.add("/WEB-INF/tags/struts-bean.tld")'
and everything is ok.
But with the following syntax t
Hello,
Can someone suggest some pointers to some reading materials that gives a
lot of good examples of iterate-tag, for a very dense struts newbie ?
balu raman
everest systems
East Marredpally
Secunderabad
India
-
To unsubscribe
I'm wanting to use container based authentication (e.g form based) with
my struts app, but initialize some user settings (which will be read
from a database) as soon as the user succesfully logs in. Any
suggestions for how to best achieve this?
Thanks
Tim
-
Hello,
I just discovered the use of BeanUtils.copyProperties to populate my formbeans from
business objets. I would like to
know where to configure my Converters (using ConvertUtils.register) ?
I use a static initialiser in my BaseAction class. Do you have something better to
suggest ?
Nico
I haven't used it yet, but I suppose
you could create a one-time (or repeating)
job from within your Action into the Quartz
scheduling engine (free):
(http://www.opensymphony.com/quartz/features.html)
Regards,
David
-Original Message-
From: Bryan Hunt [mailto:[EMAIL PROTECTED]
Sent: Mon
On 5/3/2004 10:29 PM, [EMAIL PROTECTED] wrote:
Yes.
Extend the DynaValidator
override the validate method
validate(...) {
ActionErrors errors = super.validate(...);
// do your stuff
if (...) {
errors.add(...);
}
return errors;
}
Pedro Salgado
On 04/05/03
darn! I knew I should have answered this one!
-R
Dude, send me your address and I will fed-ex you a cold beer
!!
I should have thought of that before. Thanks for your help I've
just wasted 24 hours
on this If I was running linux I could have ran a pack
If it's unix that you are running on you could run a command using
"nohup" , the java orthodox way
is to use a message driven bean/jms if you are running inside an
applicaion server such as JBoss.
--B
atta-ur rehman wrote:
Hello Robert,
As far as I know Struts doen't provide anything like thi
Hi Folks,
I need implement an action which sends back a forward upon request and then,
keep working on a batch process till finish in the background. Anyone
familiar with an easy mechanism in struts 1.1? Thanks.
Robert
-
To unsu
Hi Joe -
I did find some threads here on how people have set up SSLExt, most
specifically Brian McSweeny's post on how he was getting started with it:
http://marc.theaimsgroup.com/?l=struts-user&m=106631418831255&w=2
However, now that I have taken some of the requireed steps, I'm somewhat
stuc
Whats the diff between readonly and "disabled=true", I've been using the
latter...
On Monday 03 May 2004 01:25 pm, John Moore wrote:
> At 21:07 03/05/2004, John Moore wrote:
> >At 16:09 03/05/2004, Paul McCulloch wrote:
> >>1) Use an html (rather than a jsp) tag:
> >>
> >>
> >
> >I've found tha
Bill Siggelkow wrote:
This is somewhat of an HTML question so please don't slam me ...
I am using to
display text containing HTML. However, I would like to find a way to
prevent mangled markup when the data contains unbalanced tags. For
example, if the value of bar is "Struts rocks!" -- the
Hello Robert,
As far as I know Struts doen't provide anything like this. And actually it
should not!
You'd use Thread class to implement such a task that needs to return
immediately while running in the background.
Hope this helps.
ATTA
- Original Message -
From: "Wei, Robert (MAN-Cor
One solution would be to use a filter and place some
flag in the current session which indicates if the user
has been initialized. Map the filter so that its executed
upon each request. If the user hasn't been initialized,
then execute initialization code and update intialization flag,
else ignor
Thank you for your pations!
Kris Schneider schrieb:
As of JSP 1.2, the container makes packaged taglibs pretty easy to deal with.
For details, you really should check out the JSP spec (or get a decent book).
One of the things the container will do is inspect each JAR file in WEB-INF/lib
and look
Dude, send me your address and I will fed-ex you a cold beer
!!
I should have thought of that before. Thanks for your help I've
just wasted 24 hours
on this If I was running linux I could have ran a packet capture but
am on crappy
win 2000 box.
--B
When an exception occurs within a tag, it prints the
exception message to the page. Why is this? How can I fix this problem
so that it simply throws another exception and prints nothing to the
page? I guess I could edit the source but in how many other tags does
this occur? Has anyone else had
I want to use a forward I have defined
when the user clicks on one of several
on a page. A parameter indicates which
one the user clicked on. In html, it might
look like this:
http://abc.com?x=1";>One
http://abc.com?x=2";>Two
http://abc.com?x=3";>Three
How would I do this using the html:link tag.
What version of Struts are you using? My guess would be some kind of
binary incompatibility. I'm using sslext with Struts 1.2.0, but I'm
sure most people out there using it are using Struts 1.1.
From the CVS logs
(http://cvs.apache.org/viewcvs.cgi/jakarta-struts/src/share/org/apache/struts/ti
I'm wanting to use container based authentication (e.g form based login)
with my struts app, but initialize some user settings (which will be
read from a database) as soon as the user succesfully logs in. Any
suggestions for how to best achieve this?
Thanks
Tim
---
LOL !!!
> -Original Message-
> From: Rick Reumann [mailto:[EMAIL PROTECTED]
> Sent: Monday, May 03, 2004 3:14 PM
> To: Struts Users Mailing List
> Subject: Re: [OT] Page Cannot Be Displayed
>
>
> Joshi, Naveen wrote:
>
> > All,
> >
> > Just wondering if any of you get this "Page Cannot
Ohhh hell. Chris thanks for the info, I have some serious code updates to
make ;)
Best,
Riyad
On Monday 03 May 2004 02:00 pm, Craig McClanahan wrote:
> Riyad Kalla wrote:
> >Whats the diff between readonly and "disabled=true", I've been using the
> >latter...
>
> In the terminology of the HTML S
Riyad Kalla wrote:
Whats the diff between readonly and "disabled=true", I've been using the
latter...
In the terminology of the HTML Specification [1], a "disabled" control
disallows user input *and* the field will not be "successful" on a form
submit. In other words, there will be no corr
At 21:07 03/05/2004, John Moore wrote:
At 16:09 03/05/2004, Paul McCulloch wrote:
1) Use an html (rather than a jsp) tag:
I've found that this, unfortunately doesn't work, at least with my current
browser of choice (Firefox), which insists on making the text field
read-only as long as there
Thanks so much for your prompt reply! I have downloaded the sslext
from SourcForge and am wondering if there is a user friendly
migration document that I can reference which spells out the
implementation.
Actually, I just recently started using sslext for the first time,
and I was kind of surp
I have been working on setting up SSLExt for an existing Struts application
which was using SecureRequestProcessor but we wanted to also implement
Tiles. So now I've configured the application to use
SecureTilesRequestProcessor. However, when I call my tiles page I'm getting
the following err
It's not a Struts bug, and it's not even a Struts-related problem. Any time
you need to upload files, you must use a POST request with an 'enctype' of
"multipart/form-data". Your form element should look like this:
--
Martin Cooper
"Bryan Hunt" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL
At 16:09 03/05/2004, Paul McCulloch wrote:
1) Use an html (rather than a jsp) tag:
I've found that this, unfortunately doesn't work, at least with my current
browser of choice (Firefox), which insists on making the text field
read-only as long as there is a 'readonly' attribute present. I'm e
Bill this will depending totally on the browser how 'broken' or 'unbroken' the
text looks. Because of that, the only solution I can think of is to actually
"fix" the text before displaying it, or remove the HTML markup.
On Monday 03 May 2004 01:03 pm, Bill Siggelkow wrote:
> This is somewhat of
Hi there list,
I have been trying to get the most simple file upload example working with
and have been receiving a strange error message that I just can't seem
to shake.
Here is the basics of my action form
snip=
public class ImageUploadForm extends ActionForm {
// ---
This is somewhat of an HTML question so please don't slam me ...
I am using to
display text containing HTML. However, I would like to find a way to
prevent mangled markup when the data contains unbalanced tags. For
example, if the value of bar is "Struts rocks!" -- then when I render
this w
You can use the native2ascii application that is bundled with your JDK to
automatically convert your native-encoded file with umlauts to \u format encodings.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, May 03, 2004 2:50 PM
To: Struts Users Maili
Hi Ralf,
use unicode in the resource bundle.
\u00c4 = Ä
\u00e4 = ä
and so on.
A complete chart is available here:
http://www.unicode.org/charts/PDF/U0080.pdf
greetings
mattes
--
Mattes Balser | [EMAIL PROTECTED]
High-End Services GmbH | www.nervmich.net
Joshi, Naveen wrote:
All,
Just wondering if any of you get this "Page Cannot Be Displayed" error once in a while, in Internet Explorer. Is there a solution to this issue.
Thanks
Naveen
I'm sorry for not replying sooner to this message. Just getting caught
up with struts-users messages.
Joshi,
There is a formula for projecting a release date based on # of duplicate
bugs that I can't find now but :
Basically, if you plot the number of duplicate bugs over time you can
estimate the # of undiscovered bugs, thus you can estimate the release
candidate date.
If most of the bugs reported are
Hi,
my web application loads german strings from a resource bundle. Unfortunately,
the special characters (german Umlaute like Ã, Ã, Ã) are displayed
incorrectly if they come from the resource bundle. When I write them directly
into the HTML code they are displayed correctly.
At the beginning
What you are describing is the normal behavior of ,
which is the end product of .
If you want to clear the form, you have two decent choices: a button
that calls a client side function to run through the form and clear it,
or server side logic to recognize the button press on submit and return
Does anyone know if there’s any standard guideline for
estimating how much alpha and beta testing an application should get?
Michael Marrotte
Software Engineering Manager
1958 Commonwealth Lane
Tallahassee, FL 32303
Phone 850.350.7852
Mobile 850.322.6780
Fax 850.575.1729
Hi all i tried this code and the control os coming to initMyList() but not going
inside getName().. Inside the jsp i am accessing the element by friendName[1] and i
get a aeeayIndexoutofBondException.
...Pls help..
public class myTestForm extends DynaActionForm {
public void reset(Act
Prasad, Kamakshya wrote:
Hi,
I tried xml entity. It worked though I have few doubts.
This is part of the xml which have that reference
2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd";
[
"file:///F:/struts/web/WEB-INF/servlet.xml" >]>
Struts POC
&xmlfrag;
I presume that "" goes
Michael McGrady wrote:
At 11:40 PM 5/2/2004, Craig McClanahan wrote:
Michael McGrady wrote:
Isn't it true, Craig, that this is not a problem for hot deploy of
the classes that do this. If you have other classes that do not do
this, then they cannot be hot deployed. But, what difference does
I forgot to include the popup() Javascript function: