PLEASE, HELP !!! upload problem

2002-02-22 Thread Serge A. Redchuk
Hello All ! I use the Struts v.1.0.2 Unfortunatelly I can't realize file uploading. And the most confusing that I have 2 different errors on different files with the same code. Here's my form: html:form action=/addImage.do enctype=multipart/form-data html:hidden property=pkPartner /

RE: PLEASE, HELP !!! upload problem

2002-02-22 Thread Ajay Thakral
hi all, i want to use struts in my applications for the devolpment of a project on bea weblogic server. please suggest me what to download and what setting i have to do in the my server settings Thanks Regards Ajay -Original Message- From: Serge A. Redchuk [mailto:[EMAIL PROTECTED]]

PLEASE, HELP !!! upload problem

2002-02-22 Thread Serge A. Redchuk
Hello All ! I use the Struts v.1.0.2 Unfortunatelly I can't realize file uploading. And the most confusing that I have 2 different errors on different files with the same code. Here's my form: html:form action=/addImage.do enctype=multipart/form-data html:hidden property=pkPartner /

Re: pre-compiling JSPs w/ Struts

2002-02-22 Thread Matt Raible
Weblogic has a slick way of doing this - you just set a flag in one of the deployment descriptor (xml) files, and it pre-compiles your JSPs when your app starts up! I wish Tomcat had a similar feature. Do you use Ant and Tomcat? If so, I wrote this task this morning to pre-compile my JSPs.

html:rewrite for static paths and good ol' jsessionid is messin' it up

2002-02-22 Thread Matt Raible
I'm using the forwards in my struts-config to configure static paths for images, stylesheet, and javascript files: forward name=styles path=/styles / forward name=scripts path=/scripts / forward name=images path=/images / And in my baseLayout.jsp (for Tiles), I have the following: style

RE: Development Environment

2002-02-22 Thread Lawson, Rick
Using Netbeans and Windows 2000. Keep thinking of creating a load of templates and so on for Netbeans but never really getting round to it - maybe make it into a module or something (to be used with struts console) Has anybody already done this? Rick. -Original Message- From:

RE: Development Environment

2002-02-22 Thread Arnaud Buisine
VisualAge, Eclipse, WebSphere Studio Application Developer / Win2000 Deployment : Websphere, Tomcat, Weblogic -Message d'origine- De : Dave Wellman [mailto:[EMAIL PROTECTED]] Envoyé : jeudi 21 février 2002 18:41 À : [EMAIL PROTECTED] Objet : Development Environment Hello,

Retaining checkbox state on redisplay

2002-02-22 Thread Steve Earl
Hi guys, As usual with my questions this has probably been done to death but I still haven't grasped it!! Can someone tell me the 'best practice' method of defining checkbox elements to allow them to be re-populated with the user selected state when a page is redisplayed. I currently have a

Re: RES: handling exceptions

2002-02-22 Thread Ted Husted
Cakalic, James wrote: I can't comment on the nested exceptions of 1.4 as I haven't really looked at this. But I would venture that my above comments apply there equally. Nested exceptions are really a very good thing, and not hard to do pre-1.4

Re: exception in action

2002-02-22 Thread Ted Husted
The Struts tags should be passing the original exception in the request under the key Action.EXCEPTION_KEY so you can retrieve it from there on your error page. -- Ted Husted, Husted dot Com, Fairport NY US -- Developing Java Web Applications with Struts -- Tel: +1 585 737-3463 -- Web:

Re: EJB = bad = MS.net

2002-02-22 Thread Jon Ferguson
Hey guys, I've been too heads down to contribute here.. but I just caught Ghoot's comment and I have to agree with him and Juan. There's a lot of hype in the marketplace, our jobs are to get underneath, understand the tradeoffs and use them intelligently. That's where elegance and beauty

RE: Itext - PDF from struts

2002-02-22 Thread Arun_Kumar_N
Hello, I am making use of Itext.jar to generate PDF files in Broadvision6.0 using JSP. I am able to generate PDF file,but I am not able to write the image in the generate PDF file. Please look into this Rregards Arun -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional

RE: Retaining checkbox state on redisplay

