RE: Tool for jsp debug - Try Sysdeo Eclipse Plugin

2004-01-21 Thread Florin Pop
sorry if my question bothered you ... but I wanted to know what tool does the struts community uses for this ... anyway thanks for your prompt feedback -Original Message- From: Jean-Michel Garnier [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 20, 2004 6:50 PM To: Struts Users Mailing

Config validator plug-in to Save ActionMessages in session scope ?

2004-01-21 Thread dutrieux
Hello, I see in the Nightly Build release note that's we can now save the ActionMessages in the session scope (http://jakarta.apache.org/struts/userGuide/release-notes.html). And my question is to know if it's possible to change the parameter of validator plug-in to save the ActionMessages in

problem with error page

2004-01-21 Thread Bubeník Miroslav
Hi all, I have problem with error page in JSP. In each JSP I have directive [EMAIL PROTECTED] errorPage=/spec/error.jsp %. In error.jsp I have [EMAIL PROTECTED] isErrorPage=true %. It is OK, I think. Problem is when error occures in JSP (jsp1), e.g. when is resource bundle missing. Jsp1 is

RE: problem with error page

2004-01-21 Thread Richard Hightower
Increase the size of the output buffer for the JSP (the non error one). -Original Message- From: Bubeník Miroslav [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 21, 2004 1:59 AM To: [EMAIL PROTECTED] Subject: problem with error page Hi all, I have problem with error page in JSP. In

RE: problem with error page

2004-01-21 Thread Bubeník Miroslav
Thak. It works. But why is this required? Where is the right limit of buffer size? -Original Message- From: Richard Hightower [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 21, 2004 10:06 AM To: Struts Users Mailing List Subject: RE: problem with error page Increase the size of

you are welcome... glad I could help RE: problem with error page

2004-01-21 Thread Richard Hightower
I could tell by your description that the page that had the error had a committed buffer. comments below... Rick Hightower Developer Struts/J2EE training -- http://www.arc-mind.com/strutsCourse.htm Struts/J2EE consulting -- http://www.arc-mind.com/consulting.htm#StrutsMentoring -Original

RE: problem with error page

2004-01-21 Thread Eric Bariaux
It is required because the jsp starts executing and generating output in its buffer until it encounters the error. If the buffer gets full before the error, the server flushes it, the content gets send down the HTTP pipe and there is no way to undo that afterwards when the error occurs. So the

RE: getting data from form with nested beans

2004-01-21 Thread Martin Sturzenegger
hi everybody! great flamewar ;) thanks to everybody involved! i really appreciate your help! you enlightened my greyish days! cheers martin -- Urspruengliche Nachricht -- Von: Arron Bates [EMAIL PROTECTED] Antworten an: Struts Users Mailing List [EMAIL

[OT?]Tomcat multiple users developing

2004-01-21 Thread Leonardo Francalanci
Hello, we are 3 developers currently developing a web site with struts. The problem we are facing is that every time a user makes a change to the code or to the struts.xml he has to reload the application: this involve a great loss of time. I'd like to know: 1) How do you share the same

sort and iterate

2004-01-21 Thread Sniadach, Tomasz
Hi, I am new to struts and have a little problem. I iterate a HashMap. When i do this with Java, then i have elements that are sorted by date (this make an another method), i mean, i have a sorted Map. When i use the logic:iterate tag the elements are not sorted. Is there an option to sort ? thx

RE: [OT] Struts and its economic efficiency

2004-01-21 Thread Matthias Wessendorf
hi, okay i figured out, that a PowerPoint-Presentation was available on http://www.strutskickstart.com/ but the link to the presentation, called Selling Struts to Management is dead: http://www.bkbear.com/struts.ppt did anyone know where it is? perhaps you mail it to me? thanks -Original

RE: html:form/Submit question....

2004-01-21 Thread Leticia Golubov
Yes, fair enough, but I should be able to refer to the form by name, surely? Anyway, I got that working (and I am naming the form), thanks everyone for the suggestions and help! :) -Original Message- From: Eric Bariaux [mailto:[EMAIL PROTECTED] Sent: 19 January 2004 17:26 To: 'Struts

Re: Struts 1.1, Tiles and sslext11

2004-01-21 Thread Adam Hardy
Hi there, which jar is SecureTilesPlugIn in? I just looked in struts.jar and sslext.jar. thanks Adam On 01/21/2004 01:52 AM Marino A. Jonsson wrote: heh heh typical :) btw. you don't need to specify two SecurePlugIns (both SecureTilesPlugIn _and_ a SecurePlugIn)! What you want to do is this

Re: Struts 1.1, Tiles and sslext11

2004-01-21 Thread Adam Hardy
Found it, it's in the latest release on sourceforge 1.10-4 oh and it's SecureTilesPlugin with a little in not In for anybody's info. Don't know how you managed that, Marino, if you just cut pasted that config. On 01/21/2004 11:45 AM Adam Hardy wrote: Hi there, which jar is SecureTilesPlugIn

Re: Chart generation Framework

2004-01-21 Thread Daniel H. F. e Silva
Hi Otávio, Well, i just readed available documentation at Cewolf website. It was enough for me. If you got in trouble using it, let me know about your problems. Maybe i can help you. Cheers, Daniel Silva. --- Otávio Augusto [EMAIL PROTECTED] wrote: I've heard and read a lot about Cewolf,

RE: [OT] Struts and its economic efficiency

2004-01-21 Thread Jesse Alexander (KAID 11)
hi, googling for struts.ppt resulted in this link: http://www.vw.vccs.edu/bussci/Spring2003/Wolff/struts.ppt This could be it, but I do not exactly know. In the first page there is a strutskickstart-logo... hth Alexander -Original Message- From: Matthias Wessendorf [mailto:[EMAIL

RE: [OT?]Tomcat multiple users developing

2004-01-21 Thread shirishchandra.sakhare
Why don't you have separate tomcat installation for every developer? Each developer can periodically synchronize with the repository to keep uptodate.But since the server installation is separate, he can restart it as many times he wants without affecting others..That is teh strategy we are

html:select multiple=true question

2004-01-21 Thread Morten
Hi. I have a bean stored in page scope with id active. It returns a String[] on getIds() and getLabels(). I use the following to render a multiple select box: html:select size=10 name=active multiple=true property=ids html:options name=active property=ids labelName=active

AW: sort and iterate

2004-01-21 Thread Martin Sturzenegger
hi, when you read about HashMap it says in the api-description that ...This class makes no guarantees as to the order of the map; in particular, it does not guarantee that the order will remain constant over time... you might try LinkedHashMap instead. cheers martin --

RE: [OT] Struts and its economic efficiency

2004-01-21 Thread Markus
Hi, maybe you try www.strutskickstart.com/struts.ppt or google! Kind regards, Markus hi, okay i figured out, that a PowerPoint-Presentation was available on http://www.strutskickstart.com/ but the link to the presentation, called Selling Struts to Management is dead:

About config struts

2004-01-21 Thread Eloy Mier Pérez
I would like to do something like this : action path=/administrador/Administrar type=com.danosa.struts.actions.Administrar name=Administrar forward name=ok path=/administrador/index.jsp / forward name=error path=/Contenidos/error.jsp /

RE: OT Chart generation Framework

2004-01-21 Thread Ashikuzzaman
Cewolf is a tag library that facilitates using JFreeChart's core library to use in JSP pages for preparing charts. Please correct me if I am wrong. In case I am right, then why not use JFreeChart directly? :S Regards, Muhammad Ashikuzzaman (Fahim) Senior Software Engineer, SurroundApps Inc.

accessing formBeans from forwarded JSP page

2004-01-21 Thread dmummenschanz
Hello, maybe I haven't understood the struts concept but I've run into a strange problem and could use some advice. I have a JSP page that sumbits a username and a password to an ActionForm. After the Action does the business logic it forwards me to another JSP. From that JSP I try to access

RE: accessing formBeans from forwarded JSP page

2004-01-21 Thread Florin Pop
have a look in the generated servlet maybe this will help you ... at least this is what I would do -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 21, 2004 3:24 PM To: [EMAIL PROTECTED] Subject: accessing formBeans from forwarded JSP page

Re: accessing formBeans from forwarded JSP page

2004-01-21 Thread Kris Schneider
Try (assuming a request-scoped form): jsp:useBean id=loginActionForm scope=request type=cswebview.LoginActionForm/ %= loginActionForm.getUsername() % Quoting [EMAIL PROTECTED]: Hello, maybe I haven't understood the struts concept but I've run into a strange

Re: accessing formBeans from forwarded JSP page

2004-01-21 Thread Dieter Mummenschanz
Hello! YES! Thats it! Thanks s much :) Nic Try (assuming a request-scoped form): jsp:useBean id=loginActionForm scope=request type=cswebview.LoginActionForm/ %= loginActionForm.getUsername() % -- +++ GMX - die erste Adresse für Mail, Message, More

RE: Missing message for key problem.

2004-01-21 Thread Smith, Darrin
OK, here is some more info. BTW, I really appreciated the help folks. This problem has cost me days of effort with nothing to show for it. I'm new to struts, and it's not been a pleasant experience so far. First the questions: Q) Does the problem go away after you access and Action? A) It

