I got a form for editing a data records.
When I hit cancel I want to display an other page then when I hit
submit.
How to do this ?
thx,
marcus
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
2002. december 3. 09:37 dátummal Marcus Biel ezt írtad:
I got a form for editing a data records.
When I hit cancel I want to display an other page then when I hit
submit.
How to do this ?
Read the docs! Take a look at the struts-example.war, or read the struts-tips
at husted.com:
Just reached level 14 :)
-Original Message-
From: Gemes Tibor [mailto:[EMAIL PROTECTED]]
Sent: vrijdag 29 november 2002 16:33
To: [EMAIL PROTECTED]
Subject: [FRIDAY] laser
I've just found this piece of game, and since then I simply cannot stop
playing it!
One way is to do a forward from within the action. Ie: both buttons still
submit to same action to start with, but if its detected that it was a
cancel then the action immediately returns an ActionForward that forwards
the request on to the action/jsp/etc... that you want to go to if they hit
is there a known bug using nested checkboxes on a sun solaris ?
It seems that nested checkboxes are not repopulated by struts when submitting a form!
(in the request parameters they do appear, and on WinNT it works properly)
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional
I am using iText, a free, straight java tool. It has some of the
characteristics of html but is it's own beasty. It is fast and works
well however.
Edgar
-Original Message-
From: Shashikiran M [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 03, 2002 1:16 AM
To: '[EMAIL PROTECTED]'
Hi,
I need in my Struts application to access to the local file system,
in order to create files, download files and display the content of
directories.
I would like to know if someone has already develop functions and
JSP/Tiles
interfaces that allow to
No, my problem is different!
A simple reset would be easy -
but I want to hit reset when I am editing -
when editing and I hit submit, it calls an action,
that updates the record,
then it forwards to a new jsp, that's says:
Your record has been edited successfully.
Now if I add a cancel button,
That's just what I thought would be best.
But how can I see in my Action which button was hit ?
[EMAIL PROTECTED] schrieb:
One way is to do a forward from within the action. Ie: both buttons still
submit to same action to start with, but if its detected that it was a
cancel then the action
Test
--
John Yu
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Get creative. You can use form data, i.e. a button value is not
submitted unless a button is clicked. You can use javascript to set an
arbitrary set of action variables. You can use a dispatch action.
Have fun with it ;-).
Edgar
-Original Message-
From: Marcus Biel [mailto:[EMAIL
2002. december 3. 10:01 dátummal Marcus Biel ezt írtad:
No, my problem is different!
No. Your problem is the same.
Now if I add a cancel button, it works,
but also forwards to this same page,
instead of to the regular start page.
If you add a cancel button, you can handle the cancel event
Dear Struts Users,
We are pleased to announce the release of Scioworks Collage v1.0, a tool
for previewing JSPs in normal browsers without starting any application
server or servlet container.
Key Features:
* Previewing -- Preview JSPs (with custom tags) in normal browsers
without
Hello,
Is there any good code generator that generates source code using Struts
and JavaBeans or EJBs?
Can be free or commercial.
Thanks in advance,
Juan José Velázquez Garcia
Information System Developer
www.htmlspider.com.br
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For
-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 02, 2002 7:00 PM
To: Struts Users Mailing List
Subject: Re: Struts administrative funcs
Personally, I use the Ant tasks supplied with Tomcat 4.1 (I'm
a command
line wienie rather
I thought (isCancelled(request))
would be a user defined method.
Are you sure I can simple use this method,
and he will know the user hit the cancel button ?
marcus
[EMAIL PROTECTED] schrieb:
2002. december 3. 10:01 dátummal Marcus Biel ezt írtad:
No, my problem is different!
No. Your
Not sure what you mean by generate, but you could look into teh xDoclet project on
SourceForge.net
from:Juan [EMAIL PROTECTED]
date:Tue, 03 Dec 2002 09:31:09
to: [EMAIL PROTECTED]
subject: Re: Code Generator
Hello,
Is there any good code generator that generates
2002. december 3. 10:22 dátummal Marcus Biel ezt írtad:
I thought (isCancelled(request))
would be a user defined method.
Are you sure I can simple use this method,
and he will know the user hit the cancel button ?
If the cancel button was generated with html:cancelcancel/html:cancel
Hth,
Just write a custom tag that inherits from text and in there decide to do
this iteration. There you could also control the layout. i.e. side by side,
one above next etc.
-Original Message-
From: Jordan Thomas [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 03, 2002 1:16 AM
To: Struts
Can I use struts to perform the following task:
generate a JSP page, but have multiple entry lines on the page. Im not going
to know how many lines the user is going to enter, so i'd like them to have
some kind of way ( maybe a button ) that the user can click on, the page
refreshes (retaining
Yes, you can use either subforms / nested tags or maps.
-Original Message-
From: Cook, Graham [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 03, 2002 5:30 AM
To: '[EMAIL PROTECTED]'
Subject: Design Issue in struts
Can I use struts to perform the following task:
generate a JSP
Hi,
I have implemented pretty much the same functionality in our application.
U can do this using Struts actions.When the user presses a button,call an
action.In the action add an empty row to the form(add a empty object to the
list on form).And then call the same jsp which will just iterate
Hi,
I have tried the below it works fine when i fetch the data but when i want
to update a text field etc i get the following error:
java.lang.IllegalArgumentException: No bean specified
at
org.apache.commons.beanutils.PropertyUtils.getPropertyDescriptor(PropertyUtils.java:816)
at
Dear All,
I am a novice in the world of Struts, but as luck
would have it I have been selected to design a web
application using Struts. My mai concer at this
particular time is how to begin and what type of
artefact to produce?
The topic as mentioned above is Developing Web
Applications with
I'm sure this is a simple thing but I cannot find any details about this
anywhere - apologies for affending anyone if this is too simple and thus
clogging up this mailing.
I got an error stating A failure occured in the application and the
exception was likely handled. See Struts log to
Hi,
I started developing an application with Jakarta Struts 1.1. I decided to build it
using multiple modules (sub-apps) and also hide all jsps under WEB-INF. Thus my
application structure looks like this:
app/img/
app/css/
app/WEB-INF/
app/WEB-INF/classes/
app/WEB-INF/lib/
app/WEB-INF/jsp/
Wilson,
Logging is dependent on many things. Which version of Struts? What JSP
container? (i.e. Tomcat 4.1.X), are you using Log4J or jakarta-commons
logging?
It would also help if you showed the actual error message.
Brian
- Original Message -
From: To, Wilson [EMAIL PROTECTED]
To:
To my understanding:
1. Put something like action forward=/mainScreen.jsp... (if I were you, I
wouldn't put any jsp file under WEB-INF, only TLD, XML and external JARs.
common is automatically added as the subapp prefix by the subapp controller
handling your stuts-config-common.xml, and jsp has
Hi Brian,
Thanks for the response. I'm using version 1.0.2 of Struts and 3.2.1 Tomcat
under Windows NT. I'm not actively doing any logging as such so therefore I
guess I'm not (knowingly) using Log4J or jakarta-commons etc.
The error that is returned in the actual browser is as I mentioned
If you make common invisible to the web, i.e.
http://yourdomain/common/yourjsp.jsp is invalid then I agree.
Otherwise you are risking shortcuts bypassing the action classes. If
you have jsp's that are directly executable by all means put them in a
public space.
Edgar
-Original Message-
Hi,
If I use this way,
app/img/
app/css/
app/WEB-INF/lib
app/WEB-INF/classes
app/common/
app/common/mainScreen.jsp
app/test.jsp
How can I protect my JSP from being accessed directly?
Julio Cesar
-Mensagem original-
De: edgar [mailto:[EMAIL PROTECTED]]
Enviada em: terça-feira, 3 de
If struts logging is enabled in web.xml under the init-params then if
you are not actively logging, there is a log in stderr and stdout. I
am not familiar with tomcat but I assume you can log stderr and stdout.
Edgar
-Original Message-
From: To, Wilson [mailto:[EMAIL PROTECTED]]
Sent:
This was to make things easier (I don't have this kind of trouble since I'm
used to JAAS/role protect my jsp files...).
Vince
-Original Message-
From: Julio Cesar C Neto [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 03, 2002 2:24 PM
To: 'Struts Users Mailing List'; [EMAIL PROTECTED]
Hi,
On 3 dec 2002 you wrote:
e If you make common invisible to the web, i.e.
e http://yourdomain/common/yourjsp.jsp is invalid then I agree.
e Otherwise you are risking shortcuts bypassing the action classes. If
e you have jsp's that are directly executable by all means put them in a
e public
Hi,
Is there, in javascript an event on navigator closed ? I try the body onUnload=...
but my code is executed at every page change (An that's normal ;). But I want to
execute code only when the user close the navigator (And his session!), I don't want
to wait session timeout before reset all
James Mitchell did this. It is called DBMessageResources. You can find the
download here
http://www.open-tools.org/struts-atlanta/downloads/
-- stu: www.stuology.net
It just no longer is plain simple safe fun
when it's the psycho chimp that has the ray gun
Hello,
I'm using struts 1.0.2.
I would like to present an input form on a jsp and part of that would be to
display a number of checkboxes.
Ted Husted writes:
To provide different sets of labels and values, the standard LabelValueBean
class [org.apache.struts.util.LabelValueBean] (since 1.1) can
Wilson,
If it is a standard install and seeing as it is 1.0.2, it is most likely
that there is no Struts error log file.
Tomcat has log files for Jasper(the JSP compiler), Servlet (servlet inits),
and any mods like mod_jk that you may have installed with Tomcat. These are
populated on startup
have you tried checking window.closed (it's a boolean) in your onUnload
handler? Not sure if it'll work, but worth a try. Problem is, it may not
show as true until after the onUnload is done. If you're opening a new
window for your app, you could always check the closed property from the
parent
-Original Message-
From: dlee [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 03, 2002 8:57 AM
To: Struts Users Mailing List
Subject: Multibox
Hello,
I'm using struts 1.0.2.
I would like to present an input form on a jsp and part of
that would be to display a number of
I just tried the window.closed flag and that don't work, it'always setted to false.
Jarnot Voytek Contr AU HQ/SC lt;[EMAIL PROTECTED]gt; a écrit : have you
tried checking window.closed (it's a boolean) in your onUnload
handler? Not sure if it'll work, but worth a try. Problem is, it may not
If you're dynamically generating a form, what action would deal with the
form produced?
I have this problem and i'm thinking of using standard java/jsp for this
problem now.. As I'd have to pass an array of values and one form element to
an action.
Any thoughts on this issue will be gratfully
Hi all,
I have a java value object (i.e. MyVo) which i add the DynaAction Form
Below. When i display my jsp it works fine using headerVO.firstName but when
i submit the page to save user changes i get the following error:
java.lang.IllegalArgumentException: No bean specified
at
I downloaded a web app created by Chuck Cavaness from
http://jakarta.apache.org/struts/resources/projects.html
and failed to run it?
I am running struts 1.1b2 and tomcat4.1.12, jdk1.3.1.
The exception I got is
[org.apache.ojb.broker.accesslayer.JdbcAccess] ERROR:
SQLException during the ex
yes..U are right...
-Original Message-
From: donl34 [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 03, 2002 2:57 PM
To: struts-user
Cc: donl34
Subject: Multibox
Hello,
I'm using struts 1.0.2.
I would like to present an input form on a jsp and part of that would be to
display a
I've just seen some surprising behavior in finding Action classes depending
on where I put the struts.jar file and where I put the action class. Has
anyone else seen this? Is this how one would expect it to work? I'm using
Struts 1.0.2 and Tomcat 4.1.12 on a Solaris 8 Sun server.
If I put
Hello,
See intermixed.
Cedric
Max Johnson wrote:
Hi,
My project uses ActionMappings for everything. I want all page access to be
routed via the controller so my JSPs are hidden below /WEB-INF.
I'm using both the tiles and validator packages so a typical action mapping
looks
Tahnks for help.
I've seen the struts 1.1 migrating article But there is no example dealing with
struts config.xml file.
I'm currently downloading an eval version of camino in order to see how it worswith
modules...
Message d'origine
De: Dan Tran [EMAIL PROTECTED]
A: Struts Users
I just downloaded it and ran it with the environment that you mentioned and it worked
fine. Make sure that you read the readme.first file included with the download. You
need to copy the beer4.properties, .script and .data files to a directory and then
update the dbalias attribute in the
In MyAction1 I set a field of a form MyForm at null.
The I make a forward to MyAction2.
And when MyAction2 read the field, it is set with
wich were before MyAction1 reseted it.
It seems that is because the struts framework
execute the populate between the MyAction1 and the MyAction2.
So I set
How are you instantiating this factory class? Ie When?
you should be able to call getServlet().getServletContext() to pass the servlet
context to your factory.
b-
--- On Sun 12/01, Jonathan Holloway [EMAIL PROTECTED] wrote:From: Jonathan Holloway
[mailto: [EMAIL
I do this often and it works well.
The only thing I always forget to do if initialize the Vo
Ensure this is done in the form Bean:
MyValueObject myVo = new MyValueObject();
Hope this helps.
Pat Quinn [EMAIL PROTECTED] on 12/03/2002 05:23:05 AM
Please respond to Struts Users Mailing List
Ah! The wonderful world of ClassLoaders!
What you are seeing is expected behavior. The manual at
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html should explain
it all.
Sri
-Original Message-
From: Jim Coble [mailto:[EMAIL PROTECTED]]
Sent: Tuesday,
When using LookupDispatchAction for a page with multiple buttons. ie SUBMIT,
SEARCH, etc...
How can you turn off the validation on the form when clicking on the SEARCH
button. (The user is filling a form in top down and hasnt filled in the
fields below the SEARCH button)?
Make sure validation=false in your strus-config.xml
And then .. do a form.validate(x,y); in only those actions you wish to
validate in.
Darren.
-Original Message-
From: Cook, Graham [mailto:[EMAIL PROTECTED]]
Sent: December 3, 2002 10:08 AM
To: [EMAIL PROTECTED]
Subject:
I have a couple of html:submit elements on one html:form.
How do I distinguish between the different buttons?
Specifically, I have
html:submit property=operationEdit Loan/html:submit
html:submit property=operationReject Loan/html:submit
The form bean has a setOpereration(String) setter method
I noticed that the nightly docs are labelled 1.1-b3-dev (maybe this is
nothing new and I'm just unobservant). Is there a b3 milestone build coming
soon? Is there a changes file that docs functional changes btw milestones?
(as opposed to the diffs btw nightly builds)
thx
andy
--
To unsubscribe,
2002. december 3. 16:30 dátummal Kevin HaleBoyes ezt írtad:
The way it works now, I have to compare the value of the operation
property of the form bean against the string that is displayed to
the user. That seems a bit fragile - suppose the customer wants the
Reject Loan to be Cancel Loan
hi all,
I've a trouble while using the html select tag.
when a use the select tag with the fragment code below,
everything works well
html:select styleClass=listBox property='fundCodes' size=10 multiple=
true
html:options name='fundOptionCodes'
It's labeled that because the next release will be beta 3. There's been
talk on the dev list indicating various committers are anxious to get it
out. All help is appreciated.
David
From: Andy Kriger [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users
Can you elaborate on :
1) Where is the data coming from for the working version?
2) What do you mean by not working? Does it display an empty list? Does it crash?
Sri
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 03, 2002 10:38 AM
I have a page that is going to have a number(any number) of row which the
client can check off rows to be updated. How do I setup my bean to handle
this?
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Snap!
I have just posted the PowerPoint presentation that I gave yesterday to the CS-495
Seminar Series class at UW Eau Claire on the Struts page of my web site:
http://simonpeter.com/techie/java/struts/
This was not a Teach you to program with Struts talk, rather a set of notes about
our
--- Gemes Tibor [EMAIL PROTECTED] wrote:
2002. december 3. 16:30 dátummal Kevin HaleBoyes ezt írtad:
The way it works now, I have to compare the value of the
operation
property of the form bean against the string that is displayed to
the user. That seems a bit fragile - suppose the
Hello all,
I have succeeded to configure DB security realm for JBoss container it works
for simple JSP solution,
Bu I have problems to make it work with Struts !
Could anybody please be so kind and post here an example
how to configure Struts to use Container Managed Roles.
And post here your
|-+
| | Sri Sankaran |
| | Sri.Sankaran@sas|
| | .com|
| ||
| | 03/12/2002 16:45 |
| | Veuillez répondre|
| |
Is there a way in 1.0.2?
thanks,
Mike
- Original Message -
From: Joe Germuska [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Monday, December 02, 2002 5:33 PM
Subject: Re: bean:define for value in properties file
At 5:08 PM -0500 2002/12/02, Michael Lee wrote:
On Tue, 3 Dec 2002, Jim Coble wrote:
Date: Tue, 3 Dec 2002 09:27:14 -0500
From: Jim Coble [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Classloader behavior in Struts 1.0.2 and Tomcat 4.1.12
I've just seen some surprising behavior
What u mean by dynamically generating a form?
Its a normal form(Extends ActionForm).
And the action to deal with will be what ever action u define to achieve this
functionality.It will be a very simple action.
Home this clarifies the confusion.
regards,
Shirish
-Original Message-
From:
I don't think it can be done with Struts tags in 1.0.2, but if you're able to
use JSTL (requires JSP 1.2):
c:set var=pageTitle
bean:message key=page.title/
/c:set
Quoting Michael Lee [EMAIL PROTECTED]:
Is there a way in 1.0.2?
thanks,
Mike
- Original Message -
From: Joe
I have html: form action=/pay.do?id=1type= + type/ in my Jsp. What should be in
path of action tag of struts-config.xml? Can I simply have path=pay or I must
include parameter in the path. Thank you for your reply.
Cathy
-
Post your free ad now! Yahoo!
2002. december 3. 17:39 dátummal Cathy Osekizoglu ezt írtad:
I have html: form action=/pay.do?id=1type= + type/ in my Jsp. What
should be in path of action tag of struts-config.xml? Can I simply have
path=pay or I must include parameter in the path. Thank you for your
reply.
If you would
Prefer to use the hidden parameters :
html:form action=/pay
html:hidden property=id [value=yourvalue] /
html:hidden property=type [value=yourvalue] /
...
/html:form
id and type must be a declared property in your form bean. (or dynamic if you use
DynaActionForm). You must set the id and type
On Tue, 3 Dec 2002 [EMAIL PROTECTED] wrote:
Date: Tue, 3 Dec 2002 15:31:02 CET
From: [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: Re: Re: struts 1.1. modules examples.
Tahnks for help.
I've seen the struts 1.1 migrating
On Tue, 3 Dec 2002, Rob Leland wrote:
Date: Tue, 03 Dec 2002 01:26:08 -0500
From: Rob Leland [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: Re: How to resolve why java element deprecated?
David Graham
They are very good slides! They also cover ideas of abstraction and layering into the
Model, again very good stuff. The only problem with them is that you don't get
Simon's witty audio commentary with them ;-)
Jacob Hookom
Comprehensive Computer Science
University of Wisconsin, Eau Claire
You have to use the same logic the Action is using to decompose the which
action in order to get conditional validations.
The other alternative is to use separate actions for the form load (set
validate to false) and other form actions.
Edgar
-Original Message-
From: Cook, Graham
Shirish
By dynamically generating a form i mean querying a db table which contains
information about what fields etc to produce for the user to be able to add
content to their site.
I'm porting an existing cms written in perl on mysql, to java and oracle.
I have 2 forms:
1. Admin form that
Look into the nested tags.
-Original Message-
From: Mark [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 03, 2002 12:02 PM
To: Struts Users Mailing List
Subject: Re: Design Issue in struts
Shirish
By dynamically generating a form i mean querying a db table which contains
information
I ran into a problem trying to subclass
org.apache.struts.config.FormBeanConfig. Here is essentially what I was
trying:
form-bean name=myForm dynamic=true
type=org.apache.struts.action.DynaActionForm
className=mycompany.MyFormBeanConfig
.
.
.
/form-bean
public class MyFormBeanConfig extends
I have seen that nested tags is a way around this but i believe they're not
supported on version 1 only on version 1.1.
I'm off recheck the docs...
On 3-12-2002 18:19, Edgar Dollin [EMAIL PROTECTED] wrote:
Look into the nested tags.
-Original Message-
From: Mark [mailto:[EMAIL
Greetings all...
I've been puuling my hair out on this one for a while now, and I'm beginning
to wonder whether or not I should be spending any more time on it. Is it
even possible?
i.e. When using templates (We're still using Struts 1.0.2), is it possible
to have exceptions within the JSPs be
There is a version compatible with 1.0.2.
I don't know if you can get it now, but there was a nested.jar release for
1.0.2. Aaron Bates was the author and it was in the contrib section.
Hopefully, Aaron will see this and let you know where to get it.
Edgar
-Original Message-
From:
Hi,
I'm having a problem that the setter method in the form bean does not get called when
I submit an HTML form with a html:multibox to an action class.
I read some of previous related posts in the archives, but I couldn' t find a solution
to this problem. Please advise on how to troubleshoot
We set up a global forward for errors...
global-forwards
forward name=systemError path=/system_error.jsp/
/global-forwards
and when we catch exceptions beyond the normal we do a
mapping.findForward(systemError);
- Original Message -
From: Davide Bruzzone [EMAIL PROTECTED]
To:
for container managed roles struts actions act just like all http request
that the container can intercept.
in the web.xml
security-constraint
display-nameSecure Something/display-name
web-resource-collection
web-resource-nameAdmin Resources/web-resource-name
Anyone out there having problems with the latest Tomcat build (4.1.16)? I'm using
Struts 1.1b2 with Tiles and am unable to get any part of my app to load (it works fine
with Tomcat 4.0.3)
Stack trace below
Regards,
Dave
---
StandardWrapper[/config:jsp]: Marking servlet
Woo hoo! A Struts In Action book review on Slashdot!
http://books.slashdot.org/books/02/11/25/1731249.shtml?tid=156
Shortly: The bible of web MVC :-)
Someone on IRC said that one of its chapters (that was already available)
is talking about an old flavour of the Validator. Is it true?
This
Pls disregard -- problem turned out to be CATALINA_HOME -- I did not modify it to
point the new instance (4.1.16) instead of the old instance (4.0.3). Once I modified
this, everything works!
Dave
---
Dave Hodson
MessageCast, inc.
Email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
I'm trying to set up Struts 1.1 beta to use Tiles.
Question: What modification do I make to struts-config.xml
to tell it where my tiles definition file is?
Apparently the plug-in no longer applies or Struts 1.1?
Thanks!
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For
Hello,
Which is the best src to download to use Validator with Struts 1.0?
Also, does anyone happen to know when Struts 1.1 will be final?
Thanks so much,
Michelle
--
Michelle Harris | Developer
www.site59.com
45 W. 21st St., 4th Floor
New York, NY 10010
212.991.1203
Site59, a Travelocity
I'm trying to use tiles with Struts 1.1
I've written a tiles-defs.xml file. Question: How
do I tell Struts to use this file? It looks like the
plugin tag no longer works with Struts 1.1, so what
modification do I make to struts-config.xml to tell
struts to use my tiles-defs.xml?
Thanks
I figured out one of my problems. Now, it calls the setter method in a form bean, but
when it gets to the action class, the String[] variable for storing multibox selection
is empty. Do you know what I'm missing?
Thanks,
Tuan
-Original Message-
From: Tuan H. Le
Sent:
You use the TilesPlugin to configure Tiles.
David
From: [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: using tiles with Struts 1.1
Date: Tue, 3 Dec 2002 10:31:01 -0800
I'm trying to set up Struts 1.1 beta to use Tiles.
Question:
Is the form-bean for the page you are trying to display available in any scope
(request/session/application)? If there is no form-bean available you may see this
symptom. Further, if it is, make sure that the lists are populated as you expect them
to be.
Sri
-Original Message-
It seems that saving ActionErrors in request can sometimes be a pain
(especially
when you redirect a lot).
I wonder if it is possible to make a similar system but store ActionErrors
in session.
In Actions, instead of saving in request, you save in session.
And the tags html:session-errors will
sorry i cant help ya, but i liked the blam word usage. nice work!
dz
-Original Message-
From: Dave Hodson [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 03, 2002 1:08 PM
To: [EMAIL PROTECTED]
Subject: Tomcat 4.1.16/Struts 1.1b2/Tiles == BLAM
Anyone out there having problems with
Yes, that's what we did for our actions, and it works OK... What I'm trying
to find out though is how to deal with exceptions that occur within the
JSPs. It seems as though the added complexity of Struts, etc. makes it more
difficult to redirect to a single error page if, say, an error occurs as a
Hi,
I have a form in which I am collecting multiple input from the user,
for example
for each day of the week I am collecting opening hour and closing hour
something in the format of
day - checkbox - select/option - select/option , I want to do this in a
loop for all 7 days of the week. I
hey all..
just installed struts, got demo up and running fine on iPlanet Web Server.
just trying to create a simple demo app.
1 view(jsp) 2 fields
1 form, matching fields
1 action
It seems that my jsp forwards correctly to my action mapping, my bean is
populated correctly and validated. my logs
1 - 100 of 155 matches
Mail list logo