Re[4]: Dynamic creation of Actions's with 'forName'

2001-06-21 Thread Oleg V Alexeev
Hello Craig, Wednesday, June 20, 2001, 8:52:18 PM, you wrote: CRM On Wed, 20 Jun 2001, Oleg V Alexeev wrote: Hello Craig, Interesting question and clear answer... 8) CRM Yah, I really enjoy the interesting ones :-). What do you think about such caching for Class? With this approach we

Re: MessageBundle

2001-06-21 Thread Oleg V Alexeev
Hello Simon, Wednesday, June 20, 2001, 10:31:36 PM, you wrote: SL For some reason, Strut can't find my message bundle. For testing purpose, i SL have 2 language(thus 2 properties files). SL MyResources.properties(default for English) SL MyResources_fr.properties(for French) SL On the JSP

indexed property in from bean

2001-06-21 Thread rajiv mulay
Hi, how to provide the indexed property in the ActionForm bean. rajiv

Re: unable to programmatically perform a submit

2001-06-21 Thread Norman Timmler
hi michelle, i see a main difference between your struts version and your non-struts version. on the struts version you have forms[0] referencing your form and on the second one you have forms[1]. the secure way to talk to forms by JavaScript is to reference the form by name.

Tomcat Test Environment in VAJ

2001-06-21 Thread Knox, Paul (LIT)
I am having problems getting the employeeList example (from IBM site) working in Tomcat Test Environment. I Unzipped the employeeListForApache.zip to the webapps directory, but when I try to start Tomcat TE, I get the following message in my console window:- --- Context log path=/employeelist

how to quote nested tags

2001-06-21 Thread Felix von Delius
A collegue asked me a question that I can't answer. Maybe someone reading this list can help. The question is how to nest tags in a way that they expand to their attribute values. An example: assume I have the following tags: my:foo a='value' / my:bar b='other' / my:baz c='stuff' / When I want

Re: how to quote nested tags

2001-06-21 Thread Oleg V Alexeev
Hello Felix, Thursday, June 21, 2001, 2:03:49 PM, you wrote: FvD my:foo a='my:bar b=stuff/' / FvD ^-^ FvD ^---^ You can use in tag attributes only run time expressions - not another tag. -- Best regards, Oleg

mod_jk and html:base/-tag

