Hi DN! Seems like the specs just changed..;) Please see inline
comments..
Dinh Nguyen wrote:
Geeta,
thanks for pointing out the issue, however, we take care of that in
the validation form. Either way if the user misses some fields,
he/she'll be redirected back to the registration form
Hi,
Do you know how to do the confirm page using struts? For example,
after a person fill-out a registration form, he/she clicks on Submit
button, she/he will be redirected to a page says that are you sure
you want to submit information?. If the use clicks yes, button,
then he/she
class via the controller.
-Original Message-
From: Dinh Nguyen [mailto:[EMAIL PROTECTED]
Sent: Saturday, October 25, 2003 12:02 PM
To: [EMAIL PROTECTED]
Subject: How to do Confirmation page.
Hi,
Do you know how to do the confirm page using struts? For example,
after a person fill-out
Hi Rajat,
Ok, let say, whatever page, the user wants to save the information,
then the Save (Submit) button will be implemented. But how do you do
that? Can you give me example? how do I use the forward in my
action class?
Thanks,
Dinh nguyen
--- In [EMAIL PROTECTED], Rajat Pandit [EMAIL
!!
-Original Message-
From: Dinh Nguyen [mailto:[EMAIL PROTECTED]
Sent: Saturday, October 25, 2003 12:11 PM
To: [EMAIL PROTECTED]
Subject: Re: How to do Confirmation page.
Hi Rajat,
Ok, let say, whatever page, the user wants to save the information,
then the Save (Submit) button
Rajat,
I don't get what mean. Where did you get the value for result from?
so in this case, I have two files, actionform and action classes, How
and where do I modify these files in order for the buttons to work?
Do I have to modify in other files as well?
Thanks for your help.
Dinh nguyen
wrote:
Hi,
Do you know how to do the confirm page using struts? For example,
after a person fill-out a registration form, he/she clicks on Submit
button, she/he will be redirected to a page says that are you sure
you want to submit information?. If the use clicks yes, button,
then he/she
..)
Hth,
Geeta
Dinh Nguyen wrote:
Hi,
Do you know how to do the confirm page using struts? For example,
after a person fill-out a registration form, he/she clicks on
Submit
button, she/he will be redirected to a page says that are you
sure
you want to submit information
similar (combining it
with
an onClick method for your submit button..)
Hth,
Geeta
Dinh Nguyen wrote:
Hi,
Do you know how to do the confirm page using struts? For example,
after a person fill-out a registration form, he/she clicks on
Submit
button, she/he
for your submit button..)
Hth,
Geeta
Dinh Nguyen wrote:
Hi,
Do you know how to do the confirm page using struts? For
example,
after a person fill-out a registration form, he/she clicks on
Submit
button, she/he will be redirected to a page says that are you
sure
think you should be able to do something similar
(combining it
with
an onClick method for your submit button..)
Hth,
Geeta
Dinh Nguyen wrote:
Hi,
Do you know how to do the confirm page using struts? For
example,
after a person fill-out
..)
Hth,
Geeta
Dinh Nguyen wrote:
Hi,
Do you know how to do the confirm page using struts? For
example,
after a person fill-out a registration form, he/she
clicks on
Submit
button, she/he will be redirected to a page says
that are you
sure
/customerTitleParcels.jsp/
/definition
Then in my jsp, I have:
tiles:getAsString name=title/
Which outputs Customer Consignment Note as expected.
Now my client wants the title to read Consignment Note for where
is the customer's name.
Does anyone have an idea how to do
:
tiles:getAsString name=title/
Which outputs Customer Consignment Note as expected.
Now my client wants the title to read Consignment Note for where
is the customer's name.
Does anyone have an idea how to do this?
--
Kris Schneider mailto:[EMAIL PROTECTED
Then in my jsp, I have:
tiles:getAsString name=title/
Which outputs Customer Consignment Note as expected.
Now my client wants the title to read Consignment Note for where
is the customer's name.
Does anyone have an idea how to do
titles: how to do?
I am using tiles. I define the title of a web page in tiles-defs.xml as in
this snippet:
definition name=tiles.customer.title.parcels
extends=tiles.default.layout
put name=title value=Customer Consignment Note/
put name=content value=/pages/customerTitleParcels.jsp
controller to the title attribute from the
TilesContext and append the customer name.
HTH,
Matt
-Original Message-
From: PhilNoon [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 09, 2003 10:30 AM
To: [EMAIL PROTECTED]
Subject: tiles-defs.xml and dynamic page titles: how to do?
I am
Hi,
I should want to do a META HTTP-EQUIV=refresh CONTENT=0;URL=xxx, to
produce an action (a LookupDispatchAction idealy), then a forward with the
result of this action.
How is it possible ?
Thanks in advance for your help.
--
SARL diaam informatique - 04 50 44 26 54
Ingenierie,
jsp:param name=Name value=bean:write name=showvalue property=providerName /
/
I get the following errors
Error(32): Attribute: showvalue is not a valid attribute name
Error(32): Attribute: property is not a valid attribute name
Error(33): Not expecting text inside this tag
Can I give the tag
You can't do that. See here for more:
http://marc.theaimsgroup.com/?l=struts-userm=105771765327337w=2
HTH
m
--- Sashi Ravipati [EMAIL PROTECTED] wrote:
jsp:param name=Name value=bean:write
name=showvalue property=providerName / /
I get the following errors
Error(32): Attribute:
so how can I set the value in the jsp:param tag which is available in
bean:write.
Please bear with me as I am learning..
Thanks
[EMAIL PROTECTED] 07/25/03 10:43AM
You can't do that. See here for more:
http://marc.theaimsgroup.com/?l=struts-userm=105771765327337w=2
HTH
m
--- Sashi
The third example in Kris' post, would do. For your
JSP, that would translate to:
jsp:param name=Name value=%=foo /
Where does foo come from, you ask? I believe this
whould be one of a few possible answers:
%
String foo = showvalue.getProviderName();
%
m
--- Sashi Ravipati [EMAIL PROTECTED]
Switch to an EL implementation, either Struts-EL or JSTL, which would allow
you to leverage bean properties as attributes of their tags
-Original Message-
From: Michael Ruppin [mailto:[EMAIL PROTECTED]
Sent: Friday, July 25, 2003 9:59 AM
To: Struts Users Mailing List
Subject: Re: how
Hi
I have a lookup table which has approx(1000 rows) with Code and Description. (Say
1=Office,2=home etc)
The user will input data(Say code=1) in a text field and when he moves to next field
he wants the description (Office) to be displayed.
Did somebody have similar situation or does struts
Hi shashi,
U must use javascripts to do that and within javascripts u forward it to an action
that populates all the fields.I have done that and it works fine..
Cheers
Prashanth
Sashi Ravipati [EMAIL PROTECTED] wrote:
Hi
I have a lookup table which has approx(1000 rows) with Code and
This is not a bug. The applet creates a request and receives the
response. The browser doesn't know anything about this. You need to call
getAppletContext().showDocument(URL) in your applet. Of course, you
could create an URL from an ActionForward, serialize it to your applet,
and then call
Thanks!
I was terribly confused. It was too simple... sometimes I can get a
complex solution when the simple one is the best. Thanks a lot for wake me.
Reinhard Nägele wrote:
This is not a bug. The applet creates a request and receives the
response. The browser doesn't know anything about
Hello!
I'm developing an application with communication between applet and
front-controller (that calls the corresponding Actions). No problem
here, I do that with response.getOutputStream... , works!
The problem comes here: I want to do a forward, with the corresponding
action. For do that I
PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED],
[EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: RE: newbiew Q: how to do redirect instead of forward
-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]
I've also been known
hey man, discuss this real-time at irc.darkmyst.org 6667! If you need a
client, get it at www.mirc.com.
mark
-Original Message-
From: Vic Cekvenich [mailto:[EMAIL PROTECTED]
Sent: Saturday, June 07, 2003 10:46 AM
To: [EMAIL PROTECTED]
Subject: Re: newbiew Q: how to do redirect instead
for forward we usually do
execute() {
...
return mapping.findForward(listing);
}
I tried to use redirect by
execute() {
ActionForward af = mapping.findForward(listing);
af.setRedirect(true);
return af;
}
but get exception
javax.servlet.ServletException: Configuration is
: Zhu He [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 05, 2003 4:16 PM
To: [EMAIL PROTECTED]
Subject: newbiew Q: how to do redirect instead of forward
for forward we usually do
execute() {
...
return mapping.findForward(listing);
}
I tried to use redirect by
execute() {
ActionForward
Please respond to Struts Users Mailing List
[EMAIL PROTECTED]
To: [EMAIL PROTECTED]
cc:
Subject: newbiew Q: how to do redirect instead of forward
for forward we usually do
execute() {
...
return mapping.findForward(listing);
}
I tried to use redirect by
execute
request and arrives at the view with
request object intact.
RequestDispatcher vs response.redirect();
Brandon Goodin
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 05, 2003 2:37 PM
To: Struts Users Mailing List
Subject: Re: newbiew Q: how to do
PROTECTED]
Sent: Thursday, June 05, 2003 4:48 PM
Subject: RE: newbiew Q: how to do redirect instead of forward
1) You need to set your forward redirect=(true|false) in your
struts-config.xml for that particular action mapping.
2) The difference...
a) redirect generates a whole new request
.
In a forward, the request is done w/o the help of the client browser. Also,
the Request and Response objects are kept.
Jimmy
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 05, 2003 4:37 PM
To: Struts Users Mailing List
Subject: Re: newbiew Q: how to do
-6100
Brandon Goodin [EMAIL PROTECTED] on 06/05/2003 04:48:43 PM
Please respond to Struts Users Mailing List
[EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
cc:
Subject: RE: newbiew Q: how to do redirect instead of forward
1) You need to set your forward redirect
Ok. So, from the user's perspective, when we do a redirect, they are sent
to a different location. When we do a forward, they are not, even if the
content changes?
The content changes to the content of the new page, but address bar stays
the same because all the forwarding is done on the
On Thu, 5 Jun 2003 [EMAIL PROTECTED] wrote:
Date: Thu, 5 Jun 2003 16:54:45 -0400
From: [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: RE: newbiew Q: how to do redirect instead of forward
Ok. So, from
-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]
I've also been known to create web applications that open the app in a new
window without these things -- it doesn't stop the advanced user who knows
the keyboard shortcuts from trying to screw things up, but it
On Fri, 6 Jun 2003, Steve Raeburn wrote:
Date: Fri, 6 Jun 2003 22:32:04 -0700
From: Steve Raeburn [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED],
[EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: RE: newbiew Q: how to do redirect
, YOUR PATTERN IS AN EXACT PATTERN
-Max
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, April 03, 2003 10:33 PM
Subject: RE: How to do authentication in different way for different action
classes
Would this be valid then:
security-constraint
-Original Message-
From: Max Cooper [mailto:[EMAIL PROTECTED]
Sent: Friday, April 04, 2003 3:11 AM
To: Struts Users Mailing List
Subject: Re: How to do authentication in different way for different
action classes
That should work fine. /Content/*.do will still be considered an exact
pattern
current issue.
Hope that helps,
-Max
- Original Message -
From: Rajendra Kadam [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Friday, April 04, 2003 11:08 AM
Subject: RE: How to do authentication in different way for different action
classes
Hi Max,
Thanks
Hi,
I am desigining an application, in which I have action forms that inherit from other
created action forms.
E.g
public class BaseActionForm extends ValidatorAction
{
private String attributeOne;
private String attributeTwo;
}
public class ExtendedActionForm extends BaseActionForm
{
private
Hi,
I am desigining an application, in which I have action
forms that inherit from other created action forms.
E.g
public class BaseActionForm extends ValidatorAction
{
private String attributeOne;
private String attributeTwo;
}
public class ExtendedActionForm extends BaseActionForm
{
private
Hi,
In our application,
I don't want to do authentication to first action class ( welcome.do )
But at the same time, I want to do authetication for all other action
classes.
Initally my web.xml was looking like this
servlet
servlet-nameaction/servlet-name
than the one that does.
-Max
- Original Message -
From: Rajendra Kadam [EMAIL PROTECTED]
To: Struts-User [EMAIL PROTECTED]
Sent: Thursday, April 03, 2003 4:23 PM
Subject: How to do authentication in different way for different action
classes
Hi,
In our application,
I don't want
Mailing List; [EMAIL PROTECTED]
Subject: Re: How to do authentication in different way for different
action classes
You should keep *.do for your servlet mapping.
Assuming you are using container-managed security, you can do something like
this for your security constraints:
security
to do ORing using struts:logic Tag
Hi,
I'm using struts 1.0.
Here is the case that I want to do OR two conditions.
For Eg. like this
If ( user_role.equal(guest) || user_role.equals(temp) )
{
then do something
}
How should I do it.
if I try to use struts:logic tag, I'm unable
Hi,
I'm using struts 1.0.
Here is the case that I want to do OR two conditions.
For Eg. like this
If ( user_role.equal(guest) || user_role.equals(temp) )
{
then do something
}
How should I do it.
if I try to use struts:logic tag, I'm unable to make it.
Doing
hello,
I need popup that submits some data and then closes and refresh parent
window,
but if server side validation fails then that popup window needs to show
errors and stay.
any ideas hot to do it?
tnx
Best Regards.
Michael.
This would work...
validate the form before everything, if okay
return response.write(body
onload=myfunctionforclosingthiswindowandredirecting the parent());
from action servlet
the javascript can be in the popup and the function in only called my
the response...
hope this helps
mark
: [Q] how to do server side validation for popup that closes
on sub mit?
This would work...
validate the form before everything, if okay
return response.write(body
onload=myfunctionforclosingthiswindowandredirecting the parent());
from action servlet
the javascript can be in the popup
to
somewhere else in main window from action/eventhandler function.
Thanks
Anis
-Original Message-
From: Mark Lowe [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 13, 2003 9:55 AM
To: Struts Users Mailing List
Subject: Re: [Q] how to do server side validation for popup that closes
on sub mit
Users Mailing List
Subject: Re: [Q] how to do server side validation for popup that closes
on sub mit?
the pop window is already open.. 1000 times.. i really should
read before barking
the question was how to validate and then close it...
if there's and error then the function isn't
Hi,
I have textfield on first page, user enters a name there, then i have to go to
database, get all the info about this name and load it on a jsp page,
how can i do it using struts???
Suppose i will call the Action class which will get the data from database and
populate ActionForm, how
Hi,
Is it possible to determine by calling isUserInRole('unauthenticated'),
where 'unauthenticated' is an identifier of the anonymous (i.e. the
not-logged-in) user?
Joe
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Hi,
One way to ascertain if a user has not logged in is to call
request.getUserPrincipal (), if this is null the user has not yet logged in.
Jon.
-Original Message-
From: jfc100 [mailto:[EMAIL PROTECTED]]
Sent: 24 April 2002 12:08
To: Struts-User
Subject: How to do 'isUserInRole
Subject: Re: How to do 'isUserInRole(unauthenticated)'?
From: Torgeir Veimo [EMAIL PROTECTED]
===
jfc100 wrote:
Is it possible to determine by calling isUserInRole('unauthenticated'),
where 'unauthenticated' is an identifier of the anonymous (i.e. the
not-logged-in) user?
A unauthenticated
Craig R. McClanahan wrote:
Subject: Re: Creating beans dynamically from byte code in a byte[] with
ClassLoader.defineClass - how to do it right?
From: JM [EMAIL PROTECTED]
===
Absolutely, how did ya do it?
One approach to dynamic class generation would be to use the BCEL package
Struts Newsgroup (@Basebeans.com) wrote:
Subject: Re: How to do 'isUserInRole(unauthenticated)'?
From: Torgeir Veimo [EMAIL PROTECTED]
===
jfc100 wrote:
Is it possible to determine by calling isUserInRole('unauthenticated'),
where 'unauthenticated' is an identifier of the anonymous (i.e
Subject: Re: Creating beans dynamically from byte code in a byte[] with
ClassLoader.defineClass - how to do it right?
From: JM [EMAIL PROTECTED]
===
Absolutely, how did ya do it?
Thorbjoern Andersen [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]...
Thorbjørn Ravn Andersen
[] with
ClassLoader.defineClass - how to do it right?
Subject: Re: Creating beans dynamically from byte code in a byte[] with
ClassLoader.defineClass - how to do it right?
From: JM [EMAIL PROTECTED]
===
Absolutely, how did ya do it?
One approach to dynamic class generation would be to use the BCEL package
Thorbjørn Ravn Andersen (Scandiatransplant) wrote:
I have spent some time lately figuring out how I can generate beans
on-the-fly with fields completely specified at run-time, since this would
be an enourmeous help when working with JDBC and Struts in an informal
matter (which is why I ask here
On Mon, 15 Apr 2002, Niall Pemberton wrote:
This is exactly what DynaBeans were invented for.
I have spent quite some time looking for such an automatic bean creation
facility, and apparently it is something which is quite unique to the
Struts project in that there is a working solution.
I have spent some time lately figuring out how I can generate beans
on-the-fly with fields completely specified at run-time, since this would
be an enourmeous help when working with JDBC and Struts in an informal
matter (which is why I ask here :-)
I have used Apache Jakarta BCEL to construct
PROTECTED]]
Sent: 15 April 2002 16:15
To: Struts Users Mailing List
Subject: Creating beans dynamically from byte code in a byte[]
withClassLoader.defineClass - how to do it right?
I have spent some time lately figuring out how I can generate beans
on-the-fly with fields completely specified
is bound to their session,
and it would be a bad thing to have lost that context data.
How do I do this in Struts? In particular, if I'm in an Action class
and constructing an ActionForward object to toss the user to
the external service, how do I make sure the session is preserved?
Does
PROTECTED]]
Sent: Wednesday, January 23, 2002 12:05 PM
To: [EMAIL PROTECTED]
Subject: How to do an outcall but return to the session?
Hi all,
I need to integrate an external web-based service with a
Struts-based app. The chain of events are:
1. client invokes URL on my app within their current
-
From: Alex Paransky [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 23, 2002 4:21 PM
To: Struts Users Mailing List
Cc: [EMAIL PROTECTED]
Subject: RE: How to do an outcall but return to the session?
Assuming your client is using cookies this should work automatically. If
your client has
I figured that was probably what would happen in the case of cookies.
Is there an easy way to deal with the re-written url/disabled cookies case?
I want to be sure the right thing happens whether or not cookies are
enabled.
Thanks!
Alex Paransky [EMAIL PROTECTED] wrote:
Assuming your
Reid Pinchback wrote:
I figured that was probably what would happen in the case of cookies.
Is there an easy way to deal with the re-written url/disabled cookies case?
I want to be sure the right thing happens whether or not cookies are
enabled.
You can just always pass the external
-Original Message-
From: Alex Colic [mailto:[EMAIL PROTECTED]]
Sent: maandag 12 november 2001 21:25
To: Struts
Subject: Help!!Banging my head trying to figure out how to do this.
Help,
I can't figure out how to structure this. I am trying to make
a dynamic
program
Hi,
thanks all for the reply. I am going to have a look at those nesting tags.
Alex
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Help,
I can't figure out how to structure this. I am trying to make a dynamic
program that updates fields in a table. Essentially the program should work
as follows:
A user logs in. I get a list of objects that they can modify. For each
object I get a list of tables. For each table I populated
PROTECTED]]
Sent: Monday, November 12, 2001 2:25 PM
To: Struts
Subject: Help!!Banging my head trying to figure out how to do this.
Help,
I can't figure out how to structure this. I am trying to make a dynamic
program that updates fields in a table. Essentially the program should work
as follows:
A user
Hi,
could someone give me some architecture hints on how to do the following:
Lets say you have a business object that has a couple of mandatory and
optional fields populated by the user. The user goes from page to page, each
time inputting either a required piece of info or an optional piece
There is a validate extension that may do what you
want?
http://home.earthlink.net/~dwinterfeldt/
I believe that it is part of the nightly build as
well.
- Sandeep
--- Alex Colic [EMAIL PROTECTED] wrote:
Hi,
could someone give me some architecture hints on how
to do the following:
Lets
Hi,
Need a hint on how to do the following:
I have a bean which is a vector of items. Each item object has a name,
description price etc. When the user selects an item I create this vector
and pass it to a page which iterates through the vector and creates a table.
Something like:
name
a scriptlet to start with. Don't
forget to ensure that the Vector is not empty before reading the first
element.
Mark
-Original Message-
From: Alex Colic [mailto:[EMAIL PROTECTED]]
Sent: 04 October 2001 13:17
To: Struts
Subject: REPOST: A hint how to do the following with a bean.
Hi,
Need
PROTECTED]
cc:(bcc: David Hay/Lex/Lexmark)
Subject: REPOST: A hint how to do the following with a bean.
Hi,
Need a hint on how to do the following:
I have a bean which is a vector of items. Each item object has a name,
description price etc. When the user selects an item I create this vector
: Thursday, October 04, 2001 7:17 AM
To: Struts
Subject: REPOST: A hint how to do the following with a bean.
Hi,
Need a hint on how to do the following:
I have a bean which is a vector of items. Each item object has a name,
description price etc. When the user selects an item I create
Thanks for all the help. I got it working.
Alex
Hi,
Need a hint on how to do the following:
I have a bean which is a vector of items. Each item object has a name,
description price etc. When the user selects an item I create this vector
and pass it to a page which iterates through the vector and creates a table.
Something like:
name
85 matches
Mail list logo