RE: struts/java limitation ?

2001-12-03 Thread Tricia Ong Cheah Yen
read this posting: http://www.mail-archive.com/struts-user@jakarta.apache.org/msg04902.html +trish -Original Message- From: flare [mailto:[EMAIL PROTECTED]] Sent: Saturday, December 01, 2001 11:15 PM To: [EMAIL PROTECTED] Subject: struts/java limitation ? Hi, I'm building a form with

RE: struts-config not found in Websphere 3.5.2 FixPack3

2001-12-03 Thread Darryl Nortje
Hi Jon, firstly thanks for your replies, and sorry for my late replies. Rough weekend. here is the excerp from strutsexample.webapp where the ActionServlet mapping is specified and then the struts-config.xml parm is specified. Does this answer your question? servlet nameaction/name

RE: problems getting struts example to run

2001-12-03 Thread Darryl Nortje
Hi Jon, I changed the two lines to what you said. I did not make any difference still got the error java.lang.IllegalArgumentException: cant remove Attributes from request scope. There is something wrong with the Constants.BEAN_KEY. it is either not being set which I was trying to trace in the

RE: When to store files in DB vs. File system

2001-12-03 Thread Darryl Nortje
Hi. Everyone is going to tell you that you must store it in the database. The reason are that in different OS's, there is a limit to how many files you can store in each directory. (windows i think is 1). I was faced with this same problem under a time constraint, so never took the time to

RE: struts/java limitation ?

2001-12-03 Thread flare
On 3 Dec 2001 at 16:02, Tricia Ong Cheah Yen wrote: read this posting: http://www.mail-archive.com/struts-user@jakarta.apache.org/msg04902.ht ml +trish Thanx, I think that message should be added to a struts FAQ Flare -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For

RE: Struts 1.1 book available for order

2001-12-03 Thread Parnenzini Claudio
It seems that is not possible to order your book outside of the US. Regards -Message d'origine- De : Vic Cekvenich [mailto:[EMAIL PROTECTED]] Envoyé : vendredi, 30. novembre 2001 18:26 À : [EMAIL PROTECTED] Objet : Struts 1.1 book available for order

HTML-Tables downloadable as CSV-Files. How ?

2001-12-03 Thread Michael Gerdau
Hi ! I have a webapp which among other things let the user run some analytics which are displayed in a tabular view. I now wish to add a feature that allows the user to downloaded these dynamically created tables as CSV-files such they they are available for additional processing by e.g.

Re: HTML-Tables downloadable as CSV-Files. How ?

2001-12-03 Thread Max Cooper
One solution would be to use a servlet or JSP page to write out the CSV file. It may make sense to have one servlet generate the table, and then use two view components (servlets or JSP) to present the data as either HTML or CSV. This might even be a good XML application - one component

Struts development work

2001-12-03 Thread Joe Faith
We are a UK web engineering company that is using Struts on a couple of major projects, and are interested in employing individual developers on a freelance subcontracting basis. If you would be interested, and have experience with Struts and open-source development then please get in touch with

RE: problems getting struts example to run

2001-12-03 Thread Jon.Ridgway
Hi Darryl, There are to FormTag(s) in different packages. Make sure you have edited the one in the org.apache.struts.taglib.html package. If Struts is in your VAJ workspace put a break point in the class to ensure that the WTE is using this copy when running and not another on your classpath.

RE: problems getting struts example to run

2001-12-03 Thread Darryl Nortje
Hi Jon, Ja, you were right Jon. I changed the wrong one. Now that it's working can you tell me at all what was wrong with pageContext.removeAttribute(Constants.BEAN_KEY, PageContext.REQUEST_SCOPE); and why pageContext.getRequest().removeAttribute(Constants.BEAN_KEY); works. Is something wrong

RE: struts-config not found in Websphere 3.5.2 FixPack3

2001-12-03 Thread Jon.Ridgway
Hi Darryl, It's been some time since I have done any WebSphere work so... Have you made sure that the permission are OK on the struts-config.xml? Have you tried changing the config param to read /web/WEB-INF/struts-config.xml? Jon. -Original Message- From: Darryl Nortje [mailto:[EMAIL

RE: struts-config not found in Websphere 3.5.2 FixPack3

2001-12-03 Thread Darryl Nortje
It's working YEEE HAAA. Jon thanks a million. No idea why it's working as per my first e-mail that I sent you. But at least now I can debug it and try to make my own subtle changes to see what happpens, etc etc. as I'm sure you've noticed I have just gotten into programming and also just

