>From the main page of Struts (the one you clicked past to subscribe to this
list)
http://jakarta.apache.org/struts/learning.html
--
James Mitchell
Software Engineer / Open Source Evangelist
EdgeTech, Inc.
678.910.8017
AIM: jmitchtx
MSN: [EMAIL PROTECTED]
- Original Message -
From
yes, I changed to :
public class MYABC {
public void MYABC () {
}
}
still the same thing..
--- e-denton Java Programmer
<[EMAIL PROTECTED]> wrote:
> First, your class name should begin with a capital
> letter by convention. The
> error is saying that no constructor an be found that
>
First, your class name should begin with a capital letter by convention. The
error is saying that no constructor an be found that matches "myABC
(..)". So, be sure there is such a constructor.
- Original Message -
From: "lixin chu" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Mo
>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 05, 2003 4:06 PM
Subject: Re: Newbie questionredirect
> Nicolas,
>
> I think your reply will help me with my post too -> trying to switch web
> modules - help
> but I don't see a sendRedirect() method of the reque
Loof" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Subject: Re: Newbie questionredirect
Date: Wed, 5 Nov 2003 14:22:47 +0100
contextRelative is used to define a forward tha
contextRelative is used to define a forward that is relative to the application
context and not to the module context
(default).
You cannot redirect to an URL outside your app using struts-config . Use a
requestDispatcher in your action and
call sendRedirect(), or create a new JSP with a http:/
Hi,
Though I am also a newbie, when I faced a similar
problem, I used . I am not
very sure whether it will work for you. I tried a few
other options before finally getting the result, as
none answered my question on struts user list...
I only can hope it helps...not sure anhow..
good luck
jag
thankyou for your reply.
I did put results bean into request. The problem is:
it
even does not display search form now if I put results
display block after since user has not
pressed "get" button. Here is my display code:
..
I only use bean:write tag to output individual table
d
The logic:iterate tag does not have to live within a form. Chances are your
error is because the Collection you are trying to iterate over is not in the
request (or whatever session you happen to be using).
What we normally do for a situation like this is to create a JSP with the
search form, and
',
otherwise it will confuse Internet Explorer.
-Original Message-
From: victor gusz [mailto:[EMAIL PROTECTED]
Sent: Friday, September 12, 2003 14:04
To: Struts Users Mailing List
Subject: RE: newbie question: how to handle two dispatchAction methods in a
jsp page?
Hi, Jerome:
Than
Hi, Jerome:
Thanks for helping.
I tried out your code. Strangely, if I click on either
save button, or delete button, now they both forward
to
save page. It seems action still forwards to save
method
even I clicks on delete button.
Any idea?
regards,
--- Jerome Devost <[EMAIL PROTECTED]> wr
Hi Victor,
If you have both and buttons in the same
form, both method are submitted when you pressed either button. You could
change the value with javascript code before submitting the form. Something
like this might work :
-Original Message-
From: victor gusz [mailto:[E
> Now I want to call sicpage1.jsp directly without first calling
> sicpage0.jsp.
>
> But sicpage1.jsp is not getting populated with data since the action
> class is not getting called.
create a global forward to the action, and call the forward.
--
Bryce Fischer <[EMAIL PROTECTED]>
---
Check logic:notEmpty tag
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Todor
> Sergueev Petkov
> Sent: Saturday, August 09, 2003 12:32 PM
> To: Struts Users Mailing List
> Subject: Newbie question: Testing if collection is != null before
> iterating
You might want to use session to store all the values entered in page=1.
Then when there is an error in page=2 or page=3, and forward the control
back to page=1. Since all the values are session scope, you can access them
in your page=1. Remember you have to clean the session though:).
Your action is configured with a form name.
Lookup action element in your struts-config.xml,
Attribute of interest there is 'name' is the name of the form.
When you specify action in your html:form Struts connects the
dots for you.
That form will be used to populate values of -Original Mes
http://jakarta.apache.org/struts/userGuide/struts-html.html#submit
in struts becomes:
http://jakarta.apache.org/struts/userGuide/struts-html.html#button
in struts becomes:
Hope this helps!
---
- Nayan Hajratwala
- Chikli Consulting LLC
- http://www.chi
Hi,
There are no exceptions at all! Once the
FormBean is executed the control is not passed on to the Servlet!
Regards,
Samanth Athrey
"Alen Ribic" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi
>
> I couldn't spot anything wrong below, did you get any runtime exceptions?
> If s
Hi
I couldn't spot anything wrong below, did you get any runtime exceptions?
If so, show a snippet.
--Alen
Hello,
This question probably might have been asked many a times. But I searched
the archive (though not fully) but could not find this. So, if anybody has a
solution please do let me
So it's still not working? Can you post some of the generated
JavaScript? I was shooting for something like this:
var products = new Array();
var productBeans0 = new Array();
productBeans0[0] = ["name0", "id0"];
productBeans0[1] = ["name1", "id1"];
...
products[0] = productBeans0;
var productBean
Hahahahaha.Kris, yes this is sickening. More so
after trying all possible solutions. This ruined my
Friday :((.
regards,
Rick
--- Kris Schneider <[EMAIL PROTECTED]> wrote:
> Man, this is really sick ;-). If I'm understanding
> you, maybe this will work (or
> maybe not...):
>
> var produc
Man, this is really sick ;-). If I'm understanding you, maybe this will work (or
maybe not...):
var products = new Array();
var productBeans = new Array();
productBeans[] = ["",
""];
products[] = productBeans;
Quot
Hi,
I did the following, but the results were not
displayed.
Whats wrong with my code?
>>
products is a collection of ArrayLists, every
arrayList contains
a list of ProductBeans, ProductBean has productName
and productId properties.
products are retrieved in action class and are put
into
More questions about the following:
1) It says in logic tags reference:
id: "The name of a page scope JSP bean that will
contain the current element of the collection on each
iteration, if it is not null."
So, it means myList ArrayList should conform
to JavaBean routines, is that right? For examp
James:
Thanks for your nice presentation. I will try it out
right away.
regards,
rick
--- James Childers <[EMAIL PROTECTED]> wrote:
> You'll need to do a couple of things:
>
> 1) (Assuming you're using Struts, of course.) Create
> your Java array/collection/whatever in the Action
> that get
You'll need to do a couple of things:
1) (Assuming you're using Struts, of course.) Create your Java
array/collection/whatever in the Action that gets hit before your JSP page:
List myList = new ArrayList();
// populate the list, la la la
request.addAttribute("listForJavas
Oooops... thanks!
Regards,
Daniel
-Original Message-
From: Mike Whittaker [mailto:[EMAIL PROTECTED]
Sent: Friday, 25 July, 2003 5:54 PM
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: RE: newbie question: how to get context path?
>-Original Message-
>From:
>-Original Message-
>From: Daniel Joshua [mailto:[EMAIL PROTECTED]
>Sent: 25 July 2003 10:48
>To: 'Struts Users Mailing List'
>Subject: newbie question: how to get context path?
>
>
>Sorry for the newbie question... my brain not responding...
>
>Using mapping.findForward(xxx).getPath(), I a
session scope
or hidden fields on each page.
sandeep
--- "Norr, Peter" <[EMAIL PROTECTED]> wrote:
> I am developing a wizard style form..
>
> How do I obtain the value submitted in the previous
> page of a form from the
> jsp page?
>
> For example, in step2.jsp I need to know what was
> selecte
If my form bean is DynaActionForm..
How do I do something like this...
-Original Message-
From: Mike Jasnowski [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 17, 2003 3:28 PM
To: Struts Users Mailing List
Subject: RE: Newbie question about form variables.
In answer to your second
ruts Users Mailing List
Subject: RE: Newbie question about form variables.
It doesn't matter, a DynaActionForm has a name just like other action forms.
-Original Message-
From: Norr, Peter [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 17, 2003 3:18 PM
To: 'Struts Users Mailing List&
It doesn't matter, a DynaActionForm has a name just like other action forms.
-Original Message-
From: Norr, Peter [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 17, 2003 3:18 PM
To: 'Struts Users Mailing List'
Subject: RE: Newbie question about form variables.
Yes!
Yes! But I am using DynaActionForm.
I would also like to query the value submitted from step1.jsp..
-Original Message-
From: Mike Jasnowski [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 17, 2003 3:14 PM
To: Struts Users Mailing List
Subject: RE: Newbie question about form
ts Users Mailing List" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Subject: RE: Newbie question about form variables.
Date: Thu, 17 Jul 2003 15:12:33 -0400
Does Struts 1.1 come with JSTL implementation?
If so How do I use it?
Peter
-
named "state", with a getState() accessor:
Would write out the value of the "state" property
Is this what you meant?
-Original Message-
From: Norr, Peter [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 17, 2003 3:02 PM
To: 'Struts Users Mailing List'
Subject:
Does Struts 1.1 come with JSTL implementation?
If so How do I use it?
Peter
-Original Message-
From: Adam Levine [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 17, 2003 3:05 PM
To: [EMAIL PROTECTED]
Subject: RE: Newbie question about form variables.
scriptlets (bad choice)
custom
]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Subject: RE: Newbie question about form variables.
Date: Thu, 17 Jul 2003 15:02:11 -0400
Yes I understand.
But how do I acces the Form Bean from the jsp page?
Peter
-Original Message-
From: Mike Jasnows
Yes I understand.
But how do I acces the Form Bean from the jsp page?
Peter
-Original Message-
From: Mike Jasnowski [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 17, 2003 2:40 PM
To: Struts Users Mailing List
Subject: RE: Newbie question about form variables.
one way is to have
one way is to have both pages share a formbean, the first page populates the
formBean with what was entered so the second page can access it.
-Original Message-
From: Norr, Peter [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 17, 2003 2:35 PM
To: 'Struts Users Mailing List'
Subject: Newbie
Okay man..If you mail me your form bean, action class, jsp and struts
config i'll take a look.. Just to double check here's the stuff I'm
pretty confident should work..
I wouldn't have action as a form bean property (thus no need to define
getAction in your form bean), its not really part of yo
Mark,
Thanks a lot for your mails. I have used "action" as a form bean property and not as a
parameter in struts-config. Unfortunately, the Javascript function doesn't seem to
work...it does not set the value of the ActionForm property, "action".
When I tried to print out the value of the "ac
> > My Javascript function is given below:
> >
> >
> >
> >
probably you can not see the javascript error, because the form submits in
the function, remove the submit(); in the function and see the error, and
also I recommend you not to use onclick event, try onchange, it's better in
this situation.
F.
- Original Message -
From: "Shyam A" <[EMAIL
opps my action in struts config is wrong... But you should still have
the right idea..
On Saturday, July 12, 2003, at 12:45 AM, Mark Lowe wrote:
Its better that this is posted to the list as well, after all its a
good question and hopefully an adequate answer.
...
//struts config
The only thing you'd have to watch w
I think I see where you are goingtry setting the form action instead:
function submitForm(form) {
document.frm.action="lookup.do"; // <--Change this to not be hard-coded
form.submit();
return true;
}
Test
Test2
On Friday 11 July 2003 15:00, Shyam A wrote
check out dispatch actions..
you can have multiple execute methods with dispatch action ...
Your Action class extends DispatchAction instead of action (check the
docs)
public final ActionForward submit(
ActionMapping mapping,
James,
Thanks for your mail. I guess I need to elaborate a little bit. My HTML form can be
submitted in 2ways.
1. Clicking the "Submit" button.
2. Clicking the drop-down
Clicking the drop-down triggers a different action than clicking the "Submit" button.
Selecting a value in the drop-down wou
You will need to create a hidden field named "action", with a value of
"Lookup":
My question to you iswhy "Lookup"? What does that have to do with your
form?
Here's a sample:
function submitForm(form) {
form.action.value="Lookup";
form.submit();
return true;
}
Test
Hint: Search for "Wizard"
-Original Message-
From: Mike Jasnowski [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 12, 2003 11:20 AM
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: RE: Newbie Question: Multiple User Input Screen
Yes, if you go to the Struts pages
Yes, if you go to the Struts pages on Jakarta there is an archive. This
particular topic has been discussed several times over :)
http://nagoya.apache.org/eyebrowse/SummarizeList?listId=42
-Original Message-
From: Tuan T [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 12, 2003 11:14 AM
To
f
that is where I want to go.
In posts from yesterday or the day before I posted exactly how I do it for a
concrete example.
-Original Message-
From: Davidson, Glenn [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 04, 2003 4:48 PM
To: 'Struts Users Mailing List'
Subject: RE: N
g this?
Thanks
Glenn
-Original Message-
From: Bailey, Shane C. [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 04, 2003 3:19 PM
To: 'Struts Users Mailing List'
Subject: RE: Newbie Question: Tiles and html:link how to make it work.
Like I said. Don't link to any JSPs fr
2:45 PM
To: 'Struts Users Mailing List'
Subject: RE: Newbie Question: Tiles and html:link how to make it work.
Thanks for the quick response!
Lets say I have a "menu item" that I want to use to call another jsp page.
This new jsp page is defined as a new tile.
More detail
and body.jsp defined.
Thanks
Glenn
-Original Message-
From: Bailey, Shane C. [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 04, 2003 2:25 PM
To: 'Struts Users Mailing List'
Subject: RE: Newbie Question: Tiles and html:link how to make it work.
Your forward path can be a Tiles
Your forward path can be a Tiles Def in the struts-config. You don't want to
ever link directly to a Def (or JSP) so it sounds like you are fine. Need
more detail otherwise.
-Original Message-
From: Davidson, Glenn [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 04, 2003 2:22 PM
To: 'S
on or
ThisHappenedException and then in the struts config have
I like keeping the try catches out of my Action class.
-Original Message-
From: Leon [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 27, 2003 3:33 PM
To: Struts Users Mailing List
Subject: Re: Newbie question: how does MyA
Leon wrote:
I should forward an ApplicationException to MyAction class and then,
MyAction finds an appropriate jsp based on the message in
ApplicationException. But, how can I know the SQLException thrown by
persistance tire is duplicate entery SQLException or other SQLException?
Put an informati
Message -
From: "Mike Jasnowski" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Tuesday, May 27, 2003 2:45 PM
Subject: RE: Newbie question: how does MyAction class handle Exceptions?
> Return a forward appropriate to the exceptio
Return a forward appropriate to the exception caught?
-Original Message-
From: Leon [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 27, 2003 2:45 PM
To: Struts Users Mailing List
Subject: Newbie question: how does MyAction class handle Exceptions?
Hi,
I have DataAccessException thrown by
You took the words right out of my mouth!
-Original Message-
From: Karapiperis Dimitris [mailto:[EMAIL PROTECTED]
Sent: Friday, April 04, 2003 6:56 AM
To: Struts Users Mailing List
Subject: RE: NewBie Question
Vangeli,
ta Struts framework den einai tpt allo apo thn efarmogh toy MVC
Vangeli,
ta Struts framework den einai tpt allo apo thn efarmogh toy MVC design
pattern. Ta Struts soy prosferoyn enan dynato Controller kai aforoyn th
domi ths efarmoghs. Sto view enapokeitai se esena ti tha
xrhsimopoihseis. Sto .jsp alloste mporeis na exeis JavaScript. XSLT
logika tha mporei
Tiles are what you use to put JSP together instead of using @include tags. The files
you have are still JSP pages, and yes, you can use JS in them just fine. Once the page
is at the users browser, it is still 1 web page. That is when the JS actually gets
used anyways.
As far as XSLT, I can't he
Then you are probably doing redirection somwere in your action class...
I am just guessing!
Dejan
- Original Message -
From: "Jamesey" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 11, 2003 5:03 PM
Subject: Re: Newbie question
> in fact t
message
news:[EMAIL PROTECTED]
> What is the method for form? It should be POST, not GET.
> Dejan
> - Original Message -
> From: "Jamesey" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, March 11, 2003 4:34 PM
> Subject: Re: Newbie qu
TECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, March 11, 2003 4:34 PM
> Subject: Re: Newbie question
>
>
> > nope.. its just the property's of my Dynabean..
> >
> > when i sumbit and the form posts that what i get..
> >
> >
> > &q
What is the method for form? It should be POST, not GET.
Dejan
- Original Message -
From: "Jamesey" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 11, 2003 4:34 PM
Subject: Re: Newbie question
> nope.. its just the property's of my Dynabe
Jamesey [mailto:[EMAIL PROTECTED]
> Sent: March 11, 2003 10:29 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Newbie question
>
> I am doing a post...
>
> but the url still shows localhost/myapp/find.do?id=3
>
> "Jarnot Voytek Contr AU HQ/SC" <[EMAIL PROTECTED]>
Do you intentionally append id=3 to the url?
-Original Message-
From: Jamesey [mailto:[EMAIL PROTECTED]
Sent: March 11, 2003 10:29 AM
To: [EMAIL PROTECTED]
Subject: Re: Newbie question
I am doing a post...
but the url still shows localhost/myapp/find.do?id=3
"Jarnot Voytek Con
Use HTTP POST instead of GET.
Mark
-Original Message-
From: James [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 11, 2003 10:23 AM
To: [EMAIL PROTECTED]
Subject: Newbie question
How can i mask the url in the browser so the user does not see the request
parameters..?
ie /localhost/myap
I am doing a post...
but the url still shows localhost/myapp/find.do?id=3
"Jarnot Voytek Contr AU HQ/SC" <[EMAIL PROTECTED]> wrote in
message
news:[EMAIL PROTECTED]
> do a post instead of a get
>
> --
> Voytek Jarnot
> Quidquid latine dictum sit, altum viditur.
>
>
> > -Original Message-
id first pass it to a the action needed then do a redirect to another action
that would get rid of the url for you maybe
On Tuesday 11 March 2003 3:22 pm, James wrote:
> How can i mask the url in the browser so the user does not see the request
> parameters..?
>
> ie /localhost/myapp/find?id=3 -
do a post instead of a get
--
Voytek Jarnot
Quidquid latine dictum sit, altum viditur.
> -Original Message-
> From: James [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, March 11, 2003 9:23 AM
> To: [EMAIL PROTECTED]
> Subject: Newbie question
>
>
> How can i mask the url in the browser so
the correct way is to define the error in ur properties file.
errors.add(ActionErrors.GLOBAL_ERROR,new ActionError("my.error"));
Message in Application.resources
my.error=my error here
-Tim
-Original Message-
From: James Prance [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 18, 2003
in the web.xml file
2
mailto:[EMAIL PROTECTED]]
Sent: Friday, February 14, 2003 9:06 AM
To: Struts Users Mailing List
Subject: RE: Newbie Question about tiles definitions. I am lost :(
I changed the action mapping, but I don't think I ha
t: RE: Newbie Question about tiles definitions. I am lost :(
If you have *.do mapped to the action servlet, then you will need to request
(relative to the webapp of course) "/home.do" or "/products.do". You'll
need to switch the action mapping like so:
Or else configure t
If you have *.do mapped to the action servlet, then you will need to request
(relative to the webapp of course) "/home.do" or "/products.do". You'll
need to switch the action mapping like so:
Or else configure the mapping such that an action that automatically
forwards to "success" (I think For
Wouldn't that be...
!A || B
- Original Message -
From: "Gemes Tibor" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Tuesday, February 11, 2003 01:29
Subject: Re: Newbie Question
2003. február 11. 09:07 dátummal Ra
2003. február 11. 09:07 dátummal Ray Madigan ezt írtad:
> Thanks for the advice - i didn't know this stuff existed.
>
> I was just pondering how to implement logic like
> if ! A || ( A && B )
A && !B
Tib
-
To unsubscribe, e-mail
, February 10, 2003 11:50 PM
To: 'Struts Users Mailing List'
Subject: RE: Newbie Question
This is illegal (you can't embed tags as attributes):
">
If you must use logic such as this, do yourself a favor and switch to JSTL
:-)
about JSTL. With Struts and JSTL, the only Struts tags
you should ever use are the html:form tags and possibly bean:message.
-Jacob
| -Original Message-
| From: Ray Madigan [mailto:[EMAIL PROTECTED]]
| Sent: Tuesday, February 11, 2003 1:23 AM
| To: Struts Users Mailing List
| Subject: R
: Struts Users Mailing List
Subject: RE: Newbie Question
Here is my new code:
ArrayList components = ( ArrayList ) service.gatherAccessory
Bean.getContainer ( ) );
request.setAttribute ( "components", components );
the jsp:
">
I get the Servle
--Original Message-
From: Jacob Hookom [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 10, 2003 10:24 PM
To: 'Struts Users Mailing List'
Subject: RE: Newbie Question
ArrayList components = (ArrayList) service
.gatherAccessory(Bean.getContai
ArrayList components = (ArrayList) service
.gatherAccessory(Bean.getContainer());
session.setAttribute("someKey", components);
-or-
request.setAttribute("someKey", components);
//or request scope
-Jacob
| -Original Message-
| From: Ray Madig
ginal Message---
From: Mark Galbreath <[EMAIL PROTECTED]>
Sent: 02/10/03 11:23 AM
To: 'Struts Users Mailing List' <[EMAIL PROTECTED]>
Subject: RE: newbie question: what to use for non-form data population?
>
> Why don't you want to place the table in a form? That&
Why don't you want to place the table in a form? That's the easiest way you
are going to get/set its values.
Mark Galbreath
Principal Consultant
Workflow Process Engineering and Systems Integration
http://www.QAT.com
410-703-367 / 800-799-8545
"Never attribute to malice that which can be adequ
You can iterate over any Collection (or javaBean that as a property that is
a Collection) stored in some scope (request / session / application).
For example I used to put List in application scope for "allowed values" of
select inputs.
Nico.
> If i want to use logic:iterate (or something simil
:[EMAIL PROTECTED]]
Sent: Monday, February 10, 2003 9:50 AM
To: Struts Users Mailing List
Subject: Re: newbie question - usebean
> I do have in the code I just did not
> included in the email.
> I also have the following in my jsp:
>
> class="com.basf.plasticsportal.data.Use
:[EMAIL PROTECTED]]
Sent: Monday, February 10, 2003 9:50 AM
To: Struts Users Mailing List
Subject: Re: newbie question - usebean
> I do have in the code I just did not
> included in the email.
> I also have the following in my jsp:
>
> class="com.basf.plasticsportal.data.Use
> I do have in the code I just did not
> included in the email.
> I also have the following in my jsp:
>
> class="com.basf.plasticsportal.data.User">
>
>
>
> thanks,
>
> Diego.
>
You don't need : this jsp tag is used to create a script
variable (named as "id" defines) from a bean in some scop
I do have in the code I just did not
included in the email.
I also have the following in my jsp:
thanks,
Diego.
-Original Message-
From: Nicolas De Loof [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 10, 2003 7:31 AM
To: Struts Users Mailing List
Subject: Re: newbie
ined by
stupidity." ~Hanlon's Razor
-Original Message-
From: news [mailto:[EMAIL PROTECTED]] On Behalf Of Davor Cengija
Sent: Monday, February 10, 2003 2:53 AM
To: [EMAIL PROTECTED]
Subject: Re: Newbie Question on Performance
Craig R. McClanahan wrote:
>
>
> On Mo
>> From: Peder Jakobsen <[EMAIL PROTECTED]>
>> I'm new to Struts, and so far I'm very happy with what I see. But I have
>> some suspicion that it'll be dead slow.
>>
>
>What leads you to this suspicion? There's no way to respond to such a
>FUD-sounding :-) comment without specifics.
Craig: While
Your code doesn't show any tag. This tag is used by struts to
set the targeted action, and so the associated bean in some scope.
You can use without by setting it's "name" attribute
(name="user" in your case). But if your HTML form has to be commited to a
Struts action, you should look at
Nic
Craig R. McClanahan wrote:
>
>
> On Mon, 10 Feb 2003, Peder Jakobsen wrote:
>
>> Has anyone had to abandon struts because it was not performant? Does
>> anyone out there serve A LOT of requests? (We run 12 load balanced quad
>> Xeons and we can barely keep up! We have about 1 million users o
On Mon, 10 Feb 2003, Peder Jakobsen wrote:
> Date: Mon, 10 Feb 2003 00:47:13 -0600
> From: Peder Jakobsen <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Newbie Question on Performance
>
> Hi,
>
> I'm new to Struts, and so far I'm
You don't have to set the ActionForm to session; its in session scope by
default.
Mark
-Original Message-
From: ajTreece [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 10, 2003 12:59 AM
Hi Peder...
I think all you would have to do is set the scope of the ActionForm to
"session" and
Hi Peder...
I think all you would have to do is set the scope of the ActionForm to
"session" and you would be good to go. You would just have to be careful
about when and how you reset the form for a new collection.
Later, ajTreece
Peder Jakobsen wrote:
Hi,
When traversing from page to p
Yes, when you define the form in your action set the scope to session.
This will put the form bean into the session scope.
Hope this helps,
Gary
-Original Message-
From: Peder Jakobsen [mailto:[EMAIL PROTECTED]]
Sent: Sunday, February 09, 2003 10:50 PM
To: [EMAIL PROTECTED]
Subject: Newb
I haven't used 1.0.2 since last May and don't remember if there was a big
difference in the ActionForm class. I know that upgrading to 1.1b-1 was a
bitch, though.
As for breaking out of an iteration, take a look at the rest of the
tag documentation. I'm sure you will have an "aha" experience (e
1 - 100 of 258 matches
Mail list logo