2001-06-21 Thread Leander Jedamus
Hi! I have tracked down the problem with broken links (which looked like http://mymachine.mydomain.de:0/struts-example/index.jsp) to the html:base/-tag. When I comment it out with !-- html:base/ -- in index.jsp of struts-example, the broken links go away. So now to my question: Who is inserting

RE: how to quote nested tags

2001-06-21 Thread Lacerda, Wellington (AFIS)
In the current spec it is not allowed to use a tag inside another tag. If you need to use results from a tag processing in another tag, currently you must expose it as a bean in some scope and then access that bean in the other tag. Wellington -Original Message- From: [EMAIL PROTECTED]

Re: how to quote nested tags

2001-06-21 Thread Roland Huss
Lacerda, Wellington (AFIS) [EMAIL PROTECTED] writes: In the current spec it is not allowed to use a tag inside another tag. If you need to use results from a tag processing in another tag, currently you must expose it as a bean in some scope and then access that bean in the other tag. Or

Re: how to quote nested tags

2001-06-21 Thread Felix von Delius
On Thu, Jun 21, 2001 at 12:19:08PM +0200, Lacerda, Wellington (AFIS) wrote: In the current spec it is not allowed to use a tag inside another tag. If you need to use results from a tag processing in another tag, currently you must expose it as a bean in some scope and then access that bean in

RE: how to quote nested tags

2001-06-21 Thread Lacerda, Wellington (AFIS)
On your doStartTag you create the object you want to store, then use the implicitly defined pageContext object to store it: MyBean someBean = pageContext.setAttribute(theNameYouExposed, someBean, REQUEST_SCOPE) //or SESSION_SCOPE or CONTEXT_SCOPE or PAGE_SCOPE or

need a clear explanation of bean.tld

2001-06-21 Thread Jonathan Asbell
Hello all. The bean:message tag just came up in a thread and I still dont know what areas the bean.tld stuff isspecifically designed to handle as a whole. Where is it that one wants to use this collection of tags' funcionality? How should we be using it and how should we not be using it?

Problem with Struts in VAJ 3.5.3 WTE

2001-06-21 Thread Lock, Steven
Hello I'm trying to get the IBM employeelist struts demo working under the WebSphere Test Environment of VisualAge 3.5.3. The tutorial on the VA Developer Domain states that the employeelist webapp should come with an index.html file but there is only an index.jsp. Calling this .jsp gives the

Re: how to quote nested tags

2001-06-21 Thread Felix von Delius
On Thu, Jun 21, 2001 at 12:41:26PM +0200, Roland Huss wrote: Lacerda, Wellington (AFIS) [EMAIL PROTECTED] writes: Or you nest your tags like my:foo my:bar my:baz stuff /my:baz /my:bar /my:foo and let them evaluate their body (instead of

Re: how to quote nested tags

2001-06-21 Thread Felix von Delius
On Thu, Jun 21, 2001 at 12:57:03PM +0200, Lacerda, Wellington (AFIS) wrote: On your doStartTag you create the object you want to store, then use the implicitly defined pageContext object to store it: MyBean someBean = pageContext.setAttribute(theNameYouExposed, someBean,

searching for struts intro powerpoint presentation

2001-06-21 Thread Felix von Delius
Some time ago I found some Powerpoint slides on the net with an introduction to struts. They explained a small application using forms, actions, etc. For some reason I can't find this presentation anymore. Does someone know where this slides can be found? -Felix

Template Question

2001-06-21 Thread Klaus Thiele
Hi, is there a chance, to set the title via a bean:message ... / within a template? template:insert template='pageTemplate.jsp' template:put name='title' content='how_to_dobean:message...' direct='true'/ [...] /template:insert thanks a lot klaus -- Klaus Thiele -

Re: [EJB] Design Patterns (was JavaReport ...)

2001-06-21 Thread Jonathan Asbell
I was on this track in another thread where I was saying... What if ActionForm was an inner class to a Value object. Or, what if a Value object had a reference to an ActionForm which when filling with parameters we did ActionFormValue.getActionForm(), filled it, complete does it exist

Re: searching for struts intro powerpoint presentation

2001-06-21 Thread Jean-Noel Ribette
Craig's presentation can be found at http://www.computer-programmer.org/articles/struts/ Jean-Noel - Original Message - From: Felix von Delius [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, June 21, 2001 2:11 PM Subject: searching for struts intro powerpoint presentation

RE: Nested Beans on form not being updated

2001-06-21 Thread Chuck Stern
Hi Simon, I struggled with this for quite a while. The nested beans are being set to null when you post. It just seemed logical that these nested beans should be automatically re-populated from the form. Basically, I couldn't figure a way to make struts do it automatically for me, I think

Re: [EJB] Design Patterns (was JavaReport ...)

2001-06-21 Thread Jonathan Asbell
What you have here is: 1) an immutable from the web tier 2) an immutable from the enterprise tier 3) a need to update each other Maybe they are immutable as far as standard get/set methods. However, they can also implement an interface which uses separate secondary fileds which start with the

Re: searching for struts intro powerpoint presentation

2001-06-21 Thread Felix von Delius
On Thu, Jun 21, 2001 at 02:26:46PM +0200, Jean-Noel Ribette wrote: Craig's presentation can be found at http://www.computer-programmer.org/articles/struts/ That's it, thank you! -Felix

RE: Template Question

2001-06-21 Thread Mark Schenk
Hi, is there a chance, to set the title via a bean:message ... / within a template? template:insert template='pageTemplate.jsp' template:put name='title' content='how_to_dobean:message...' direct='true'/ [...] /template:insert thanks a lot klaus Hi