2002-02-22 Thread Steve Earl
well, blow me - managed to sort my own problem for a change. Removed the 'value=Y' from my checkbox definition, defined the attribute as a boolean within the formBean and the little fella now works like a charm. Apologies to Ted for saying there were no examples around, I have now checked the

RE: Error 500 using property of type FormFile

2002-02-22 Thread Chris Birch
Does your html:form tag have the enctype attribute on the end? e.g. html:form method=POST enctype=multipart/form-data Regards, Chris. -Original Message- From: Eddie Bush [mailto:[EMAIL PROTECTED]] Sent: 21 February 2002 21:37 To: Struts Users Mailing List Subject: Error 500 using

EVAL_BODY_TAG has been deprecated ???

2002-02-22 Thread Maris Orbidans
hello If I compile my webapp with Tomcat 4.0 library it shows following warnings: saraksts.jsp: Warning #: 368 : variable EVAL_BODY_TAG in interface javax.servlet.jsp.tagext.BodyTag has been deprecated at line 24 Could anybody tell why ? Maris -- To unsubscribe, e-mail: mailto:[EMAIL

Re: Exception handling best-practise

2002-02-22 Thread Ted Husted
Jonathan Fuerth wrote: This seems to break the MVC design pattern though, because now the controller contains information the belongs to the view (message keys) and is making decisions that are the responsibility of the model (handling the exceptions that the model generated). Or is it, in

ActionForm, initialization, submit back to same Action, validation, ActionErrors

2002-02-22 Thread Adam Hardy
Hi All, I've read a few posts in the archives and not seen anything conclusive on this apart from the recommendation to stick to action - page - action What I want to do is this: firstpage - action1 - formpage1 - action1 - action2 - page2 etc I've just got to the point where I'm coding the

Re: action and form contract

2002-02-22 Thread Ted Husted
How about this: Do not blindly check for null ActionForm beans in all your Actions If an Action expects an ActionForm bean, then its API contact with the ActionMappings should require that a particular ActionForm bean, or subclass thereof, be named in the ActionMapping. The Action's contract

configuring an action for url pattern

2002-02-22 Thread Torgeir Veimo
I would like to redirect all url's of the form /pages/whatever/comes/here to a single action. How do I do that? I tried setting up a forwarding of the /pages/* url to the action servlet in web.xml, but I don't know how to use patterns in the strust-config.xml. -- -Torgeir -- To

Re: anyone using Castor with Struts?

2002-02-22 Thread Oleg V Alexeev
Hello John, We use Castor Struts in our projects. The right way to use Castor is to develop beans to work with entities from the problem domain, develop database structure and mapping configuration. And after that develop your Struts application. Struts' ActionForms are presentation specific

Re: ActionForm, initialization, submit back to same Action,validation, ActionErrors

2002-02-22 Thread Ted Husted
Adam Hardy wrote: Or should I define an ActionMapping with validation set to false to display this form page for the first time, and have the form submit to another ActionMapping with validation set to true? Yes. This is why there *is* a validation switch. =:o) Just wondering if I've

Re: Error in tag library tiles.tld??

2002-02-22 Thread Cedric Dumoulin
InsertTag inherit from DefinitionTagSupport which contains the setter for controllerUrl. Try the latest version to see if problem persist. Hope this help, Cedric Struts Newsgroup (@Basebeans.com) wrote: Subject: Error in tag library tiles.tld?? From: Nav Sandhu [EMAIL PROTECTED]

Re: Retaining checkbox state on redisplay

