LookUpDispatchAction :does not contain handler parameter named ...

2004-05-25 Thread shankarr
Hi! I am getting an exception which reads like this : *:does not contain handler parameter named empfieldsaction * I have the following jsp. Leads Custom Fields   My struts-config-temp.xml entry is : I use partitioned struts-config.xml file . In the particular case, I hav

Re:Struts-error

2004-05-25 Thread praveen kulkarni
Hi Larry, (1) is there any way to do in struts to display the error on an error jsp? -> Yes , if you can forward from Action Class as mapping.findForward("failure"); then in Struts-config.xml you can specify in tag. (2)What is your opinion on pros and cons of these two approaches:

FW:Re:Hot Erotic

2004-05-25 Thread malcolm
- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

FW:Re:Hot Erotic

2004-05-25 Thread malcolm
- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: How to get length of an array(collection)

2004-05-25 Thread Ding Lei
Joe, Henrique & Robert: Thank you for replies, they all works :) yours, lei On Mon, May 24, 2004 at 03:38:54PM -0500, Joe Germuska wrote: > At 1:44 PM +0800 5/22/04, Ding Lei wrote: > >Hello all, > > There is an array(dsmccList) obtained by a self-defined tag, > >and I wanna to send th

Re: How to get length of an array(collection)

2004-05-25 Thread Ding Lei
Joe, Henrique & Robert: Thank you for replies, they all works :) yours, lei On Mon, May 24, 2004 at 03:38:54PM -0500, Joe Germuska wrote: > At 1:44 PM +0800 5/22/04, Ding Lei wrote: > >Hello all, > > There is an array(dsmccList) obtained by a self-defined tag, > >and I wanna to send th

Re: How to get length of an array(collection)

2004-05-25 Thread Ding Lei
Joe, Henrique & Robert: Thank you for replies, they all works :) yours, lei On Mon, May 24, 2004 at 03:38:54PM -0500, Joe Germuska wrote: > At 1:44 PM +0800 5/22/04, Ding Lei wrote: > >Hello all, > > There is an array(dsmccList) obtained by a self-defined tag, > >and I wanna to send th

Adding components to the path

2004-05-25 Thread Kevin Cramer
I'm working on porting an older project where a certain parameter was put into the path whereas in Struts it would have been added to the query string. The idea is that at the beginning of the path the product name / theme is added. For example, http://mywebsite.com/myapp/myproduct/account/view

checkbox on indexed form field

2004-05-25 Thread Matt Bathje
Hey all. I have an indexed form with data that looks like this: checkbox1, textbox1_1, textbox1_2 checkbox2, textbox2_1, textbox2_2 checkbox3, textbox3_1, textbox3_2 etc. The checkbox is used to mark that "row" active or inactive. If the checkbox is unchecked, and I check it, the row becomes "a

Re: Validator question

2004-05-25 Thread Joe Germuska
At 5:15 PM -0500 5/25/04, Peter Martin wrote: I have a select list that I want to validate the user picked one of the values. The options in the select list are as follows: option[0]value = "" label = "Please Select" option[1]value = "P" label = "Probation" option[2]value = "T"

Validator question

2004-05-25 Thread Peter Martin
I have a select list that I want to validate the user picked one of the values. The options in the select list are as follows: option[0]value = "" label = "Please Select" option[1]value = "P" label = "Probation" option[2]value = "T" label = "Trial" option[3]value = " "

RE: Pagination of Query Results Without Getting All Results At On ce

2004-05-25 Thread Hookom, Jacob
Not unless you want to do something via proxy or a ListAdaptor to your DataSource. Extend AbstractList and override methods to load additional items from a transiently referenced datasource or service that can be looked up. We use this for our application where we have lots of data that we want t

Pagination of Query Results Without Getting All Results At Once

2004-05-25 Thread Dhruva B. Reddy
I am working on an application with a page that uses pager-taglib to break down query results so that only ten show up on each page. However, as far as I can tell, this tag library assumes that all the query results have been retrieved from the database. I have been tasked with modifying the app