RE: Problem with Struts in VAJ 3.5.3 WTE

2001-06-21 Thread O'Neill, John H
Hi Steve, I had this very same problem yesterday with a different example. Though I got lots of suggestions (thanks to everyone) on how to fix this issue none of what was suggested worked. I eventually started to try a diferrent example (the employeelist one you are using) and I had no problems

RE: how to quote nested tags

2001-06-21 Thread Lacerda, Wellington (AFIS)
Oh, if the taglibs are not from you then I believe the best you can do is to write a tagExpose tag that will do like this: x:tagExpose id=myBean my:foo a='bar' / /x:tagExpose Which will be a BodyTag that will expose the BodyContent content to the bean. And then let the bean for the rest of

RE: Problem with Struts in VAJ 3.5.3 WTE

2001-06-21 Thread Karmanov, Igor
I've got the employeelist working fine in WTE 3.5.3 without any changes and now I'm testing my app with the same structure. It looks like the key for access to ApplicationResources.properties file is to put the following in extra class path in WTE: d:/program files/ibm/visualage for

Re: [EJB] Design Patterns (was JavaReport ...)

2001-06-21 Thread Ted Husted
The ActionForm beans can contain nested references, so you could just set some other bean to it, then refer to myBean.propertyThis and myBean.propertyThat. Of course, the other bean would have to have standard String accessor and mutators, which is where it starts to fall down. The other beans

RE: [EJB] Design Patterns (was JavaReport ...)

2001-06-21 Thread Nanduri, Amarnath
I would suggest using interfaces to talk to the Actions / Action Forms. This way there would be no confusion about importing the struts libraries when the users want to change the front end framework to say Cocoon (or) Velocity. Just my 0.02$ cheers, Amar.. -Original Message-

RE: A strange problem about locale.

