http://struts.apache.org/api/org/apache/struts/action/Action.html#execute(org.apache.struts.action.ActionMapping,%20org.apache.struts.action.ActionForm,%20javax.servlet.http.HttpServletRequest,%20javax.servlet.http.HttpServletResponse)
Basically, take HttpResponse from execute() arguments, write t
This approach I 've implemented with a sample of 3 pages, worked great. But
after getting into this problem, things have changed a little bit and design
team concluded to have one form bean for multiple pages, which in turn not
got into the problem again.
Your inputs were helpful. Thank You.
Ahh, I see
So what I think you are saying is that I should force the Credit Card
transaction form to https even if it is submitted from a http page.
That makes sense.
--
Tim Coy
Timco Electronics Pty Ltd
[EMAIL PROTECTED]
> The ideal mode of operation for SSLEXT is that the user does not get
> f
On Tue, 2005-10-04 at 18:14 -0400, Dave Newton wrote:
> Tim Coy wrote:
>
> >Point taken and I hadn't considered that.
> >Most users tend to only login once they intend to make a purchase. Then all
> >transactions are via SSL Including browsing for more items to purchase.
> >
> I haven't found that
Well, if you don't send us the code it's hard to help with this one... :-)
You should try to narrow down things that could cause the behaviour.
For examle:
- Try to deploy to another server to be sure that it is not a Tomcat bug.
(if you just want to be sure that it's not cause by the 5.0.x bug yo
[EMAIL PROTECTED] wrote on 10/04/2005 06:19:29 PM:
>
> Does "some work" include asking for volunteers? :-)
absolutely... and I hope you included it in your status report..:)
That is about as far as
> I've gone related to Shale-Mailreader.
>
> However, one possible starting point would be the
Hi Michael,
I'm actually have heard not much about struts-dialogs, but what I
heard was pretty nice. Then I've seen this example mailreader
application with Russian locale (my mother tongue) and thought, that it
may be interessting ;) Which sure was correct. Thanks for your great work!
On 10/4/05, Danny Lee <[EMAIL PROTECTED]> wrote:
> Hi guys!
>
> I'm currently adapting Struts-Dialogs for my E-Commerce project.
> Took the MailReader App as an example (thanks Misha).
>
> Seems to be a really good thing, user registration routine is halfway
> ready after quite short time.
Thanks
I am trying to allow users of my site to incorporate some of my sites content
in their blog. I am letting them paste the following code in their site:
http://mysite.com/blog/mypostings.jsp?id=23330";>
I need my action class to send the following back to the javascript request.
The idea of "flopping" sounds good to me :-)
Thanks for the tips
--
Tim Coy
Timco Electronics Pty Ltd
[EMAIL PROTECTED]
> I haven't found that to be the case; I nearly always see just the
> "important data" forms being protected via SSL, which is what I would
> expect.
>
> In any case, sslext
On 10/4/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>
> Which makes me ask: Craig and Frank *seemed* to indicate that some work
> had been done with the Shale mail reader. If so, is it possible to get any
> of that half-done code so someone (ok, I) could look at it and see what
> needs to be
Tim Coy wrote:
Point taken and I hadn't considered that.
Most users tend to only login once they intend to make a purchase. Then all
transactions are via SSL Including browsing for more items to purchase.
I haven't found that to be the case; I nearly always see just the
"important data" forms
On 10/4/05, Leon Rosenberg <[EMAIL PROTECTED]> wrote:
>
> On 10/4/05, Greg Reddin <[EMAIL PROTECTED]> wrote:
> > On Oct 4, 2005, at 3:55 AM, Leon Rosenberg wrote:
> > >
> > > That's another interesting question, if JSF is all-component, what do
> > > I need tiles for? I mean Tiles was cool to defin
--- Laurie Harper <[EMAIL PROTECTED]> wrote:
> Michael Vogt wrote:
> >
> > Is this a known problem or the expecxted behaviour?
> > What is the best way to work around it?
>
> That's the expected behaviour. Floats in Java (as in most programming
>
> languages) have limitted precision. 90.0f =
Point taken and I hadn't considered that.
Most users tend to only login once they intend to make a purchase. Then all
transactions are via SSL Including browsing for more items to purchase. Once
there session expires forward the browser back to the non SSL pages.
This does not however preclude the
Tim Coy wrote:
My question is
What is the best way to ensure that once a user has signed on that all
transactions are via the SSL?
sslext: http://sslext.sourceforge.net/ is one way.
I assume you only want to put CC/login stuff under SSL (otherwise it's
unnecessary server drag).
Dave
-
Hi All
I have a shopping site which I have built using Struts 1.1 and Tomcat 5.5
(if that matters).
If the user tries to checkout with a purchase, with out a valid session they
are forwarded to the "Sign On" page. For security, once the user "signs on"
they are transferred to the SSL version of th
No, I had the msql driver in the common/lib directory but the problem
got fixed after I changed the data-source type attribute from
"org.apache.commons.dbcp.BasicDataSource" to
"org.apache.struts.util.GenericDataSource".
Any ideas why?
On 10/4/05, Manfred Wolff <[EMAIL PROTECTED]> wrote:
>
> Hi.
At 3:36 PM -0400 10/4/05, Chris Bredesen wrote:
Gents,
Thanks for the informative replies. I'm happy to know that my little
issue has sparked some intelligent conversation. I think a plugin is
going to be the winner for me, but I'll have to read a bit more on how
far they reach and at what poi
Michael Vogt wrote:
The Struts Validator floatRange seems to have roundoff error.
For the validation.xml configuration snippet below, user input of
90.1 fails validation, as expected, but 90.01 does not.
min
-90
Hi guys!
I'm currently adapting Struts-Dialogs for my E-Commerce project.
Took the MailReader App as an example (thanks Misha).
Seems to be a really good thing, user registration routine is halfway
ready after quite short time.
Well the question is: in some sources people tell something about
So you have two different JSPs and two different form beans, one mapped
to each JSP, but you're trying to access the bean for JSP 'A' from JSP
'B' or vica versa?
Unless you take some action to make the form bean for the other JSP
available, you won't be able to access it. Telling Struts 'use b
Hi.
Thats nothing to do with struts. You haven't placed your mysql driver in
the tomcat directory e.g. $CATALINA_BASE/shared/lib. So Struts cannot
initializing the datasource object.
Manfred
Deep Chand schrieb:
>Hi,
>I'm kind of new to struts and/or web technologies. I'm trying to
>configure m
Hi,
I'm kind of new to struts and/or web technologies. I'm trying to
configure mysql database for my struts appln using Tomcat. I'm getting
the following exception:
Initializing application data source org.apache.struts.action.DATA_SOURCE
org.apache.commons.dbcp.SQLNestedException: Cannot create J
Gents,
Thanks for the informative replies. I'm happy to know that my little
issue has sparked some intelligent conversation. I think a plugin is
going to be the winner for me, but I'll have to read a bit more on how
far they reach and at what point things happen. The one Struts book we
have on
The Struts Validator floatRange seems to have roundoff error.
For the validation.xml configuration snippet below, user input of
90.1 fails validation, as expected, but 90.01 does not.
min
-90
max
Yeah, makes some sense... from the Struts User's Guide...
"This tag () is useful because it allows you to use relative URL
references in the page that are calculated based on the URL of the page
itself, rather than the URL to which the most recent submit took place
(which is where the browser woul
Oh great... I'll let *you* explain to my wife why I have to redo the
office AGAIN :) *NEVER* give a geek a new idea!! LOL
--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
AIM: fzammetti
Yahoo: fzammetti
MSN: [EMAIL PROTECTED]
On Tue, October
I agree with what Joe said.
In the latest release (1.2.7) the only thing you get passed to the
MessageResourcesFactory's create method is the "parameter". I have changed
it in 1.3.0 so that the MessageResourcesConfig is available in the
MessageResourcesFactory when the create method is called. It
OK let me explain another way.
I got a JSP "A" which contain a javascript that put into a text input a
string which represent a dynamically generated form to be stored into a
database.
In this form I defined an input text input which has to be red by a JSP
"B".This input text has a default v
Hi
the issue was i had defined style sheet
above
tag
i just moved the style sheet definiation below
tag and now it works
I wonder what may be the reason for not working
Ashish
--- Wendy Smoak <[EMAIL PROTECTED]> wrote:
> From: "Ashish Kulkarni" <[EMAIL PROTECTED]>
>
> > i include the styl
From: "Frank W. Zammetti" <[EMAIL PROTECTED]>
I don't have this at work (yet... talking to the building manager!) but I
still find a giant whiteboard to be the best for database design, or any
other kind of design work.
When we designed the office space we're in now, we built that room--
white
At 2:17 PM -0400 10/4/05, Chris Bredesen wrote:
Hi Group,
I'd like to create an implementation of MessageResources that is backed
by Spring-sourced database accessors. I can't seem to get ahold of
ServletContext form anywhere inside the MessageResources classes, and as
such I cannot obtain my W
dumbQuestionsAsker _ wrote:
Hi everybody,
I got a little problem using Struts with Javascript.
Im trying to generate an HTML form which has to be submitted as a String.
In my form I got an input which has to contain a bean property which
doesn't comes from the current bean but from the one who w
FormFile is an interface, so you can provide an implementation that
wraps your data, regardless of where it's located. I'm not sure why you
would want to, though; FormFile is intended to encapsulate information
about a file that was sent from the client. What are you trying to achieve?
L.
Leo
2005/10/4, Tremal Naik <[EMAIL PROTECTED]>:
> Hello,
> I'm trying to render a questionnaire on a page using radio buttons.
I'm using Struts 1.1
--
TREMALNAIK
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
Hi Group,
I'd like to create an implementation of MessageResources that is backed
by Spring-sourced database accessors. I can't seem to get ahold of
ServletContext form anywhere inside the MessageResources classes, and as
such I cannot obtain my WebApplicationContext reference. Is there
somethi
I've tried every single combination of message file names, struts, tiles
and the like to get iPlanet to see the messages and nothing worked. I've
come to the conclusion that iPlanet is just a big pile of heisse Schiesse.
It is odd because I use property files to config my own objects and they
can
Hello,
I'm trying to render a questionnaire on a page using radio buttons.
The questionnaire is built as a list of questions, each with some
answers the user may check using radio buttons.
.
My form has an ArryList property, populated with QuestionBean beans
which have a property that i
MyEclipse 4.1 has really cool database interaction built in if you already
have a license for MyEclipse.
-Original Message-
From: Rafael Taboada [mailto:[EMAIL PROTECTED]
Sent: 04 October 2005 07:56
To: Struts Users Mailing List
Subject: Re: database design
r u being sarcastic??? I hope
On Tue, October 4, 2005 12:51 pm, Michael Jouravlev said:
> Like to sniff the markers? ;-))
And who DOESN'T?!? ;-))
> Now this is geeky! ;-)
In a big way! :)
> I prefer to draw by hand too, but I usually steal paper sheets from
> the printer. For project brainstorming we have whiteboards.
No,
On 10/3/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
> What I found is a panel that is made out of whiteboard material. So,
> picture an entire 15'x16' room (is ' or " feet? I never remember!)
> where every single wall is whiteboard, floor to ceiling.
>
> *THIS* has become *THE* way I do most
It's possible. I've read this whole bug now, though, and I can't figure
out where we could have went wrong, if we did. Unless there is some
inherinet problem with using Hibernate and Tomcat (with regards to this
bug), then I don't know what specifically we need to do to make sure
that session objec
On 10/4/05, Leon Rosenberg <[EMAIL PROTECTED]> wrote:
> Btw, struts is perfectly crawlable, since you have a different url for
> each page. This will not let you index a concrete page, but the whole
> site will be at list indexed. In opposite, a JSF site will return
> different content to the "same
OK, you still don't say what version of Struts you're using? I'll assume
Struts 1.2.7
As Martin pointed out, you can't use the same key when defining the
in your struts config. Struts uses that key (with a
prefix) to store the MessageResources in the ServletContext - so if you use
the same key, t
How are you displaying the errors with? Using or
, If so, define how many message-resources you would like to
have for your application (identifiable with unique keys) and use the
appropriate "bundle" attributes on the and
tags which refer to the keys.
On 10/4/05, [EMAIL PROTECTED] <[EMAIL PRO
The validations that I included in my validation class are custom made and are
using an Oracle connection to perform complicated validations which are stored
in a Validation Servlet. I'm not using the standard validations that comes with
Struts.
My validation Servlet instanciates a generalised
Exactly what she said :)
--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
AIM: fzammetti
Yahoo: fzammetti
MSN: [EMAIL PROTECTED]
On Tue, October 4, 2005 11:24 am, Wendy Smoak said:
> From: "Ashish Kulkarni" <[EMAIL PROTECTED]>
>
>> i include t
On 10/4/05, Preston CRAWFORD <[EMAIL PROTECTED]> wrote:
> Tomcat 5.0.28.
this should work. However try logging out the sessionIds and compare
them to the jsessionid cookies, just to be sure.
Maybe you are also hit by the tomcat session bug:
http://issues.apache.org/bugzilla/show_bug.cgi?id=36541
What version of Struts are you using? If its Struts 1.2.7, then it is
possible to do this - Commons Validator 1.1.4 had "bundle" and "resource"
attributes added which enable you to specify alternate resource bundles. If
you look at Strut's FieldChecks class, which contains all the standard
validato
Well, a lot changed yesterday. I took all forms out of session and it's
still happening. I did much tinkering and discovered that it's any
object in session (so in this case the container object for the
ArrayList that gets set to the form) that's crossing sessions and
STICKING in session as well (a
From: "Ashish Kulkarni" <[EMAIL PROTECTED]>
i include the style sheet
Have you compared the HTML of the page when the stylesheet works vs. when it
is lost?
When this happened to me, I found that a ;jessionid was getting appended to
the stylesheet URL. (But my situation was the other way a
Tomcat 5.0.28.
>>> [EMAIL PROTECTED] 10/4/2005 3:34:31 AM >>>
What's your container? I saw this behaviour on older resin
implementations, it was obviously a bug, that in some sequence of
requsts the session got mixed, B got A's session, but only for one
request, after that it had it's own session.
Leon,
JSF is component structured but the default renderer is JSP, which doesn't
really have templating out of the box. That's why we know of a few
projects that fill the need. Tiles (Standalone from the upcoming version
1.3 build) was ported to fill that need while Clay (part of 'Struts Shale'
Well, I've already tried to change the key of my message ressources but it
seems that it doesn't change anything.
Because I add errors from a validator plugin class, which is coded in java
inside my application, I cannot specify the key of my message ressource, like
if I was in the jsp page us
"Frank W. Zammetti" <[EMAIL PROTECTED]> wrote on 10/04/2005 10:51:00 AM:
> I didn't get far enough to have any actual code... I'm a JSF/Shale
newbie,
> but I offered to do the mailreader since it's not a complicated app and
I
> thought it would make a good learning experience for me, as well as
Hi
i include the style sheet
--- "Frank W. Zammetti" <[EMAIL PROTECTED]> wrote:
> I can't imagine why that would happen, but, do you
> define the stylesheet
> in the page or link/include it?
>
> Frank
>
> Ashish Kulkarni wrote:
> > Hello
> > I have a jsp page where in i have defined a style
>
Greg Reddin <[EMAIL PROTECTED]> wrote on 10/04/2005 10:45:14 AM:
>
> Please don't let that stop you from sharing. In the world of open
> source we all learn from each other. I'm sure the "experts" will be
> happy to point out worst practices and the rest of us will be happy
> to learn :-)
>
Kishore,
I'm now trying to pass multiple request parameters. My code:
"CONTINUE"
<% Hashtable ht = new Hashtable();
ht.put("notifyMsg",msg);
ht.put("errCode",errCode);
%>
(Also tried: logic:redirect forward="ERRORNOTIFY" name="params" />
Error message:
"Define tag can contain o
Bonjour Luc-
the key characteristic (for message-resources) must be a unique identifier.
Right now they are the same (org.apache.struts.action.MESSAGE)
Bon Chance/HTH,
Martin-
- Original Message -
From: <[EMAIL PROTECTED]>
To:
Sent: Tuesday, October 04, 2005 10:06 AM
Subject: Question
> ok, asking the other way around, does someone have anything that could
> serve an example application for Shale and he or she is ready to
> share?
>
The rolodex usecase example has a resemblance of what you might find in a CRUD
web application. Its focus is on the Clay plugin for creating reus
On Tue, October 4, 2005 10:36 am, [EMAIL PROTECTED] said:
> Which makes me ask: Craig and Frank *seemed* to indicate that some work
> had been done with the Shale mail reader. If so, is it possible to get any
> of that half-done code so someone (ok, I) could look at it and see what
> needs to be do
On Oct 4, 2005, at 9:36 AM, [EMAIL PROTECTED] wrote:
ok, asking the other way around, does someone have anything that
could
serve an example application for Shale and he or she is ready to
share?
I think the problem is that even though people probably do have
example
apps working they m
On Oct 4, 2005, at 9:34 AM, Leon Rosenberg wrote:
In my limited experience with JSF it does not seem to contain
templating capabilities. So in Struts classic I would use Tiles for
creating site templates as well as reusable views (or component-based
views). But with JSF Tiles still proves use
Leon Rosenberg <[EMAIL PROTECTED]> wrote on 10/04/2005
10:24:58 AM:
> ok, asking the other way around, does someone have anything that could
> serve an example application for Shale and he or she is ready to
> share?
I think the problem is that even though people probably do have example
apps w
On 10/4/05, Greg Reddin <[EMAIL PROTECTED]> wrote:
> On Oct 4, 2005, at 3:55 AM, Leon Rosenberg wrote:
> >
> > That's another interesting question, if JSF is all-component, what do
> > I need tiles for? I mean Tiles was cool to define a common renderer
> > for an abstract view-component which was t
ok, asking the other way around, does someone have anything that could
serve an example application for Shale and he or she is ready to
share?
thanx
leon
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
Which Ajaxtags? There is unfortunately two different Ajaxtags projects in
existence today...
The version I developed is here:
http://javawebparts.sourceforge.net
The other, completely unrelated to this, is here:
http://ajaxtags.sourceforge.net/
I can talk about the first, not the second. Als
Hi there,
I need to add multiple message ressources to an application and to access them
from a custom validation class created with the validator framework.
I've added the following in struts-config.xml :
--
---
Hi everybody,
I got a little problem using Struts with Javascript.
Im trying to generate an HTML form which has to be submitted as a String.
In my form I got an input which has to contain a bean property which doesn't
comes from the current bean but from the one who will focus on the form.
So I
On Oct 4, 2005, at 7:49 AM, Rafael Nami wrote:
I was trying to search some info about tiles standalone, but I
couldn't find anything in apache jakarta site. Where can i find such
info?
For now, there's really not much information. You can download
Standalone Tiles from the Struts sandbox i
On Tue, October 4, 2005 3:51 am, Craig McClanahan said:
> For the record, that (shale-mailreader) is definitely on the agenda ... we
> had a volunteer, but so far that hasn't produced anything more than I've
> been able to do myself.
Yep, I have to apologize for that... I've allowed myself to get
On Oct 4, 2005, at 3:55 AM, Leon Rosenberg wrote:
That's another interesting question, if JSF is all-component, what do
I need tiles for? I mean Tiles was cool to define a common renderer
for an abstract view-component which was then implicitely defined with
struts-classic. Now JSF supports comp
Good Morning Paul
getNumActive and getNumIdle are methods of BasicDataSource
take a look at
http://mckoi.com/database/maillist/msg04621.html
for a complete example...
Hope this helps,
Martin-
- Original Message -
From: "Paul Danese" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, October 04, 2
> Where do you populate your Vector list
> http://java.sun.com/j2se/1.4.2/docs/api/java/util/Vector.html
Nowhere: I was overriding "get" in order to get a virtual infinite List
(this is bad style, I was too lasy to write stubs for all List functions)
Meanwhite it is working, I am not sure wh
new chance :
Yes,
i'm using select and autocomplete tags. His lastest release is still beta 1.1
but it works fine.
I have only one generic servlet which gives ajax service with refrection to any
request xmlHttp
I hope it's help you
Martin
-Mensaje original-
De
Yoann-
I would suggest you look at this html multi-selehct implementation from
Spring
http://forum.springframework.org/viewtopic.php?t=2258&sid=9efb6baad5064e21283521596109a7ba
Bon Chance,
Martin-
- Original Message -
From: "Le Goff, Yoann" <[EMAIL PROTECTED]>
To: "'Struts Users Maili
--- Begin Message ---
Yes,
i'm using select and autocomplete tags. His lastest release is still beta 1.1
but it works fine.
I have only one generic servlet which gives ajax service with refrection to any
request xmlHttp
I hope it's help you
Martin
-Mensaje original-
Hi,
Im running a struts application using the
commons.dbcp BasicDataSource as part of a connection
pool for interacting with a MySQL database.
I *think* my application has a pool leak in that it
will periodically hang until I re-start the server,
but Im not positive about this explanation.
R. Markham wrote:
Depends how much you want to pay. As far as I know TOAD or Power Designer
are the best.
IIRC TOAD is Oracle only.
G.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTE
Hi everyone.
I was trying to search some info about tiles standalone, but I
couldn't find anything in apache jakarta site. Where can i find such
info?
What is the compatibility with JSF/MyFaces?
Thanks in advance
Rafael Mauricio Nami
-
Is there somebody who using ajaxtags here ?
Ce message, ainsi que tous les fichiers joints est destine aux seules
personnes dont le nom est mentionne comme destinataire. Il peut contenir des
informations sensibles ne dev
Hello:
I read some blogs (by Craig) that shows different paths to migrate from
Struts to JSF. I thing the most convenient for my particular case is to use
the StrutsFaces integration library, using Struts Actions as the Controller
and rewriting Struts JSPs with JSF JSPs.. In this way, we can use J
Holger-
Where do you populate your Vector list
http://java.sun.com/j2se/1.4.2/docs/api/java/util/Vector.html
Vielen Danke,
Martin-
- Original Message -
From: "Holger Klawitter" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, October 04, 2005 5:01 AM
Subject: how to create a list style bean
I agree with Neil/Frank
When I was at UHG
We did a Agile post-mortem with David Spann and he advocated using a massive
whiteboard in a room (which everyone has access to) detailing
core functionalities
ancillary functionalities
import/export functionalities
so as an example in our case we had '
Depends how much you want to pay. As far as I know TOAD or Power Designer
are the best.
Richard
-Ursprüngliche Nachricht-
Von: Rafael Taboada [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 3. Oktober 2005 19:22
An: Struts List
Betreff: database design
Hi folks. When u design a database...
What's your container? I saw this behaviour on older resin
implementations, it was obviously a bug, that in some sequence of
requsts the session got mixed, B got A's session, but only for one
request, after that it had it's own session. Try to log out the
session id and the value of the jsessionid
On 10/4/05, Preston CRAWFORD <[EMAIL PROTECTED]> wrote:
>
> No. What information would be useful and relevant? Struts-config? The
> form bean itself? The action, the JSP? I didn't want to overload the
> list, obviously.
In the following code how do you populate and set the myArrayList property
o
Hi there,
I'd like to create an application scope bean for easy table row coloring
(tomcat 5.5.9, struts 1.2.7, using struts EL).
...
...
Where the RowBean is meant as a virtual list returning the proper css class
for each row index. But my subclassing does not work:
public class RowBea
Thanx, Graig, but you opened more new questions as you answered :-)
On 10/4/05, Craig McClanahan <[EMAIL PROTECTED]> wrote:
...
>
> > > I would think that for most web applications, you wouldn't want a user
> to
> > > attempt to jump into the middle of a dynamic web application without a
> > > con
On 10/3/05, Leon Rosenberg <[EMAIL PROTECTED]> wrote:
>
> Thanx David, Gary.
>
> On 10/4/05, Gary VanMatre <[EMAIL PROTECTED]> wrote:
>
> > The use-case application's purpose is to demo the requirements of a
> specific
> > feature of Shale. We have not built an example using all the Shale
> > featu
91 matches
Mail list logo