Struts performance. Any overhead that it might have is
greatly out-weighed by all the benefits it provides.
The design point that will have the greatest impact on your performance will
undoubtedly be how you implement the interface between Struts and your EJB Container.
--Steve
Thanks again for the help Craig.
My container vendor is asking me which version of Jasper (tomcat) they should use.
Currently they are using 3.1.x -- what would you reccomend as a good version that
contains the Jasper fix to get around the pageContext.removeAttribute() problem?
--Steve
e used to construct an ActionForward).
Once again I find my fingers are faster then my brain. :) We are not in fact doing what I said we are doing, and thus the application actually works. :)
S-
> Steve Salkin wrote:
> > How is that different from
> > mapping.findForward(mappi
Title: RE: reference input page from inside action?
Ted,
How is that different from
mapping.findForward(mapping.getInput());
We are using mapping.findForward() in all cases (that a struts-config mapping exists).
> -Original Message-
> From: Ted Husted [mailto:[EMAIL PROTECTED]]
>
Title: html:radio tag question
Hi-
I am converting an html page to struts jsp. The original page has a set of radio buttons that are supposed to be mutually exclusive. Each has a name, and the author used javscript functions that refer to these names as onclick handlers.
My struts tags are
odify org.apache.struts.taglib.html.FormTag.doEndTag() to get
around the "can't remove attributes from request scope" issue.
Thanks for any help.
--Steve
tFoundException: logon
I used the correct username password ("user", "pass") so I would have expected to get
forwarded to mainMenu.jsp via the "success" foward mapping. Any ideas what might be
wrong?
--Steve
Title: RE: Scratch RowSets
Take a look at sun's CachedRowSet now available in early release.
http://www.javaworld.com/javaworld/jw-02-2001/jw-0202-cachedrow.html
S-
> -Original Message-
> From: Oleg V Alexeev [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 06, 2001 3:55 PM
> T
Title: how to safely access a nested bean property that may be null
Hi:
If you have in your request a bean B, and bean B has within it a bean B',
which has a property P that you would like to access using a
Now, you know that B' may be null. How can you protect the reference from failing?
Does anyone know how I get the latest version of Jasper? Do I have to download Tomcat
and if so which version?
Thanks in advance!!!
--Steve
Hi Jon, where can I get the correct version of Jasper? I checked the Jakarta site but
I don't see Jasper identified on its own. Do I have to pull it out of Tomcat? If so,
which release?
--Steve
> -Original Message-
> From: Jon.Ridgway [mailto:[EMAIL PROTECTED]]
> S
.class files on my
servlet engine's path and found my mods. So I am pretty sure the changes are being
picked up. I'll look into updating jasper.
--Steve
> -Original Message-
> From: Jon.Ridgway [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 06, 2001 9:10 AM
>
rker2:Dumping cookies
Let me know if this helps. Atleast I know my container is using Jasper! I suppose I
could look into updating my version of Jasper?
--Steve
> -Original Message-
> From: Jon.Ridgway [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 06, 2001 8:05 AM
> To:
Hi Jon,
Thanks for the reply, I tried the recommended change to the source code and still I
get the same error.
I've sent an email to my vendor's support group, in lieu of that is there anything
else you would suggest?
--Steve
> -Original Message-
> From: Jon.Ridgwa
Title: testing for a nested bean value
Hi-
Say you have a bean in the request that is being processed by the jsp, call it
resultBean. In this bean you have a bean called multimediaBean, and this bean has
a property called url.
So, I think I should be able to say
" >
But if the multimedi
o Craig the bug is really in the servlet container and it would seem
that my servlet container has the very same prolem. What is suggested work around for
this? Can someone help me with some more details in the event that I need to speak
with my container vendor?
--Steve
On Mon, 4 Jun 2001, Deadman, Hal wrote:
> I don't think what you are trying to do should be done in the JSP by a
> struts/custom tag.
Maybe it's a dumb idea, but that's never stopped me before. =:]
> Why not copy the value objects in the HashMap to an array based on the order
> of the keys in
Thanks Ted, I will take it from here. Once I get my project-specific sample put
together I'll look into it some more if its still a problem.
--Steve
> -Original Message-
> From: Ted Husted [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 04, 2001 2:46 PM
> To:
On Mon, 4 Jun 2001, Shamdasani Nimmi-ANS004 wrote:
> Steve,
>
> This is how I used a HashMap in a jsp:
>
>
>
>
>
>
>
>
>
>
> getUserList() method in my user_list bean returns a HashMap.
>
> Hope this helps.
>
> -Nimmi
Hi Nimmi. Y
NO
struts-template.war YES
struts-exercise-taglib.war NO
struts-upload.war NO
--Steve
> -Original Message-
> From: Ted Husted [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 04, 2001 2:12 PM
> To: [EMAIL PROTECTED]
> Subject
piled Code)
Again, I am getting this when I try to start my servlet container and the above
exception causes the container to terminate.
I just verified the same behaviour with beta3.
--Steve
> -Original Message-
> From: Dan Miser [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 04
I found that I could not successfully deploy struts-example.war without first
deploying struts-documentation.war. Does this sound right or is it maybe something
specific to my servlet container (Servletmill from PowerTier)?
--Steve
Thanks Ted, I will simply collect the information and email it to you. It will be of
the nature "install hints for PowerTier..." that's it. Pretty simpl stuff but it can
really help new users.
Love what you guys are doing, thanks for all the effort.
--Steve
> ---
Hello, I would like to contribute some information on using Struts with Persistence
PowerTier (Apache/Servletmill). What's the best way to do this?
--Steve
>
> Could anyone please point me to where i can find some examples using
> hashmaps in a jsp with struts...
> Instead of using a whole bunch of logic equal tags all the time, i need a
> way to evaluate a collection, looking for a specific key value, then show or
> hide the rele
Title: struts under tomcat 3.3-m3
Hi-
Just an informational note:
I have been failing to move a struts application from tomcat 3.2.2 to 3.3-m3. This seemed desirable because the new 3.3 milestone has tag pooling, and we have a good number of struts and local tags. Not only could we not dep
Hello. I have a bean (referred to as "resultBean") that contains a
HashMap (called "properties") and would like to extract key/value pairs
from this HashMap. Presently, I'm iterating through the HashMap with:
The problem is that I'd like to be able to extract and display the
Hello. I'm trying to use html:multibox with one String[] that contains
Strings for all of the checkboxes to display and another String[] that
contains the currently selected checkboxes. With the following code, I can
display the checkboxes but don't understand how to control which box
or boxes ar
On Thu, 5 Apr 2001, Dorai, Harish (c) wrote:
> It seems the "onclick" event overrides the submit action and hence your form
> is not getting submitted. Instead of using "form:submit" use the "Button"
> tag and in the "onclick" function put this code.
The html:submit tag creates an input type of
imple here?
> Steve Taylor
> Systems Consultant
> Pangaea Systems Inc.
> (250) 360-0111 ext 210
http://www.pangaeainc.com
On Mon, 23 Apr 2001, Dzenan Ridjanovic wrote:
> OK to just point at the download URL for the source distribution if you want
> it!
+1
On Thu, 12 Apr 2001, Cox, Tom wrote:
> Hello:
>
> I'm looking for an example of the tag.
>
> I need to present several radio options, and have one option be preselected
> based on the value in my ActionForm bean.
AFAIK, and someone set me straight if this is wrong, there is no
attribute to dy
On Wed, 11 Apr 2001 [EMAIL PROTECTED] wrote:
> I want to add a function to all of my forms in which the
> form is capable of initialising its contents. e.g.
>
> public void initUsingSession(HttpSession session)
>
> I want to pass the session to this function so that I can
> populate values on the
hread-simplification qualities of Struts?
or
- under-educated about how the Struts token capability handles this for us?
Thanks,
Steve
here -type- checking might be done in the validate
method. For example, when the user gives you a string that is supposed to
translate to a number or a date.
What do you think?
Steve
-Original Message-
From: Deadman, Hal [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 30, 2001 11:17 AM
ound, including
up to and down from the Actions.
Steve
-Original Message-
From: Assenza, Chris [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 29, 2001 4:59 PM
To: '[EMAIL PROTECTED]'
Subject: Communicating with EJB's from Action
Hello! :)
Our dev team for a big enterpris
them
all with a single button click.
Is there a way to use an ActionForm for this task, other than to hard code
the maximum number of fields into the ActionForm?
(If not, I supposed I can still have the Action sift through the request to
find the values.)
Thanks,
Steve
I understand what the end result of these do, but how do they do them, and
how are they used?
Do they modify the struts-conf.xml or just the ActionMapper?
Have
you played with the order that these occur in the CLASSPATH?
-Original Message-From: Ali Ozoren
[mailto:[EMAIL PROTECTED]]Sent: Tuesday, August 29, 2000
10:10 AMTo: [EMAIL PROTECTED]Cc:
[EMAIL PROTECTED]Subject: struts and
cocoon
Hi
all-
I’ve
been tr
OK. That's kewl, but is Tomcat using your environmental
CLASSPATH? Tomcat sets up it's own classpath stuff. Look closely at
the CLASSPATH that Tomcat echos to the console on startup and visit your
tomcat.sh or tomcat.bat for adjustments. I, personally, like to have my
environmental class
You
either need to use JDK1.3 or include /lib/tools.jar in the
classpath of the servlet container. I'm surprised that the Tomcat startup
scripts did not do this for you.
-Original Message-From: Scott Fitzgerald
[mailto:[EMAIL PROTECTED]]Sent: Monday, March 26, 2001
8:07 AMTo
Use
the name of the submit rather than the value. Name each submit differently and
check for it's presence in the request. It will only be submitted with the form
if clicked.
Stephen Aument
PentaSafe Security Technologies,
Inc
-Original Message-From: Jon Wilmoth
[mailto:[EMAI
I'd like to initialize a String[] contained in an object with the
Digestor (i.e. in a database.xml file). Can I do that? If so, what's the
syntax? Thanks.
On Wed, 14 Mar 2001, Kyle Robinson wrote:
> In the onchange event of your select I would make it look like
> onchange="javascript:submit();"
Thanks for the idea, but I tried that and still get the Javascript error.
I'm having a problem with the html:submit tag. The scenario is that I
have a number of select menus, each of which invokes form.submit() on the
onchange event, i.e.:
The problem is that the html:submit tag creates a Submit input type with
the name "submit". I think this name is conflicting wi
On Mon, 12 Mar 2001, Rudy Bonefas wrote:
> Hey,
> Maybe someone at Jakarta could look into setting up a news group so
> that my inbox is constantly spammed with useless shit like the following.
Apparently, you are not aware that struts-user is well-behaved and
doesn't flame.
On Wed, 7 Mar 2001, Jim Richards wrote:
>
> Has anyone got the database pooling code/DataSource to work or specifically
> had it fail?
>
> I've been having problems (documented previously) and I've read about a few others
> who can't seem to get the pooling to work as well, and I want to get an
But is there any reasonable way to integrate Cocoon and Struts? I'm pretty
new to Struts, but would it be possible to take advantage of the caching and
architecture of Cocoon when transforming XML within a Struts application? I
would appreciate any thoughts on this.
-Original Message-
Fr
On Mon, 12 Feb 2001, Steve A Drake wrote:
> On Wed, 31 Jan 2001, Peter Alfors wrote:
>
> > check out the pager taglib: http://jsptags.com/tags/navigation/pager/
>
> Actually, I can run the example that comes with the distribution but am
> having some problems using
On Wed, 31 Jan 2001, Peter Alfors wrote:
> check out the pager taglib: http://jsptags.com/tags/navigation/pager/
Actually, I can run the example that comes with the distribution but am
having some problems using this pager taglib in Struts. The links created
by the pager aren't working.
The
On Wed, 31 Jan 2001, Peter Alfors wrote:
> check out the pager taglib: http://jsptags.com/tags/navigation/pager/
Very handy! For anyone else looking at this for paging long-winded
result sets, and using Tomcat 4.0-b1, I needed to edit the demo
"pager-demo.jsp" and change:
to:
This fixes
On Mon, 5 Feb 2001, Vardar, Tuna wrote:
> hi.
>
> how can I handle nested structures using Struts?
> what I want to do is sth. like :
>
>
>
>
>
>
>
>
>
>
>
>
>
> I tried some combinations but couldn't suc
Hello. I'm trying to use a MessageFormat tag with a dynamically defined
argument in a JSP but can't seem to get the syntax right. In my
MessageResource file I have the string:
header.simpleResults=There were {0} responses
and in my JSP file I have:
By itself,
returns a non-null val
Any struts gurus going to the O'Reilly Conference on Enterprise Java
(March 26-29)? I didn't see Struts on the schedule but that's not to say
someone couldn't lead an impromptu evening session.
I've got this Struts connection pool going but don't see how to snoop
info regarding it's state. Fo
As a follow-up to the problem I was having with the setReadOnly() method
for the Connection object (using Informix), I downloaded the
latest/greatest JDBC driver that I could find (SQLJ 2.20.JC1 from
www.informix.com/evaluate) and found the same problem. From the release
notes (file: jdbcrel.txt
On Thu, 25 Jan 2001, Craig R. McClanahan wrote:
> It looks like the Informix JDBC driver is throwing an exception when you call
>setReadOnly(true) on one of its
> connections. Could you try that in a standalone program and see what happens, and
>also what happens if you call
> setReadOnly(fals
Hello. I'm trying to configure Struts to instantiate a database
connection pool using the ifxjdbc.jar driver for the Informix Dynamic
Server (7.2). So far, I'm getting exceptions at startup. I also get an
exception when I try to obtain a DB connection. Any help would be appreciated!
Note that
On Mon, 22 Jan 2001, Steven D. Wilkinson wrote:
> Here is what the installation doc says:
>
> "XML Parser - Struts requires the presence of an XML parser that is compatible
> with the Java API for XML Parsing (JAXP) specification, 1.0 or later. You can
> download and install the JAXP reference i
Hello. I downloaded last night's build and compiled it. I was able to
compile it with xalan/xerces (that I coopted from Cocoon 1.8) but not with
jaxp.jar/parser.jar (that I coopted from Tomcat 3.2.1). From the
stacktrace (see below), it looks like an Ant (1.2) "import" problem, but
it's a Struts
This was confirmed by iPlanet at Java One last year; no WAR support in
iWS until the next release (I can't remember if they meant 4.2 or 5.0).
Steve Croft
Project Arena
Paul Hendley - Sun Microsystems wrote:
> Hi Craig,
>
> Some of my coworkers looked at this and came to a simi
ide to Servlets:
http://docs.iplanet.com/docs/manuals/enterprise/41/servlets/contents.htm
Obviously this is indirect help since you'll have to see if something
similar exists for the App Server.
Steve
Frank Starsinic wrote:
> I noticed that as well. It seems to me that the Netscape/Ipl
On Thu, 28 Dec 2000, Ted Husted wrote:
> I'm thinking that the Action could grab a connection from the pool, and
> generate a statement based on the bean's query string, store the result
> in the bean's ResultSet, punch the rows we need into the collection,
> and foward it on to the form, where t
On Mon, 19 Jun 2000, Shiraz Wasim Zaidi wrote:
> The action's servlet can then handle the request, and return a HTTP response
> to the controller, which the controller can pass back to the client.
>
> ---
> I think you have a wrong understanding that action classes are servlets. No
> they are re
On Tue, 5 Dec 2000, Ted Husted wrote:
> And, thanks again for publishing the Java World article. Every open
> source projects suffers from a lack of working examples, and I hope you
> will publish more on Struts in the future. There's no replacement for
> real working code.
+1
Title: RE: Question about localization
I'm still learning too, so correct me if I'm wrong.
I think you might consider localization as a server-side issue (i.e. keeping this as a user option stored on a database). Otherwise an English user on a French browser would have a problem.
Or maybe tha
response.setHeader("Content-Disposition","inline; filename=app.zip");
/stephen
> -Original Message-
> From: Naveed Khan [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, November 09, 2000 5:07 PM
> To: [EMAIL PROTECTED]
> Subject: sending zip file to browser
>
> Guys:
>
> I m t
601 - 666 of 666 matches
Mail list logo