Hi,
I think u can use it, i have not used it.. any think
which u can scroll can be used
Ashish
--- Brian McSweeney [EMAIL PROTECTED]
wrote:
cool,
thanks Ashish, I'll give it a try so.
One thing, on your explanation website where you
iterate
over the cached row set, is it possible to use
I am stuck.
I run a filter in my app to convert ServletRequest to
com.oreilly.servlet.MultipartWrapper. However, at the end, in my action I
find the request is turn into
org.apache.struts.upload.MultipartRequestWrapper instead. How can I prevent
this unwanted filtering (by stuts framework?) from
I'm not sure what you mean by global sessions you mean application scoped
items?
Also using scope for session data doesn't garbage clean it when its done.
Do you mean to scope it in a different scope?
-Tim
-Original Message-
From: varanasi kiran [mailto:[EMAIL PROTECTED]
Sent: Thursday,
This doesn't show how to use optionsCollection, but I this is how I solved a
similar problem with html:options.
I've got a Patient, who has an address. The Address has a String state.
I've got a collection of States, which I want to have be a select, and I
want the default one to be the one
Hi all,
Struts is featured on Java.Sun.Com at the moment! There is a link to a Struts quiz and
a Servlet best practices article which mentions Struts as a best practice.
Should we consider this as Sun giving its blessings to Struts?
or
Does the fact that Struts is featured on Java.Sun.Com
We used Pager taglib in our project and it rocks ! But, I am not happy about
handing over a collection of 1000 objects to the pager taglib. U can imagine
the performance if 100 concurrent users are logged in.
Thanks,
_
Mobile,
If I remove the mapping to my actionForm, I get an error indicating that
my jsp cannot retrieve definition for form bean null. Do I need to
usebean scope = session??
My mappings are:
First Mapping..
action path=/Operator/network parameter=TEST
java.sun.com promotes useful Java tools but that doesn't mean it's the
official Sun position. Craig works for Sun though so there is a connection.
David
From: Mete Kural [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Is Sun promoting Struts??
Date: Thu, 3 Apr
Role based display of page elements is an appropriate view logic function.
David
From: Eyrignoux Marc [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: Re: About the checkLogonTag of the example application
Date:
Since you guys are having a good discussion on the exceptions handling in
Struts, I would like to ask a lower level question on this topic.
On my JSP I always get a null exception something like [Exception on
\myPage.jsp: null]. At the beginning this exception was very frustrating
since no more
Hello there,
Project I am working on has resources organized in a different way than standard:
Thing is that resources are kept in format:
message1.en=Hello!
message1.fr=Bonjur!
And whole mechanism of resources retrieval widely implemented.
So question is:
IS THERE A WAY TO
I think the null is generated because the exception's message String was
set to null. It's helped me to print out the various scopes' attributes at
the bottom of the page because the exceptions show up in there.
David
From: Erica Leung [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List
On Thu, 2003-04-03 at 14:17, [EMAIL PROTECTED] wrote:
Hello there,
Project I am working on has resources organized in a different way than standard:
Thing is that resources are kept in format:
message1.en=Hello!
message1.fr=Bonjur!
And whole mechanism of resources retrieval widely
Hopefully I'm not beating the group down with this question. I've seen several posts
that discuss Wizard functionality which makes use of the same form-bean across
multiple pages. I think I understand how that works and can make it work in my
application provided I'm starting w/o existing
Is there any plug I can set up the exception's message, so I can know at
least which tag throws an exception?
-Erica
-Original Message-
From: David Graham [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 03, 2003 11:21 AM
To: [EMAIL PROTECTED]
Subject: RE: Where to catch/throw Exceptions
The exception message is set when the exeption object is created so you
can't set it. I've found it helpful to display the attributes because you
can see the exception in there. Other than that, it's the old fashioned
comment-out-code-until-it-works method.
David
From: Erica Leung [EMAIL
I've also have had problems implementing a wizard. Make sure your reset method is
only reseting the piece of the form that is being posted back. Same with your
validate method.
Out of curiosity... Are you worried about 2 browsers attached to the same
session(ctrl-n) using your wizard? In
Hi All,
I am trying to set some attributes in the request object
request.setAttribute(test, TEST);
before invoking the forward:
mapping.findForward(Constants.SUCCESS_KEY);
When I look up in the jsp:
logic:present name=test scope=request
FOUND!
hello,
what I'm missing?
I'm trying to run strutsel-exercise-taglib example of struts-el.
I'm getting :
Parsing of JSP File '/html-indexed.jsp' failed:
/html-indexed.jsp(4): Error in using tag library
uri='/WEB-INF/struts-html-el.tld' prefix='html-el': The Tag class
Let me guess, you're using Struts 1.1RC1? This was fixed after RC1 was
tagged. If you use the nightly build, this should be fixed.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
hello,
what I'm missing?
I'm trying to run strutsel-exercise-taglib example
I think your issue has to do more with design than what you're asking. Is
an user interface really useful when there are 200-500 checkboxes to choose
from? Maybe not...
Try reorganizating your data so that it can be either narrowed down or
presented differently, maybe thru a search prior to
Can anyone give me some insight into the following
1. I have a form with multiple actions that logically should be grouped together.
2. My form uses all image buttons to submit.
Therefore I want to use a combination of LookupDispatchAction with image
buttonshow does one go about doing
javascript
function submitForm(action)
{
form.action=someAction.do?dispatch= + action;
form.submit();
}
onclick=submitForm('someAction')
-Original Message-
From: Tim Stadinski [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 03, 2003 1:56 PM
To: [EMAIL PROTECTED]
Subject:
without javascript support?
thx
-Original Message-
From: Mike Thompson [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 03, 2003 3:02 PM
To: Struts Users Mailing List
Subject: RE: [ImageButtonBean] usage with LookupDispatchAction
javascript
function submitForm(action)
{
My problem is that there is only a server-side validation for the
minlength-property. If nothing is entered in the password-field,
Javascript-validation (required) works fine (i.e the validation is
done on client-side). What am I doing wrong?
Thanks for help!
Stefan
First thing I would try
Is there a way to configure the action servlet to use specific JAXP
properties to parse struts-config.xml?
For example is there a way to set the following for struts-config parsing:
javax.xml.parsers.DocumentBuilderFactory=com.caucho.xml.parsers.XmlDocument
BuilderFactory
On Thu, 3 Apr 2003, David Graham wrote:
Date: Thu, 03 Apr 2003 12:06:12 -0700
From: David Graham [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: Is Sun promoting Struts??
java.sun.com promotes useful Java tools but that doesn't
Has anyone gotten the Struts - Hibernate example by Ted Husted to build
via the provided ant script? I have set the properties in the
build.properties and the build.xml to my enviro, but am getting
compilation errors regarding package layouts / imports.I'll
troubleshoot if I need to, but
yes - you are 110% right about it
put night build and it was fixed ;-)
Best Regards.
Michael.
-Original Message-
From: Karr, David [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 03, 2003 11:49 AM
To: Struts Users Mailing List
Subject: RE: 'org.apache.strutsel.taglib.html.ELImgTag' has
Straight HTML with a JSP scriptlet:
a href=login.doimg
src=%=request.getContextPath()%/images/Compagny.gif border=0/a
With Struts tags:
html:link page=/security/login.dohtml:img page=/images/Compagny.gif
border=0 //html:link
The border=0 stuff will prevent a blue outline from the link from
Are you certain that the request is getting to the JSP with the test in it?
-Max
- Original Message -
From: Jindal, Ashwini [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, April 03, 2003 11:43 AM
Subject: Loosing Objects in the Request.
Hi All,
I am trying to set some
When using the html:submit / tag in conjuction with a
href=javascript:document.forms[0].submit(); on the same page, the second method of
submitting a form does not work. Remove the html:submit/ and the latter method
works fine. The html outputted by the html:submit/ is input type=submit
I solved a problem that I'd been having with multiboxes and wanted to present
it to the list for a sanity check.
Specifically, I had a 3 page wizard that essentially edited an existing model
bean. I'm using a single form bean across the three pages. The third page of
the wizard had a multi-box
Hello,
Are you
interested in working on a high-profile product in a radically
fun and challenging environment?
Were
looking for two experienced Struts developers to join our team to help with the
construction of Noumenaut Skribe, our high-profile journaling application, and
Noumenaut
Please correct me if I am wrong about this assumption:
All these Tags html:option, html:options, html:optionsCollection,
logic:iterate etc (not sure how many) need bean:define Tag.
That means, if we want to use html:option, we need a bean:define Tag in
JSP even though
we have prepared
Sandra,
Check out this thread in the archives ...
http://marc.theaimsgroup.com/?l=struts-userm=101885294932468w=2
Hope it's somewhat helpful.
Susan Bradeen
On 04/03/2003 04:51:38 AM Heligon Sandra wrote:
it is not that a simple problem of Javascript because the difficulty is
to
integrate
None of those tags need bean:define. See the user's guide for details:
http://jakarta.apache.org/struts/userGuide/index.html
David
From: Pingili, Madhupal [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Subject: RE:
A user is now running into the same problem with IE 6.0 but I've IE 6.0
on my machine and it works fine, I wonder if it is just a browser
setting on this case? Any Ideas?
Thanks
Gus
Niesen, Nathan wrote:
You could also have an onfocus event handler that calls blur() on the field
or sets focus
Can any one suggest smart way to design site navigation in Struts, Tiles. I worked out
the solution using JavaScript, JSP. I feel there should be better and new ways of
doing this navigation.
For example here is the code snippet which i already made it work. I am looking for
better ways.
I have an 'amount' field (text box) on a Struts form, and I need to validate
it. I'm having some success with:
fieldproperty=askAmount
depends=required,integer,intRange
but I know my users will want to enter 5,000 or $5,000 instead of just 5000.
Suggestions?
--
Wendy Smoak
Is there anyway to determine the level you are down in the nesting?
Ideally, the number of levels back up to the nested:root... I would
kinda assume that the level would be equal to descent... meaning that
the nested:root level would be equal to zero...
Also, I'd like to use this in
rant
Shouldn't returning null from an Action throw an Exception? If the Action
doesn't want the controller to return anything there should be a constant
like NOACTION_FORWARD in Action or elsewhere.
/rant
I've got an Action that seems to be returning a null forward for some
reason. Is there
Is it possible to define a global forward like mainListView and then
define a forward inside an Action that points to it?
I would like to use this so my actions forward to standard forwards like
success, failure, cancelled, etc. Then I would map those local
forwards to global forwards as
SunONE Application Framework is a fine tool -- indeed, it aspires to
provide additional functionality beyond what Struts supports
(especially in the area of interfaces to model objects, and complex
UI components), which make it quite suitable for building complex
web-based applications.
I
Hi, all,
I need to use the Tiles as a standalone component in my project. I am new to Tiles in
less than on week. I follow the chapter 11, Developing applications with Tiles, of
Struts in Action to set up Tiles. I run into a couple of problem and hope someone
can give me a hand.
The tiles.jar
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
Hi All,
My name is Jack Nodel, I work with ARES consulting. Recently one of my
clients has asked me to locate contractors for a Toronto based 12 month
contract.
The following is the list of required technical skills. Excellent
communication is an absolute must.
We are searching for a subject
This is exactly what happens as the JCP standardizes things, like with JSTL and JSF.
But diversity is good to bring out the qualities of competing implementations until
there is a clear winner. So perhaps we will see more functionality of the frameworks
standardized in the future. But I am not
Yes,
It's possible to declare a global forward and then refer them in ur
action class.
Following is way u have to define in struts-config.xml
global-forwards type=org.apache.struts.action.ActionForward
forward name=error path=/errorAction.do/
/global-forwards
Then refer this
This is exactly what happens as the JCP standardizes things, like
with JSTL and JSF. But diversity is good to bring out the qualities
of competing implementations until there is a clear winner. So
perhaps we will see more functionality of the frameworks
standardized in the future. But I
Hello,
in strutsel-exercise-taglib.war I can't find complete example of using
indexed components.
the html-indexed is good start, but I'd like to get more info
how to use inside of logic-el:iterate collection ...
other tags like a
html-el:select
html-el:options
html-el:checkbox
html-el:multibox
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-constraint
web-resource-collection
web-resource-nameSecured Resources/web-resource-name
Actually it could be more... it's just that a possible search would return
one or more records... so i got to be able to process it and show
checkboxes...
anyways, the problem is in the form method... when you have so many
checkboxes you cannot use the method=get since i think the query strings
Do you include all fields from previous page with html:hidden? I hope
this would help you.
-Original Message-
From: Mike Thompson [mailto:[EMAIL PROTECTED]
Sent: Friday, April 04, 2003 3:43 AM
To: Struts Users Mailing List
Subject: RE: Same but Different ( I hope )?
I've also have had
Does this have anything to do with Struts?
.V
Jack Nodel wrote:
Hi All,
My name is Jack Nodel, I work with ARES consulting. Recently one of my
clients has asked me to locate contractors for a Toronto based 12 month
contract.
The following is the list of required technical skills. Excellent
Is it possible to define a global forward like mainListView and then
define a forward inside an Action that points to it?
I would like to use this so my actions forward to standard forwards like
success, failure, cancelled, etc. Then I would map those local
forwards to global forwards as needed.
Isnt that what JSF is about to a large extent?
-Original Message-
From: Mete Kural [mailto:[EMAIL PROTECTED]
Sent: Thursday, 3 April 2003 23:29
To: Struts Users Mailing List
Subject: Re: Is Sun promoting Struts??
SunONE Application Framework is a fine tool -- indeed, it aspires to
I see no struts here.
And their minimum required experience adds up to 21 years...
-Original Message-
From: V. Cekvenich [mailto:[EMAIL PROTECTED]
Sent: Friday, 4 April 2003 10:19
To: [EMAIL PROTECTED]
Subject: Re: 12 month contract - Toronto - immediate start
Does this have anything
On Thu, 3 Apr 2003, Adam Sherman wrote:
Date: Thu, 03 Apr 2003 21:41:54 -0500
From: Adam Sherman [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: RE: Linked Forwards?
Is it possible to define a global
On Fri, 4 Apr 2003, Andrew Hill wrote:
Date: Fri, 4 Apr 2003 10:57:51 +0800
From: Andrew Hill [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED],
[EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: RE: Is Sun promoting Struts??
Isnt that
Yeah, but servlets run multi-threaded, so its okay
for those job applications to have concurrent experience too :)
-jeff
On Thursday, April 3, 2003, at 09:02 PM, Andrew Hill wrote:
I see no struts here.
And their minimum required experience adds up to 21 years...
-Original Message-
I have an action that creates and populates a model bean (not a form bean)
and makes it available to the view component, in this case a success.jsp .
In the success.jsp I have a form. I would like to populate the form field
with the value from my model bean that was just passed to it.
I tried
Max,
That is what the problem is I dont see the test in the request when it reaches the
jsp. Now where and why does it lose is question?
...AJ
-Original Message-
From: Max Cooper [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 03, 2003 2:02 PM
To: Struts Users Mailing List
Subject: Re:
1. The error message:
root cause
javax.servlet.ServletException: Can't get definitions factory from context.
at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:533)
at org.apache.jsp.page_jsp._jspService(page_jsp.java:189)
2. The translated JSP file
Give this a try:
html:form action=/nextAction.do
table align=center border=0 cellpadding=2 cellspacing=10
tr
td align=left
html:text name=path.to.model.bean property=name size
=50 maxlength=50/
/td
/tr
/table
/html:form
Looking
I'll be 46 years old before I qualify for that job :) .
Andrew Hill wrote:
I see no struts here.
And their minimum required experience adds up to 21 years...
-Original Message-
From: V. Cekvenich [mailto:[EMAIL PROTECTED]
Sent: Friday, 4 April 2003 10:19
To: [EMAIL PROTECTED]
Subject:
michael == michael korolyov [EMAIL PROTECTED] writes:
michael Hello,
michael in strutsel-exercise-taglib.war I can't find complete example of using
michael indexed components.
michael the html-indexed is good start, but I'd like to get more info
michael how to use inside of
Thats because being males, we can only do one thing at a time!!
Scott
www.exergonic.com.au
On Fri, 2003-04-04 at 13:22, Kwok Peng Tuck wrote:
I'll be 46 years old before I qualify for that job :) .
Andrew Hill wrote:
I see no struts here.
And their minimum required experience adds up
My colleague is trying to make our application run on WebSphere (WAS 5.0), however we
are encountering an error submitting multipart forms. (Stacktrace pasted below)
(Needless to say it all works sweet on TomCat...)
Ive not had time to experiment with it myself, but it looks like WAS is barfing
Hi Struts Experts,
I have formed a table comparing Struts , Barracuda and Expresso
Framework
Struts
Barracuda
Expresso
Parameter
Value
Architecture
5
4
5
4
Robustness
5
5
5
5
Scalability amp; Performance
5
5
5
5
Customizability
5
5
3
4
Hi,
wht happend ? im not getting any valuable reply that says Struts is best.
does that mean Expresso is better ? i think even the Struts developers are confused
...;)
im also in a same position without any proper documents or stats which shows which is
best ... i doono which one
Narrow it down to two and flip a coin...
-Original Message-
From: resdev [mailto:[EMAIL PROTECTED]
Sent: Friday, 4 April 2003 14:04
To: Struts Users Mailing List
Subject: Re: Re: Which is the best Struts or Expresso ?
Hi,
wht happend ? im not getting any valuable reply that says
If you read the description of Expresso you'll see that it includes Struts.
It is not a competitor, it just packages useful services (including Struts)
into a framework.
David
From: resdev [EMAIL PROTECTED]
Reply-To: resdev[EMAIL PROTECTED]
To: Struts Users Mailing List[EMAIL PROTECTED]
Would this be valid then:
security-constraint
web-resource-collection
web-resource-nameSecured Resources/web-resource-name
url-pattern*.do/url-pattern
/web-resource-collection
auth-constraint
role-namestrutsuser/role-name
/auth-constraint
use html:submit property=foo /
This will output :
input type=submit name=foo and your javascript will work.
Nico.
When using the html:submit / tag in conjuction with a
href=javascript:document.forms[0].submit(); on the same
page, the second method of submitting a form does not work. Remove
Hi Struts Experts,
I have formed a table comparing Struts , Barracuda and Expresso
Architecture
Value - 5
Struts - Barracuda - Epresso
4 - 5 - 4
Robustness
value - 5
Struts - Barracuda - Expresso
5 - 5 - 5
Scalability amp; Performance
value - 5
Struts - Barracuda -
I think this is rather silly. Read the descriptions of both frameworks
(notice that Expresso *uses* Struts), try them both out and then pick one.
No one can make this decision for you.
David
From: resdev [EMAIL PROTECTED]
Reply-To: resdev[EMAIL PROTECTED]
To: Struts Users Mailing
Oh I dont know. We could make the decision for him - but it might not be a
good decision depending on his needs...
-Original Message-
From: David Graham [mailto:[EMAIL PROTECTED]
Sent: Friday, 4 April 2003 14:47
To: [EMAIL PROTECTED]
Subject: Re: Framework comparison : Struts or Expresso
Hi,
You can tell ur decision but on what basis u have chosen it that might surely
help me.
regds,
Gurumurthy R.
Struts Users Mailing List wrote:
Oh I dont know. We could make the decision for him - but it might not be a
good decision depending on his needs...
-Original
AJ,
It seems like that should work, that is why I am asking about other
problems. The most obvious possible problem was that the request just never
gets to the JSP with the test in it, so I wanted to establish that you were
certain that it gets to the JSP and that the test is actually executing
Title: Message
Hi Pls unsubscribe
me from the mailing list
I
had mailed thrice for unsubscribing
but still i am getting these mails
I
am fed up of deleting mails from my inbox.
Rgds
C.Bhaskaran
**Disclaimer
Sri Sankaran írta:
All this is fine and dandy but isn't form-submission typically a POST operation? If you use html:form the default is POST.
The thead was about what issues should one be aware of using huge amount
of checkboxes.
This *is* an issue in this case and we clarified it.
Tib
Well I had to make the decision about this time last year between struts and
barracuda. I ended up choosing struts simply because I could understand the
basics of it in the time I had to do my evaluation, wheras I found Barracuda
a lot more challenging to understand - especially since I was also
Not if you POST it
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, 4 April 2003 15:23
To: [EMAIL PROTECTED]
Subject: RE: checkbox
Well, I have a health form I am implementing. I plan to have around 75 to
100 checkboxes. Is that too many?
-Original
[EMAIL PROTECTED] írta:
Well, I have a health form I am implementing. I plan to have around 75 to 100 checkboxes. Is that too many?
If I were you I'd split it up for about 4-5 pages and max 20 inputs on
each.
It would make the cliend feel comfortable.
But it could work in one page using POST
Hi Hill,
Thank u for ur invaluable response.
Im in to development of Internet Banking applications and felt Expresso had extra
features than wht struts provides and also it is superset of struts, in which case it
shud give me that easy extendability that struts provides, that's wht im gonna
101 - 186 of 186 matches
Mail list logo