I am using nested tags in in my JSP web application.
When session expired my application is navigated to login page with message
session expired .
This is working perfectly for all modules that used logic iterate and html
tags.
But for modules that were used nested tags , i am getting below
Hi!
I have class PortalSessionBindingListener implements HttpSessionBindingListener
with public void
valueBound(HttpSessionBindingEvent event) and public void
valueUnbound(HttpSessionBindingEvent
event) methods nad i want to get reqest object in both of this method. How can
i do that? if i
can anyone help me with this please? Thanks.
From: fea jabi [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List user@struts.apache.org
To: user@struts.apache.org
Subject: change URL in action?
Date: Fri, 19 May 2006 13:40:54 -0400
c:url value=/DispatchAction.do var=addUrl
c:param
Hello. I have two actionforms, one DomainActionForm and another
DomainWebsiteActionForm.
Is there a way inside my DomainAction class to change the actionForm to
point to DomainWebsiteActionForm?
I also have problems with the forwarding. I want to forward a page back
to another page that
fea jabi ha scritto:
c:url value=/DispatchAction.do var=addUrl
c:param name=method value=add/
/c:url
html:link href=${addUrl} transaction=true
fmt:message key=lbl.addlink bundle=${appbundle}/
/html:link
A link uses normally the GET HTTP method, therefore all your parameters
Is it possiable to have the image instead of Browse button in file object
?
Example :
src../images/b_upload.gif
html:file property=theFile titleKey=msg.select.file style=inputtype
/
rendered code in jsp
input type=file name=theFile value= style=inputtype title=Select
File
Shervin Asgari wrote:
Is there a way inside my DomainAction class to change the actionForm
to point to DomainWebsiteActionForm?
Um. Casting?
What are you actually asking? You want to use one form on the page but a
different one in the Action?
ActionForward forward =
Well since I am quite new to Struts, I just thought maybe something was
wrong with the ActionForm, because the forwards doesn't work. They work
for some parts of the system, but for others they don't.
In tiles-defs I have:
definition name=.domainAdminEdit extends=.tiles-adminpage
put
Hi all,
i want to use externalized messages in the validation errors of a
ActionForm subclass.
I have this code:
[...]
public ActionErrors validate(ActionMapping mapping, HttpServletRequest
request) {
ActionErrors errors = new ActionErrors();
/*
Shervin Asgari wrote:
Well since I am quite new to Struts, I just thought maybe something
was wrong with the ActionForm, because the forwards doesn't work. They
work for some parts of the system, but for others they don't.
In tiles-defs I have:
definition name=.domainAdminEdit
Hi All,
I have one simple question.
i have two html:select controls in same form.
when we select one control,then other one should get populated without
calling the Action
ie the options in the second control depends on the selected value of first
control.
please
Since you don't want to go to the server for populating the values of
the second list box, I would say JavaScript is the way to go.
Harsh.
-Original Message-
From: Radha Krishna [mailto:[EMAIL PROTECTED]
Sent: Monday, May 22, 2006 9:56 AM
To: user@struts.apache.org
Subject: Req on
Hi,
I my project at run time when modify the tile definition based on some
condition.
Wht I want to know that when symultaneous request come for that tile (which
will be used in rendering the page for that request.) Unexpected results for
diff user.
for e.g
one
Dave Newton wrote:
Shervin Asgari wrote:
Well since I am quite new to Struts, I just thought maybe something
was wrong with the ActionForm, because the forwards doesn't work. They
work for some parts of the system, but for others they don't.
In tiles-defs I have:
definition
Javascript...
Andy Miller
IS Designer
Butte College
530.895.2946
-Original Message-
From: Radha Krishna [mailto:[EMAIL PROTECTED]
Sent: Monday, May 22, 2006 7:56 AM
To: user@struts.apache.org
Subject: Req on html:select
Hi All,
I have one simple question.
i have two
navin mca ha scritto:
Hi,
I my project at run time when modify the tile definition based on some condition.
Wht I want to know that when symultaneous request come for that tile (which will be used in rendering the page for that request.) Unexpected results for diff user.
Hi Antonio,
Oh boy your English gave me an headache!
I am really sorry for my bad english.
Following is my tile definition.
definition name=forwardDynamicTile path=/WEB-INF/testLayOut.jsp
put name=attribute1 value=attribute1Value type=string/
putList name=body
Hi,
Does anyone know if there is a Struts free open source shopping cart?
I found two but they cost $500-$13,000. Any free ones?
Thanks,
mbohsali.
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
i think the hidden field is automatically created if you use html:form tag.
Thank you Adam, Paul:
I will try iBATIS as you suggested to me. I have another question to you
in the same context. In this MessagesManager class I have business
methods like getAllMessages() that retrieves all the messages from the
database, but I also have another business methods like
Locale locale = getLocale(request);
MessageResources messageResources = getResources(request);
messageResources.getMessage(locale, lbl.payout);
From: Jorge Martín Cuervo [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List user@struts.apache.org
To:
El lun, 22 de 05 de 2006 a las 18:43, fea jabi escribió:
Thanks, but remember that it's in a ActionForm subclass.
getLocale() and getResources() aren't avaliable. Those are Action
methods.
Can i get Action from ActionFrom?
Locale locale = getLocale(request);
MessageResources
find it in book programming Struts by chuck cavass,orielly pulications.
the struts is explained in the whole book based on shopping cart example.
Mounir Bohsali [EMAIL PROTECTED] wrote: Hi,
Does anyone know if there is a Struts free open source shopping cart?
I found two but they cost
I think this may have been asked before but can someone please make
sure that shale-test is being compiled such that it is compatible with
jdk 1.4. I am getting some major-minor version errors when trying to
run my unit tests against 1.4.
Here is the information from my shale-test manifest:
On 5/22/06, Ryan Wynn [EMAIL PROTECTED] wrote:
I think this may have been asked before but can someone please make
sure that shale-test is being compiled such that it is compatible with
jdk 1.4. I am getting some major-minor version errors when trying to
run my unit tests against 1.4.
Here is
On 5/22/06, Craig McClanahan [EMAIL PROTECTED] wrote:
On 5/22/06, Ryan Wynn [EMAIL PROTECTED] wrote:
I think this may have been asked before but can someone please make
sure that shale-test is being compiled such that it is compatible with
jdk 1.4. I am getting some major-minor version
is
java.lang.UnsupportedClassVersionError:
org/apache/shale/test/base/AbstractViewControllerTestCase (Unsupported
major.minor version 48.0)
shale-test.jar is from the 20060504 nightly build.
I'll try the latest build and see if that helps.
I get the same exact exception with the 20060522 nightly build
On 5/22/06, Ryan Wynn [EMAIL PROTECTED] wrote:
The exception is
java.lang.UnsupportedClassVersionError:
org/apache/shale/test/base/AbstractViewControllerTestCase (Unsupported
major.minor version 48.0)
I think that's correct for 1.4. (The error usually says '49' when
you're trying to run JDK
On 5/22/06, Wendy Smoak [EMAIL PROTECTED] wrote:
On 5/22/06, Ryan Wynn [EMAIL PROTECTED] wrote:
The exception is
java.lang.UnsupportedClassVersionError:
org/apache/shale/test/base/AbstractViewControllerTestCase (Unsupported
major.minor version 48.0)
I think that's correct for 1.4. (The
Hi Joel,
the methods you mention are all data access calls, not business methods, because business methods would actually carry out some form of business logic on the data.
But anyway your methods are OK. It just corresponds to the number of ways your
app needs to access the data. There
Hi,
I am starting to use struts for my project. I have a proble that the action
servlet is always returning NULL ActionForm to the Action class. Note that I
am using the struts 1.0 framework in which the ActionServlet instantiates
and populates the actionform.
I have checked the
Asif,
Do you have a name attribute set in your action definition? The name
attribute should be set to a form-bean name. Why don't you send your
struts-config.xml file?
-Richard
Asif Saleem wrote:
Hi,
I am starting to use struts for my project. I have a proble that the
action
servlet is
Hi,
I am using struts 1.2.9 for my project now. And for validating the user
input, I use DynaValidationForm and validation.xml to rule the user input.
At the client side (web page), I use the following code to show the error
information to the user.
logic:messagesPresent message=false
Hi,
When you call an action from href, it doesn't submit the form. In order to
do so, write a small JavaScript, which will submit the form on click of the
link. Struts will initialize the form only if doGet/doPost is called and
then pass it to the action class.
HTH,
On 5/20/06, red phoenix
Hi,
I want to implement a feature in struts wherein nobody can open a page
directly by copying the url and pasting it in a new browser window.i.e.
any page of the application can only be reached through login page. If
the user pastes the url in the browser, he is redirected to the login
35 matches
Mail list logo