2001-06-21 Thread Liang Li
You got it, thanks. After I moved up es_mx on the language preference list (so the priority is the highest), everything is fine. But there is another problem, I created a properties file Resources_zh.properties, and I typed in some Chinese characters, then saved it (I used WordPad to

Re: how to quote nested tags

2001-06-21 Thread Felix von Delius
On Thu, Jun 21, 2001 at 02:31:10PM +0200, Roland Huss wrote: What's about writing a wrapper tag which introduces a bean like this: new:evaluator id=evalBean my:foo a='bar' /new:evaluator new:evaluator id=evalBean my:bar b=%= evalBean.toString() %/ /new:evaluator my:baz b=%=

Please Unsubscribe me, the web based unsubscribe dosn´t work !

2001-06-21 Thread Sigurður Sigurðarson
Sigurdur Sigurdarson Mobile: +354 891 9798, Email: [EMAIL PROTECTED] Instant Messengers: MSN - [EMAIL PROTECTED] iPulse - [EMAIL PROTECTED] This is a personal e-mail, sent via my employer’s mail server. The contents of this message do not in any way belong to my employer, and any data,

Re: how to quote nested tags

2001-06-21 Thread Roland Huss
[EMAIL PROTECTED] (Felix von Delius) writes: I guess that would work, thanks. But that brings me to another idea - wouldn't it be easier to define a Bean to keep that temporary value? Like this: jsp:useBean id=tempBean class=some.strange.JavaBean jsp:setProperty name=tempBean

Re: Problem with Struts in VAJ 3.5.3 WTE

2001-06-21 Thread Lock, Steven
Hi Thanks John, I tried recreating the directory structure of your webapp but it unfortunately didn't help (I take it your employeelist webapp thus has a document root of $approot$/web is that correct?). Igor, that you have it working without changes makes me think that there may be something

RE: Tomcat Test Environment in VAJ

2001-06-21 Thread Jon.Ridgway
Hi Paul, I have not looked at the example, but I would guess that IBM have prepared it for WTE under VAJ 3.5.3. What does this mean? Well chances are you have no web.xml in the WEB-INF dir. Is this the case? Jon. -Original Message- From: Knox, Paul (LIT) [mailto:[EMAIL PROTECTED]]

Re: Problem with Struts in VAJ 3.5.3 WTE

2001-06-21 Thread Andrew Steady
Well hello Steve! Fancy meeting you here! Guess we should take this offline Andy S [EMAIL PROTECTED] on 21/06/2001 12:50:39 Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc:(bcc: Andrew Steady/Swindon01/Domino01/Kinesis) Subject: Problem with Struts in VAJ 3.5.3 WTE

Re: how to quote nested tags

2001-06-21 Thread frank waldheim
* Lacerda, Wellington (AFIS) [EMAIL PROTECTED] 2001-06-21 (12:19:08): In the current spec it is not allowed to use a tag inside another tag. apparently resin doesn't care much about that restriction. where did you read that? but it deals with 'request time attributes' (2.13.1 1.2spec). in a

RE: WTE/Struts parser incompatibilities - pandoras box?

2001-06-21 Thread Jon.Ridgway
Hi, You can call the passer project whatever you like! Just make sure its included in your WTE classpath. Jon. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 20 June 2001 15:16 To: [EMAIL PROTECTED] Subject: WTE/Struts parser incompatibilities - pandoras

Invalidating sessions and container auth.

2001-06-21 Thread Jon.Ridgway
Hi All, This isn't a struts specific question, but someone may have an answer... I'm using form based auth in my Struts based app and I need an option to log user out. Right now my LogoutAction perform method calls request.getSession (false).invalidate(). The problem is that the

Re: [EJB] Design Patterns (was JavaReport ...)

2001-06-21 Thread Jonathan
Why is it that each bean (includeing the containing bean) could not have BOTH String get/set and also native type get/set? - Original Message - From: Ted Husted [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, June 21, 2001 9:03 AM Subject: Re: [EJB] Design Patterns (was

Re: unable to programmatically perform a submit

2001-06-21 Thread Michelle Popovits
Yes, I am referencing 0 and 1 because I am running both forms on the same page (simultaneously). The 0 is for the struts form and the 1 is for the non-struts form. I can programmatically, submit no problem on the non-struts form but not on the struts form. The struts form tag in the generated

Re: how to quote nested tags

2001-06-21 Thread Felix von Delius
On Thu, Jun 21, 2001 at 03:47:26PM +0200, Roland Huss wrote: [EMAIL PROTECTED] (Felix von Delius) writes: jsp:useBean id=tempBean class=some.strange.JavaBean jsp:setProperty name=tempBean property=str value=x:foo a='bar' / / /jsp:useBean x:baz b='jsp:getProperty

Re: unable to programmatically perform a submit

2001-06-21 Thread Bill Pfeiffer
Michelle, I had the exact same issue in IE and it had to do with having an actual submit or reset button as part of the form. For some reason, If I had a submit button on the form, performing a submit in javascript yeilded the error that you see. When I remove the submit button (or reset

RE: unable to programmatically perform a submit

2001-06-21 Thread Chuck Stern
Hi, I've spent some time on this problem as well and it is very strange. I wasn't using an image map but instead just trying to get a HREF link to submit. I tried having an onclick that called a javascript function that did a submit as well as a submit in the onclick itself. I tried using

Re: [EJB] Design Patterns (was JavaReport ...)

2001-06-21 Thread Ted Husted
They could. This is especially convenient when your value object bean contains a RowSet, since the *String versions are already built in. So, you end up with something like thisForm.set( thisValue.getItemString(), thisValue.getDonorString(),

Re: Help with TLDParser for UltraDev by Dan Mandell

2001-06-21 Thread Martin Duffy
Title: RE: Help with TLDParser for UltraDev by Dan Mandell You might want to look over at the Jakarta Taglib project. They have the latest version of the ctlx in their cvs and maybe in the binaries. I do not know if the one at the URL that you are looking at is the latest one. -

Struts example on Tomcat 4.0 b5

2001-06-21 Thread Scott . Miao
Hello, I need some help to run struts-example.war on the tomcat 4.0b5 environment. I tried follow the document come with struts1.0b1 with no luck since I can find the tomcat-apache.conf file at all. Is there any other resource or instruction I should follow. Thanks for any inputs!

RE: Struts example on Tomcat 4.0 b5

2001-06-21 Thread Scott . Miao
Here is the exception I got when I try on IE A Servlet Exception Has Occurred Exception Report: javax.servlet.ServletException: Cannot find message resources under key org.apache.struts.action.MESSAGE at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp

Re: indexed property in from bean

2001-06-21 Thread dhay
Not sure what you mean! Can you explain further... Dave rajiv mulay [EMAIL PROTECTED] on 06/21/2001 07:35:32 AM Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc:(bcc: David Hay/Lex/Lexmark) Subject: indexed property in from bean Hi, how to provide the indexed

Multiple Submit Buttons

2001-06-21 Thread DHarty
Is it possible to use multiple html:submit/ buttons in the same form, and provide a different action depending on which was hit? ex: html:submitDo something/html:submit html:submitDo Something Else/html:submit html:submitDo Yet Another Thing/html:submit I know

Value not being updated...

2001-06-21 Thread dhay
Hi. I have inherited some Struts code, and the value of the checkbox is not getting updated on submit. Does anyone have any idea why? The code: logic:iterate id=category name=LoggingForm property=categoryList TR TD WIDTH=30%FONT SIZE=2

RE: how to quote nested tags

2001-06-21 Thread Lacerda, Wellington (AFIS)
Indeed, it just takes the literal expression of the tag. Wellington -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 21, 2001 4:35 PM To: [EMAIL PROTECTED] Subject: Re: how to quote nested tags On Thu, Jun 21, 2001 at 03:47:26PM +0200, Roland

Re: how to quote nested tags

2001-06-21 Thread Martin Cooper
I wonder which version of Resin you're using? Option 3 is definitely illegal, and Resin 1.2.5 does not allow it. In fact, my understanding is that it is not legal XML syntax. Note that you *can* use a tag in the value of an HTML attribute like this: a href='mylib:mytag attr=value/'Go

Re: Value not being updated...

2001-06-21 Thread dhay
Whoops - sorry, typo. I should have said the value of the SELECTbox (not checkbox!) is not getting updated (ie category.value)! thanks, Dave David_Hay/Lex/Lexmark.LEXMARK@sweeper.lex.lexmark.com on 06/21/2001 11:46:56 AM Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc:

ActionServlet.processInclude()

2001-06-21 Thread Bill Firestone
From an Action class, or perhaps from a subsequent jsp page, I want to include content from generated by another servlet -- a subservlet, if you will -- but the key is that the subservlet is a general resource in the server's servlet environment and should accessible either from within Struts

RE: how to quote nested tags

2001-06-21 Thread Lacerda, Wellington (AFIS)
Sorry Frank, I don't use Resin, just plain Tomcat. If you take a look in the 1.2 specs, the definition for rtexprvalue is scriptlet expression, you will see a tag attribute can only accept runtime scriptlet expression values %=these% or Strings. I wonder if Resin uses that if it is not

Re: unable to programmatically perform a submit

2001-06-21 Thread Norman Timmler
hi michelle, could you please post the specific part of your source-code from your browser. this would help to resolve your problem. thanks. norman - Original Message - From: Michelle Popovits [EMAIL PROTECTED] To: Norman Timmler [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday,

RE: Nested Beans on form not being updated

2001-06-21 Thread Simon Liang
Hmm. Thanks for the info Chuck. I agree with you that this process should be automatic. As it's claimed in the Strut user's guide section 2.3-ActionForm Beans: - You may also place a bean instance on your form, and use nested property references. For example, you might have a customer bean

Re: unable to programmatically perform a submit

2001-06-21 Thread Spencer Smith
// Submit the form. a href=javascript: parent.window.content.document.forms[0].submit()Submit/a We use this bit of code to trigger the submit button in the body from the top frame. - Original Message - From: Norman Timmler [EMAIL PROTECTED] To: Michelle Popovits [EMAIL PROTECTED];

Re: why does it take so long for my postings to show up?

2001-06-21 Thread Craig R. McClanahan
On Wed, 20 Jun 2001, Michelle Popovits wrote: I am just curious why it takes so long for postings to show up? I posted message at 12pm est and it finally showed up at 5pm -- that's 5 hours. This posting I am writing at 5:21pm EST. I wonder how long it will take. Is it just me or is

RE: A strange problem about locale.

2001-06-21 Thread Simon Liang
Hi Li: I would type the stuff in chinese window or something. If you have no chinese window, you might have to get some software that could do that in english window.(i have not tried doing chinese thought) Simon -Original Message-From: Liang Li [mailto:[EMAIL

Re: unable to programmatically perform a submit

2001-06-21 Thread Roland Huss
Spencer Smith [EMAIL PROTECTED] writes: // Submit the form. a href=javascript: parent.window.content.document.forms[0].submit()Submit/a We use this bit of code to trigger the submit button in the body from the top frame. Sorry, I didn't follow the complete thread. We ran in the same

Re: Re[4]: Dynamic creation of Actions's with 'forName'

2001-06-21 Thread Craig R. McClanahan
On Thu, 21 Jun 2001, Oleg V Alexeev wrote: Hello Craig, Wednesday, June 20, 2001, 8:52:18 PM, you wrote: CRM On Wed, 20 Jun 2001, Oleg V Alexeev wrote: Hello Craig, Interesting question and clear answer... 8) CRM Yah, I really enjoy the interesting ones :-). What do

RE: Who Uses Struts (Struts Acceptance in Industry)

2001-06-21 Thread Nick Chalko
What kind of Managers are you selling to PHB's or ex Engineers. Different sell? For PHB's: well what's the use. For exEngineers: Talk about MVC, the Quality and Mean Time to Patch of bugs for Open Source. Isn't there a Sun Best Practices on Struts. R, Nick -Original Message-

RE: A strange problem about locale.

2001-06-21 Thread Liang Li
Thanks. I downloaded the EmEditor, which support Unicode, then everything is fine now. -Original Message-From: Simon Liang [mailto:[EMAIL PROTECTED]]Sent: Thursday, June 21, 2001 12:45 PMTo: [EMAIL PROTECTED]Subject: RE: A strange problem about locale. Hi Li: I

Best Practices for using Struts and Validators in ASP model

2001-06-21 Thread chris . chang
Hi folks, I would like to know anyone using Struts and Validators for ASP (application service provider, not active server page 8)) model. What I want to know is If I have the same application for different subscribers/clients, they may have different requirements (e.g. screen flow and

Re: unable to programmatically perform a submit

2001-06-21 Thread Michelle Popovits
Thank you very much. I renamed my submit buttons to something other than submit and now I can programmatically call submit. Thanks again, Michelle - Original Message - From: Peter Alfors [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, June 21, 2001 11:13 AM Subject: Re: unable

RE: Struts example on Tomcat 4.0 b5

2001-06-21 Thread Liang Li
I got the same result on my machine. I checked the log localhost_log.2001-06-21.log, I found the root cause is: - Root Cause - java.lang.NoClassDefFoundError: org/xml/sax/SAXException at java.lang.Class.newInstance0(Native Method) at

Configuration for Action

2001-06-21 Thread Yuriy Zubarev
Hello everybody, While working directly with servlets, in configuration file you can specify initial valus of parameters for a servlet in the following way: init-param param-name parameter /param-name param-value value /param-value /init-param And you can easily get those

Re: Configuration for Action

2001-06-21 Thread Mike Thompson
If your running in a J2EE container, you could always shove the entries into the environment. Then you could look them up like: try { InitialContext ic = new InitialContext(); Object myparm = ic.lookup(the/jndi/name/of/your/parameter); } catch (javax.naming.NamingException ex) {

iteration of users database in struts-example

2001-06-21 Thread Corneliu Rachieru
Hello everyone, I am trying to modify the struts example to display a list of users at the end of the registration form when someone selects edit registration from the main menu. I have three users in database.xml and this is code i've added to registration.jsp: table logic:iterate id=user

Re: iteration of users database in struts-example

2001-06-21 Thread Mike Thompson
My guess is that database is a hashmap of some sort, so what you need is bean:write name=user property=value.username/ see http://jakarta.apache.org/struts/struts-logic.html#iterate --m - Original Message - From: Corneliu Rachieru [EMAIL PROTECTED] To: [EMAIL PROTECTED]

Previous button

2001-06-21 Thread richard zhang
How do I dynamically send user back to the incoming page after the user click on the previous button? This user could come to the current page(one that has the previous button) from serveral pages. What I did is to have a Stack defined that will hold the last page's path. In the Action Class,

RE: iteration of users database in struts-example

2001-06-21 Thread Corneliu Rachieru
Thank you, that was exactly the problem... Regards, Corneliu -Original Message- From: Mike Thompson [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 21, 2001 4:01 PM To: [EMAIL PROTECTED] Subject: Re: iteration of users database in struts-example My guess is that database is a

Re: Configuration for Action

2001-06-21 Thread Yuriy Zubarev
Mike, Thanks for reply. But what if my servlet container is Tomcat? And I would like to ask people how they store and retrieve values needed to run web-apllication in genereal (except db processing). For example, many of my actions require unique parameters, but some share the configuration.

Re: Multibox confusion after reading Struts mail-archive

2001-06-21 Thread Steve A Drake
On Thu, 21 Jun 2001, Becky Moyer wrote: Steve, Thanks so much for your reply, it gave me some more leads to follow. I have been playing with this for the last 2 days...I have tried to change my webapp to be similar to yours. That could get ugly. =:] I made my form have 2 string

Re: Multiple Submit Buttons

2001-06-21 Thread yuriy
David, Yes, it's possible, but unfortunately Struts won't help you much in this case like it does with cancel or single submit buttons. (please correct me, if I'm wrong) Perform method of Action takes HttpServletRequest object as request and you can execute its getParameter() method to find out

Can I put http://www.xyz.com/file.html using template?

2001-06-21 Thread Rick Horowitz
Can I put a url pointing to another website so that its content is included in my template, e.g. template:insert template=/jsp/template/tp.jsp template:put name=cnt content=http://www.xyz.com/file.html/ /template:insert When I try this, I get the following stack trace...

Are socket write errors normal?

2001-06-21 Thread Rick Horowitz
Hi, I'm using Struts templates and everything seems like its working normally. However, I get several of the following errors each time I display a web page. Is this normal? 2001-06-21 02:23:12 - Ctx( /backup ): IOException in: R( /backup + /images/page-header.gif + null) Connection

Re: Can I put http://www.xyz.com/file.html using template?

2001-06-21 Thread Mike Thompson
no :( all that is done with the put, if direct != true, is a pageContext.include(yourfile); --m - Original Message - From: Rick Horowitz [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, June 21, 2001 4:24 PM Subject: Can I put http://www.xyz.com/file.html using template?

Re: Can I put http://www.xyz.com/file.html using template?

2001-06-21 Thread Rick Horowitz
Wow! Quickest reply I've ever seen. :) I suppose it makes some sense that this doesn't work. Can get the job done with frames and avoid copying the remote file to my server prior to sending it to the UA, but it would be nice to avoid using frames. Thanks.. Rick At 04:26 PM 6/21/01 -0500,

RE: Multiple Submit Buttons

2001-06-21 Thread John Schroeder
Yuri, I was successfully able to do this. Here is an example of the code I'm using... Hope this helps!! --John On the JSP: html:submit property=action bean:message key=button.companySearch/ /html:submit html:submit property=action bean:message key=button.removeChecked/

Re: Are socket write errors normal?

2001-06-21 Thread Rick Horowitz
Hi Pete, Yes, I'm using Tomcat. Actually, thinking about it now, I should have addressed this to the Tomcat list (or read the archives). Here's a couple of msgs from the Tomcat archives explaining what is happening: http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg24467.html

Struts and Turbine

2001-06-21 Thread Stephane Franic
Hello, Does someone use Struts and Turbine together ? What's the best way to manage the Action servlet ? Using Struts's or Turbine's ? Thanks.

MultipartRequestWrapper in WebLogic

2001-06-21 Thread Mitesh Mehta
Title: MultipartRequestWrapper in WebLogic I am getting the following ClassCastException in WebLogic6.0 when a multipart request needs to be forwarded to a jsp. Any clues? java.lang.ClassCastException: org.apache.struts.upload.MultipartRequestWrapper at

Re: need a clear explanation of bean.tld

2001-06-21 Thread Craig R. McClanahan
On Thu, 21 Jun 2001, Jonathan Asbell wrote: Hello all. The bean:message tag just came up in a thread and I still dont know what areas the bean.tld stuff is specifically designed to handle as a whole. Where is it that one wants to use this collection of tags' funcionality? How should we

Re: [EJB] Design Patterns (was JavaReport ...)

2001-06-21 Thread Craig R. McClanahan
On Thu, 21 Jun 2001, Jonathan wrote: Why is it that each bean (includeing the containing bean) could not have BOTH String get/set and also native type get/set? You can only do this if you use different property names for the same property. Otherwise, you'll get compile errors on

Re: ActionServlet.processInclude()

2001-06-21 Thread Craig R. McClanahan
On Thu, 21 Jun 2001, Bill Firestone wrote: From an Action class, or perhaps from a subsequent jsp page, I want to include content from generated by another servlet -- a subservlet, if you will -- but the key is that the subservlet is a general resource in the server's servlet environment

Re: Configuration for Action

2001-06-21 Thread Craig R. McClanahan
First, one approach is to use servlet initialization parameters, and adopt the convention that the names of parameters for a specific action start with the fully qualified class name of that action. Second, if you only need *one* configuration parameter, there is a general purpose property of an

Database Config Url

2001-06-21 Thread Karl Basel
Hi all, I'm currently developing on a W2K box and deploying to a Linux box. The problem I have is in the struts-config.xml file for datasource configurations. Is there a way to use an environment variable as the initial path for the DB url? When I need to build a production release, I first have

RE: MultipartRequestWrapper in WebLogic

2001-06-21 Thread SCHACHTER,MICHAEL (HP-NewJersey,ex2)
Title: MultipartRequestWrapper in WebLogic Mitesh, What version of Struts are you using? This was fixed by the 1.0 release. -Original Message-From: Mitesh Mehta [mailto:[EMAIL PROTECTED]]Sent: Thursday, June 21, 2001 7:06 PMTo: '[EMAIL PROTECTED]'Cc: Mitesh MehtaSubject:

Struts WebSphere Commerce Suite 5.1

2001-06-21 Thread Christopher Benson
Has anyone tried integrating Struts with WebSphere Application Server + WebSphere Commerce Suite 5.1? If so, what have your results been? Success? Failure? Mixed? I'm trying to talk the management of the company I work for into going with Struts since it works on WebSphere, but it would have

RE: Who Uses Struts (Struts Acceptance in Industry)

2001-06-21 Thread [EMAIL PROTECTED]
I work for a fairly large company which a few of your manager's might have heard of: Fidelity Investments. I work in the eBusiness division (FeB), and specifically in the 401k (retirement) web development space. For years we have mainly written our own web architecture from scratch using

checkLogonTag question

2001-06-21 Thread John McClain
Howdy, I took the example app, gutted it, and am trying to piece it all together manually so that I understand what is going on. All was going well till I got to the tag app:checkLogon/. When I tried to bring up logon.jsp, I got into an infinite error loop. I am enclosing the jsp page, the