RE: Checkbox Arrays

2001-05-11 Thread Dudley [EMAIL PROTECTED]
yes please,, please share -Original Message- From: Jeff Trent [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 10, 2001 9:44 PM To: [EMAIL PROTECTED] Subject: Re: Checkbox Arrays I don't know if this is the right thread. But I just got multibox working in my app (including preservation

possibility of default action?

2001-05-11 Thread iain-gordon
Is it possible to specify a default action for forms that? Say the only behaviour I need is that the parameters in the Form object are populated and validated. Possible? Desirable? Get free email and a permanent address at

RE: Quick Iterate Question - DefaultTableModel

2001-05-11 Thread Richard Murray
I've just tried using a DefaultTableModel and succeeded nesting the iterate tag. JSP is as follows: %-- Generate table data by nesting the iterate tag --% struts_logic:iterate id=rows name=jobMonitorForm property=model scope=page tr struts_logic:iterate id=element name=rows

Problem with tag

2001-05-11 Thread Laurent Cornelis
Hi, I'm new to struts and I have a little problem with the tag library : In an iterate tag body, I want to write a link to an anchor of the page. I wrote this code : logic:iterate id=faq name=faqList type=be.dummy.faq.bean.FAQBean/ p html:link page=/listFAQ.do anchor=bean:write name=faq

RE: Checkbox Arrays

2001-05-11 Thread Tony Karas
Ah sorry Hal - thanks for your perseverance - I was assuming, mistakenly, that multibox was something else. I'll take a look at this - cheers. Tony From: Deadman, Hal [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: Checkbox Arrays Date: Thu, 10 May 2001

RE: Checkbox Arrays

2001-05-11 Thread Tony Karas
I am amazed (and pleased) at your perseverance :-) From: Deadman, Hal [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: Checkbox Arrays Date: Thu, 10 May 2001 13:35:12 -0400 Don't use the html:checkbox, use html:multibox and use bean:write in the body of the tag.

RE: Posting Collections

2001-05-11 Thread Tony Karas
Thanks Niall. I'm currently frustrated because I'm finding it hard to discover all the information I require. Seems to be a general lack of documentation on struts usage, but it's a learning curve like anything else. I like Struts in principle, and what it is trying to achieve, I just

Re: Problem with tag

2001-05-11 Thread Laurent Cornelis
I found a workaround, I wrote : logic:iterate id=faq name=faqList type=be.dummy.faq.bean.FAQBean/ p html:link page='/listFAQ.do' anchor='%= ((FAQBean)pageContext.findAttribute(faq)).getId().toString() %' bean:write name=faq property=question/ /html:link /p /logic:iterate But I really don't

How can i execute the STRUTS examples in JavaWebServer?

2001-05-11 Thread Sudhir M
Hello there, Can any please tell me how can i execute the Struts example in JavaWebServer? Sudhir ***Confidential Notice This e-mail communication may contain information that is confidential and privileged. The information is

still fighting HTTP HTTPS problem

2001-05-11 Thread Michael Wilimsky
hello everyone... i still couldn´t find a solution on how to switch from let´s say http://localhost:myport/myapp/something.jsp to https://localhost:mysecureport/myapp/somethingelsethatneedstobesecure_oreven thesamepage.jsp while retaining resp. cloning the content of my sessioncontext... i am

Re: still fighting HTTP HTTPS problem

2001-05-11 Thread Jonathan Asbell
Mike. Dude. That IS the way to do it. 1) check to see if you ACTUALLY GET the 2 sessions (if you can get them, do a session.toString() to see that they are not the same session indeed) 2) you should be sending the serialized data from the unsecure session into the secured session: if you are

AW: still fighting HTTP HTTPS problem

2001-05-11 Thread Rainer Alföldi
Hi Michael, hi Jonathan, does it have to be that complicated? We just put an apache in front of tomcat. period. tomcat doesn´t know what ports the requests are coming from. all ssl stuff is handled by apache. no problems. switching between https and http is totally transparent for tomcat =