RE: tag

2004-05-25 Thread Robert Taylor
http://jakarta.apache.org/struts/userGuide/struts-html.html#link > -Original Message- > From: PADALA, SANDHYA (SBCSI) [mailto:[EMAIL PROTECTED] > Sent: Tuesday, May 25, 2004 4:47 PM > To: [EMAIL PROTECTED] > Cc: PADALA, SANDHYA (SBCSI) > Subject: tag > > > I am trying to generate usi

tag

2004-05-25 Thread PADALA, SANDHYA (SBCSI)
I am trying to generate using tag. I need to append a query string at the end of the URL What I want to achieve is LINK Using LINK Can someone give me an example on how to use tag using paramID attribute. Thanks for any assistance Sandhya -

Re: How to avoid File Download Dialog box?

2004-05-25 Thread Hubert Rabago
You should send this to the Struts User list ([EMAIL PROTECTED]) instead of the dev list. When you do, it might help to include the HTML code for the link that causes this. This problem looks like it could be caused by a conflict between your URL extension and an application or browser plugin ins

Help with error-- Failure initializing struts-menu

2004-05-25 Thread logesons
I am new to struts and am trying to get struts-menu to work in my application. I keep gettting this error and cannot find anything wrong in my menu-config.xml file. Any help with this would be greatly appreciated, since I'm at the end of my rope (been working on this problem for 2 days now).

Invalid path STRUTS error

2004-05-25 Thread Hammer
Hi All, I am getting this error still. Error Code :400 Error occured while processing request : http://xyx.com/TerrorismApp/error.jsp Exception Type : com.ibm.servlet.engine.webapp.WebAppErrorReport Message : Invalid path /countryWiseDetailsInput was requested Stack T

Failure initializing struts-menu: Error parsing resource file -- Help!

2004-05-25 Thread logesons
I am new to struts and am trying to get struts-menu to work in my application. I keep gettting this error and cannot find anything wrong in my menu-config.xml file. Here is the error I'm receiving: javax.servlet.ServletException: Failure initializing struts-menu: Error parsing resource file

Re: Multi-page form: DynaValidatorForm.setPage(..) not called?