Re: About config struts

2004-01-21 Thread Domingo A. Rodriguez S.
Would this be ok? action path=/*/Administrar type=com.danosa.struts.actions.Administrar name=Administrar forward name=ok path=/{1}/index.jsp / forward name=error path=/{1}/error.jsp / forward name=inicioAdmin path=/{1}/configuracion.jsp /

AW: sort and iterate

2004-01-21 Thread Sniadach, Tomasz
Great Thanks Martin, i use now ArrayList :) Tomek -Ursprüngliche Nachricht- Von: Martin Sturzenegger [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 21. Januar 2004 13:25 An: Struts Users Mailing List Betreff: AW: sort and iterate hi, when you read about HashMap it says in the

Struts, Search Page, Help!!!

2004-01-21 Thread Matthew J. Vincent
I need some serious help with Struts. I have a page that gets invoked by calling search.do, this in turns calls my SearchAction which gets data from a database to populate a select box in my JSP search.jsp. select name=strainType option selected value=ANY c:forEach var=strainType

RE: Struts, Search Page, Help!!!

2004-01-21 Thread Wendy Smoak
From: Matthew J. Vincent [mailto:[EMAIL PROTECTED] I need some serious help with Struts. I have a page that gets invoked by calling search.do, this in turns calls my SearchAction which gets data from a database to populate a select box in my JSP search.jsp. select name=strainType

RE: OT Chart generation Framework

2004-01-21 Thread Adolfo Miguelez
I found Cewolf really really easy to use. In the cewolf.war example app, there is a jsp file containing the 20 possible graphics available in cewolf. Glancing thru the code of this jsp you have 20 copy/paste pieces of code for the graphics, including a provider and custom tag for each graphic.

RE: About config struts

2004-01-21 Thread Eloy Mier Pérez
Thanks a lot for your help, but this does not workthe log is : ERROR org.apache.struts.action.RequestProcessor - Invalid path /administra dor/Administrar was requested Eloy Mier Pérez   TANTA, Tecnología y Comunicación Una compañía del Grupo OneTec C/ Julián Camarillo, 26. 1º , 28037 Madrid

RE: Missing message for key problem.

2004-01-21 Thread Smith, Darrin
Got it! It didn't have anything to do with anything I mentioned. Both the web.xml and the struts-config.xml files were correct, BUT the wrong struts-config.xml file was getting copied by the ant build script! Moral of the story...go to the expanded application directory and verify what you think

Re: Trying to set the output from jsp page into GZIP format ...

2004-01-21 Thread BILODEAU Guillaume SOFRECOM
Hi everyone, I have read the following reply (rather old) in the archives: In servlet 2.2 environments, you basically won't be able to do this. But in servlet 2.3 environments, you can create a Filter to do the compression for you, on output from either servlets or JSP pages. This was in

[ANN] Exadel Struts Studio 5.2

2004-01-21 Thread Sergey Smirnov
Exadel Inc. has released Struts Studio 5.2 - Eclipse based Web IDE for Struts URL: http://www.strutsStudio.com New added Features: * Support for Null-Deployment to JBoss 3.2.x * JBoss Control Panel: Start, Stop, Restart and Start in Debug Mode * Integration with Package Explorer View * Embedded

Re: [OT?]Tomcat multiple users developing

2004-01-21 Thread Larry Meadors
1) How do you share the same application development? Do you use a strategy? We are testing our business objects outside struts, Are you all sharing a single tomcat instance for development? If so, stop now! :-) Set up a version control system (like cvs), and use one instance of tomcat per

RE: Struts, Search Page, Help!!!

2004-01-21 Thread Matthew J. Vincent
Thanks for the advice. Now I'm just having trouble thinking. :) if my collection is called strainTypes, but it is jjust an ArrayList of Strings, what do I use: html-el:select property=strainTypes html-el:options collection=strainTypes property=??? labelProperty=/ /html-el:select

RE: Using struts I18N fonctionnalities from an action

2004-01-21 Thread Larry Meadors
Use the MessageResources class. I use struts:i18n ... tags in my application and it works well. Now, i need to use Struts' internationnalization functionalities from an action (use case : I forward to a presentation framework and do not have acces to JSP, I can only use presentation

[OT]session tracking

2004-01-21 Thread McCormack, Chris
I know there are a lot of experienced people on this list so I wanted to ask if anyone had come across a solution to a problem I have been thinking over. Is there a way to track user sessions, without using cookies when using : proxy cache - load balancer - apache - random tomcat server(serving

RE: Struts, Search Page, Help!!!

2004-01-21 Thread Wendy Smoak
Thanks for the advice. Now I'm just having trouble thinking. :) if my collection is called strainTypes, but it is jjust an ArrayList of Strings, what do I use: html-el:select property=strainTypes html-el:options collection=strainTypes property=??? labelProperty=/

Designing for various Actions on JSP

2004-01-21 Thread Parag Marathe
Experts, I have a doubt about mapping various actions (options presented) a user can perform on a JSP and mapping them to Action classes. In detail, I have a JSP page which displays a set of records. Add, Delete, Edit will be buttons displayed on JSP page for those records. How to map these

RE: Designing for various Actions on JSP

2004-01-21 Thread Shishir K. Singh
You may want to look at LookUpDispatchAction or ImageButtonBeansManager (if using images). Shishir -Original Message- From: Parag Marathe [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 21, 2004 10:57 AM To: Struts Users Mailing List Subject: Designing for various Actions on JSP

radio checked???

2004-01-21 Thread Mauricio T. Ferraz
Help!! I have a actionForm with a boolean property and set and get and in my jsp html:radio property=propertyName value=true/ html:radio property=propertyName value=false/ The radio checked always is the second, where is false. How I put the first to be checked when de jsp is loaded? thanks

Radio button CHECKED ???

2004-01-21 Thread Mauricio T. Ferraz
Help!! I have a actionForm with a boolean property and set and get and in my jsp html:radio property=propertyName value=true/ html:radio property=propertyName value=false/ The radio checked always is the second, where is false. How I put the first to be checked when de jsp is loaded? thanks

RE: Designing for various Actions on JSP

2004-01-21 Thread Wendy Smoak
From: Parag Marathe [mailto:[EMAIL PROTECTED] I have a doubt about mapping various actions (options presented) a user can perform on a JSP and mapping them to Action classes. In detail, I have a JSP page which displays a set of records. Add, Delete, Edit will be buttons displayed on JSP

RE: radio checked???

2004-01-21 Thread Wendy Smoak
From: Mauricio T. Ferraz [mailto:[EMAIL PROTECTED] I have a actionForm with a boolean property and set and get and in my jsp html:radio property=propertyName value=true/ html:radio property=propertyName value=false/ The radio checked always is the second, where is false. How I put the

RE: Designing for various Actions on JSP

2004-01-21 Thread shirishchandra.sakhare
Hi Parag, there are many ways of doing this. 1:One action per function(Add,Delete,Edit will each be handled by separate action.) 2.Single action handling all operations(Create,Edit,Delete).on one page. there are advantages and disadvantages or we can say they reflect different design

Re: Struts 1.1, Tiles and sslext11

2004-01-21 Thread Marino A. Jonsson
I'm not currently using it myself ... I'm just familiar with the source code since I am responsible for creating Struts and SSL Ext support for the Apache Velocity Tools project :) cheers, Marinó Adam Hardy [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Found it, it's in the latest

Re: Designing for various Actions on JSP

2004-01-21 Thread Parag Marathe
Thank you Shirish, In case on Solution 1, how will the config file look like? Can you please give an example... Cordially, Parag - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 21, 2004 9:53 PM Subject: RE: Designing for various Actions on JSP

html:link with multiple parameters

2004-01-21 Thread Steven Nakhla
I have a web app that performs a search and returns the results in a Java Collection. I then use logic:iterate to display the returned results. What I would like to add, though, is the ability to edit the returned results. I have an ActionServlet that does security checking and such, and a

RE: html:select multiple=true question

2004-01-21 Thread Mathew, Manoj
I used the same property name for select and Options tag..it worked in a dynaaction form. Thank-you, Manoj Mathew GIS 515-362-0539 -Original Message- From: Morten [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 21, 2004 6:00 AM To: [EMAIL PROTECTED] Subject: html:select

RE: Struts, Search Page, Help!!!

2004-01-21 Thread Matthew J. Vincent
I tried, but it didn't work. Anyway, I used the Apache LabelValueBean to store instead of a String and got it to work: html-el:select property=strainType html-el:options collection=strainTypes property=value labelProperty=label/ /html-el:select However, if I select a value, press submit,

RE: Designing for various Actions on JSP

2004-01-21 Thread Guillermo Meyer
Im my experience, Option 2 is better if you have various use cases that share the same behaviour (list, add, delete, edit). You can create a BaseAction that extends from DispatchAction and have all these methods. For each use case (ie. Operators, Accounts, Clients, etc) you can extend this base

RE: Struts, Search Page, Help!!!

2004-01-21 Thread Hubert Rabago
Your input points to search.do/SearchAction. It's possible that SearchAction is resetting the values of the form. Does it know when to leave the form values alone because it's only being called due to a redisplay of a poppulated input form? --- Matthew J. Vincent [EMAIL PROTECTED] wrote: I

Re: html:link with multiple parameters

2004-01-21 Thread Brad Balmer
Look at http://struts.sourceforge.net/community/taglibs.html LinkParam Tag Steven Nakhla wrote: I have a web app that performs a search and returns the results in a Java Collection. I then use logic:iterate to display the returned results. What I would like to add, though, is the ability to

RE: Struts, Search Page, Help!!!

2004-01-21 Thread Matthew J. Vincent
My SearchAction is pretty dumb. Here is my execute method. However, this forwards to my search.jsp which submits to SearchResultsAction...is this the right way to do it? Essentially I the result of an Action to Submit to another Action, etc. public ActionForward execute(ActionMapping

RE: Struts, Search Page, Help!!!

2004-01-21 Thread Wendy Smoak
From: Matthew J. Vincent [mailto:[EMAIL PROTECTED] However, if I select a value, press submit, and there is an error...the selected value is not saved and pre-selected. Actually, none of the values are saved. My SearchForm has the appropriate getters and setters. How do I accomplish

RE: Struts, Search Page, Help!!!

2004-01-21 Thread Matthew J. Vincent
Aha. That sheds some light. Real quick...here is my situation. My Search page is an Action because I have to lookup certain values in the database and display them in a select box. I then need this Search screen to submit to my actual search which is in SearchResulsAction (which needs to

RE: html:link with multiple parameters

2004-01-21 Thread Richard Hightower
html:link has a name attribute. Set the name to a Map (e.g. HashMap) demo as follows: (syntax may be off) jsp:useBean id=params class=java.util.HashMap / % params.put(action,edit); params.put(id,12345); % html:link action=edit name=params/ Rick Hightower Developer Struts/J2EE training

RE: Struts, Search Page, Help!!!

2004-01-21 Thread Wendy Smoak
Matt wrote: So should I be uing just 1 action class? What is the best approach? It doesn't matter, really. It should work either way. I prefer to keep things together, and it works very well for CRUD operations, which most of mine are. Sorry, didn't mean to distract you from your original

Re: [OT?]Tomcat multiple users developing

2004-01-21 Thread James Mitchell
- Original Message - From: Larry Meadors [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 21, 2004 10:47 AM Subject: Re: [OT?]Tomcat multiple users developing 1) How do you share the same application development? Do you use a strategy? We are testing our business

RE: Struts, Search Page, Help!!!

2004-01-21 Thread Matthew J. Vincent
I'm sorry I am so lost today! Now...here is the problem I am having. When a user goes to http://localhost:/search.do From my understanding this will call my SearchAction class as specified in my struts-config.xml file: form-beans form-bean name=strainSearchForm

RE: Struts, Search Page, Help!!!

2004-01-21 Thread Hubert Rabago
Are you using struts html tags to write the rest of your form? --- Matthew J. Vincent [EMAIL PROTECTED] wrote: I'm sorry I am so lost today! Now...here is the problem I am having. When a user goes to http://localhost:/search.do From my understanding this will call my SearchAction

RE: Struts, Search Page, Help!!!

2004-01-21 Thread Matthew J. Vincent
Yes. html-el:text property=strainName/ etc. -Original Message- From: Hubert Rabago [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 21, 2004 2:05 PM To: Struts Users Mailing List Subject: RE: Struts, Search Page, Help!!! Are you using struts html tags to write the rest of your

RE: Struts, Search Page, Help!!!

2004-01-21 Thread Hubert Rabago
Can you send your entire html form? --- Matthew J. Vincent [EMAIL PROTECTED] wrote: Yes. html-el:text property=strainName/ etc. -Original Message- From: Hubert Rabago [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 21, 2004 2:05 PM To: Struts Users Mailing List

RE: Struts, Search Page, Help!!!

2004-01-21 Thread Wendy Smoak
Matthew wrote: input = /search.do Shoudn't that be search.jsp instead? I don't believe I've ever seen an action used as input. I take back my advice to put name=formname in the search.do mapping, based on your description. But it doesn't seem like SearchAction has much of a

Unit Test in struts

2004-01-21 Thread Vinicius Carvalho
Hi there! I've heard about a tool (like JUnit) but especific to be used with struts, where I can test my actions, forms and jsp pages, problem is ... I cant rememeber the name, does anyone knows about it? thnx Vinicius - To

RE: Unit Test in struts

2004-01-21 Thread Robert Taylor
Google: http://www.google.com/search?hl=enie=UTF-8oe=UTF-8q=Unit+Test+In+Struts I believe you want: http://strutstestcase.sourceforge.net/ but I could be wrong. robert -Original Message- From: Vinicius Carvalho [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 21, 2004 2:17 PM

RE: Unit Test in struts

2004-01-21 Thread Shane Mingins
You could be thinking of StrutsTestCase but I am not sure if it will test your JSP pages? http://strutstestcase.sourceforge.net/ To test web pages you could look at Canoo WebTest http://webtest.canoo.com/webtest/manual/WebTestHome.html HTH Shane -Original Message- From: Vinicius

Re: Radio button CHECKED ???

2004-01-21 Thread Christian Bollmeyer
Am Mittwoch, 21. Januar 2004 11:17 schrieb Mauricio T. Ferraz: Help!! I have a actionForm with a boolean property and set and get and in my jsp html:radio property=propertyName value=true/ html:radio property=propertyName value=false/ The radio checked always is the second, where is false.

RE: Unit Test in struts

2004-01-21 Thread Chappell, Simon P
Well, we use Junit for testing our business logic (you do have your business logic split out into seperate objects right?), HttpUnit for functional testing and JUnitPerf for performance/load testing. We use all of these right now and are very happy with them. (ok, the DOM stuff in HttpUnit

Form validation errors

2004-01-21 Thread sbruton
I am having trouble accessing messages from a resource bundle when form validation fails. In a jar file under the WEB-INF/lib directory I have the following: net/neospire/extranet/resources/Application.properties inside the properties file I have the following: errors.required={0} is required

Re: Form validation errors

2004-01-21 Thread sbruton
snafu, bean:write name=error/ seems to work... On Wed, Jan 21, 2004 at 02:34:18PM -0600, [EMAIL PROTECTED] wrote: I am having trouble accessing messages from a resource bundle when form validation fails. In a jar file under the WEB-INF/lib directory I have the following:

RE: Form validation errors

2004-01-21 Thread Richard Hightower
Try this to see if it works: logic:messagesPresent html:messages id=error %=error% /html:messages /logic:messagesPresent If the above works, make sure you imported the right tld for core. Core has a JSTL EL tld (c.tld), and a runtime expression tld (crt.tld??) Howsa 'bout showing

RE: Unit Test in struts

2004-01-21 Thread Richard Hightower
you should try jWebUnit. i like it a lot. -Original Message- From: Chappell, Simon P [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 21, 2004 12:52 PM To: Struts Users Mailing List Subject: RE: Unit Test in struts Well, we use Junit for testing our business logic (you do have your

RE: Unit Test in struts

2004-01-21 Thread Chappell, Simon P
Richard, What do you use jWebUnit to test? Simon -Original Message- From: Richard Hightower [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 21, 2004 3:26 PM To: Struts Users Mailing List Subject: RE: Unit Test in struts you should try jWebUnit. i like it a lot. snip

[POLL] Your PSE? Struts, Tomcat, Java, Apache, SSL, mod_jk, etc.. .

2004-01-21 Thread Viggio, Alex
A quick poll as my group considers migrating a Struts web app to a more up-to-date environment. What production environment(s) are your Struts web applications running under? What operating system? What versions of Struts, Tomcat (or other JSP/Servlets container), Java, Apache (or other HTTP

Re: Form validation errors

2004-01-21 Thread sbruton
That was it, missing some JSTL TLD's. Thanks. On Wed, Jan 21, 2004 at 02:24:27PM -0700, Richard Hightower wrote: Try this to see if it works: logic:messagesPresent html:messages id=error %=error% /html:messages /logic:messagesPresent If the above works, make sure you imported

Wishing I could use multiple ActionForms...

2004-01-21 Thread Brian Ivey
Hello, I am working on an application that prompts a user for information over the course of three successive JSP pages. The user selects to continue after completing all required fields on each page. I've developed one ActionForm that contains all of the fields of the first two JSP pages and

RE: Wishing I could use multiple ActionForms...

2004-01-21 Thread Richard Hightower
Put the first ActionForm in session scope. (scope=session in the action mapping) You can get from the attribute attribute in the action mapping. (just see what you have this set to) if the attribute attribute is blank then the value of the attribute attribute becomes the name attribute. just

RE: [POLL] Your PSE? Struts, Tomcat, Java, Apache, SSL, mod_jk, e tc.. .

2004-01-21 Thread Mainguy, Mike
Current: Tomcat 4.1, IIS, mod_jk2, Windows 2000, SSL on external device Future: Websphere 5.1, Apache 2.0, HP-UX 11, SSL on external device Preference: Tomcat 4.1, Apache 2.0, mod_jk2, Linux (Redhat 8), mod_ssl The future is defined by the suits and their money, not by my personal preference. I

RE: Wishing I could use multiple ActionForms...

2004-01-21 Thread Wendy Smoak
Finally, my question: How do I retain the data entered on the first two pages and contained in the first ActionForm? Put it in session scope and take care not to reset the fields prematurely. -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management

reset property using DynaActionForm

2004-01-21 Thread Daynell Trent
Hi, I'm using a DynaActionForm (lazy, didn't want to write all the setter and getter with ActionForm) but I don't know how to reset it property inside my action class. I did use DynaActionForm.reset() method in my action class but did not work. Is there another way to reset it property?

RE: reset property using DynaActionForm

2004-01-21 Thread Richard Hightower
Use the initial attribute on the form-property/ (???) element. -Original Message- From: Daynell Trent [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 21, 2004 4:44 PM To: Struts Users Mailing List Subject: reset property using DynaActionForm Hi, I'm using a DynaActionForm (lazy,

Re: reset property using DynaActionForm

2004-01-21 Thread Daynell Trent
I did it still not working. Here is the sniplet From struct-config.xml: form-bean name=domainDtForm type=org.apache.struts.action.DynaActionForm form-property name=exceptNewInd type=java.lang.String initial=N/ form-property name=reslntNewInd type=java.lang.String initial=N/

Form is not submited - nothing happens?!?

2004-01-21 Thread Matthias Winkler
Hi, I am trying to submit a form. I have the following things: struts-config.xml: action path=/finishPickActionMulti type=com.sap.cr.mima.warehouse.struts.actions.FinishPickMultiAction name=warehouseForm scope=session validate=true input=/multi/pick_multi.jsp forward name=failure

[OT]Variable evaluation in XAPTH expression

2004-01-21 Thread Prashanth.S
Hi all, Iam using jdom for xml parsingso to search a particular element in a xml iam using XPATH and iam trying to construct XPATH expression dynamicallyis it possible to use variables inside XPATH expressionlike String map=europe; XPath servletPath = XPath.newInstance(/*/*/[EMAIL

HttpSession size - is this code correct?

2004-01-21 Thread Khalid K.
Hi, I am trying to dertemine the size of the session object, I've looked around and have written the following, please let me if this is correct. Enumeration e = session.getAttributeNames(); ByteArrayOutputStream bos = new ByteArrayOutputStream(); ObjectOutputStream s =

RE: Struts-Menu (Support URL Re-writing)

2004-01-21 Thread Parag Pattewar
Hi Matt I am using JDK1.4 and Struts-Menu1.1. I tried to do the same thing with struts-menu2.1 , but as I am using struts-layout1.1 its not supporting struts-menu2.1 Can you help me to get the compatible version of Struts-Layout2.1 and struts-menu2.1.Which will support the action and forward

Re: [OT]Variable evaluation in XAPTH expression

2004-01-21 Thread Kris Schneider
The JDOM XPath class has a method called setVariable, and variables in XPath expressions start with the $ character. I've never played with the JDOM XPath stuff, but I assume it's something like: XPath xp = XPath.newInstance(/*/*/[EMAIL PROTECTED]); xp.setVariable(map, europe); Prashanth.S

Re: [OT]Variable evaluation in XAPTH expression

2004-01-21 Thread Prashanth.S
Hi kris, Thanks a lot...This code works for me... Thanks once again for solving all my problem. Prashanth Kris Schneider [EMAIL PROTECTED] wrote: The JDOM XPath class has a method called setVariable, and variables in XPath expressions start with the $ character. I've never played with the

How to Implement Roles

2004-01-21 Thread Parag Marathe
Experts, I have a typical problem implementing roles. I have roles like Super User, Accounts User , General user. With Super User having access to all, Accounts and General User are restricted. Same JSP will be displayed to all users. But each will see different set of functions on it. e.g. on

SOLVED: Re: problems w/ logging.. again

2004-01-21 Thread Adam L
Curtis: Thank you very much for your insight. Indeed, adjusting the app server log4j.xml did the trick. Very disconcerting, I must say, to not be able to set it on a per-app basis, as well as having to turn a lot of stuff explicitly off (raising its level) once I changed the logger

RE: Radio button CHECKED ???

2004-01-21 Thread Nimish Chourey , Tidel Park - Chennai
In this tag ... It checks the property with value , if they are same , then it shows that raio button as checked .. In this case your bean property is initialized to false , hence it always shows that radio butoon as checked .. -Original Message- From: Mauricio T. Ferraz

RE: Session Problem

2004-01-21 Thread Craig R. McClanahan
Better late than never (hot cpu chip literally fried a motherboard) ... Quoting Andrew Hill [EMAIL PROTECTED]: snip How do I make sure the session on both the browsers will be different other than URL Rewriting. /snip For Netscape (and I presume Mozilla but haven't checked), I don't