RE: still fighting HTTP HTTPS problem

2001-05-11 Thread Michael Wilimsky
well i am using a tomcat-standalone version... i know, that some webservers like apache would do that task for me... well jonathan... thanks... i´ll try it and get back to You if i have further questions... alright?! michy -Original Message- From: Rainer Alföldi [mailto:[EMAIL

RE: template flexability

2001-05-11 Thread Holman, Cal
Cedric Thanks - exactly what I am looking for. Will Components be incorporated into Struts formally? Cal -Original Message- From: Cedric Dumoulin [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 10, 2001 05:09 To: [EMAIL PROTECTED] Subject: Re: template flexability Hi Cal, I don't

filtering unwanted characters

2001-05-11 Thread Nanduri, Amarnath
Hi all, I might be posting this message in the wrong forum. My apologies if i have offended anyone. I am looking for some open source code that deals with filtering technology. Basically i want to filter any unwanted characters from the user input data. The user might try to pass in

nanduri can u help ??ApplicationResources.properties

2001-05-11 Thread Amit Jain
My weblogic is complaining of ApplicationResources.properties file not found.. I copied it to the _tmp_war** directory manually and when i restart it creates a new _tmp_war** directory..so can't help any solutions please. -Original Message- From: Nanduri, Amarnath [mailto:[EMAIL

Passing request to a common action class from multiple forms

2001-05-11 Thread B Manikandan
Hi, I have a common Action class,which will receive request from multiple forms. This action class will then forward request to a common jsp and on selection of a value from this jsp,the value has to be set in the input form(which called the common action class). Then,request has to be

RE: nanduri can u help ??ApplicationResources.properties

2001-05-11 Thread Nanduri, Amarnath
Hello Amit, In your web.xml file, when you declare the ActionServlet there is a place where you specify the fully qualified path to the ApplicationResource.properties file. Check that out. servlet servlet-nameaction/servlet-name

Re: still fighting HTTP HTTPS problem

2001-05-11 Thread Jonathan
Sorry Mike. I didnt intend to put you off. I was just trying to re-enforce that you were doing the correct thing. Cheers - Original Message - From: Michael Wilimsky [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, May 11, 2001 8:15 AM Subject: RE: still fighting HTTP HTTPS problem

RE: Passing request to a common action class from multiple forms

2001-05-11 Thread Nanduri, Amarnath
Can yo be more detailed ? All i gather sofar from your requirements is that your company is planning to implement some spaghetti code (no offense meant) using struts while everybody is trying to run away from it. cheers, Amar.. -Original Message- From: B Manikandan [mailto:[EMAIL

proliferation of action classes?

2001-05-11 Thread Young, Wayne
I'd like to validate a development approach. One of our developers is essentially creating two action classes for each .jsp page / form. The second post action class always forwards to another action. Here's an example from a test struts-config.xml. !-- Get SF -- actionpath=/getsf

Re: Passing request to a common action class from multiple forms

2001-05-11 Thread B Manikandan
I have a domain.jsp which has a button on click of which action is forwarded to an action class which displays cascade.jsp. In cascade.jsp the objects displayed are same even though their values may be different.User can select some values and these values have to be passed back to

Constants.TOKEN_KEY value proposed change (doesn't work with javascript!!)

2001-05-11 Thread Johan Compagner
Hi, I use the token_key for transaction support. But the value of the TOKEN_KEY = org.apache.struts.taglib.html.TOKEN This is a very odd value to have as a hidden input field on your form. Which is generated by the FormTag: input type=hidden name=org.apache.struts.taglib.html.TOKEN value=

Error handling with taglibs

2001-05-11 Thread Mike Prader
Hi all My problem is, that I want to mark a textfield red and set the focus to it after I checked the fields in my from the ActionClass derived class and I detected an error in this input. I want to use taglibs also. Is there any possibility to do this in my from the ActionForm Class

RE: Error handling with taglibs

2001-05-11 Thread Nanduri, Amarnath
You need to hack in...and do some dirty work on each jsp page... You need to write your own html:error tag . Whenever there are some errors to be shown, you simply use some javascript to send focus to the first error field. Also in your jsp page (for evey text field) you might want to do

Struts in Action!

2001-05-11 Thread Ted Husted
The Struts application framework is running an annual auction for a public broadcasting station at http://data.wxxi.org/wxxi-gavel/ The auction runs through next week, and the code will be released as open source thereafter. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom

Re: filtering unwanted characters

2001-05-11 Thread Jonathan
try a sax parser - Original Message - From: Nanduri, Amarnath [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, May 11, 2001 8:35 AM Subject: filtering unwanted characters Hi all, I might be posting this message in the wrong forum. My apologies if i have offended anyone.

Re: Constants.TOKEN_KEY value proposed change (doesn't work with javascript!!)

2001-05-11 Thread David Winterfeldt
You can do this. document.nextpage[org.apache.struts.taglib.html.TOKEN].value=themakey; David --- Johan Compagner [EMAIL PROTECTED] wrote: Hi, I use the token_key for transaction support. But the value of the TOKEN_KEY = org.apache.struts.taglib.html.TOKEN This is a very odd value to

RE: filtering unwanted characters

2001-05-11 Thread Nanduri, Amarnath
I have to check each and every character send as input by the user...Will SAX help me in this regard ? cheers, Amar.. -Original Message- From: Jonathan [mailto:[EMAIL PROTECTED]] Sent: Friday, May 11, 2001 12:19 PM To: [EMAIL PROTECTED] Subject: Re: filtering unwanted characters try a

Global forwards, targets and frames

2001-05-11 Thread Kyle Robinson
Is there a way to specify the target of aglobal forward? I have a global forward which I want to go to another frame. For instance in my action if everything works fine I want to return to the input page but if there is an error I want to go to another frame. Any thoughts? Kyle Robinson

Re: Error handling with taglibs

2001-05-11 Thread Tony Karas
I would suggest requesting a change to the current struts implementation. I think this has been thought about because there is the facility to include the property that has caused the error. I would also like to do something like this. I suppose there would be at least two ways of going

How can I use set-property property=foo value=123 / in struts-config.xml

2001-05-11 Thread David Holland
How can I use set-property property=foo value=123 / in struts-config.xml ? I want to use it in place of forward to store Action configuration info (set-property is specified in the dtd). Tried to add getter setter to Action descendant - but assignment by introspection didn't seem to work.

French article about Struts

2001-05-11 Thread Jean-Noel Ribette
Hi everybody, I would like to inform you that I wrote with Didier Girard an article in French about Struts. It is available at http://www.application-servers.com/articles/ Cheers, Jean-Noël

RE: possibility of default action?

2001-05-11 Thread Anthony Martin
As I understand the current struts-config.xml, no. You can associate any number of forms to the same action, but I don't think that's what you're asking. That is to say, you can design a default action for forms, but you still have to add each form to struts-config.xml even if they use the same

RE: How can i execute the STRUTS examples in JavaWebServer?

2001-05-11 Thread Anthony Martin
I would be interested in knowing if anyone has done this. I work with a group that started with JWS, and their move to Tomcat doesn't seem to be going very well. I would still like to supply them with Struts objects, but only to prove it can work in strange contexts like JWS. Anthony

Re: Constants.TOKEN_KEY value proposed change (doesn't work with javascript!!)

2001-05-11 Thread Johan Compagner
It would be nicer to have a name for this that is a bit better suited for javascript! johan - Original Message - From: David Winterfeldt [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, May 11, 2001 5:56 PM Subject: Re: Constants.TOKEN_KEY value proposed change (doesn't work with

Re: ServletException: MultipartIterator

2001-05-11 Thread hunkpapa
The enctype is multipart/form-data I use jakarta-struts-1.0-b1 from May 05 SCHACHTER,MICHAEL (HP-NewJersey,ex2) schrieb: Hunkpapa, Could you give me more information? What's the enctype of your form? What OS, Container, and Struts build are you using? -Original Message- From:

struts and tomcat4 reload causes exception

2001-05-11 Thread Simon Wawra
Hi, It sounds like this topic's been pretty exhaustively covered on the mailing list, but I haven't yet seen a solution to it, so sorry for dragging it up again. I'm pretty sure I've read every message on the list on this topic... I'm having seriously difficulty getting my webapp, which is

Can some 1 help me

2001-05-11 Thread Vinod Shintre
okie just gettign started with STRUTS: follows the list of erros ;-) okie im getting this error -- /webapps/struts-blank/logon/login.jsp(3,0) Unable to load class org.apache.struts.taglib.html.FormTag at

Re: filtering unwanted characters

2001-05-11 Thread Jonathan
In the callback that deals with characters you could add a reference to a method that seeks the specific character you are trying to filter. This is just an idea, and may not be the best solution, but is is one possible approach. I actually made my own filter which works on a character by

RE: Constants.TOKEN_KEY value proposed change (doesn't work with javascript!!)

2001-05-11 Thread Nanduri, Amarnath
Its opensource. you can always modify it for your needs. cheers, Amar.. -Original Message- From: Johan Compagner [mailto:[EMAIL PROTECTED]] Sent: Friday, May 11, 2001 1:45 PM To: [EMAIL PROTECTED] Subject: Re: Constants.TOKEN_KEY value proposed change (doesn't work with javascript!!)

Using value of one bean in a textarea?

2001-05-11 Thread Alex Colic
Hi, I have a bean whose value I can display via: bean:write name=requisition property=requisitionLines.pcitem.name/ What I want to do is create a textarea and have the value of the defaulted to the above name value. My textarea has been created as follows: html:textarea name=requisition

RE: Checkbox Arrays - Internationalising them?!

2001-05-11 Thread dhay
Hal, thanks for your input on multi-box - they are working great! BUT...I need to get the bean:write internationalized - does anyone know if this is possible? ie I want to do a bean:message on the output from a bean:write... I think this qu has been asked before, but I looked through the

Urgent help needed

2001-05-11 Thread Vinod Shintre
can some1 tell me why am i getting this error possible solution --- Internal Servlet Error: org.apache.jasper.compiler.CompileException: /home/vshintre/jakarta/jakarta-tomcat-3.2.1/webapps/struts-blank/login.jsp(3,2) Unable to load

Re: struts and tomcat4 reload causes exception

2001-05-11 Thread Eric Rasmussen
I recently moved from Tomcat to Resin. I experienced that problem with Tomcat, but it does not happen in Resin. Resin will not reload your classes (or, at least, I don't know how to get it to), but will not throw that Servlet Exception message either, merely continues as though the class files

Re: Can some 1 help me

2001-05-11 Thread David Winterfeldt
What servlet engine are you using? Did the example or blank war run before you started editing it? Do you have the struts.jar in you main classpath anywhere? I can't be in the main classpath. It must only be in the /WEB-INF/lib directory. David --- Vinod Shintre [EMAIL PROTECTED] wrote:

Determining odd-even table rows

2001-05-11 Thread Bill Pfeiffer
I'm trying to figure out how to do a green-bar effect (different backround colors for every other row of a table) with struts/jsp. I am using a tagified javax.sql.Rowset. I can iterate through the rowset via my tags (reworked jakarta DBTags). The problem, more of a mental block, is how do I

RE: struts and tomcat4 reload causes exception

2001-05-11 Thread Anthony Martin
Keep your precious hair. I'm pretty sure Struts and Tomcat are operating as designed. I noticed this when I first started working with Struts too, and it caused me about thirty minutes of horrible pain and suffering until I realized that restarting the server is required due to the nature of

Re: Constants.TOKEN_KEY value proposed change (doesn't work with javascript!!)

2001-05-11 Thread Johan Compagner
That i already have of course! but it would be nice to have this in the basic. without altering Struts all the time when a new version arrives. johan - Original Message - From: Nanduri, Amarnath [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, May 11, 2001 8:14 PM Subject: RE:

Accessing ServletContext from session object

2001-05-11 Thread Matthew Fowkes
I was wondering if anyone else has tried to access the ServletContext from the session object. I have written a class that implements HttpSessionBindingListener so I can detect when a users session expires. When the session expires, the valueUnbound method is called and is passed an event. From

RE: Using value of one bean in a textarea?

2001-05-11 Thread Anthony Martin
So you have a bean with a property value you want copied over to another bean property? Why not just pre-populated on the form? Create a getter and setter for the value and hit the Action first (go to the myForm.do url instead of myForm.jsp) so that the perform method can populate form.

RE: Checkbox Arrays - Internationalising them?!

2001-05-11 Thread Deadman, Hal
Do you want bean:message to be able to get the key from a bean method? It doesn't do that now... Since bean:write is printing the value of a bean property, your bean property could use the MessageResources class to do the internationalization in your bean method. Inside an action you can get

RE: struts and tomcat4 reload causes exception

2001-05-11 Thread Jason Chaffee
Title: RE: struts and tomcat4 reload causes exception Actually, Resin will reload your classes. In fact, it will compile your java files for you if they change as well. -Original Message- From: Eric Rasmussen [mailto:[EMAIL PROTECTED]] Sent: Friday, May 11, 2001 11:44 AM To: [EMAIL

RE: How can I use set-property property=foo value=123 / in struts-config.xml

2001-05-11 Thread Hicks, James
You must extend the ActionMapping class to include the property you are wanting to set. Inside your action, just cast the ActionMapping object to your custom mapping object. Inside the deployment descriptor (web.xml), set the init-param mapping to point to your custom mapping object. --- start

Re: still fighting HTTP HTTPS problem

2001-05-11 Thread Ted Husted
I'm using a standalone container, and I find that everything works transparently (only one session) if I resort to hard coding the scheme. Right now, I'm doing this in the Struts-config. forward name=standard path=http://data.wxxi.org/wxxi-gavel/register/logon.jsp/ forward name=secure

RE: Urgent help needed

2001-05-11 Thread Abraham Kang
Is struts.jar in your WEB-INF/lib directory? --Abraham -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, May 11, 2001 11:46 AM To: [EMAIL PROTECTED] Subject: Urgent help needed can some1 tell me why am i getting this error possible solution

RE: Urgent help needed

2001-05-11 Thread Nanduri, Amarnath
Try this Keep the struts.jar file in the tomcat\lib directory and see it that helps. -Original Message- From: Vinod Shintre [mailto:[EMAIL PROTECTED]] Sent: Friday, May 11, 2001 2:46 PM To: [EMAIL PROTECTED] Subject: Urgent help needed can some1 tell me why am i getting this

RE: Urgent help needed

2001-05-11 Thread Deadman, Hal
Where is your struts.jar located? Have you modified your classpath at all? I am not sure if struts-blank.war is meant to actually run out of the box. It may just be shell to get started with. Does struts-example.war work for you? -Original Message- From: Vinod Shintre [mailto:[EMAIL

Windows NT authentication for web site.

2001-05-11 Thread Sundaram Ramasamy
For my company web site, I want to use NT user name and password for authentication. to get the user name and password, I want to use html form. Can any one help me on this. How I can implement this, any tips or samples codes. Thanks Sundaram.

RE: How can I use set-property property=foo value=123 / in struts-config.xml

2001-05-11 Thread Niall Pemberton
I think you got the wrong end of the stick. The action elements in struts-config relate to ActionMapping classes, not the Action class. You need to sub-class the ActionMapping class and add your properties and getters/setters to that class. Then you need to add a init-param element for the

RE: Urgent help needed

2001-05-11 Thread Inder Sabharwal
Have you checked your classpath? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, May 11, 2001 11:46 AM To: [EMAIL PROTECTED] Subject: Urgent help needed can some1 tell me why am i getting this error possible solution

RE: struts and tomcat4 reload causes exception

2001-05-11 Thread Simon Wawra
It seems that things get into a mess when reloading happens, so I guess Resin might also suffer from this problem if it were reloading the classes...? Jason, Is Resin a commercial or open-source product? Can you tell us how to enable class reloading, as you describe? Thanks, Simon At 01:05 PM

RE: struts and tomcat4 reload causes exception

2001-05-11 Thread Simon Wawra
Well, if that's the way it's designed, I guess I can live with it too, but it does seem a bit restrictive. From the messages I've read on Tomcat 4, it seems a LOT of effort has gone into making it reload classes when they're changed, so I don't really see the point of it, if we're going to

Re: still fighting HTTP HTTPS problem

2001-05-11 Thread Martin Cooper
Ted, You can collapse your code down to this: return mapping.findForward(secureMode ? secure : standard); by adding redirect=true to your secure forward definition in struts-config. -- Martin Cooper At 01:25 PM 5/11/01, Ted Husted wrote: I'm using a standalone container, and I find that

RE: Windows NT authentication for web site.

2001-05-11 Thread Abraham Kang
Which app server are you using? Most commercial app servers have a way of plugging the security realm to an NT domain. --Abraham -Original Message- From: Sundaram Ramasamy [mailto:[EMAIL PROTECTED]] Sent: Friday, May 11, 2001 1:48 PM To: [EMAIL PROTECTED] Subject: Windows NT

Re: Can some 1 help me

2001-05-11 Thread Vinod Shintre
hi , i got the error fixed ,i was mixing the struts.jar file with a deprecated tag lib file struts-form.tld, this scares me as if i have my stuff running with one build of struts I CAN'T possibly run it with another , any suggestions on the same would be appreciated, thanx in advance vin

RE: struts and tomcat4 reload causes exception

2001-05-11 Thread Jason Chaffee
Resin is an open-source product and it is great! You will need to set your classpath id in resin.config, but other than that it will reload class and the deployment descriptor if there are any changes automatically. I never have to bounce it. -Original Message-From: Simon Wawra

Re: filtering unwanted characters

2001-05-11 Thread Ian Kallen [EMAIL PROTECTED]
Apache 2.0 supports input filters, how about writing one that cleans the data input before mod_jk/mod_webapp can hand it off to Tomcat? On Fri, 11 May 2001, Nanduri, Amarnath wrote: I am looking for some open source code that deals with filtering technology. Basically i want to filter any

RE: Determining odd-even table rows

2001-05-11 Thread Niall Pemberton
I have a RowTag that does this, it generates tr elements and you can specify either oddColor/evenColor attributes to generate bgcolor= attributes or oddStyle/evenStyle parameters to generate class= attributes for CSS. So the jsp looks like this: table logic:iterate id=.. name=..

Re: still fighting HTTP HTTPS problem

2001-05-11 Thread Ian Kallen [EMAIL PROTECTED]
Are you saying that an http request can be forwarded to an https request? That doesn't make sense; if the browser doesn't have an https session setup, the server can do whatever it wants to resolve the request translation. You have to redirect to go from an http request to an https request.

Re: still fighting HTTP HTTPS problem

2001-05-11 Thread Ted Husted
ActionForward actionForward = new ActionForward(url,true); The forward here is a bit of a misnomer. Using true forces a redirect. Ian Kallen wrote: Are you saying that an http request can be forwarded to an https request? That doesn't make sense; if the browser doesn't have an https

LinkTag broken in May 11 build

2001-05-11 Thread Vimal Kansal
Link tag seems to be broken. I have code snippet like this : logic:iterate id=tradingPartner name=tradingPartnerList type=com.netfish.dm.TradingPartnerInfo TR td class=fieldentry nowrap html:link