Conflict between struts 1.0 and 1.1

2004-02-12 Thread Shea Yung Kang, LSA (IT)
Hi folks. I deployed an application that comprises of modules developed with Struts 1.0 and 1.1 on iPlanet Apps Server 6.5. When I run the modules concurrently, I encountered the following errors: javac error: C:\iplanet\ias6\ias\APPS\cgsImportEar\cgsImportWar\WEB-INF\compiled_jsp\jsp\APPS\cgs

Re: html:button and Javascript

2004-02-12 Thread Rahul Mohan
u cant nest tags like this try this: <% String onClickString = "location.href" + myString; %> another way u can do this is by using html_rt tags: i am not sure abt the second one especially the quotes...u can give it try - Original Message - From: "Sniadach, Tomasz" <[EMAIL PRO

Re: Hi

2004-02-12 Thread Vishal Arora
Thanks for the solution but I have used each and evrything. it runs fine oracle and Mysql.. and i have using dbcp Tomcat's DataSource object with oracle 9i but now the problem lies when i use Tomcat5.0 with Informix9.x Database server. if u have ever tried t implement it then please tell how

Re: what is wrong with this code

2004-02-12 Thread Rahul Mohan
Hi there, In the jsp get the thing as : request.getParameter(Konstanten.ADRESSEN_RESULT_START_INDEX_KEY) this shud workor u can use jstl To: <[EMAIL PROTECTED]> Sent: Thursday, February 12, 2004 3:37 PM Subject: what is wrong with this code putting an attribute in my request ... the

RE: Hi

2004-02-12 Thread Navjot Singh
any of the 3 will do 1. configure the data source in tomcat 2. configure the data source in struts 3. write your own pool implementation using apache commons pool and dbcp hth Navjot Singh >-Original Message- >From: Vishal Arora [mailto:[EMAIL PROTECTED] >Sent: Friday, February 13, 2004

RE: multiple struts-config files

2004-02-12 Thread Navjot Singh
Hi >I've read some mails about multiple struts-config files, but still >have some questions: >-what's the advantage of using multiple struts-config files in one >application ? Is it better for performance ? Rather than performace issue, it's more of teams-developing-on-diff-modules and project-m

Problem with Connection Pooling?

2004-02-12 Thread Vishal Arora
Please anyone knowing how to use the Connection Pooling in struts or Tomcat5.0 with Informix as database help me out.. Thanks in advance. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Hi

2004-02-12 Thread Vishal Arora
Please anyone knowing how to use the Connection Pooling in struts or Tomcat5.0 with Informix as database help me out.. Thanks in advance. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROT

RE: [OT] Case insensitive Map keys

2004-02-12 Thread Navjot Singh
oops!! thanks for correcting me freddy. well in that case, if you map is not modified frequently, try the FastHashMap from the Apache Commons. either you override and read and write your own. >-Original Message- >From: Villalba Arias, Fredy [BILBOMATICA] [mailto:[EMAIL PROTECTED] >Sent: T

Re: PropertyDescriptor: internal error while merging PDs: with jdk1.4

2004-02-12 Thread Anand Stephen
This error was as one of the classes in the project had a mismatch between the field type and return for the getter. What's interesting is that the error was not caused when run with jdk1.3. thank you, --a - Original Message - From: "Anand Stephen" <[EMAIL PROTECTED]> To: "Struts User

RE: struts actions and content/type responses

2004-02-12 Thread Michael McGrady
Don't forget to return the null? At 04:35 AM 2/12/2004, you wrote: thank you mark, that worked a treat :-) cheers, Ben -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: 12 februari 2004 12:45 To: Struts Users Mailing List Subject: Re: struts actions and content/type re

Re: struts actions and content/type responses

2004-02-12 Thread Michael McGrady
I provided the code to do this about two weeks ago on this list. At 03:30 AM 2/12/2004, you wrote: hello, i am looking for a solution for the following problem: in my database i have various BLOB items which represent images (gif or jpg). i would like to create a struts action which returns thi

RE: [OT] - Request against Session

2004-02-12 Thread Michael McGrady
But the workflow solution is for situations when you dont want to use session scope But still want to share data across screens And also manage Modal dialogue boxes in a wizard liek flow. This is not consistent with the workflow application in Struts. Again, the WorkflowContainer is ALWAYS put

Re: [OT] - Request against Session

2004-02-12 Thread Michael McGrady
Java would only win/draw until it runs out of ram and then ouch that smarts :o) I prefer java to worrying about all that donkey's jiz, but if i was really concerned about "bloat" perhaps i would thing differently. I actually have never experienced this "bloat" problem. I think that good c

Re: [OT] - Request against Session

2004-02-12 Thread Michael McGrady
At 02:56 PM 2/12/2004, you wrote: Hi Michael.. Do you know anything about this not knowing what data one is looking at issue when scoping forms in the session? I don't understand what you are talking about, Mark. I did not know there was such an issue. I don't scope forms to the session. I

Re: Struts Module switching example

2004-02-12 Thread James Mitchell
http://sourceforge.net/project/showfiles.php?group_id=49385&package_id=74324 &release_id=147944 -- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc. 678.910.8017 AIM: jmitchtx MSN: [EMAIL PROTECTED] - Original Message - From: "Sreenivasa Chadalavada" <[EMAIL PROT

RE : Beginner question: form bean executing but action class not

2004-02-12 Thread f f
The easiest way to learn is look at the working example(and from book of course). Struts comes with great example. Compare your xml configurations & and other things(such as tags), with, say struts-example/web-inf/struts-config.xml. __ Do you Yahoo!? Yahoo! Finance:

Re: String[] in the form bean

2004-02-12 Thread Srinivas Kusunam
Can you Post your JSP and FormBean ?? At least that gives some idea about what you are doing there. Thanks, Srini >>> [EMAIL PROTECTED] 02/12/04 02:12PM >>> Wendy, Thanks for the quick reply. I did as follows but get the error: javax.servlet.jsp.JspException: No getter method available for pr

Re: DyanValidatorActionForm clarification please

2004-02-12 Thread Vincent
By map, do you mean ActionMapping? I included the page attribute in validation.xml does it need to go somewhere in struts-config.xml as well ? Is this wrong ? Thanks. Vincent Yee, Richard K,,DMDCWEST wrote: Vincent, Do you have an entry in your map named pag

Re: [OT] - Request against Session

2004-02-12 Thread Mark Lowe
Okay.. Sure speed wise the filling ram approach that java uses would have everything ready n waiting. While most c cgi's will be hitting the disk. But as the beef was "bloat" and thus I assume ram usage then I'd say that our session-shy friend would be all the happier. Java would only win/draw

RE: [OT] Case insensitive Map keys

2004-02-12 Thread Michael McGrady
Lord, Freddy, chill. That is harsh language to someone who is only trying to help. I was tempted to give the same answer, as the question does not make much sense to me. If you want to access something this way, that is the only answer really. So, what else is there to give them? At 04:19 A

RE: [OT] - Request against Session

2004-02-12 Thread Michael McGrady
The work flow solution being talked about actually is the worst "bloat" for the session. It uses the work flow for all sessions. Indeed, it is used with every request processing. - To unsubscribe, e-mail: [EMAIL PROTECTED] F

Re: [OT] - Request against Session

2004-02-12 Thread Mark Lowe
Hi Michael.. Do you know anything about this not knowing what data one is looking at issue when scoping forms in the session? I've never come across this and you sound like you might know about this kind of thing. On 12 Feb 2004, at 23:47, Michael McGrady wrote: There is no such thing as work

RE: [OT] - Request against Session

2004-02-12 Thread Michael McGrady
AMEN! At 07:57 AM 2/12/2004, you wrote: Shirish, I'm not knocking the "workflow" concept, my only point earlier was that someone shouldn't think it provides any real difference from session storage except that it will attempt to automatically clear the session when they leave that "workflow" and

Re: [OT] - Request against Session

2004-02-12 Thread Michael McGrady
I agree, java does the job nicely but if you're gonna get your knickers in a twist about using sessions and you've got time to burn then a c cgi would probably out perform a java solution (assuming you don't write shit that is). I doubt this. I think the Java will usually win this battle. S

RE: [OT] - Request against Session

2004-02-12 Thread Michael McGrady
At 07:50 AM 2/12/2004, you wrote: If user has different windows in different windows, then only the latest windows workflow is honoured.SO all other window will have lost thier workflow state if any...Which is desired behaviour in workflow like situations...Where you dont want user to have mult

RE: [OT] - Request against Session

2004-02-12 Thread Michael McGrady
There is no such thing as work flow scope. This is a myth. Objects have to be kept in one of the standard scopes, including work flow objects. The work flow container in the Struts "workflow" application is kept in session scope.

RE: [OT] - Request against Session

2004-02-12 Thread Michael McGrady
At 01:21 AM 2/12/2004, you wrote: I think the issue over here is, in such cases we need a new scope(workflow scope).The existing scopes(request/session) do not suffice in such cases. I do not think that this is a precise or correct description of the issue. The session object has a scope, bu

Re: Persisting Messages/Errors when redirect="true"

2004-02-12 Thread Hubert Rabago
It's at http://www.rabago.net/struts/redirect/ . I think I use this similar to how you described your situation. I have an Action which would do an insert/update/delete and on a successful operation I like to redirect to a list/view page with an success/error message. That way my users don't ge

Re: Setting nocache

2004-02-12 Thread russo
Hubert: Thanks for the info. Based on my attempts, and speaking from a position of ignorance I believe I am unable to use transaction tokens from my initial login. I believe it's due to the way I set up entry into the web app. ?? http:/// --forward> index.jsp (submit to loginAction)

RE: hibernate-struts example -- where is it?

2004-02-12 Thread Samyukta Akunuru
Hi, I looked at the examples here... http://homepage.mac.com/edahand/projects/java/example1.html Any samples for code deletion... Thanks! -Original Message- From: Todd G. Nist [mailto:[EMAIL PROTECTED] Sent: Thursday, February 12, 2004 6:11 PM To: 'Struts Users Mailing List' Subject: R

RE: Need help on making Custom Validator work

2004-02-12 Thread Pingili, Madhupal
Hi All, I tried with plain html file to be displayed when validation fails. I am still getting following message: DEBUG (RequestProcessor.java:972) - Validation failed, returning to '/Logon.html' Browser just hangs. What does the RequestProcessor do after above message? I am using DynaValidato

Re: Persisting Messages/Errors when redirect="true"

2004-02-12 Thread David Erickson
Ya I'd be interested to see your code if at all possible =) Thanks, David - Original Message - From: "Hubert Rabago" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Monday, February 09, 2004 7:49 PM Subject: Re: Persisting Messages/Errors when redirect="true"

RE: hibernate-struts example -- where is it?

2004-02-12 Thread Todd G. Nist
Daniel, It appears to be out there at the following url, about half way down the page. I would also look at the "appfuse" project on the same page, it provides a very good example. http://sourceforge.net/project/showfiles.php?group_id=49385 There are also several other examples out ther

Struts Module switching example

2004-02-12 Thread Sreenivasa Chadalavada
All, I am trying to switch from 'navbar' module to 'patient' module in my application. The following is the definition of the URL. >From with in navbar module I am trying to perform the forward. It is not working. Can some one shed some light on this topic? Is there a detailed documenta

Re: NEWBIE: [CLOSED] difficulties getting simple no bean page working...

2004-02-12 Thread Brian Lee
That compiles because you just overloaded the execute method. Upon execution, the base Action's execute would run and nothing would call your execute. BAL From: Timothy Stone <[EMAIL PROTECTED]> To: Struts Users Mailing List <[EMAIL PROTECTED]> Subject: Re: NEWBIE: [CLOSED] difficulties getting

String[] in the form bean

2004-02-12 Thread Samyukta Akunuru
Wendy, Thanks for the quick reply. I did as follows but get the error: javax.servlet.jsp.JspException: No getter method available for property ids for bean under name org.apache.struts.taglib.html.BEAN Though I have getters in my bean and I made "ids" as a hidden field in my jsp. Thanks, Samy -

RE: instead of

2004-02-12 Thread Gopalakrishnan, Jayesh
Wouldn't query parameters work here? How abt using HTH.. -jayash -Original Message- From: Dieter Mummenschanz [mailto:[EMAIL PROTECTED] Sent: Thursday, February 12, 2004 12:46 PM To: [EMAIL PROTECTED] Subject: instead of Hello, I have a jsp page with some buttons. The servlet

IllegalAccessError in ValidatorResources.processForms(), trying to access FastHashMap.KeySet??

2004-02-12 Thread prhodes
Hi guys, I'm having a problem I hope somebody can help me with. I have a webapp running under JBoss / Tomcat, using Struts. Part of my code depends on the Commons Collections stuff, and I recently upgraded the jar file for my project to the latest one. Now, when I deploy my app, I get a Serv

Re: NEWBIE: [CLOSED] difficulties getting simple no bean page working...

2004-02-12 Thread Timothy Stone
List, Too close and too embarrassed to say what it was. Okay, I'll say... Timothy Stone wrote: List, I'm a Struts newbie with a lot of general hours in Tomcat. I want to advance my development with Struts 1.1 and Model 2. ...snip... Step 3. Create the Action subclass package webAppDev; impo

RE: instead of

2004-02-12 Thread Samyukta Akunuru
Could you enclose this smaple please! Thanks! -Original Message- From: Dieter Mummenschanz [mailto:[EMAIL PROTECTED] Sent: Thursday, February 12, 2004 12:46 PM To: [EMAIL PROTECTED] Subject: instead of Hello, I have a jsp page with some buttons. The servlet identifies the klicked bu

Re: No getter method available for property - error

2004-02-12 Thread James Mitchell
Change them to public methods. -- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc. 678.910.8017 AIM: jmitchtx MSN: [EMAIL PROTECTED] - Original Message - From: "Samyukta Akunuru" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thurs

instead of

2004-02-12 Thread Dieter Mummenschanz
Hello, I have a jsp page with some buttons. The servlet identifies the klicked button by invoking httpservletrequest.getParameter("..."). Is there a way to use links in my .jsp page using instead of ? Thx for any help, Dieter -- GMX ProMail (250 MB Mailbox, 50 FreeSMS, Virenschutz, 2,99 EUR/M

RE: NEWBIE: difficulties getting simple no bean page working...

2004-02-12 Thread Daniel Kalcevich
I was thinking more of something like this: But hey, whatever works. :-) Daniel -Original Message- From: Timothy Stone [mailto:[EMAIL PROTECTED] Sent: Thursday, February 12, 2004 10:22 AM To: Struts Users Mailing List Subject: Re: NEWBIE: difficulties getting simple no bean page w

RE: [OT] - Request against Session

2004-02-12 Thread shirishchandra.sakhare
I think the use case you have is a very valid one .But you can always have more than workflows (But only one primary workflow..)But any how, if the operator opens multiple windows(for different calls), and accidently changes data for user 3,thinking that he was working on window for user 2?? Beca

RE: Dyna Validator Form values

2004-02-12 Thread Wendy Smoak
> From: Darren Massel [mailto:[EMAIL PROTECTED] > How do i reset the values of a Dyna Validator form that is > in the session? The 'initialize' method is inherited from DynaActionForm:

Re: DynaFormBean base on other DynaFormBeans?

2004-02-12 Thread Nathan Maves
1.1 as far as I know. I could never find the page to download 1.2 Nathan Maves Sun Microsystems On Feb 12, 2004, at 11:24 AM, Mark Lowe wrote: Nice.. Are you on 1.1 or 1.2? On 12 Feb 2004, at 18:22, Nathan Maves wrote: Well I am close :) I have a DynaValidatorActionForm that has a propert

Re: DynaFormBean base on other DynaFormBeans?

2004-02-12 Thread Mark Lowe
Nice.. Are you on 1.1 or 1.2? On 12 Feb 2004, at 18:22, Nathan Maves wrote: Well I am close :) I have a DynaValidatorActionForm that has a property of an Array of custom ActionForm. I am able to validate the properties of the internal Action form from the validator using the indexedList

Re: NEWBIE: difficulties getting simple no bean page working...

2004-02-12 Thread Timothy Stone
Daniel Kalcevich wrote: If you do not want to use a FormBean and your action solely calls a success page, maybe you could use the Forward Action build into Struts. Then it would do a forward directly to the JSP page. Daniel, Thanks. So I edited my struts-config.xml: > Step 4. Update struts-confi

No getter method available for property - error

2004-02-12 Thread Samyukta Akunuru
Hi, My error: javax.servlet.jsp.JspException: No getter method available for property ids for bean under name org.apache.struts.taglib.html.BEAN at org.apache.struts.taglib.html.MultiboxTag.doEndTag(MultiboxTag.java:247) I do have a getter in my form bean: private String[] ids; p

RE: Dyna Validator Form values

2004-02-12 Thread Matthias Wessendorf
hi, perhaps you mean request.getSession().removeAttribute("nameOfFormBean"); cheers, -Original Message- From: Darren Massel [mailto:[EMAIL PROTECTED] Sent: Thursday, February 12, 2004 7:08 PM To: '[EMAIL PROTECTED]' Subject: Dyna Validator Form values How do i reset the values of a

Dyna Validator Form values

2004-02-12 Thread Darren Massel
How do i reset the values of a Dyna Validator form that is in the session? So that when i link back to that form once it has been submitted the values are blank. In the Action form.reset(..) and form.set(String, "") intial="" in the form definition ...had no affect. cheers.

Dyna Validator Form values

2004-02-12 Thread Darren Massel
How do i reset the values of a Dyna Validator form that is in the session? So that when i link back to that form once it has been submitted the values are blank. In the Action form.reset(..) and form.set(String, "") had no affect.

RE: Double formating in html:text boxes

2004-02-12 Thread Slattery, Tim - BLS
> So you would suggest formating the number after it is copied into my > form bean? It is a string at this point. Anything that's collected from the page has to be a string. If you're goihng to display a number, not collect it, I'd leave it in numeric format in the bean and use a JSTL tag to for

RE: multiple struts-config files

2004-02-12 Thread vasudevrao gupta
This is the answer to your third question: Yes, you can forward an action in one struts-config from within another struts-config... All the mapping(from all config file) will be in put in a single ActionMapping class at the start of the web server Regards VasudevRaoGupta -Original Message--

RE: multiple struts-config files

2004-02-12 Thread Joe Germuska
If you use multiple struts-config files in a single module, the net result is a module which is configured from the union of all the files; Struts has no knowledge of which components were defined in which files, so those questions are not relevant. Note that if you use MODULES, by adding more

Re: Double formating in html:text boxes

2004-02-12 Thread Nathan Maves
So you would suggest formating the number after it is copied into my form bean? It is a string at this point. Nathan Maves Sun Microsystems On Feb 12, 2004, at 10:28 AM, Larry Meadors wrote: A few dozen, yes. :) Look at the java.text.NumberFormat class. Larry [EMAIL PROTECTED] 02/12/04 10:18

RE: multiple struts-config files

2004-02-12 Thread Daniel Kalcevich
The advantage (from what I have read and seen) is geared more towards team development. Having multiple struts configuration files allows you to modularize the areas of your app, so that people aren't stepping on each others toes with new changes. Another advantage of multiple config files is to

multiple struts-config files

2004-02-12 Thread koen boutsen
Hi I've read some mails about multiple struts-config files, but still have some questions: -what's the advantage of using multiple struts-config files in one application ? Is it better for performance ? -how can I call a forward or action in my second struts-config from within a jsp ? -can I call

Re: Double formating in html:text boxes

2004-02-12 Thread Larry Meadors
A few dozen, yes. :) Look at the java.text.NumberFormat class. Larry >>> [EMAIL PROTECTED] 02/12/04 10:18 AM >>> In my business logic I return a java.util.List to my action. In this action I run through the list and use the BeanUtils.copyProperties() to convert the List elements into formbean

Re: DynaFormBean base on other DynaFormBeans?

2004-02-12 Thread Nathan Maves
Well I am close :) I have a DynaValidatorActionForm that has a property of an Array of custom ActionForm. I am able to validate the properties of the internal Action form from the validator using the indexedList property in the validation.xml. I am not sure how I can convert the internal act

RE: NEWBIE: difficulties getting simple no bean page working...

2004-02-12 Thread Daniel Kalcevich
If you do not want to use a FormBean and your action solely calls a success page, maybe you could use the Forward Action build into Struts. Then it would do a forward directly to the JSP page. Daniel Kalcevich SCJP Software Development Analyst I Mercury Insurance Group - IT, Web Agency Systems [EM

Double formating in html:text boxes

2004-02-12 Thread Nathan Maves
In my business logic I return a java.util.List to my action. In this action I run through the list and use the BeanUtils.copyProperties() to convert the List elements into formbeans. The problem is that in the business object the property "actual" is a Double and in the formBean it is a strin

NEWBIE: difficulties getting simple no bean page working...

2004-02-12 Thread Timothy Stone
List, I'm a Struts newbie with a lot of general hours in Tomcat. I want to advance my development with Struts 1.1 and Model 2. In an applied Struts scenario I have performed the following: Followed closely the suggestions for integrating Struts into an existing web application. I did do one th

RE: Reading Context Data

2004-02-12 Thread Villalba Arias, Fredy [BILBOMATICA]
1 questions... I can't see where the "mdfUser" attribute is set. Where is it? 1 comment: There is a line that gets my attention: //import data.DTO.MDF_UserBean; (inside LoginEmdfCrPktAction.java) Is it possible that for some reason you are trying to cast a data.DTO.MDF_UserBean to beans.MDF_

RE: Reading Context Data

2004-02-12 Thread Robert Nocera
If that code with the user2 variable works, it looks like the user code should work unless there is another MDF_userBean class it is referencing. Can you send the log file of the error you get running the action class you included here? The log file I see is for the previous version of this class

PageFlow within a Tile?!

2004-02-12 Thread Dominik Stöttner
Hi, I am trying to write a webapp with struts and tiles that is similar to the portlet-technology. The tiles-documentation example provided with struts is very helpful to create the main functionality (e.g. customizing the portal by moving the tiles). But so far I haven`t figured out how to cre

Re: [OT] - Request against Session

2004-02-12 Thread Mark Lowe
we'll i reckon we've exhausted the subject, and my experience on big projects was when i was working with quite large teams and some really good sys admin folks so we (servlet/jsp people) never had to worry too much about all that clustering stuff. The same was true of the model tier where ther

Re: Array of text fields generated dynamically - struggling with indexed properties

2004-02-12 Thread Shyam A
Hello, I'm trying to use indexed propeties in my form bean (ActionForm) to handle an array of text fields generated dynamically. Initially, I used a String[] to hold the text field values, and had a problem when validation errors occured in my validate() method, i.e, the values of the text fields

RE: Reading Context Data

2004-02-12 Thread Villalba Arias, Fredy [BILBOMATICA]
So am I! If you send me the stack trace, the source code where the "put" gets done and the source code containing the "get", I might spare some time to give it a look. The action mapping would also help. Can't promess anything. Don't expect and answer for today, ok? (have work to do) :) Regar

RE: Reading Context Data

2004-02-12 Thread Rassmann, Natalie D
smime.p7m Description: S/MIME encrypted message

RE: [OT] - Request against Session

2004-02-12 Thread shirishchandra.sakhare
The performance is not the only issue with bloated sessions Like in our current project, we are using WSAD4.0 and websphere does nto guareentee that session will be transferred across in a clustered environment if the session size is more than 4k..And we are having our depoyment in a clustere

RE: [OT] - Request against Session

2004-02-12 Thread Robert Nocera
Shirish, I'm not knocking the "workflow" concept, my only point earlier was that someone shouldn't think it provides any real difference from session storage except that it will attempt to automatically clear the session when they leave that "workflow" and they won't have to put that logic in. It

Re: [OT] - Request against Session

2004-02-12 Thread Mark Lowe
On 12 Feb 2004, at 15:44, Andrew Hill wrote: Surely if performance is that much of an issue then java would be the last technology you'd use. What would you suggest for a high performing web application? I agree, java does the job nicely but if you're gonna get your knickers in a twist about

[OT] Servlet Name at runtime

2004-02-12 Thread Villalba Arias, Fredy [BILBOMATICA]
Hi to you all, An OT question (if it were not urgent, I wouldn’t post it)… hope not to get “fired” for this. :-) Given a web application with two Servlets classA and classB: how can I determine classB’s servlet-name (as specified inside the web.xml file) from classA’s doGet method?

RE: [OT] - Request against Session

2004-02-12 Thread shirishchandra.sakhare
If the user has multiple windows open all sharing a session and does different things in different windows things get really fun. If user has different windows in different windows, then only the latest windows workflow is honoured.SO all other window will have lost thier workflow state if any

html:button and Javascript

2004-02-12 Thread Sniadach, Tomasz
Hello , i have a problem with the html:button tag. i have a string in my JSP, this is an action, now i have to use a button to link to the action. I tryed: but it does not work. What is wrong ? Thanks for help Tomek

hibernate-struts example -- where is it?

2004-02-12 Thread Tarkenton, Daniel S.
Hello all. Long time struts user here, newbie to hibernate. I found a link on the hibernate.org site to a struts-hibernate example written by Ted Husted. I thought this would be a great example for me since I really learned a lot from the Struts in Action book. Well the link was to http://st

Re: RE: RE: Javscript

2004-02-12 Thread Carl Walker
Try these entries in validation.xml. datePatternStrict MM/dd/ And in the resources file errors.date=Use 'MM/dd/' with leading zeroes for {0} - Original Message - From: Darren Massel <[EMAIL PROTECTED]> Date: Thursday,

RE: [OT] - Request against Session

2004-02-12 Thread Andrew Hill
Surely if performance is that much of an issue then java would be the last technology you'd use. What would you suggest for a high performing web application? If there are performance issue with this and you haven't abused the use of session then IMO this is a matter for the container develope

RE: RE: Javscript

2004-02-12 Thread Darren Massel
ok not quite a dream the date format is not validated although this works with the struts validation. any ideas? -Original Message- From: Darren Massel [mailto:[EMAIL PROTECTED] Sent: 12 February 2004 14:42 To: 'Struts Users Mailing List' Subject: RE: RE: Javscript Cheers worked a

Re: RE: Javscript

2004-02-12 Thread Joe Germuska
At 9:31 AM -0500 2/12/04, Carl Walker wrote: Put these sample elements in the JSP. Note the JavaScript embedded in the html:form attribue. And if you want to control the name of the method which should be called on submit, set the 'method' attribute of the html:javascript tag. http://jakar

RE: [OT] - Request against Session

2004-02-12 Thread Andrew Hill
And then he has no more worries as to getting a bloated session, as the session gets trimmed of workflow objects as soon as user goes to any screen which is not part of work flow. Unless of course the user simply closes the window. :-( If the user has multiple windows open all sharing a session

RE: RE: Javscript

2004-02-12 Thread Darren Massel
Cheers worked a dream. -Original Message- From: Carl Walker [mailto:[EMAIL PROTECTED] Sent: 12 February 2004 14:31 To: Struts Users Mailing List Subject: Re: RE: Javscript Put these sample elements in the JSP. Note the JavaScript embedded in the html:form attribue. - Original

Re: Setting nocache

2004-02-12 Thread Janarthan Sathiamurthy
Hi, Your problem sounds like you are using a forward tag which might be like - Try this - This should solve your "repost problem". This is very beautifully explained in Chuck Cavances "Programming Jakarta Struts" book from Orielly. Regards, Janarthan S [EMAIL PROTECTED] wrote: Hi Jay: T

Re: RE: Javscript

2004-02-12 Thread Carl Walker
Put these sample elements in the JSP. Note the JavaScript embedded in the html:form attribue. - Original Message - From: Darren Massel <[EMAIL PROTECTED]> Date: Thursday, February 12, 2004 9:09 am Subject: RE: Javscript > I've satisfied both your suggestions the javascript text no

RE: Getting data from a disabled form field

2004-02-12 Thread Andrew Hill
They dont submit any parameter in the posted request. As a result, when struts populates the form, iterating the list of request parameters and calling the setters with the values it wont call the setter for that one. The value in the actionform thus depends upon the logic in the forms reset metho

RE: Javscript

2004-02-12 Thread Darren Massel
I've satisfied both your suggestions the javascript text no longer appears. but How do i activate the JS validation? -Original Message- From: Carl Walker [mailto:[EMAIL PROTECTED] Sent: 12 February 2004 12:34 To: Struts Users Mailing List Subject: Re: Javscript Make sure 1) that the e

Re: [OT] - Request against Session

2004-02-12 Thread Mark Lowe
While I found your solution interesting. But whether the session is "bloated" or not is other folk's problem. The javadoc for HttpSession says what its for, the other way is to persist out-side of the web tier which is another subject. Sure you don't want to use session for everything that woul

Re: validation.xml and java.sql.Date

2004-02-12 Thread Mark Lowe
Personally I just use separate field for day / month / year and convert to a date in my model. Drop down menus make inputing dates simpler. On 12 Feb 2004, at 14:56, Carl Walker wrote: Thanks for your reply. The problem I'm having is that the field is not required, so specifying a string l

RE: Reading Context Data

2004-02-12 Thread Villalba Arias, Fredy [BILBOMATICA]
Did you check that you are put-ing (into the Context) the correct object (the one you expect to get afterwards?)? Have you verified that the value you are put-ing (in case it’s the right one) is not being (unexpectedly) overwritten? Are you using (/importing) more than one class with that

Re: validation.xml and java.sql.Date

2004-02-12 Thread Carl Walker
Thanks for your reply. The problem I'm having is that the field is not required, so specifying a string like '1970-01-01' for an initial value isn't desirable. - Original Message - From: Mark Lowe <[EMAIL PROTECTED]> Date: Thursday, February 12, 2004 8:44 am Subject: Re: validation.xml a

RE: Getting data from a disabled form field

2004-02-12 Thread Angharad Stapleton
Try using Javascript to re-enable the fields when the form is submitted, this allows them to be passed through to the form as normal. -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: 12 February 2004 13:46 To: Struts Users Mailing List Subject: Re: Getting data from a dis

RE: Reading Context Data

2004-02-12 Thread Rassmann, Natalie D
smime.p7m Description: S/MIME encrypted message

RE: [OT] - Request against Session

2004-02-12 Thread shirishchandra.sakhare
The whole point is there is no concept of a Workflow scope in Servlet API and if you want to share objects , you have to put them in session.And then clearing them is not always easy, as you will never be clear when user may leave the workflow scope.And you have to code for it in every action.

Re: Getting data from a disabled form field

2004-02-12 Thread Mark Lowe
i believe that disabled form elements return null. I hate to say it, but you could have the uid stored as a hidden variable in the case of the non admin user but still display a text field with the value displayed. On 12 Feb 2004, at 14:31, Arne Brutschy wrote: Hi, I have a problem with disab

Re: validation.xml and java.sql.Date

2004-02-12 Thread Mark Lowe
You can have a string that looks like a date and validator will still validate it. To my knowledge there is no need to have the property of type Date. same is true of other types also. On 12 Feb 2004, at 14:36, Carl Walker wrote: Hi, I'm having a problem setting an initial value for a DynaVali

RE: [OT] - Request against Session

2004-02-12 Thread Robert Nocera
Brian said: >Don't use getParameter() to try to get hidden form variables. >getParameter() looks for parameters appended to the request URL -- >http://www.myhost.com/do/myAction?param1=1¶m2=2. getParameter() will >give you access to param1 and param2. The only reason not to use getParamter to get

RE: Getting data from a disabled form field

2004-02-12 Thread Andrew Hill
Yep. The browser doesnt submit a value for the field if its disabled. If your using a request scoped actionform then you will either need to reload its value from or add an additional hidden field on the form to submit the value. If its a session scoped form, just make sure that you dont clear it

validation.xml and java.sql.Date

2004-02-12 Thread Carl Walker
Hi, I'm having a problem setting an initial value for a DynaValidatorForm. I have a date field that is not required to be filled in. However, when I submit the form without a value, I get a Date.valueOf exception thrown from SQLConverter. If I submit a valid value or attempt to submit a bogus

  1   2   >