RE: Struts Questions

2001-06-12 Thread Ritter, Steve
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

RE: Where can I get the latest version of Jasper?

2001-06-11 Thread Ritter, 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

RE: reference input page from inside action?

2001-06-08 Thread Steve Salkin
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

RE: reference input page from inside action?

2001-06-08 Thread Steve Salkin
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]] >

html:radio tag question

2001-06-08 Thread Steve Salkin
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

Can someone figure out this FormTag error?

2001-06-07 Thread Ritter, Steve
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

ClassNotFound Exception in struts-example (b3)???

2001-06-06 Thread Ritter, 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

RE: Scratch RowSets

2001-06-06 Thread Steve Salkin
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

how to safely access a nested bean property that may be null

2001-06-06 Thread Steve Salkin
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?

Where can I get the latest version of Jasper?

2001-06-06 Thread Ritter, Steve
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

RE: Need help with "Can't remove attributes from request scope" p robl em.

2001-06-06 Thread Ritter, 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

RE: Need help with "Can't remove attributes from request scope" p robl em.

2001-06-06 Thread Ritter, Steve
.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 >

RE: Need help with "Can't remove attributes from request scope" p robl em.

2001-06-06 Thread Ritter, Steve
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:

RE: Need help with "Can't remove attributes from request scope" p robl em.

2001-06-06 Thread Ritter, Steve
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

testing for a nested bean value

2001-06-05 Thread Steve Salkin
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

Need help with "Can't remove attributes from request scope" problem.

2001-06-05 Thread Ritter, Steve
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

RE: Any Hashmap examples used in jsp page?

2001-06-04 Thread Steve A Drake
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

RE: Is struts-documentation really *required*?

2001-06-04 Thread Ritter, Steve
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:

RE: Any Hashmap examples used in jsp page?

2001-06-04 Thread Steve A Drake
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

RE: Is struts-documentation really *required*?

2001-06-04 Thread Ritter, Steve
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

RE: Is struts-documentation really *required*?

2001-06-04 Thread Ritter, Steve
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

Is struts-documentation really *required*?

2001-06-04 Thread Ritter, Steve
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

RE: How do I contribute?

2001-06-04 Thread Ritter, 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 > ---

How do I contribute?

2001-06-04 Thread Ritter, 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

RE: Any Hashmap examples used in jsp page?

2001-06-01 Thread Steve A Drake
> > 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

struts under tomcat 3.3-m3

2001-05-31 Thread Steve Salkin
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

extract key/value from HashMap

2001-05-30 Thread Steve A Drake
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

multibox

2001-05-21 Thread Steve A Drake
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

RE: Javascript and struts

2001-04-27 Thread Steve A Drake
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

mod_jk troubles

2001-04-26 Thread Steve Taylor
imple here? > Steve Taylor > Systems Consultant > Pangaea Systems Inc. > (250) 360-0111 ext 210 http://www.pangaeainc.com

Re: Packaging Question - Include Source in Binary Distributions?

2001-04-23 Thread Steve A Drake
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

Re: radio set example

2001-04-12 Thread Steve A Drake
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

Re: Extending struts classes

2001-04-11 Thread Steve A Drake
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

Thread safety issue with use of token?

2001-04-02 Thread Handy, Steve
hread-simplification qualities of Struts? or - under-educated about how the Struts token capability handles this for us? Thanks, Steve

RE: Communicating with EJB's from Action

2001-04-02 Thread Handy, 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

RE: Communicating with EJB's from Action

2001-03-29 Thread Handy, Steve
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

variable number of fields in a form

2001-03-29 Thread Handy, Steve
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

standard administrative actions?

2001-03-29 Thread Maring, 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?

RE: struts and cocoon

2001-03-29 Thread Maring, Steve
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

RE: Beginner question

2001-03-26 Thread Maring, Steve
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

RE: Beginner question

2001-03-26 Thread Maring, Steve
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

RE: Multiple Submits per Form

2001-03-23 Thread Steve Aument
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

config String[] with Digestor

2001-03-21 Thread Steve A Drake
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.

RE: html:submit

2001-03-14 Thread Steve A Drake
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.

html:submit

2001-03-14 Thread Steve A Drake
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

RE: Strut Books

2001-03-12 Thread Steve A Drake
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.

Re: Database pooling code

2001-03-07 Thread Steve A Drake
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

RE: using XML and Struts

2001-02-28 Thread Steve Grant
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

Re: paging for web application

2001-02-12 Thread Steve A Drake
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

Re: paging for web application

2001-02-12 Thread Steve A Drake
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

Re: paging for web application

2001-02-12 Thread Steve A Drake
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

Re: nested structures

2001-02-05 Thread Steve A Drake
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

MessageFormat question

2001-01-30 Thread Steve A Drake
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

2 Qs

2001-01-29 Thread Steve A Drake
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

Re: configuring database connection pool

2001-01-29 Thread Steve A Drake
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

Re: configuring database connection pool

2001-01-25 Thread Steve A Drake
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

configuring database connection pool

2001-01-25 Thread Steve A Drake
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

Re: nightly build

2001-01-23 Thread Steve A Drake
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

nightly build

2001-01-22 Thread Steve A Drake
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

Re: Deploying Struts on iPlanet 4.1 - any successes?

2001-01-16 Thread Steve Croft
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

Re: Container doesn't seem to allow *.do

2001-01-15 Thread Steve Croft
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

Re: Iterating a ResultSet

2000-12-28 Thread Steve A Drake
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

RE: What's Struts ...

2000-12-20 Thread Steve A Drake
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

RE: Article on JavaWorld

2000-12-05 Thread Steve A Drake
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

RE: Question about localization

2000-12-01 Thread Steve Hackney
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

RE: sending zip file to browser

2000-11-09 Thread Steve Aument
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

<    2   3   4   5   6   7