2002-02-22 Thread SUPRIYA MISRA
In Reset Method this.direct =null; From: Steve Earl [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' (E-mail) [EMAIL PROTECTED] Subject: Retaining checkbox state on redisplay Date: Fri, 22 Feb 2002 09:24:25 - Hi guys, As usual with

Re: EJB = bad = MS.net

2002-02-22 Thread David Hamilton
No, I wouldn't say that the combination of Struts and EJB is problem prone. The problems lie mainly with EJB and are in the following areas.. 1) EJBs are only useful/applicable is certain situations. Incorrect use of EJBs (i.e. dictated by management when inappropriate) is a source of a lot of

Re: PLEASE, HELP !!! upload problem

2002-02-22 Thread SUPRIYA MISRA
try increasing buffer on your jsp page %@ page buffer=1000kb / From: Serge A. Redchuk [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: PLEASE, HELP !!! upload problem Date: Fri, 22 Feb 2002 10:17:54 +0200 Hello All ! I use the Struts v.1.0.2 Unfortunatelly I can't

Re: no subject I have a question about putting jsp in web-inf

2002-02-22 Thread Chuck Amadi
Keith wrote: Users can't get at anything under web-inf by name. So it stops them running your jsp directly or viewing their source code. They still work because they can be referenced by a Sevlet (ie the struts ActionServlet). (not all servers are the same here). It's a 'rule' for

Changing Request Parameters

2002-02-22 Thread Phase Communcations
I am forwarding from one Action to Another. I need to tweak the request parameters. Is there a way to do this? I tried to set the reqest value by calling the FormBean and set it from the action. But, it doesn't carry over to the next Action. I can't find a way to change the request parameters.

Re: EJB = bad = MS.net

2002-02-22 Thread Edward Q. Bridges
location independence means independent of location, that is all. if you're implementing two interfaces to do (more or less) the exact same thing, and one is called local and one is called remote that is absolutely *not*, by any stretch of the imagination, location independent. _end of

NEVERMIND: Changing Request Parameters

2002-02-22 Thread Phase Communcations
A little more research and I find that it is not possible and that I need to rebuild the and redirect. Cheezy. -Original Message- From: Phase Communcations [mailto:[EMAIL PROTECTED]] Sent: Friday, February 22, 2002 5:08 AM To: Struts Users Mailing List Subject: Changing Request

Re: html:file tag and FormFile

2002-02-22 Thread Henry Lu
Eddie, I got errors when i use: html:form action=/saveIdForm encType=multipart/form-data errors: encType: invalid according to the specified TLD Could you send me your jsp page with the html:file tag? --- Henry Lu MCIT

Nesting Tiles within each other problem

2002-02-22 Thread Ian Beaumont
I have a page, which uses tiles:insert to insert another page that also has a tiles:insert. Is this possible? I just keep getting a servlet exception. Below is a simplified example of what I'm doing. base.jsp %@ taglib uri=/WEB-INF/tiles.tld prefix=tiles % html:html locale=true body

Re: NEVERMIND: Changing Request Parameters

2002-02-22 Thread Jin Bal
Equally cheesy would be to set request attributes and get the receiving action to check the attributes before checking the req params. It's dirty I know, but it may be slightly preferable to constructing query strings on the server and creating a new request... Just a thought. HTH Jin

PLEASE, HELP !!! upload problem

2002-02-22 Thread Serge A. Redchuk
Hello All ! I use the Struts v.1.0.2 Unfortunatelly I can't realize file uploading. And the most confusing that I have 2 different errors on different files with the same code. Here's my form: html:form action=/addImage.do enctype=multipart/form-data html:hidden property=pkPartner /

PLEASE, HELP !!! upload problem

2002-02-22 Thread Serge A. Redchuk
Hello All ! I use the Struts v.1.0.2 Unfortunatelly I can't realize file uploading. And the most confusing that I have 2 different errors on different files with the same code. Here's my form: html:form action=/addImage.do enctype=multipart/form-data html:hidden property=pkPartner /

Re: html:file tag and FormFile

2002-02-22 Thread Henry Lu
Eddie, I figured out that it should be enctype instead of encType. But I got another err: javax.servlet.ServletException: MultipartIterator: no multipart request data sent Why? How to get rid of it? --- Henry Lu MCIT

Re: NEVERMIND: Changing Request Parameters

2002-02-22 Thread Ted Husted
Phase Communcations wrote: I tried to set the reqest value by calling the FormBean and set it from the action. But, it doesn't carry over to the next Action. I can't find a way to change the request parameters. Please help. The trick is to put a switch on your form bean to make it immutable.

RE: anyone using Castor with Struts?

2002-02-22 Thread John Menke
Wow, Chiki looks great! I want to help!!! Had a problem signing up for mailing list though: Fatal error: Call to a member function on a non-object in ../mail/mail_utils.php on line 24 -john -Original Message- From: Emaho, Ghoot [mailto:[EMAIL PROTECTED]] Sent: Friday, February 22,

RE: anyone using Castor with Struts?

2002-02-22 Thread Lawson, Rick
Php? -Original Message- From: John Menke [mailto:[EMAIL PROTECTED]] Sent: 22 February 2002 15:57 To: Struts Users Mailing List Subject: RE: anyone using Castor with Struts? Wow, Chiki looks great! I want to help!!! Had a problem signing up for mailing list though: Fatal error:

RE: anyone using Castor with Struts?

2002-02-22 Thread Emaho, Ghoot
Hi John, thanks for the feedback. The error is from Sourceforge's site, which sometimes suffers in this way due to load, just try again. That usually works for me. Thanks Ghoot -Original Message- From: John Menke [mailto:[EMAIL PROTECTED]] Sent: 22 February 2002 15:57 To: Struts

Memory consumption of tags

2002-02-22 Thread JC
Hi, We're working on a struts application running on Websphere 3.5.4. I was doing some performance testing when I noticed that it consumed a whole lot of memory which I couldn't really explain. So I ran the application supervised by JProbe and discovered some interesting things. On one of the

RE: Memory consumption of tags

2002-02-22 Thread Patrick Logé
We plan to do so using WS 3.5.4, and we should have some load... you'r frighten me :( Has anyone running Struts on Websphere noticed these oddities as well or maybe explain the reason for this? /Johannes _ Hitta snörapporter... från

Re: Nesting Tiles within each other problem

2002-02-22 Thread Cedric Dumoulin
Sure it is possible. In your example, what url do you use to access the page ? Remember that a definition name is a logical name. It can not be used as an url. You can use it in insert name=defName /, or as the path of a Struts forward. Ian Beaumont wrote: I have a page, which uses

RE: Nesting Tiles within each other problem

2002-02-22 Thread Ian Beaumont
I access it by going to /myPage.do. Here is an extract from the struts-config. actionpath=/myPage type=com.categoric.criticallogistix.client.DoFirst scope=request forward name=success path=/top/ /action DoFirst is just import

Re: Nesting Tiles within each other problem

2002-02-22 Thread Cedric Dumoulin
In your example, you insert definition /top, which by extensions use 'base.jsp' as layout. In this later, you do insert attribute=body /. Body value is page /middle.jsp, wich is inserted. But, /midle.jsp is a page, not a definition. In /midle.jsp, you do insert attribute=anotherBody /, but

ActionForm datatypes best practices - ideas? Editable date fields, moneyvalues...

2002-02-22 Thread Andrew . Goodnough
Oleg V Alexeev wrote: ActionForm must store field values between user submits and the best choice for type of properties in ActionForm is java.lang.String. I've been chewing on the data type issue on ActionForms and I am starting to agree with Oleg that Strings are the best datatypes for

Re: anyone using Castor with Struts?

2002-02-22 Thread John M. Corro
Ive also used Castor for converting existing beans/classes to XML via Castor mappings. Though I'm interested in hearing about the performance of their JDO/OQL functionalityJDO just seems like it'd be so much faster from an app development standpoint, but what I am worried about is the

RE: Memory consumption of tags

2002-02-22 Thread Dave J Dandeneau
We actually opened a support issue with WebSphere because our JSPs were generating Branch too large exceptions in Websphere but in no other servers. They told us that there was an optimization in the works that a client is testing but it is not public yet. Here is what the jsp compiler

html:file and action

2002-02-22 Thread Henry Lu
I got error: javax.servlet.ServletException: MultipartIterator: no multipart request my JSP file has: html:form method=post action=/saveIdForm enctype=multipart/form-data html:file property=myfile/ ... and my ActionForm has: private FormFile myfile; // getter and setter What is wrong?

RE: Nesting Tiles within each other problem

2002-02-22 Thread Ian Beaumont
You should either do : * Pass the attribute value when you insert the page * Insert a definition using the page as layout, and declaring the attribute I'm not clear what you mean by either of these statements. What I want to achieve is for all my pages to have a base layout, and some

Indexed Properties

2002-02-22 Thread Sridhar M
Hi, I have a requirement wherein my HTML Form contains around 100 textfields. I want to use struts to handle this form automatically. But the problem is that I can't define 100 setter and getter methods.I tried using indexed properties with form beans but did not succeed. Does Struts support

Re: Indexed Properties

2002-02-22 Thread Arron Bates
Sridhar, I've had to make one such application of equally nasty size. To get the job done the nested tags were made. They made the truly daunting task a walk in the park. They're in the nightly build, or if you're confined to an earlier release of Struts you can get them as a separate jar

RE: Struts tag for label

2002-02-22 Thread Yu, Yanhui
Could you try to change disabled=true to readonly? or there is a readonly in struts? Yanhui -Original Message- From: Jakkampudi, ChandraseKhar [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 21, 2002 11:39 AM To: 'Struts Users Mailing List' Subject: RE: Struts tag for label Is

how to use an images for submit, cancel button etc

2002-02-22 Thread KM
Hi I am trying to develop a page where the user has to select options from a drop down box and either clicks submit or cancel. The submit and cancel options are images instead of a button Following is my code tr td align=right logic:equal name=subscriptionForm property=action

RE: Development Environment

2002-02-22 Thread Yu, Yanhui
Windows 2000, WSAD (used to VAJ + WebSphereStudio) -Original Message- From: Jonathan James [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 21, 2002 11:51 AM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: Re: Development Environment Windows 2000, cygwin vim -

RE: Memory consumption of tags

2002-02-22 Thread Johannes Carlén
Well, actually, look at the code Tomcat generated: org.apache.struts.taglib.bean.WriteTag writeTag = new org.apache.struts.taglib.bean.WriteTag(); writeTag.setPageContext(pageContext); writeTag.setParent(_jspx_th_html_html_0); writeTag.setName(testBean); writeTag.setProperty(value); try { int

Multiple Fields In Struts

2002-02-22 Thread Lundin, Michael
Hello, I am new to struts and am trying to get a set of multiple fields to work on both the request and response page. The page needs to be able to display a set of fields that are determined at runtime (therefore no specific set and get methods can be used). I've got it working under a

looking for html taglib...

2002-02-22 Thread bwml
Hi, Does someone can help me to find a jsp taglib as struts but for basics html tags like table,td, and so on.. thanks for your help Gaetan -- NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Toolbar...

Re: Indexed Properties

2002-02-22 Thread Erik Tennant
I've had repeated problems with IE and Netscape on win9x platforms using a large number of text fields. The browser display seems to become corrupt after a short period of time using the screens. It might be worth your time to mock up some screens on your target platform(s) and make sure you

How do I use onblur for text tag

2002-02-22 Thread Boyalla, Raveendra
Hi How do I use onBlur for text tag Thank you Raveendra -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

logic tag

2002-02-22 Thread Dua, Amit
Hi how can I compare two variables which are stored in my session attribute by using the logic tag. As what I know is the logic:equal / or any other comparison tag compares the value with a constant. any suggestions. Thanks Amit -Original Message- From: Boyalla, Raveendra

[OT] ServletExceptions in StartupServlet Logging

2002-02-22 Thread Matt Raible
Is it possible with Log4j or other logging mechanisms to show ServletExceptions in the console. They show up fine in my tomcat logfile, but not in the stdout. In tomcat's log file I get: 2002-02-22 10:09:52 StandardContext[/onpoint]: Servlet /onpoint threw load() exception

RE: how to use an images for submit, cancel button etc

2002-02-22 Thread Todd G. Nist
You could try something like the below: for cancel you could do this: html:image src=images/cancel.gif border=0 property=org.apache.struts.taglib.html.CANCEL/ for the others you would need to do something like: html:link href=javascript:submit(); html:image

RE: how to use an images for submit, cancel button etc

2002-02-22 Thread Boyalla, Raveendra
Hi How can I code for onBlur event of a Text tag. Regards, Raveendra Boyalla -Original Message- From: Todd G. Nist [mailto:[EMAIL PROTECTED]] Sent: Friday, February 22, 2002 11:13 AM To: 'Struts Users Mailing List' Subject: RE: how to use an images for submit, cancel button etc

Re: Display taglib

2002-02-22 Thread Sriram Nookala
My working example is as below: %@ taglib uri=/WEB-INF/struts-html.tld prefix=html % %@ taglib uri=/WEB-INF/display.tld prefix=display % display:table width=75% name=seglist display:column property=name title=Name href=/campaignapp/do/segment/details paramId=id paramProperty=id /

Re: Nesting Tiles within each other problem

2002-02-22 Thread Cedric Dumoulin
What doesn't work in your example is that at a time you insert page /middle.jsp without passing it any attribute. This page use an attribute in its insert tag. You have two solution to pass the attribute : * while you do the insert : middle.jsp %@ taglib uri=/WEB-INF/tiles.tld

Re:Help on WebSphere installation

2002-02-22 Thread Ben Liang
I am trying to install Struts under WS 3.5.4, but could not find a correct version of xerces.jar to get it work. I downloaded java_xml_pack-winter-01_01-dev which include JAXP 1.2, and put the xerces.jar under WS /servlets. And I get this error from the log: [02.02.22 11:26:24:062 CST] ecd486c1

RE: Development Environment

2002-02-22 Thread Joseph Barefoot
Well, not really. It's bash for Windows, basically. This is really cool, but IMO if you want serious power, you'd set up your machine for Linux-Windows dual-boot. Then you've got the power of Linux with access to all your Windows files. Fun! -Original Message- From: [EMAIL PROTECTED]

RE: EJB = bad = MS.net

2002-02-22 Thread Joseph Barefoot
IMNSHO? What the hell is that? Man, the colloquial shortcuts are getting hairy these days :) -Original Message- From: Edward Q. Bridges [mailto:[EMAIL PROTECTED]] Sent: Friday, February 22, 2002 4:15 AM To: dIon Gillard; Struts Users Mailing List Subject: Re: EJB = bad = MS.net

RE: EJB = bad = MS.net

2002-02-22 Thread Malcolm Davis
Is there an off-ramp section for EJB flares? People can write cramp in any language or technology. This is a Struts Mailing List. -Original Message- From: Edward Q. Bridges [mailto:[EMAIL PROTECTED]] Sent: Friday, February 22, 2002 6:15 AM To: dIon Gillard; Struts Users

is there a way to bring up simple js windows for prompts rather thancreating a form?

2002-02-22 Thread theron . kousek
Hi Folks: Pardon my ignorance.You guys have been a great help.Only been using struts for a week or so. Here's the scenario: Step 1 Screen 1 has a menu of html:link - Add Biller - Edit Biller - View Biller Step 2 When you click Edit or View, I bring up another form (Screen 2) to

Token questions

2002-02-22 Thread Press, Michael
I see that a token can be set and queried by Action classes as a way of verifying that a certain flow from page A to page B has occurred. Can I have more than 1 token at a time for 1 user in an application? I might want to verify flow A-B and separately, C-D, but if there's only 1 token than

viewing email from this list

2002-02-22 Thread Sarah Farrell
Is anyone *not* having problems viewing the email from this list? And if you aren't having problems, what email program are you using? (Never mind if you're using Pine on Unix.) My email client, Eudora, hides some of the text if it looks like an HTML tag. I can only see it if I view source

Re: is there a way to bring up simple js windows for prompts rather thancreating a form?

2002-02-22 Thread John M. Corro
At a glance this might be an option On the popup screen generate a list of valid Billing IDs and on each link set href=# and onclick=selectBillingID(bean:write); return false;. The selectBillingID method will call a method of the parent browser (ie the one that it popped up from). The

Re: PLEASE, HELP !!! upload problem

2002-02-22 Thread Eddie Bush
I uploaded graphics just fine just now. My code is slightly different than yours. I simply call the getFileData() method of FormFile to return the data, and write it all out at once. Then flush the buffer and close the file. Try something along the lines of: FormFile ff = ... get the

RE: struts-user Digest 22 Feb 2002 17:34:22 -0000 Issue 1164

2002-02-22 Thread Pierce, Britt
I have to admit that I have not read all of the messages in this thread, so I apologies if I am repeating anything... But, I found in the archives that you can check to see if an image button is clicked you can do it on the server side by looking for the .x or .y property. So, for example,

Re: Exception handling best-practise

2002-02-22 Thread Jonathan Fuerth
On Fri, Feb 22, 2002 at 04:58:28AM -0500, Ted Husted wrote: IMHO, the messages and the messages keys belong to the model. The controller is simply transferring this data to the view, as it does with everything else, like records from a database. Aha, that makes perfect sense to me! Thanks

Dynamic form fields

2002-02-22 Thread John Regan
I've searched the mail list and cannot find a clear answer to this one! Here is an example of what I need: A user enters the # of Travelers for their vacation in the first jsp of the sequence. In the second jsp I want to display an html:text input field for each traveler's age. what is the

RE: logic tag

2002-02-22 Thread Dua, Amit
no response from any one so far -Original Message- From: Dua, Amit Sent: Friday, February 22, 2002 12:03 PM To: 'Struts Users Mailing List' Subject: logic tag Hi how can I compare two variables which are stored in my session attribute by using the logic tag. As what I know is the

Re: EJB = bad = MS.net

2002-02-22 Thread David Smith
I'm staying out of this discussion, but to answer your question -- IMNSHO = In My Not So Humble Opinion --David On Friday 22 February 2002 01:03 pm, you wrote: IMNSHO? What the hell is that? Man, the colloquial shortcuts are getting hairy these days :) -Original Message-

Re: EJB = bad = MS.net

2002-02-22 Thread Eddie Bush
IMNSHO = In My Not So Humble Opinion? - Original Message - From: Joseph Barefoot [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED]; Edward Q. Bridges [EMAIL PROTECTED] Sent: Friday, February 22, 2002 12:03 PM Subject: RE: EJB = bad = MS.net IMNSHO? What the hell is

Re: EJB = bad = MS.net

2002-02-22 Thread Eddie Bush
I thought we had abandoned this thread in favor of Struts related questions =) - Original Message - From: David Smith [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, February 22, 2002 1:41 PM Subject: Re: EJB = bad = MS.net I'm staying out of this

RE:how to use an images for submit, cancel button etc

2002-02-22 Thread KM
I have tried the following as suggested html:image src=images/cancel_button.gif width=88 height=24 border=0 property=org.apache.struts.taglib.html.CANCEL//td how ever I get an error Attribute value should be quoted so I tried to put value=cancel in the above string but it still gives me the

RE: EJB = bad = MS.net

2002-02-22 Thread Wes Bramhall
But it's Friday now, so SSS is allowed, right? (SSS = Small Scale Spamming) -Original Message- From: Eddie Bush [mailto:[EMAIL PROTECTED]] Sent: Friday, February 22, 2002 1:45 PM To: Struts Users Mailing List Subject: Re: EJB = bad = MS.net I thought we had abandoned this thread in

Re: Indexed Properties

2002-02-22 Thread dhay
loads on this in the archive. Sridhar M [EMAIL PROTECTED] on 02/22/2002 09:48:36 AM Please respond to Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: Indexed Properties Hi, I have a requirement wherein my HTML Form contains around 100 textfields.

Re: Development Environment

2002-02-22 Thread dhay
does it have support for jsp's? Dave John M. Corro [EMAIL PROTECTED] on 02/21/2002 02:11:39 PM Please respond to Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] cc: Subject: Re: Development Environment Glad to see someone else using

RE: EJB = bad = MS.net

2002-02-22 Thread Galbreath, Mark
ROTFLMAO! Mark -Original Message- From: Wes Bramhall To: 'Struts Users Mailing List' Sent: 2/22/02 2:52 PM Subject: RE: EJB = bad = MS.net But it's Friday now, so SSS is allowed, right? (SSS = Small Scale Spamming) -Original Message- From: Eddie Bush [mailto:[EMAIL

Re: Thanks Eddie.

2002-02-22 Thread Henry Lu
Thanks Eddie, it work fine now! --- Henry Lu MCITphone: (734) 936-2063 University of Michigan Medical Center fax: (734) 763-4372 On Fri, 22 Feb 2002, Eddie Bush

RE: EJB = bad = MS.net

2002-02-22 Thread Cakalic, James
== Rolling on the floor laughing my ass off -Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Friday, February 22, 2002 1:57 PM To: 'Wes Bramhall '; ''Struts Users Mailing List' ' Subject: RE: EJB = bad = MS.net ROTFLMAO! Mark -Original

Re: Thanks Eddie.

2002-02-22 Thread Eddie Bush
Glad to have helped =) - Original Message - From: Henry Lu [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, February 22, 2002 2:01 PM Subject: Re: Thanks Eddie. Thanks Eddie, it work fine now!

html:link Request Parms Use Name NOT ParamName

2002-02-22 Thread Jack Frosch
FYI: The HTML TagLib Developer Guide.pdf says, To pass multiple dynamic parameters, you can store them in a java.util.Map, and use the name of the map for the ***paramName***. The map must then contain one or more paramIds and their corresponding values. As the Map is processed, the keys are

Re: EJB = bad = MS.net

2002-02-22 Thread Eddie Bush
I believe we all knew that one, James ;) ... but thanks for your clearification none-the-less =) - Original Message - From: Cakalic, James [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Friday, February 22, 2002 2:02 PM Subject: RE: EJB = bad = MS.net ==

Re: EJB = bad = MS.net

2002-02-22 Thread Bob Williams
TGIF - Original Message - From: Cakalic, James [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Friday, February 22, 2002 2:02 PM Subject: RE: EJB = bad = MS.net == Rolling on the floor laughing my ass off -Original Message- From: Galbreath,

RE: how to use an images for submit, cancel button etc

2002-02-22 Thread Mattos, John
Could you do the following... !-- JSP Snippet-- html:image onclick=javascript:submit(); src=../images/onion.gif border=0/ html:image onclick=../whereIWasBefore.jsp src=../images/onionCancel.gif border=0/ html:image onclick=javascript:reset();return false; src=../images/onionReset.gif border=0/

RE: EJB = bad = MS.net

2002-02-22 Thread Malcolm Davis
I think I was better off not sending that last email, especially on a Friday. :) Thanks for education… - Malcolm -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, February 22, 2002 2:09 PM To: Struts Users Mailing List Subject: Re:

RE: struts-example won't run

2002-02-22 Thread Subhadra Vemuri
Guy, Some of my colleagues here are able to work with struts and 3.2 tomcat. I am using Tomcat 3.3a. This error really baffles me. It works for some and doesn't for some. I didn't like having to install a new tomcat - but that's what worked for me. For now, I am glad you were able to work

Re: viewing email from this list

2002-02-22 Thread Ted Husted
Netscape Messenger works great for me. It also threads everything, so if something goes off topic, it's easy to start ignoring the thread =:O) -Ted. Sarah Farrell wrote: Is anyone *not* having problems viewing the email from this list? And if you aren't having problems, what email

Re: viewing email from this list

2002-02-22 Thread Eddie Bush
OutlookExpress works in a similar fashion =) - Original Message - From: Ted Husted [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, February 22, 2002 2:28 PM Subject: Re: viewing email from this list Netscape Messenger works great for me. It also

RE: how to use an images for submit, cancel button etc

2002-02-22 Thread KM
Thanks for the tip Mattos, However javascript is not something the end client likes in this case, so trying to minimise using javascript. Any clue as to why the code I posted is not working? Thanks for your time KM --- Mattos, John [EMAIL PROTECTED] wrote: Could you do the following... !--

Help needded on Struts-config file

2002-02-22 Thread subhendukumar mohanty
Hi One of the mapping in struts-config.xml file comes with example is as follows action-mappings action path=/logon type=org.apache.struts.example.LogonAction name=logonForm scope=request input=/logon.jsp unknown=false validate=true / /action-mappings Could anybody explain me what the

Re: Changing Request Parameters

2002-02-22 Thread Michael Baldwin
Since you're forwarding from Action to Action, you do have a minor issue. Things you set in the request will be reset after the forward. Solution 1: add what you need to the session. Solution 2: extend ActionForward with a subclass that takes a map of name value pairs to stick in the request.

  1   2   >