RE: HTTP form based authentication

2001-12-03 Thread Jon.Ridgway
Hi Shri, I have found the best (only?) approach is not to use a struts html:form tag on your login screen as you are posting to the containers auth mechanism not the struts action servlet, Jon Ridgway www.upco.co.uk -Original Message- From: Shri [mailto:[EMAIL PROTECTED]] Sent: 02

AW: HTTP form based authentication

2001-12-03 Thread storck
Is that normal that I have to access a webpage in the scure area to get the login-page? How can I access direct the login-page cause I would like to have link on my main-page for login -Ursprüngliche Nachricht- Von: Jon.Ridgway [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 3. Dezember

html:select and JavaScript problem

2001-12-03 Thread rgi
Hello struts-user, I want to write a selected element from a PullDown in a text form. I use a JavaScript funktion to do this. This funktion is excecuted when someone click on a element from the PullDown. (or perhaps not excecuted?) The problem is now, nothing is written in the text

RE: HTML-Tables downloadable as CSV-Files. How ?

2001-12-03 Thread Massak, Markus
Independently from Struts, you have to change the MIME-type of your HTTP-response (from text/html, text/plain or whatever) to application/csv. Then it should work. Regards Max -Original Message- From: Michael Gerdau [mailto:[EMAIL PROTECTED]] Sent: Montag, 03. Dezember 2001 10:38 To:

RE: problems getting struts example to run

2001-12-03 Thread Jon.Ridgway
Hi Darryl, It is my understanding that there is nothing wrong with the Struts code (as such). IBM has simply interpreted the spec differently (ummm...) Jon. -Original Message- From: Darryl Nortje [mailto:[EMAIL PROTECTED]] Sent: 03 December 2001 10:23 To: 'Struts Users Mailing List'

Re: Struts development work

2001-12-03 Thread Joe Faith
I should have mentioned that we would welcome developers who wanted to work remotely (as long as you can find your way around a CVS tree :- ) Joe Faith wrote: We are a UK web engineering company that is using Struts on a couple of major projects, and are interested in employing individual

Re: Struts development work

2001-12-03 Thread Dmitri Colebatch
(o: our emails just passed each other in the pipes... On Mon, 3 Dec 2001, Joe Faith wrote: I should have mentioned that we would welcome developers who wanted to work remotely (as long as you can find your way around a CVS tree :- ) Joe Faith wrote: We are a UK web engineering

Re: When to store files in DB vs. File system

2001-12-03 Thread Ted Husted
I've seen a lot of implementations do this sort of thing, especially when archive emails and the like. I've also heard that people find many OS's start to slow down with even 1000 files in a directory, so I believe many such systems use that as an increment /1/000 - /1/999. A general piece of

RE: HTTP form based authentication

2001-12-03 Thread Jon.Ridgway
Hi Shri, Not sure if there is a way. I have always forwarded to a welcome jsp in my secure area when I want to get the user to login when using form based auth. It's possible for the user to bookmark your login page. This could cause problems as the container would not know what to do once the

htm-:errors and struts:erros

2001-12-03 Thread Mohammed
Hello every body, in my action class I insert an error as follow: errors.add(registration, new ActionError(error.registration.failed); saveErrors(request,errors); in the jsp file : html:erros //to get the errors displayed how can I get only the error for a given action? or a given key? I

RE: htm-:errors and struts:erros

2001-12-03 Thread Alexander Jesse
Hi, get the validator-package from David Winterfeldt and use the validators error-tags. That did the trick for me. regards Alexander Jesse -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, December 03, 2001 12:56 PM To: [EMAIL PROTECTED] Subject:

AW: HTTP form based authentication

2001-12-03 Thread storck
I also use JBoss wich does its user-authentication based on JAAS. Does someone has experiences with it an can help to how I can fit both - struts and jboss - together. I would like to have a login-page where a user can login. If he is not loged in he is treated with guest-role so if he browses a

RE: html:select and JavaScript problem

2001-12-03 Thread ltorrence
Well, I think first you'd need to change the name of the html:text element to something other than artist to avoid javascript confusion. The value for artist will be posted to the server by the html:select object. (watch for line breaks) script language=JavaScript !-- function

Re: htm-:errors and struts:erros

2001-12-03 Thread Mohammed
Hi can you tell me where I can get the validator package from David Winterfield? Thanks Mohammed - Original Message - From: Alexander Jesse [EMAIL PROTECTED] To: struts-user [EMAIL PROTECTED] Sent: Monday, December 03, 2001 1:15 PM Subject: RE: htm-:errors and struts:erros Hi, get

RE: htm-:errors and struts:erros

2001-12-03 Thread Hani Hamandi
Go to the struts home page: http://jakarta.apache.org/struts Click on Resources under Welcome on the left. The package is called Struts Validator and it's under the Contributor Extensions section. I could have simply given you the link to the package. But I wanted to show you how to get to it

Re: htm-:errors and struts:erros

2001-12-03 Thread Mohammed
Hi, I just read the online Doc of the validator package of David Wenterfield. I read that the ErrosTag class is deprecated. Any other hint? Mohammed - Original Message - From: Hani Hamandi [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Monday, December 03,

RE: Struts development work

2001-12-03 Thread Alexander Jesse
Hi, are you talking about - full time stuff ( 40 hours a week) - part time assignements - piece-contracts (need a class with these features; offer nnn Euros/pounds,...) And - is it applications or - struts extensions? regards Alexander Jesse -Original Message- From: [EMAIL PROTECTED]

Automation options between ActionForm and Value Object?

2001-12-03 Thread Allen M. Servedio
Hi All, Though I still have much existing material to read in the STRUTS mailing lists (thanks again for your help Jon!), I have come across three interesting solutions to dealing with automating or centralizing the translation of data from Action Forms (presentation layer) to Value Objects

RE: struts/java limitation ?

2001-12-03 Thread Stephen Owens
Yes, you're guess is correct, this is related to the 64k limit. There was a previous workaround for this problem posted to this list that I've used successfully to resolve the same problem. It puts a 'little bit' of Java into your .jsp, which is evil, but it makes all the options accessible,

Setting a attribute from a page having no html:form ?

2001-12-03 Thread Alvin Kutttikkat Antony
I am using a jsp page as template for manipulating the iteration for different user data objects, so I have to save the color value each time getting out from this page to avoid getting the same color for adjacent lines of a table. For this I have setter and getter in the bean class and I

RE: Automation options between ActionForm and Value Object?

2001-12-03 Thread Jon.Ridgway
Hi Allen, Probably the easiest approach would be to use the utility provided by Struts (now in the commons project): org.apache.commons.beanutils.PropertyUtils. Search the latest source of Struts and you will find several examples of its use. Another useful tip is to reference your vo - via

Re: AW: HTTP form based authentication

2001-12-03 Thread Matt Raible
Yes this is normal. To get to a protected area of your web-app, you have to login. The way we've routed users to the main-page all the time is to hit an Action that routes them to the main page. Put a link to this action on your welcome page. A real advantage of container-managed

RE: Automation options between ActionForm and Value Object?

2001-12-03 Thread Matt Raible
I've used Jon's suggestion below and it works very nicely. In my applications, I create a BaseFormBean that has an action property. Then in my FormBean's that extend this class, I have a getter/setter for the VO. Works really slick. In my Edit Action classes, I populate the VO from an EJB and

Could not locate TLD META-INF/taglib.tld

2001-12-03 Thread Daniel WAMARA
Hi everybody, I got this error every time I want to launch a Jsp with some struts tags in that, I really don't know why. I've try to take a look on the mailing list but the two answers I've found (http://www.mail-archive.com/struts-user@jakarta.apache.org/msg07550.html and

formatting dates

2001-12-03 Thread Schauder, Jens
Hi, I'm using struts for two months now and I must say I'm impressed but I have a problem: when using the format attribute of the bean:write tag I get an exception saying that the attribute format is not allowed according to the tld ...? even if it would work, I'm not completely clear on

RE: formatting dates

2001-12-03 Thread Jon.Ridgway
Hi Jens, The format attribute is a new addition to the html:write tag. Try downloading the nightly build if you wish to use the feature. Jon. -Original Message- From: Schauder, Jens [mailto:[EMAIL PROTECTED]] Sent: 03 December 2001 15:42 To: Struts-User@Jakarta. Apache. Org (E-Mail)

Re: Menu

2001-12-03 Thread Matt Raible
Here's a similar example using Struts and XML. http://www.husted.com/struts/resources/struts-menu.zip Also, here's a couple more folder tree menus that you could probably use and just build the javascript as the page loads: http://www.webfx.nu/dhtml/xtree/index.html http://www.ivanpeters.com

RE: Could not locate TLD META-INF/taglib.tld

2001-12-03 Thread Jon.Ridgway
Hi Daniel, Should your taglib.tld not be in the WEB-INF directory? Jon. -Original Message- From: Daniel WAMARA [mailto:[EMAIL PROTECTED]] Sent: 03 December 2001 15:29 To: [EMAIL PROTECTED] Subject: Could not locate TLD META-INF/taglib.tld Hi everybody, I got this error every time I

html:link - submit

2001-12-03 Thread John Ng
Is there a way to invoke the form submit action when one clicks on a link by html:link? Basically, I would like the submit the form by clicking the link instead of clicking a button. Thanks! John __ Do You Yahoo!? Buy the perfect holiday

RE: formatting dates

2001-12-03 Thread Schauder, Jens
I just read on the struts webpage that a new version (1.0.1) was supposed to become available at the end of november ... any ideas when this will actually happen and if it will include the format attribute ? Jens -Original Message- From: Jon.Ridgway [SMTP:[EMAIL PROTECTED]] Sent:

RE: When to store files in DB vs. File system

2001-12-03 Thread Gavin Terrill
I would recommend using the file system, and storing the location in the db: - the file system is faster - storing files in the DB tends to generate enormous database physical files, so back ups become an issue - integrating with a freetext search engine becomes harder (you may need this down the

Re: html:link - submit

2001-12-03 Thread Rob Breeds
Use JavaScript to submit the form - the html:link has an onclick event. Beware of having links and buttons simultaneously - Struts calls buttons it generates 'submit' which causes a naming clash. Rob Breeds

Re: Icons next to form elements with validation errors

2001-12-03 Thread Joey Gibson
logic:messagesPresent property=username // insert image here /logic:messagesPresent html:text property=username size=20 maxlength=100/ What about using html:errors next to the field in question and having the error message contain an img tag to the icon? In your action, set the error

Re: Help-Loading 2nd FormBean in same action???Is there an easy way??

2001-12-03 Thread Sandeep Takhar
I think that you can use different actions mappings for each. From Ted-Husted's site: !-- start of cut paste -- Use multifunction Actions to service related ActionMappings Here's an example: In an Insert / Update workflow, there are usually three ActionMappings, one for add, to return an

Re: formatting dates

2001-12-03 Thread Ted Husted
This is a maintenance release and doesn't include new functionality. http://jakarta.apache.org/builds/jakarta-struts/release/v1.0.1-rc1/src/ Schauder, Jens wrote: I just read on the struts webpage that a new version (1.0.1) was supposed to become available at the end of november ...

Basic Configuration issue.

2001-12-03 Thread Mark Hortman
Can anybody tell a newbie why I am getting this error in my tomcat-startup with struts? I put the struts.jar in my WEB-INF/lib dir, and not in my TOMCAT_HOME/common/lib. Any ideas would be appreciated. 2001-12-03 10:24:01 ContextConfig[/tomcat-manager]: Configured an authenticator for method

RE: Comparing two variables using logic:equal

2001-12-03 Thread Rizvi, Suhel
Yes you are right it was a typing error on my part. I have now found the solution to the problem. You haev to convert the variables you are comparing to String. I had to use the following : % int testVar = 2 % logic:equal name=theBean property=someBeanProperty value=%=Strign.valueOf(testVar)%

RE: Struts 1.1 book available for order

2001-12-03 Thread Nathan Anderson
FYI, if anyone is thinking about buying this book from atlasbooks.com, they charged me 9.00 USD for shipping. No shipping charges are mentioned until after the order was confirmed, then a second confirmation e-mail was sent 7 hours later that included tax and shipping. So my confirmed 69.95 USD

RE: When to store files in DB vs. File system

2001-12-03 Thread Jim.W.Berg
Another issue to consider when evaluating file system versus database is synchronizing your database backup with the file system backup if you are keeping file state information in the database. I've managed a couple of document systems where the documents are in a file system and the state of

RE: Struts 1.1 book available for order

2001-12-03 Thread Jeff_Mychasiw
I am looking forward to hear your review. The fact that $84.72USD turns into about $130 Canadian should not be the publishers concern, but it will still cause me to be very cautious. I hope the content is worth it, because a good reference will go a long way to helping me propose struts to

Can a form submit to a vector?

2001-12-03 Thread Alex Colic
Hi, I have a vector that holds charging objects. The object has properties such as name and amount. On a page, at the top I iterate through the charging objects and create a summary table. The table shows all the charging objects in the charging vector and outputs their name and amount. At the

Re: Can a form submit to a vector?

2001-12-03 Thread dhay
Do you mean dynamically? ie another row added to the vector above it without a submit? Dave Alex Colic [EMAIL PROTECTED] on 12/03/2001 12:40:57 PM Please respond to Struts Users Mailing List [EMAIL PROTECTED] To: Struts [EMAIL PROTECTED] cc:(bcc: David Hay/Lex/Lexmark)

Re: htm-:errors and struts:erros

2001-12-03 Thread David Winterfeldt
You can still use the ones from the validator package if you need to, but if you are using more recent nightly builds all the functionality for the deprecated validator tags have been moved to struts. html:messages logic:messagesPresent, and logic:messagesNotPresent html:messages id=message

RE: browser platform compatibility

2001-12-03 Thread Elena Yee
Thanks for the feedback. From the small amount of testing I did, it appeared to be browser compliant. It's good know it follows 4.01 specifications. Elena -Original Message- From: Ted Husted [mailto:[EMAIL PROTECTED]] Sent: Friday, November 30, 2001 6:04 AM To: Struts Users Mailing

Re: taglibs and jsp:include

2001-12-03 Thread David M. Karr
Martin == Martin Samm [EMAIL PROTECTED] writes: Martin this is not directly Struts but seemed the best qualified forum (it is for a Martin struts based app however). Martin I'm using a custom tag to decide which jsp to include (based on some request Martin variables) - the

Indexed checkboxes always checked!!!! Please help!

2001-12-03 Thread Jeremy Haile
I have an arraylist of beans which I iterate through. Each bean contains 3 boolean values (i.e. checkboxes on my form). The form is initially populated through a database. What I would like to do is to update the database using the form, but when a checkbox is unchecked on my html form, it

Re: Any Struts Reference Apps that implement DAO?

2001-12-03 Thread David M. Karr
Matt == Matt Raible [EMAIL PROTECTED] writes: Matt I'd like to implement the DAO pattern in a struts application I'm building - Matt is anyone using this - if so, would you recommend? Matt Also, what's the advantages/disadvantages for declaring your database Matt parameters in

Re: Indexed checkboxes always checked!!!! Please help!

2001-12-03 Thread Jeremy Haile
I solved my own problem minutes after sending the mail. Apparently I didn't understand the reset() method very well. Manually looping through the arraylist and setting the boolean values to false in the reset() method solved my problem and didn't mess up the form on the web page (i.e. they were

Re: Indexed checkboxes always checked!!!! Please help!

2001-12-03 Thread dhay
Do you set them to false in the reset() method? Dave Jeremy Haile [EMAIL PROTECTED] on 12/03/2001 01:34:42 PM Please respond to Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc:(bcc: David Hay/Lex/Lexmark) Subject: Indexed checkboxes always checked

RE: Automation options between ActionForm and Value Object?

2001-12-03 Thread David Winterfeldt
Here are two code generators that are out there if you haven't seen them already (listed on http://www.husted.com/struts/resources.htm). Ravi has worked on his a lot more than I have. Struts CodeMaker by Ravindran Ramaiah Generate Struts application by reading configuration file or JSP files.

SAX / Struts problem SAXNotRecognizedException

2001-12-03 Thread jpablo
When WebSphere tries to start the Action servlet it throws the following exception: [01.12.03 16:04:20:128 GMT-02:00] fec2bfc4 WebGroup X Root Cause org.xml.sax.SAXNotRecognizedException: http://xml.org/sax/features/raw-names

Re: Indexed checkboxes always checked!!!! Please help!

2001-12-03 Thread Sai Mattancheril
Jeremy, HTML checkBoxes dont send a value when unchecked -- which is probably causing the problem.You should override the reset() method of ActionForm in your class. In this method, set all your boolean variables in the form to false. The reset(ActionMapping am, HttpServletRequest req) method

RE: Automation options between ActionForm and Value Object?

2001-12-03 Thread Allen M. Servedio
Hi, Thanks and good example. That was what I was referring to when I said, that I have seen referred to in the mailing lists is using Reflection (though, your example clarifies it much better than what I said :-) ). I only have two problems with both of the methods that you mentioned: 1.

How to access a Collection?

2001-12-03 Thread neil
Hi, I am new to this and have been playing with struts for about 1 week now. I am writing an application which connects to a LDAP Directory. I have succeeded in writing a search jsp form which gets forwarded to Action code, populating a formbean etc. This succeeds in doing a search, but the code

Missing message for key index.title - My Problem Found

2001-12-03 Thread Frank Lawlor
When I try to run the struts-example in Tomcat 4.0 (jre 1.3.1, NT 4, SP6) I get the infamous Missing message for key index.title I noticed tho, that the logs have an earlier exception trying to load /WEB-INF/struts-config.xml: 2001-11-30 12:45:39 action: Initializing configuration from resource

i18n - How to throw language specific errors from application.resources

2001-12-03 Thread Ramachandra Sankuratri
Hi Our application is supposed to support multiple languages based on the user logged on. So, each country/language has got its own application_x_xx.properties file. In the action class, while throwing an ActionError, how do I specify the struts that it needs to use the language specific

Re: SAX / Struts problem SAXNotRecognizedException

2001-12-03 Thread jpablo
I still triyng to make it work, But I still getting the same exception, Under what condicion this exception is thrown? Any help will be really appreciated. Thanks in advance. j When WebSphere tries to start the Action servlet it throws the j following exception: j [01.12.03 16:04:20:128

Missing message for key index.title - general comments

2001-12-03 Thread Frank Lawlor
I noticed lots of people having struts problems with this symptom. From what I have seen of the struts startup, many startup problems will cause this to be the first symptom for the example app. This kind of one error for all situations makes diagnosis difficult. Looking in the log may clarify

Re: Icons next to form elements with validation errors

2001-12-03 Thread Sean Owen
Since this is essentially error text you are talking about, I think the easiest way to handle this is through Struts's error tags: html:text property=username ... / html:errors property=username/ Where there is an error on username, you add a new ActionError with a message key like

Struts vs. WebLogic 6.x

2001-12-03 Thread Alex Lin
Hello, After testing the struts nighty build (beyond v1.0), i have found problems of Struts on WebLogic 6.x. 1. The nightly build, including the common*.jar, seems mess up the weblogic. I have deployed several bravepoint solutions onto weblogic 6.0 sp1, sp2, 6.1 still with MANY strange

event listeners?

2001-12-03 Thread Shay Mandel
Hi, I am currently evaluating technologies for a web based management console. I looked at an Excel sheet comparing some, and found that my options are either Struts or Enhydra's Barracuda. The only major withdraws from using Struts, as I can see are: A. Barracuda uses event listeners which

RE: RE: Tokens

2001-12-03 Thread Steve Bendiola
Jeff, saveToken() - puts a value into the session object keyed under the constant TRANSACTION_TOKEN_KEY. resetToken() - is used to remove the keyed value from the session Any time a struts form is used the tranaction token is embedded as a hidden field in the form. isTokenValid() only

SAX / Struts problem SAXNotRecognizedException II

2001-12-03 Thread jpablo
I replaced the jaxp.jar for other, Now I get the following exception: javax.xml.parsers.FactoryConfigurationError: org.apache.xerces.jaxp.SAXParserFactoryImpl What can be wrong? TIA j When WebSphere tries to start the Action servlet it throws the j following exception: j [01.12.03

Struts VAR

2001-12-03 Thread Sandeep Takhar
Does anyone know of any Struts Value Added Resellers. Someone that has added on to the struts framework and offers support/documentation/training? - thanks, Sandeep __ Do You Yahoo!? Buy the perfect holiday gifts at Yahoo! Shopping.

RE: HTML-Tables downloadable as CSV-Files. How ?

2001-12-03 Thread Shri
I did the same by doing this in my jsp: %@ page language=java contentType=application/vnd.ms-excel % you get an Excel sheet in the browser, which the user can play around. Hope it helps. Shri -Original Message- From: Michael Gerdau [mailto:[EMAIL PROTECTED]] Sent: Monday, 3 December

Re: HTML-Tables downloadable as CSV-Files. How ?

2001-12-03 Thread Michael Gerdau
One solution would be to use a servlet or JSP page to write out the CSV file. That's how I thought I should do it. It may make sense to have one servlet generate the table, and then use two view components (servlets or JSP) to present the data as either HTML or CSV. This might even be a good

Seeking Know-How Advice: How Do I Implement Pop-up Error Windows With Struts

2001-12-03 Thread Esterkin, Alex
I need to make my error pages displayed in a separate window. The application uses frames. What Struts mechanism or configuration element/attribute can I use to implement target=_blank functionality for error pages? Thanks. Alex Esterkin

RE: HTML-Tables downloadable as CSV-Files. How ?

2001-12-03 Thread Sills, David
If you're using the XML solution, just use session variables to store the XML per user and Templates to transform it. The latter are thread-safe, so even if you had multiple users reading from a single session variable, passed around (at some point), your XSLT stylesheets will properly handle the

Re: Help-Loading 2nd FormBean in same action???Is there an easy way??

2001-12-03 Thread Greg Callaghan
Thanks Sandeep, I don't think this actually helps in my situation (I think). To distill down the problem to barebones as best I can -: * I have a common formbean which has two possible validate paths depending on whether the ACTION parameter is SEARCH or EDIT/DELETE/ADD. * In the case the user

RE: Help-Loading 2nd FormBean in same action???Is there an easy way??

2001-12-03 Thread Sills, David
As I understand it, you cannot alter parameters in any way within a forwarded request. However, you could add an attribute that is also checked: // if attribute = SEARCH or parameter = SEARCH // else if parameter = EDIT/DELETE/ADD Better yet, rethink your logic and consider

RE: event listeners?

2001-12-03 Thread Sills, David
Shay: Your concerns about reflection have not surfaced in our use (projects of a variety of sizes). So far, Struts processing time is generally a rounding error on network time, either Web or to the database (we often use TOPLink, though, so the database part is sometimes a bit slow). As to

How do I set the value of a value tag in jsp file with a bean value.

2001-12-03 Thread antony
Hi I want to put a radio button in a form and have the value of the value field to come from a bean, only I don't know how to do this. The incorrect way to writting this is html:radio property=typeOfRequestor value=bean:write name=userstag property=userName filter=true/ / Which

mapping.getInput() and request scope beans

2001-12-03 Thread Prengaman.Karen
Hello, I have a jsp that displays data and has a very simple one-button form with one hidden field. When this form is submitted, ExitAction is called. In ExitAction's perform method, if a certain condition occurs, I want to return to the calling page. I do this with the following code:

RE: Help-Loading 2nd FormBean in same action???Is there an easy w ay??

2001-12-03 Thread Greg Callaghan
Thanks David, I assume you're talking about sub-classing the FormBean to split out the 2 different validation paths(?). Would you mind if I ask you to confirm/explain? Even with using different actions / struts.xml entries etc it still seems to me that that fundamental indication to the

Indexed tags

2001-12-03 Thread Mike Ashamalla
Hi All! I apologize if this question has been asked before. I'm trying to implement indexed tags and I can't figure out where the values are being set (ie - where should me setters be and what should they look like). The form displays the prompts and values perfectly, but when I submit it the

RE: Struts 1.1 book available for order

2001-12-03 Thread Amitkumar J Malhotra
this is really expensive, converting this to Indian rupees is approximately Rs 4000, which is really high, could there be an alternative where by there is a downloadable soft copy of the book available at a lesser amount , so that we can atleast save on the printing and the shipping

Need help in Running employeelist example in VAJ3.5.3 and WTE

2001-12-03 Thread Shankar . N . Kodavanti
We are planning to develop an intranet web application and we want to use struts for it. For that i am testing Struts in VAJ3.5.3 in WTE and WebSphere 3.5.4 .i want to run emploee list example. in VAJ and WTE first. I think i did set every thing properly.I am using Xerces1.4.4 and Struts1.0

Re: Seeking Know-How Advice: How Do I Implement Pop-up Error Windows With Struts

2001-12-03 Thread Matt Raible
Tough to do - the only solution (work around) I can think of is to have your error page pop up a new window using javascript - but no real way to tell the backend when you throw an exception, open a new window and display an error. You can only tell the backend to go to this error page when you

Using JBuilder5 with Struts v1.1 (nightly build)

2001-12-03 Thread Alex Lin
Hi, The following reference is great. After following the procedure below, and deploy the application into Tomcat, it works great. http://www1.tramsasp.com/?section=devpage=jb5Struts11.htmlPHPSESSID=a015bb99a7d679ccc70afa6305b5a8cb However, if i deploy the same WAR (or directory) into WebLogic