2004-05-25 Thread Niall Pemberton
I believe something like - Original Message - From: "Stunger, Kevin J" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Tuesday, May 25, 2004 7:53 PM Subject: RE: Multi-page form: DynaValidatorForm.setPage(..) not called? Where would that go? My IDE (

Re: Catch-all ActionMapping?

2004-05-25 Thread None None
Fantastic, thank you! I'll have to go have a look at the logging options you mentioned... that will answer another question I had, which was about the fact that I kept getting an annoying "properly initialize the Log4J system" when I started my app. My startup plugin was initializes Log4J, but

Re: Catch-all ActionMapping?

2004-05-25 Thread Hubert Rabago
--- None None <[EMAIL PROTECTED]> wrote: > First, can anyone explain the settings of the debug and detail init params > of ActionServlet? I haven't been able to dig up any good detail. The best I believe the "debug" setting has been deprecated in favor of log settings for commons-logging (or w

Catch-all ActionMapping?

2004-05-25 Thread None None
Hello all... I guess this is really actually two questions... First, can anyone explain the settings of the debug and detail init params of ActionServlet? I haven't been able to dig up any good detail. The best I've found is that higher numbers are more detailed, but what's the highest possibl

RE: struts error message

2004-05-25 Thread Slattery, Tim - BLS
> Struts has an internal tag to show the action > errors on the current jsp page, which is OK. However, our > business requirement is that in case there is an error, we > display the error on an error jsp, then it is not advisable > or easily to use since this tag is normally > placed on the

struts error message

2004-05-25 Thread Zhang, Larry \(L.\)
Struts has an internal tag to show the action errors on the current jsp page, which is OK. However, our business requirement is that in case there is an error, we display the error on an error jsp, then it is not advisable or easily to use since this tag is normally placed on the current jsp

Re: Logic Tags using OR

2004-05-25 Thread Nathan Maves
Why not use jstl? do something... nathan On May 25, 2004, at 1:15 PM, Ciaran Hanley wrote: Can the struts logic tags be used to perform OR Logic? For example instead of ...do this ...do this ...do this ...do this Any ideas anybody? Thanks CH

RE: Logic Tags using OR

2004-05-25 Thread Slattery, Tim - BLS
> Can the struts logic tags be used to perform OR Logic? No, but the JSTL tag can do it easily. For your example: ...do this -- Tim Slattery [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comma

Re: Logic Tags using OR

2004-05-25 Thread gdeschen
Hi, The can only used to test against one value. Perhaps in your example you can us something like: ...do this - Glenn "Ciaran Hanley" <[EMAIL PROTECTED]> 25/05/2004 03:15 PM Please respond to "Struts Users Mailing List" To: "Struts User Mailing List" <[EMAIL PROTECT

Logic Tags using OR

2004-05-25 Thread Ciaran Hanley
Can the struts logic tags be used to perform OR Logic? For example instead of ...do this ...do this ...do this ...do this Any ideas anybody? Thanks CH

RE: Multi-page form: DynaValidatorForm.setPage(..) not called?

2004-05-25 Thread Stunger, Kevin J
Where would that go? My IDE (eclipse) complains about it as attributes in using http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd or http://jakarta.apache.org/struts/dtds/struts-config_1_2.dtd. EX: marks page as an error.

RE: Wizards, multiboxes, and hidden forms, oh my! (solved)

2004-05-25 Thread DGraham
Well, I decided to pick up "Struts in Action", and, as luck would have it, the book contains a nifty solution on handling resets in session scoped beans. [EMAIL PROTECTED] 05/24/2004 03:56 PM Please respond to "Struts Users Mailing List" <[EMAIL PROTECTED]> To "Struts Users Mailing

Validator.xml

2004-05-25 Thread Zakaria khabot
Hi all, I am using Validator.xml to compare if the LIB in the formset is the same in my DataBase corresponding to a COD which is in an other field of the formset. In My Validation.xml : field[0] cod_grade fieldTest[0] COD_DEPT fieldValue[0] LIB_DEPT fieldTable[0] TAB_DEPT

RE: Submit Design Question

2004-05-25 Thread None None
Seems valid. In general, each individual action is mapped to it's own action. You can (and sometimes should) break that rule when appropriate, but more times it tends to be true than not. For question #2, one thing you can do is submit some sort of flag value from /app/Contact that /app/Conta

Re: nl2br equivalent?

2004-05-25 Thread Paul Barry
Another way to do it is to create a wrapper method in your form that does the replacing. So if you have a text property in the form, create a textAsHTML method that return the test property with the line breaks replaced. That could get ugly if you have lots of fields like that, so I would the

Re: nl2br equivalent?

2004-05-25 Thread Henrique VIECILI
Ok, there isn´t an 'incredibly useful nl2br' but there is a 'marvelous regex-based method' to do this using Java: String nl = "String with \n new line"; String br = nl.replaceAll("\n",""); or you can try using Commons Lang and cc-* taglibs. Henrique Viecili - Original Message - Fr

RE: nl2br equivalent?

2004-05-25 Thread Daniel Perry
usefull... though it adds yet another tag library to my pages! best i came up with is: <% pageContext.setAttribute("lf", "\n"); %> is there really no escape sequence for new line in el? Would seem like a rather big shortfall to me! Daniel. > -Original Message- > From: Niall Pemberto

AW: Tiles performance - jsp vs jspf

2004-05-25 Thread Rosenberg, Leon
I don't know anything about jspf's performance (yet :-)) but we are measuring the performance of jsps, and they take about 0.x ms for generation (incl. tiles) on a good container (resin, tomcat5) , so I don't think you should have a headache there. > -Ursprüngliche Nachricht- > Von: Mar

Re: nl2br equivalent?

2004-05-25 Thread Niall Pemberton
http://jakarta.apache.org/taglibs/doc/string-doc/index.html#replace - Original Message - From: "Daniel Perry" <[EMAIL PROTECTED]> To: "Struts User List" <[EMAIL PROTECTED]> Sent: Tuesday, May 25, 2004 5:50 PM Subject: nl2br equivalent? > I am a bit surprised, but there doesn't seem to b

Submit Design Question

2004-05-25 Thread gdeschen
Hi, I have an application that permits a user to view and update Contact information. /app/Contact (gets data from the DB) --> posts to --> /app/ContactSubmit (updates the data after validation) I would like to ensure that the application is solid and executes smoothly (doesn't eveyone!). ;>

Tiles performance - jsp vs jspf

2004-05-25 Thread Marcella Turner
I'm very excited to be converting a Stuts application to Struts Tiles. However, I have a consideration that I could use some best practices opinions on. The current application has severa .jspf files which are used as includes to main jsp files. While doing a proof of concept for converting t

RE: .properties file --> Again I18n problem

2004-05-25 Thread SMETS Thomas
Check that EVERYTHING is UTF-8 JSP's, java source (irrelevant but ...), property files, ... Weblogic also accepts the following in its weblogic.xml encoding UTF-8 If you do XHTML you can also add the follwoing two to your JSP's. <%@ page pageEncoding="UTF-8" %> Hop

Re: Compressing your struts for faster transfer

2004-05-25 Thread Riyad Kalla
It is very cool, but expensive for server resources (like SSL). So if your server spends most of its time sitting around, compression can be a nice addition. On Friday 21 May 2004 10:02 am, Irfandhy Franciscus wrote: > Hi, > > I jsut found out this very neat way of compressing our struts pages >

Re: Question regarding use/stability of Struts 1.2 pre-release

2004-05-25 Thread Joe Germuska
I'm not doing the next release, but I think people still haven't caught on to the new versioning process. With the beginning of the 1.2.x line, Struts has adopted the release numbering scheme used by Apache HTTPD and Tomcat. This is elaborated at length (and with some more formality than Stru

nl2br equivalent?

2004-05-25 Thread Daniel Perry
I am a bit surprised, but there doesn't seem to be an equivalent to php's incredibly useful nl2br in jstl... Is there an easy method I'm missing that will output a string after converting line breaks to tags? Daniel. - To unsu

RE: JSTL and Multibox Submit Problem (SOLVED)

2004-05-25 Thread Ricardo Cortes
That makes sense. I'm not sure why I didn't think of that. I guess I was assuming the would take care of the form submission since it was embedded in an . So, I've added an onclick attribute to my as follows and it worked just fine: delete Voila! (It's the French Open this week.) Thanks

RE: Compressing your struts for faster transfer

2004-05-25 Thread Hookom, Jacob
FYI http://www.mail-archive.com/[EMAIL PROTECTED]/msg95667.html -Original Message- From: Irfandhy Franciscus [mailto:[EMAIL PROTECTED] Sent: Friday, May 21, 2004 12:03 PM To: [EMAIL PROTECTED] Subject: Compressing your struts for faster transfer Hi, I jsut found out this very neat way

Re: JSTL and Multibox Submit Problem

2004-05-25 Thread Richard Yee
Ricardo, If you are going to use the html:link tag, then you need to have it trigger a call to a JavaScript function that will submit the form for you. Otherwise, jjust clicking the link will not submit the form. Regards, Richard --- Ricardo Cortes <[EMAIL PROTECTED]> wrote: > Hi there, > > I a

Compressing your struts for faster transfer

2004-05-25 Thread Irfandhy Franciscus
Hi, I jsut found out this very neat way of compressing our struts pages using GZIP for faster transfer. Basically we'll use a filter to ZIP our pages. here are some URL for references: http://www.onjava.com/pub/a/onjava/2003/11/19/filters.html?page=2 http://www.servletsuite.com/servlets/gzipflt.

JSTL and Multibox Submit Problem

2004-05-25 Thread Ricardo Cortes
Hi there, I am having a problem getting the checked values from a multibox that is submitted to my action and I was hoping one of you could help me out. I followed Ted Husted's example of using a Multibox within an iteration but I have a feeling that my setup is a bit different and thus render

JBuilderX & Weblogic 6.1

2004-05-25 Thread Le Goff, Yoann
is somebody work with JBuilderX & Weblogic 6.1 could you send me an email ? 've got a context-root problem, thx & sorry ! Y.

Re: Question regarding use/stability of Struts 1.2 pre-release

2004-05-25 Thread Hubert Rabago
I've been using 1.2.0 since it's been announced and have had no problems. However, additions to the framework since then have already made me feel like I'm using an obsolete version. :) There's been some obscure (IMO) compatibility issues with some obscure (again IMO) utility method, but then aga

Question regarding use/stability of Struts 1.2 pre-release

2004-05-25 Thread Linck, Ken
Hello, I am are interested in the wildcard action mapping functionality in Struts 1.2. Since 1.2 is not in a release state, I went back to the contributor of the wildcard action mapping functionality to get his oppinion on whether or not is was better to use the seperate package he use to mainta

Re: Multi-page form: DynaValidatorForm.setPage(..) not called?

2004-05-25 Thread Niall Pemberton
You need to include the "page" property in your form definition in the struts-config.xml Niall - Original Message - From: "Stunger, Kevin J" <[EMAIL PROTECTED]> To: "Struts Users Mailing List (E-mail)" <[EMAIL PROTECTED]> Sent: Monday, May 24, 2004 10:44 PM Subject: Multi-page form: Dyna

RE: Using ActionMessages in the session

2004-05-25 Thread Paul McCulloch
The session scope equivalent of "saveErrors(request, errors)" is "request.getSession().setAttribute(Globals.ERROR_KEY, errors)". Paul > -Original Message- > From: Jim Kennedy [mailto:[EMAIL PROTECTED] > Sent: 25 May 2004 14:30 > To: 'Struts Users Mailing List' > Subject: Using ActionMessa

java.lang.ExceptionInInitializerError in Struts

2004-05-25 Thread Hari Kiran Golla
Hi , I have deployed struts application on WebLogic 8.1 and on start up I am observing java.lang.ExceptionInInitializerError error for Action Servlet. Below is the stacktrace of the error. Please write your comments on this problem. Thanks, HAri. **

Rewrite perform method from ActionForward class

2004-05-25 Thread Juliano
Hey whatÂs up people? IÂm meeting this forum for the first time, I would like to ask you guys some questions, I hope you may understand me... So, actually I have combo boxes in my form, when I load the page, the first combo brings a value like Country, then if I select the country, the State c

Using ActionMessages in the session

2004-05-25 Thread Jim Kennedy
I am using struts 1.1 and have implemented ActionMessages inside some generalized user-response pages. The problem I'm having is that these messages are not visible when I redirect from my controller action. I'm sure this is because "saveMessages" only saves the ActionMessages in request-scope.

application authentication and forwarding

2004-05-25 Thread DIOT,ANTOINE
-- Sorry all if you're receiving this twice. I sent this to [EMAIL PROTECTED] originally. Not sure which is more appropriate. -- Hello All. Thanks in advance for your help. I'm trying to implement Application controlled security in conj

AW: Set DynaActionForm to see values in textfields...(form-page)

2004-05-25 Thread johannes Schwarz
Oh sorry, the HashMaps works correct, BUT only if you DONT use a DyaActionForm Formular. If you use this (the Validation) you have to use also a DynaActionForm-Session Object (or request-Object). now i have find something which helps me!! http://radio.javaranch.com/channel/jason/2004/03

multiple actionforms into one action

2004-05-25 Thread Peter Bosmans
Hello, I was wondering if it's possible to use two actionforms in one action. I'm playing with the following idea : In my loginform, i will validate loginname and password, Then i go to loginaction where i assemble a list for that user and want to put the result of this list into the listform that

RE: struts.meetup.com (Re: [OT] Struts users in [my city, my coun try])

2004-05-25 Thread Joe Germuska
At 11:38 AM +0100 5/25/04, Pilgrim, Peter wrote: When using struts.meetup.com I was curious to find out how do you find out about the people meeting up? How many? Where the venue is? Or is this site another message board thing? I just dont want to waster anybodies time or mine. I believe that the s

AW: Set DynaActionForm to see values in textfields...(form-page)

2004-05-25 Thread johannes Schwarz
Thanks... For two minnutes i tested the following code in one Action bevor a struts-formular it works ;-) - HashMap linkMap = new HashMap(); linkMap.put("name", "Schwarz"); linkMap.put("vorname", "Johannes"); linkMap.put("textbereich

RE: struts.meetup.com (Re: [OT] Struts users in [my city, my coun try])

2004-05-25 Thread Pilgrim, Peter
I just signed up to the Struts meet up subsite. For reasons stipulated in my previous note I probably wont be there for proposed London June 17th meeting. When using struts.meetup.com I was curious to find out how do you find out about the people meeting up? How many? Where the venue is? Or is t

RE: [OT] Struts Users in London / meet+greet / pub / networking / BOF ? / pre J1

2004-05-25 Thread Pilgrim, Peter
> -Original Message- > From: James Neville [mailto:[EMAIL PROTECTED] > Sent: 24 May 2004 17:27 > To: Struts Users Mailing List > Subject: Re: [OT] Struts Users in London / meet+greet / pub / > networking > / BOF ? / pre J1 > > > Pilgrim, Peter wrote: > > >Hi > > > >Are there any Strut

Re: Set DynaActionForm to see values in textfields...(form-page)

2004-05-25 Thread Nimish Chourey
Hi Johannes , Are you sure this code works ?? String field1 = (String) PageA.get("field1"); String textfield2 = (String) PageA.get("textfield2"); . DynaActionForm PageB = (DynaActionForm) session_automatic.getAttribute("PageB"); String textfield1 = (String) PageB.get("textfield1"); Strin

Set DynaActionForm to see values in textfields...(form-page)

2004-05-25 Thread johannes Schwarz
Hello, I have created more than one form-pages with struts. After validation i can read the values in the Action with: - HttpSession session = httpServletRequest.getSession(); DynaActionForm PageA = (DynaActionForm) session_automatic.getAttribute("PageA"); //This is a DynaActionForm-Objec

binary data from form

2004-05-25 Thread Tuğrul Ünsal
Hi, I am migrating an old project to struts. In the old project I had a jsp which has a form with definition like and some text and file type inputs in it. In somejsp.jsp I take the request object and process it in a java class. In the following statements : ServletInputStream in =

Set DynaActionForm to see values in textfields...(form-page)

2004-05-25 Thread johannes Schwarz
Hello, I have created more than one form-pages with struts. After validation i can read the values in the Action with: - HttpSession session = httpServletRequest.getSession(); DynaActionForm PageA = (DynaActionForm) session_automatic.getAttribute("PageA"); //This is a DynaActionForm-Objec

Validator & Dynamic Variables

2004-05-25 Thread Enrique Medina
Hi, I would like to know if it's possible to indicate a validation of type "date" indicating as a dattePatern/datePatternStrict a key from an application resource message file. I mean, instead of: datePatternStrictMMdd to be able to indicate the "MMdd" dynamically (to be found throug

Re: Browsing for a directory

2004-05-25 Thread Duncan Mills
I think you'll have to write a Java applet to do this - you'll have the addition issue that the applet in question would have to be signed and the certificate accepted on the client. If you could guarantee that all your clients will use a certain browser type then this will not be an issue b

[OT]UK Struts Interest Group

2004-05-25 Thread Duncan Mills
All, As we have a few UK based folks who are interested in getting together I've created a Yahoo Group as a rallying point: http://groups.yahoo.com/group/struts_sig_uk Sign up there and we can attempt to organise drinkies without cluttering up the main list. -- Regards Duncan Mills Senior Princ