Hi
I have a new project were I have to create an application that is a web flow
of multiple standalone applications. Basically the user picks a service and
the web flow will take the user to all the applications necessary to fulfill
the service. We want to be able to save in a database the user n
Thanks a lot Phil.
I hope somene can tell me how to do this, because I'm not into CVS at
all.
-Original Message-
From: Phil Steitz [mailto:[EMAIL PROTECTED]
Sent: Friday, April 08, 2005 8:27 AM
To: Struts Users Mailing List
Subject: Re: Which version of Validator was shipped with Struts
On Apr 8, 2005 1:12 PM, Anil <[EMAIL PROTECTED]> wrote:
> Matt Raible raibledesigns.com> writes:
>
> >
> > As far as drop-downs, I typically populate all (or most) of mine from a
> > database at application startup using a ServletListener. I stuff these
> > into the application scope as Lists of
sudip shrestha wrote:
I have user types with varying level of privileges and only a defined
user type can access a particular page. I thought of using filter for
this purpose, but not sure how to designate which layout*.jsp (have
created multiple layout.jsp pages for varying user types: e.g. admin
On Apr 8, 2005, at 2:12 PM, Anil wrote:
Matt Raible raibledesigns.com> writes:
As far as drop-downs, I typically populate all (or most) of mine from
a
database at application startup using a ServletListener. I stuff
these
into the application scope as Lists of LabelValue beans. Then I code
up
Dave:
I have user types with varying level of privileges and only a defined
user type can access a particular page. I thought of using filter for
this purpose, but not sure how to designate which layout*.jsp (have
created multiple layout.jsp pages for varying user types: e.g. admin
can access layo
Craig McClanahan wrote:
That being said, I have seen cases where the potential performance
penalty is quite large (many seconds of database access), which will
show up in one of your users waiting an abnormally long time for their
response -- not something I would find very appealling.
I don't l
Matt Raible raibledesigns.com> writes:
>
> As far as drop-downs, I typically populate all (or most) of mine from a
> database at application startup using a ServletListener. I stuff these
> into the application scope as Lists of LabelValue beans. Then I code
> up a ReloadAction that can
On Apr 8, 2005 12:39 PM, Dave Newton <[EMAIL PROTECTED]> wrote:
> Craig McClanahan wrote:
>
> >On Apr 8, 2005 11:28 AM, Dave Newton <[EMAIL PROTECTED]> wrote:
> >
> >
> >>I haven't done much (anything?) with servlet listeners--what's the
> >>advantage to doing it this way as opposed to a servlet.i
Craig McClanahan wrote:
On Apr 8, 2005 11:28 AM, Dave Newton <[EMAIL PROTECTED]> wrote:
I haven't done much (anything?) with servlet listeners--what's the
advantage to doing it this way as opposed to a servlet.init that loads
on app startup? Generally what we've done is to have a thread that
che
On Apr 8, 2005 12:15 PM, Matt Raible <[EMAIL PROTECTED]> wrote:
>
> On Apr 8, 2005, at 1:00 PM, Christine Huang wrote:
>
> > On Apr 8, 2005 1:40 PM, Craig McClanahan <[EMAIL PROTECTED]> wrote:
> >>
> >> The servlet container is *not* required to leave your load-on-startup
> >> servlet loaded for
On Apr 8, 2005, at 1:00 PM, Christine Huang wrote:
On Apr 8, 2005 1:40 PM, Craig McClanahan <[EMAIL PROTECTED]> wrote:
The servlet container is *not* required to leave your load-on-startup
servlet loaded for the entire duration of the webapp's lifetime
(although, in practice, most containers do).
On Apr 8, 2005 11:50 AM, Jay Burgess <[EMAIL PROTECTED]> wrote:
> We too use a PlugIn, and I'm now wondering based on Craig's explanation
> whether
> there are any advantages/disadvantages of one technique over the other?
Struts PlugIns are initialized and destroyed by the ActionServlet.init
and
On Apr 8, 2005 1:40 PM, Craig McClanahan <[EMAIL PROTECTED]> wrote:
>
> The servlet container is *not* required to leave your load-on-startup
> servlet loaded for the entire duration of the webapp's lifetime
> (although, in practice, most containers do). For example, the
> container could unload
We too use a PlugIn, and I'm now wondering based on Craig's explanation whether
there are any advantages/disadvantages of one technique over the other?
Jay
Vertical Technology Group
http://www.vtgroup.com/
-Original Message-
From: Joe Germuska [mailto:[EMAIL PROTECTED]
Sent: Friday,
Matt's general approach is the one we use also, except instead of
ServletListeners and the database, we use the DigestingPlugIn, which
produces objects based on XML and can put them in the application
context. There's an example in the mailreader app which you should
be able to just about cut-
On Apr 8, 2005 11:28 AM, Dave Newton <[EMAIL PROTECTED]> wrote:
> Matt Raible wrote:
>
> > As far as drop-downs, I typically populate all (or most) of mine from
> > a database at application startup using a ServletListener. I stuff
> > these into the application scope as Lists of LabelValue bea
Matt Raible wrote:
As far as drop-downs, I typically populate all (or most) of mine from
a database at application startup using a ServletListener. I stuff
these into the application scope as Lists of LabelValue beans. Then
I code up a ReloadAction that can call my Listener to reload them
As far as drop-downs, I typically populate all (or most) of mine from a
database at application startup using a ServletListener. I stuff these
into the application scope as Lists of LabelValue beans. Then I code
up a ReloadAction that can call my Listener to reload them all. I've
found t
If those drop-down values are not dynamic, I would use a application
scope bean.
If it is dynamic, like credit card profiles in a dropdown list for a
particular user, I will declare it as ActionForm property.
I would like to hear about other people's solution.
Christine
On Apr 8, 2005 12:18 P
Leon Rosenberg anotheria.net> writes:
>
> Sorry, but what exactly do you mean with meta information?
>
> Leon
>
> > -UrsprÃngliche Nachricht-
> > Von: news [mailto:news sea.gmane.org] Im Auftrag von Anil
> > Gesendet: Freitag, 8. April 2005 02:34
> > An: user struts.apache.org
> >
sudip shrestha wrote:
--
I have few layout.jsp templates where I have following chuck of code
which should redirect the browser to login page if session expires:
<% String loginCheck = "notLoggedIn";
if( session.getAttribute( "sessi
Assuming that month, val1 & val2 are the *names* of columns this is going to
be a tricky problem to solve with just SQL. You need to query the system
tables to extract the names of the columns.
The other problem is that the number of columns in your result set needs to
vary depending on the number
Maybe I'm being dense here but:
If every session contains a reference to the bean, and every thread is
synchronizing on their own session;
It would seem that there would not be any concurrency control.
I would think that they all need to sync on the same object.
JC
id/ID are synthetic keys and can be ignored (as well as 'total'). So, the
simplified case is:
source_table
-
month val1val2
jan 1 2
feb 3 4
target_target
-
VAL COL1C
I don't 100% understand your tables. Where does ID come from (the values 1 &
2 exist in the first view, but 1,2,3,4 in the second).
Are the totals derived?
Give me the SQL for the first view and I'll have a look.
Paul
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTE
Scott.
I have architectured an application a little over a year ago...
And opted to use a filter to handle logic before getting into the Struts
portion of the application.
At first... I was unsure if this was the best way to go... but today I am
sure glad I did so.
The users started making ridu
The two approaches I have succesfully used are container managed
authentication & Filters.
Filters are simpler & more flexible than container managed authentication,
so unless you need a particular feature of CMA (e.g. automatic propogation
of credentials to EJBs) I wouldn't recommend it.
I belie
No, I am getting appropriate exception from app server. Here is the exception.
I want to avoid it and synchronize the request. But synchronisation is not
working some how. Here is what my app server gives exception
com.evermind.server.rmi.OrionRemoteException: Second thread call to stateful
ses
Hello,
First off, I am having trouble with creating a more elegant solution to a
proboem.
A- Problem, I have a site that requires authentication (form-based) when they
hit our site.
Upon building the site which requires an "AppObject" and "UserObject", I
subclassed the
RequestProcesso
Richard Rozema wrote the following on 4/7/2005 5:57 PM:
I'm pretty new on struts programming and I've read to avoid using session.
The only real reason I see not to use session is that if I stick 2 instances
of my search tile in the same page (and I will do so), they will share the
same property na
Hi
http://kulkarni_ash.tripod.com/howto/jsptaglib-howto.html
Ashish
--- Rick Reumann <[EMAIL PROTECTED]> wrote:
> N G wrote the following on 4/7/2005 3:31 PM:
> > Does anyone know of some open source paginator
> package out there?
> > Something generic enough that you could stick
> collections int
Using: Tomcat 5.5.7, Sun JDK 1.5, Struts 1.2.4
--
I have few layout.jsp templates where I have following chuck of code
which should redirect the browser to login page if session expires:
<% String loginCheck = "notLoggedIn";
if( se
So, I have the following table:
id month val1val2total
1 jan 1 2 3
2 feb 3 4 7
And I'd like it transformed to:
ID VAL COL1COL2
1 month jan feb
2 val11 3
3 val22 4
4 total
I think the only way you can have one ActionForm reuse another
ActionForm is to include the second ActionForm as a property of the
first. For example, if you have a standard AddressActionForm that
includes validation rules for street, city, state, postal code, etc.
you can use this as a property i
As I hit the send button, something tickled in the back of my mind, and I
began to remember that the spec forbids thread primitiives on bean methods
and that the EJB container is responsible for handling concurrent access.
Sounds like your provider might have a defect.
Dennis
[EMAIL PROTEC
You're synchronizing on an object which is unique for each user, which
might explain why more than 1 thread can concurrently enter the critsec.
Wouldn't a better solution be to declare the method as synchronized?
Dennis
"Kalra, Ashwani" <[EMAIL PROTECTED]>
04/08/2005 08:53 AM
Please respon
Isnt that valid when request is going to same action. In my scenario, different
actions are invoked quickly and all the actions have this call to SFSB. Which
I want to synchronise
Thanks & Regds
Ashwani
Ext: 1860
> -Original Message-
> From: James Mitchell [mailto:[EMAIL PROTE
You'd be better off implementing token processing.
Struts includes token generation and helper methods to ensure only one valid
request is handled at a time. Look at the struts example application
(mailreader) for an example.
For detailed info on why this pattern works, see:
http://www.amazon.c
As I recall, and contrary to what some documentation says, it is actually the
absence or presence of the settings of open() that determines what chrome
elements are present. So:
window.open(this.target,'','width=1,height=1');
I believe is what you want. AFAIK,you also need to throw qu
As I recall, and contrary to what some documentation says, it is actually the
absence or presence of the settings of open() that determines what chrome
elements are present. So:
window.open(this.target,'','width=1,height=1');
I believe is what you want. AFAIK,you also need to throw qu
Hi,
can your helpmy with a dinamic form with struts? I need an example of
a dinamic form, please
thanks.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I'd use a packet sniffer like ethereal (www.ethereal.com) . Its free
under the GNU license and tremendously powerful. You should be able to
use it to measure both HTTP and Telnet traffic. The only problem I have
with it is the amount of stuff it captures, fortunately it has
sophisticated filt
I am facing concurrency problem in following scenario.
All our action classes call same stateful session bean . Each action class
obtains the reference from HTTPSession object and calls one and only one
business method.
To prevent the concurrent access to this instance which occurs when user
I am trying to reuse ActionForms within an application but I am unsure how
to deal with validation. What I have at the moment is an ActionForm1 which
contains a second form ActionForm2. In validation.xml, how do I use the
validation for ActionForm2 within the ActionForm1 validation? Can I use it
wi
method="post"
action="album_photo.CRACKWILLOW"
target="whereOwhere"
onsubmit="window.open(this.action,this.target,
'directories=0,status=0,menubar=0,scrollbar=2,toolbar=0,resizable=0,copyhistory=0,width=1,height=1');return
false">
I am using the following code and do not want the menubar, etc. on my
popup. But the menubar and everything else is still showing up. You
javascript mavens out there, what is wrong?
--
"You can lead a horse to water b
47 matches
Mail list logo