Does your user have direct access to HttpSession object from a browser?
On 7 Oct 2005 05:54:30 -, vineesh . kumar
[EMAIL PROTECTED] wrote:
Hi all,
I have to maintain some information throuh out whole session from a user
login to user logout. For accomplishing this, I hav to maintain a
On 10/6/05, Frank W. Zammetti [EMAIL PROTECTED] wrote:
Leon Rosenberg wrote:
Well you shouldn't have anything with Database in the name in your
action, it should be encapsulated in a service POJO.
I'm not so sure about this... I understand the motivation for saying it
and agree with that
Hi, we have a strange Problem
with logic:equal
Look at the following code:
//-- first we create a bean
bean:define id=myBeanValue value=1/
//-- changing the value is this possible in the way???
% myBeanValue = 2; %
// tests with the logic:equals tags
logic:equal
On 10/7/05, starki78 [EMAIL PROTECTED] wrote:
Hi, we have a strange Problem
with logic:equal
Look at the following code:
//-- first we create a bean
bean:define id=myBeanValue value=1/
//-- changing the value is this possible in the way???
% myBeanValue = 2; %
change this to
Hello,
My application uses image buttons, based on html:image tag. I'd like
to add a cancel button, that may skip javascript validation.
I didn't find any attribute to set this on html:image. Do I have to
set myself the javascript bCancel = true ?
Thanks,
Nico.
This message contains
Note: Forwarded message attached
-- Original Message --
From: Dixa M [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Managing All Session from context
---BeginMessage---
Hi All,
I have an application in struts. Here I want to send Messege to all the alive sessions.I have managed
Do you have the struts-bean tag library defined in your jsp:?
Something like %@ taglib uri=/WEB-INF/struts-bean.tld prefix=bean %
Aymeric.
On 10/7/05, starki78 [EMAIL PROTECTED] wrote:
Hi, we have a strange Problem
with logic:equal
Look at the following code:
//-- first we create a bean
Hmm, I have used the 1.1_01 and the messages definitly work. Does your
bean extend the abstract one from shale (AbstractFacesBean)? Or is the
error method one you wrote?
On 06/10/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Ronald Holshausen [EMAIL PROTECTED] wrote on 10/06/2005 11:53:08 AM:
bean:define creates BOTH
- a script variable (a Java variable you can use in % ... % java blocs)
- a bean in specified scope (defaults to page)
So you have a myBeanValue variable set to 1 and a myBeanValue String
put into page scope.
% myBeanValue = 2; % changes value of script variable.
If the validate method returs non empty ActionErrors object, the control
will go to the JSP specified in the input attribute of the corresponding
action element in struts-config.xml .
Thanks,
Rajasekhar Cherukuri
Please respond to
Struts Users Mailing List user@struts.apache.org
To
Thank you all for your help!
Now I've understood the problem
-- Initial Header ---
From : Nicolas De Loof [EMAIL PROTECTED]
To : Struts Users Mailing List user@struts.apache.org
Cc :
Date : Fri, 07 Oct 2005 11:07:16 +0200
Subject : Re: Strange Problem
Can I do the following?
Same action class sets different attribute
according to the change of parameter?
Thanks
action path=/userProfileMaint
type=com.erp.struts.SetRoleHref
parameter=userProfileMaint
action path=/quotationMaint
type=com.erp.struts.SetRoleHref
Ronald Holshausen [EMAIL PROTECTED] wrote on 10/07/2005 05:03:23 AM:
Hmm, I have used the 1.1_01 and the messages definitly work. Does your
bean extend the abstract one from shale (AbstractFacesBean)? Or is the
error method one you wrote?
Thanks for your note Ronald. My bean extends
On Fri, October 7, 2005 3:05 am, Leon Rosenberg said:
If by persistance layers you mean things like hibernate and/or ibatis,
I would 100% agree with you.
Yep, that's what I meant :)
But if you mean that if you have a BL
POJO, say IMessagingService, which uses two DBs (at least logical)
like
aah! There is a bug with the AbstractFacesBean message functions. They
do not set the client id when adding the messages. It was fixed in
nightly build 20050921, but I don't think it has been tested yet.
I never used the methods in AbstractFacesBean, but it is easy to test.
You can add the
Ronald Holshausen [EMAIL PROTECTED] wrote on 10/07/2005 11:30:21 AM:
aah! There is a bug with the AbstractFacesBean message functions. They
do not set the client id when adding the messages. It was fixed in
nightly build 20050921, but I don't think it has been tested yet.
I never used the
If you get a later version of shale, you can then use the message
functions :-) They just do what your code does anyway.
On 07/10/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Ronald Holshausen [EMAIL PROTECTED] wrote on 10/07/2005 11:30:21 AM:
aah! There is a bug with the AbstractFacesBean
Ronald Holshausen [EMAIL PROTECTED] wrote on 10/07/2005 11:57:00 AM:
If you get a later version of shale, you can then use the message
functions :-) They just do what your code does anyway.
so guess what i am doing *right* now..? :)
Leon, I have a question about this one:
You don't need to care for exceptions you don't understand
(layer-technically, someone who writes an action doesn't care whether
its an SQLException or a FileNotFoundException)
If you say, that it should be easy to switch layers, then persistence
layer
On 10/7/05, Frank W. Zammetti [EMAIL PROTECTED] wrote:
I think we unintentionally hijacked a thread, so just in case we discuss
any further, a topic change is probably in order...
Tell me about hijacking ;)
On 10/7/05, Leon Rosenberg [EMAIL PROTECTED] wrote:
But I'm absolutely with you, if
On Fri, October 7, 2005 1:27 pm, Michael Jouravlev said:
P.S. The last soldier's reply does not exist in original joke, but
many people I told it to could not get the joke without it ;-)
You really need to find some different people to talk to... the type of
people that wouldn't get it without
Once again a question about best practices. So I setup an error page,
referenced in struts-config.xml that shows the error. My problem is
this.
#1 - I want to log the error and print out to the console in addition
to going to the error page. This isn't happening. Does this mean that I
need to
Two of our existing apps are built with different Struts versions:
1.1 and 1.0
I am not able to find information on how Struts framework handles invalid paths
or where to tweak the existing capability.
If this is a valid path:
/en/ca/home.do
what is going to be returned to the user
Hi Frank,
Here's the thing about technology, it *evolves*... and it comes as really
odd that you *belive* that people introduce new technology solution,
architecture, design changes, to just make them more market-able!!.
I don't subscribe to this idea, but I would like to add however
Using Struts 1.1
Problem:
Problem displaying available choices in Select option list when using
Validator sends me back to my input page.
Details:
I have 2 html select dropdown boxes on my web page. The values that appear
inside come from my database, and are sent to my form inside my form
On Fri, October 7, 2005 2:33 pm, [EMAIL PROTECTED] said:
Hi Frank,
Here's the thing about technology, it *evolves*... and it comes as
really odd that you *belive* that people introduce new technology
solution, architecture, design changes, to just make them more
market-able!!.
It's not
I'm plunging into the world of JSP development and I'm
wanting to improve on this type of [messy] logic:
% int rowCount = 0; %
logic:iterate id=oi name=myForm property=stuff
% if (++rowCount % 2 == 0) { %
tr class=normalRow
% } else { %
tr class=altRow
% } %
tdbean:write
Bosko Vukojevic wrote:
Two of our existing apps are built with different Struts versions:
1.1 and 1.0
I am not able to find information on how Struts framework handles invalid paths or where to tweak the existing capability.
If this is a valid path:
/en/ca/home.do
what is going to
Hi Frank,
Sorry couldn't help but remark that... it seems some people are forgetting
the software engineering basics.. :)
There is no silver bullet!
And you are absolutely right that there is no justification for using new
technology just for the heck of it... (And there is a
[EMAIL PROTECTED] wrote:
Using Struts 1.1
Problem:
Problem displaying available choices in Select option list when using
Validator sends me back to my input page.
Details:
I have 2 html select dropdown boxes on my web page. The values that appear
inside come from my database, and are sent to
Can someone point me to some articles or provide some examples on how to
minimize security related code (authorization) in my Action classes? I am
currently using container-managed, form-based security (Tomcat) for
authentication and security-contraint and security-role elements in
web.xml.
The
On Fri, October 7, 2005 4:10 pm, [EMAIL PROTECTED] said:
And you are absolutely right that there is no justification for using
new technology just for the heck of it... (And there is a reason some
of the banks still have those mainframes lying around!.) like they say
if it ain't broken,
I think this philosophical topics are SUPERB, specially on fridays.
I don't have Ur xperience in development, but I'm a new tecnology skeptic.
If someone in my team tells me to use X tecnology, because it's brand new,
etc or if because it's a standard, I just tell him about the risks, the
梁炳場 wrote:
Can I do the following?
Same action class sets different attribute
according to the change of parameter?
Thanks
action path=/userProfileMaint
type=com.erp.struts.SetRoleHref
parameter=userProfileMaint
action path=/quotationMaint
Rafael Nami wrote:
If I can't learn it in 2 or 3 days, we don't adopt it.
If you can learn new technologies in 2-3 days you can afford to learn
most anything.
2-3 hrs: Do I care about this technology (right now)?
2-3 days: Can I implement a minimal example and get a feel for it?
2-3 weeks:
Hi,
Is there any good resource on the net that describes the usage of
struts tag libraries (html,bean, logic etc) with examples? I saw the
examples available on the
http://struts.apache.org/userGuide/struts-bean.htm but there are no
examples that describes how you can use it?
Please reply.
On 10/7/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hi Frank,
Sorry couldn't help but remark that... it seems some people are
forgetting the software engineering basics.. :)
There is no silver bullet!
Damned, and I actually thought I found one :-)
But seriously, I think the
_Listen_ to the customer,
+1 that requriements is the silver bullet. I address is w/ both mock ups
and prototypes... to demonstrate active listening.
.V
http://roomity.com (version 1.3 is live)
-
To unsubscribe, e-mail:
I am using Struts 1.1 deployed in Tomcat 4.1 running under JDK 1.3.
I have a contact form I am building. It will get the user's email from
an object called a UserInfoBean, which is not an ActionForm subclass,
but does follow the JavaBean paradigm. It simply holds user info such
as first name,
Hello all:
Everytime I deploy my .war file on my server, restart Tomcat and access
the JSPs and
actions it will compile (make JSPs servlets) and load them. It takes a
time the first time.
This gets annoying as the application gets bigger.
Is there any way to deploy the war and have a build
TheServerSide.com has access to a free PDF download of Jakarta Struts
Live. While I don't think the book is that great overall, there are
some chapters on the Struts tag libs.
http://www.theserverside.com/books/sourcebeat/JakartaStrutsLive/index.tss
On 10/7/05, Leon Rosenberg [EMAIL PROTECTED]
http://localhost/manager/reload?path=/
above should do.
Have eclipse point to where you app.xml points (to root of WEB-INF)
.V
C.F. Scheidecker Antunes wrote:
Hello all:
Everytime I deploy my .war file on my server, restart Tomcat and access
the JSPs and
actions it will compile (make
It does not submit a form. I guess, by default, JSF does not allow that.
On 10/6/05, Eduardo Ribeiro da Silva [EMAIL PROTECTED] wrote:
Try outputLink
-Mensagem original-
De: Michael Jouravlev [mailto:[EMAIL PROTECTED]
Enviada em: quinta-feira, 6 de outubro de 2005 15:10
Para: Struts
43 matches
Mail list logo