html base element

2003-09-23 Thread Kalra, Ashwani
Hi, I am not able to figure out what problem I face when I am not using this tag. for eg. I am able to use the relative paths to the images from the page whose url is http://localhost:8080/mystruts/logon.do http://localhost:8080/mystruts/logon.do on the browser. Can someone give an example on

Re: html base element

2003-09-23 Thread Abhijeet Mahalkar
Hi Ashwani please try to solve the problme below I got this error while starting the websphere admin console... Please Suggest how to cure it? Or do i need to reinstall the Websphere Server ? But rest of the Application is working very fine. I can easili work on the Sample applications.

Re: html base element

2003-09-23 Thread Vikram Goyal
Hi Ashwani, html:base is used to let the the browser know the location of the document currently being seen by the user. This is important in the case of web pages where there is an internal mapping between what a browser submits an action to and what the user ends up seeing. These two may be

RE: html base element

2003-09-23 Thread Kalra, Ashwani
Thanks Vikram. I got the point. Currently its working for me because my images are lying in mystruts/images folder the the url http://localhost:8080/mystruts/logon.do also has the same mapping. otherwise I would have faced the problem. Regds ashwani -Original Message- From: Vikram Goyal

Different Workflow for Business Functions

2003-09-23 Thread g.plattner
I have a question concerning the control of workflow in struts framework: I'm just writing a large struts application. So I have to reuse some JSP's in different workflows. That means, I view a JSP called x.jsp one time invoked from a.jsp and one time invoked from b.jsp. Based on the calling

Design Patterns in Struts

2003-09-23 Thread Prasenjit Narwade
Hi all, What are the various Design Patterns used in Struts? Links welcome Thanks Regards, Prasenjit Narwade.

RE: Design Patterns in Struts

2003-09-23 Thread Andrew Hill
Uh, all of them I think ;- -Original Message- From: Prasenjit Narwade [mailto:[EMAIL PROTECTED] Sent: Wednesday, 24 September 2003 03:20 To: Struts Users Mailing List Subject: Design Patterns in Struts Hi all, What are the various Design Patterns used in Struts? Links welcome

Re: Can't uncheck multibox

2003-09-23 Thread SCOTT VENTER
Hi, I had this problem when I placed my ActionForm in the Session. I noticed that when I uncheck all the checkboxes, the browser would transmit no value for the checkbox property and so the ActionForm property would not be updated to an empty String[] as I had expected. html:multibox

RE: Can't uncheck multibox

2003-09-23 Thread Andrew Hill
snip implicitly set the property to an empty String[]; eg. In the Validate Method() /snip Helo this is what the reset() method is for. That is its sole reason dee etrer. To provide a place for you to reset the values of checkbox, textarea, multiple-select fields associated with the

RE: Can't uncheck multibox

2003-09-23 Thread SCOTT VENTER
The Actionform is in the session. I may not alway want to reset the property. hell ! [EMAIL PROTECTED] 09/23/03 09:21AM snip implicitly set the property to an empty String[]; eg. In the Validate Method() /snip Helo this is what the reset() method is for. That is its sole

RE: Can't uncheck multibox

2003-09-23 Thread Andrew Hill
Well if you dont want your checkboxes to be untickable then by all means go ahead and dont reset them, but Im telling ya mate, thats what reset() is for, and the validate method isn't the proper place for it (though of course its not going to send you blind if you do do it there). If you dont

Re: Design Patterns in Struts

2003-09-23 Thread Andrew Kuzmin
- Original Message - From: Prasenjit Narwade [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, September 23, 2003 10:20 PM Subject: Design Patterns in Struts Hi all, What are the various Design Patterns used in Struts? Links welcome Thanks Regards,

RE: Can't uncheck multibox

2003-09-23 Thread SCOTT VENTER
Whats your point mate? You are basically agreeing with me. Why dont you simply provide an answer instead of trying to justify your rant? I accept your point that it should be done in the reset method. Scott. [EMAIL PROTECTED] 09/23/03 09:41AM Well if you dont want your checkboxes to be

struts performance

2003-09-23 Thread Richard Raquepo
we are building an application in struts. though the application is developed in resin our boss want's to deploy it in resin + IIS or apache + IIS. does anyone know any site i can based the performance when using resin or apache with IIS? any links? any comments? thanks a lot.

Exception handling in struts

2003-09-23 Thread muzammil shahbaz
Hello! Is there any exception handling mechanism through struts? If we can configure our global exceptions in struts-config.xml? Any comments are welcome. Thanks in advance. Muzammil

Re: IDE for Struts Examples

2003-09-23 Thread Duncan Mills
Just checked and the struts-example.war shipped with the preview is fine - for me all the jsps get imported and Edit Struts Page Flow is available off of the Context menu on the Struts Config... Regards Duncan Mills Senior Principal Product Manager Oracle Application Development Tools [EMAIL

Re: Design Patterns in Struts

2003-09-23 Thread Prasenjit Narwade
Thanks Andrew. That was really helpful. Regards, Prasenjit - Original Message - From: Andrew Kuzmin [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, September 23, 2003 12:49 AM Subject: Re: Design Patterns in Struts - Original Message -

Re: IDE for Struts Examples

2003-09-23 Thread Duncan Mills
Martin for General JDeveloper 10g issues you'd be better continuing this on the OTN forum (http://www.oracle.com/forums/forum.jsp?forum=83) as little is relevant to this list. We can pick up there where we leave off.. Also find that under 10g Projects and Web Tier disappear from the

Using Struts ActionForm with Tiles Definitions

2003-09-23 Thread Andy J. Baxman
Hi, This may well be an FAQ but I keep getting a 502 when I try to search the archive :( Is it possible to / how do you use a Tiles definition as the 'input' for a Struts Action. All the examples I have seen use a JSP as the input, but the form I'm using is part of a Tiles based layout. TIA and

Re: Exception handling in struts

2003-09-23 Thread Andrew Kuzmin
snip from=http://jakarta.apache.org/struts/userGuide/building_controller.html; 4.5 Exception Handler You can define an ExceptionHandler to execute when an Action's execute method throws an Exception. First, you need to subclass org.apache.struts.action.ExceptionHandler and override the execute

multiple input pages, one form definition, one Action - How?

2003-09-23 Thread Richard Tomlinson
Having browsed the archives and various docs I cant seem to see a solution to my problem. I have a number of pages, all with different html/style but containing the same input fields (Two fields and a submit). I want to use one form and all pages post to the same action. My problem is that

How to build an application that is organized as BC4JToyStore example from scratch ?

2003-09-23 Thread EL AKARI Mehdi
Hello, I'm trying to build an application that is organized as the example BC4JToyStore, but i just can't!! Can anyone guide me to a tutorial, or a doc? Thank you Mehdi

I am getting message as 'Error' on the login.jsp. from kishore

2003-09-23 Thread Dhanunjaya Gotur
hi, i am using struts1.1 ,with eclipse2.0 as editor and easy struts as struts IDE. i am deploying my war in Web Sphere Application server 5.0.2. i've added few messages in ApplicationResources.properties file. Every thing is configured accordingly. The application runs well and show the

Re: How to build an application that is organized as BC4JToyStore example from scratch ?

2003-09-23 Thread Andrew Kuzmin
Maybe this: http://otn.oracle.com/sample_code/products/jdev/bc4jtoystore/readme.html ? -- Andrew Kuzmin http://www.java201.com - Original Message - From: EL AKARI Mehdi [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, September 23, 2003 1:07 PM Subject:

RE: IDE for Struts Examples

2003-09-23 Thread Mohd Amin Mohd Din
Wuhooo! Oracle10g -Original Message- From: Duncan Mills [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 23, 2003 5:09 PM To: Martin Gainty; Struts Users Mailing List Subject: Re: IDE for Struts Examples Martin for General JDeveloper 10g issues you'd be better continuing this on the

Re: How to build an application that is organized as BC4JToyStore example from scratch ?

2003-09-23 Thread EL AKARI Mehdi
No it does not specify how to build such an application from scratch - Original Message - From: Andrew Kuzmin [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, September 23, 2003 10:17 AM Subject: Re: How to build an application that is organized as

J2EE Pattern implementing Classes in Struts

2003-09-23 Thread Kommineni, Sateesh (IndSys)
Hi All, Can we identify a one to one mapping between the J2EE Patterns and the classes which implement these patterns in Struts.. I tried identifying the Patterns in the Presentation Tier . Let me know your thoughts.. Intercepting Filters--- Classes Specified using the

RE: multiple input pages, one form definition, one Action - How?

2003-09-23 Thread Robert Taylor
Why not define a different action mapping for each. They can all use the same action and form but by defining a different action mapping for each, you can define the appropriate input attribute value for each. I had to solve a similar problem where it was not practical to define an action mapping

.do as welcome-file

2003-09-23 Thread Adolfo Miguelez
Does anyone has figured out how to do this? welcome-file-list welcome-file/start/start.do/welcome-file /welcome-file-list I am not able to make it work. TIA, Adolfo. _ Protect your PC - get

Re: J2EE Pattern implementing Classes in Struts

2003-09-23 Thread Adolfo Miguelez
As far as I remember, there is a explanation in one of the apendix of Struts in Action book concerning mapping among Strus classes and patterns that implements. Adolfo. From: Kommineni, Sateesh (IndSys) [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users

Re: Can't uncheck multibox

2003-09-23 Thread Natalie D Rassmann
Hi Hari, To solve it, I set the length of the array containing the checkboxes to 0 in the form's reset method. I do have the form in the session, and this will only work if you have the form in the session. Here is my reset() code: //reset the action item indicator checkboxes String[]

[OT]More Design Patterns. Real world example application

2003-09-23 Thread Mohd Amin Mohd Din
As the subject says, many discussion on design patterns have occurred. However I need a good example to implement in my project. An application using struts + hibernate would be a plus. Hopefully the example also does some big joining at the database, and a few master detail forms. (seems like a

RE: J2EE Pattern implementing Classes in Struts

2003-09-23 Thread Mooss, Vasudevan
Hi, In the book Struts in Action, the mappings are something like this, Service to Worker, Command [GoF], Command and Controller,Front Controller, Singleton, Service Locator - ActionServlet, Action Dispatcher, Navigator- ActionMapping,

Re: .do as welcome-file

2003-09-23 Thread Sgarlata Matt
Unfortunately, you cannot do that. You must specify a physical file. A standard technique is to make your welcome file a .jsp that redirects the user to your struts start page, in this case /start/start.do. You can probably find more info about this in the archives. Matt - Original Message

RE: .do as welcome-file

2003-09-23 Thread Mainguy, Mike
I haven't tried it, but I've been told that, in tomcat, if you create a file with that exact name it will work properly. Evidently you cannot specify a servlet path as a welcome file. -Original Message- From: Adolfo Miguelez [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 23, 2003

Re: .do as welcome-file

2003-09-23 Thread Adam Hardy
I can confirm that this hack works for tomcat. Create the dummy file start/start.do and tomcat will be happy, and you will still get the actual struts mapping. On 09/23/2003 02:06 PM Mainguy, Mike wrote: I haven't tried it, but I've been told that, in tomcat, if you create a file with that

RE: problem with String[]

2003-09-23 Thread Nicholson, Robb
I think this is what you are asking: http://www.husted.com/struts/tips/006.html -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, September 22, 2003 9:49 PM To: Struts Users Mailing List Subject: Re: problem with String[] Hi, i really need to get this

RE: .do as welcome-file

2003-09-23 Thread Menke, John
Here's a trick to get an action to execute as home page in your webapp without having to do the jsp redirect. Put a file called webapp.launch in the root directory of your webapp Then configure these settings in your web.xml servlet servlet-nameredirector/servlet-name

Conditional Validation

2003-09-23 Thread Fenderbosch, Eric
I've been given a page design that has 4 text boxes and 4 submit buttons. I only need to validate the text box associated with the submit button that was clicked. required and requiredIf don't seem to be what I'm looking for. Right now, my action form's validate looks like this: public

Deactivate Struts Form Propertys from within the action class

2003-09-23 Thread reps.groups
Hello, is it possible to deactivate formelements generated by html:text ... from within the action servlet ? or do i have to do that in the jsp code ? Mit freundlichen Grüßen Christian Reps, Dipl. Inf. (FH) Web Applications -

Struggling with Struts: Forms, submits and links

2003-09-23 Thread Gregory F. March
Hi all... I am having a recurring issue while developing my app using struts. I know I h ave discussed it here before, and some workarounds were presented, but I want to reiterate the problem again because I can't believe others are not running into it as often as I am. The problem is that I

Re: Conditional Validation

2003-09-23 Thread Jeff Kyser
Seems like using a one line JavaScript to set a hidden field based on the button that was clicked, and then using the requiredif validation rules in conjunction with a mask for each of your fields (using regular expression) should work., -jeff On Tuesday, September 23, 2003, at 08:28 AM,

[ANNOUNCE] Display Tag 1.0 beta 1 Released!

2003-09-23 Thread Matt Raible
The Display Tag Library has a new release! This release is pretty stellar - checkout the full list of changes at http://displaytag.sourceforge.net/changes-report.html#1.0-b1. Matt - To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: .do as welcome-file

2003-09-23 Thread Christian Bollmeyer
I usually just put s/th like this in my index.jsp jsp:forward page=/main.do / and that's it. Whats the possible advantage of using a redirect or other solutions that also require a physical file in the root dir? -- Chris - Original Message - From: Menke, John [EMAIL PROTECTED] To:

RE: .do as welcome-file

2003-09-23 Thread Menke, John
I guess it's all the same as long as it works. You solution might be simpler actually no web.xml configs for the servlet -Original Message- From: Christian Bollmeyer [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 23, 2003 9:52 AM To: Struts Users Mailing List Subject: Re: .do as

RE: Conditional Validation

2003-09-23 Thread Chen, Gin
You can set this up as different forms that submit to the same action (different action definitions if you like). Now each of the forms will have their own validation in your validation.xml. It's early and I haven't had my coffee so let me know if that makes sense. -Tim -Original

issue with forwards

2003-09-23 Thread Mick Knutson
I have an Alert action that has an array of Contacts. If there have not been any Contacts set up in the db already, I want to forward the user to the addContact action, then when they add 1 Contact, forward them back to the Alert action. How can I do this? --- Thanks Mick Knutson

RE: .do as welcome-file

2003-09-23 Thread Kevin Peters
We do this too. Works like a charm. -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 23, 2003 9:05 AM To: Struts Users Mailing List Subject: Re: .do as welcome-file I can confirm that this hack works for tomcat. Create the dummy file

Re: .do as welcome-file

2003-09-23 Thread Adam Hardy
for security's sake I don't have any JSPs outside of WEB-INF, so this is the only solution, unless I wanted to use a http-redirect, which I don't. Adam On 09/23/2003 03:58 PM Menke, John wrote: I guess it's all the same as long as it works. You solution might be simpler actually no web.xml

Re: Log4J and Struts

2003-09-23 Thread Mahesh Joshi
Hi, Unfortunately this does not work for Tomcat 4.1.24 When I put log4j-1.2.8 in the jak*/common/lib or jak*/shared/lib I dont get the results desired. In the former, tomcat doesnt startup and in the latter struts does not initialize. Looks like I am missing something in the relationship

XDoclet Support for Struts DynaForms

2003-09-23 Thread Nick Heudecker
Hi, I couldn't find a patch to XDoclet to support generating dynaform configs in the struts-config.xml file, so I rolled my own. The download bundle has an example, a README, and a jar that *should* be a drop-in replacement for the existing 1.2beta4 Apache module. You can find it here:

How to use Hibernate with Struts and Tomcat?

2003-09-23 Thread Marcial Atienzar Navarro
Hello, I need some help to use Hibernate with Tomcat and Struts. I need some working examples to use it. I've found this examples, but I can't make work it: - Struts-hibernate - Listener to Tomcat - Plugin to struts-config.xml - Hibernate how to. I don't know if I've made something

getting the current thread inside an action

2003-09-23 Thread Menke, John
Is there a way to get reference to the current thread from within an Action? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: .do as welcome-file

2003-09-23 Thread Mainguy, Mike
This is actually the way I do it. -Original Message- From: Menke, John [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 23, 2003 9:58 AM To: 'Struts Users Mailing List' Subject: RE: .do as welcome-file I guess it's all the same as long as it works. You solution might be simpler

RE: getting the current thread inside an action

2003-09-23 Thread Fenderbosch, Eric
Thread currentThread = Thread.currentThread(); ??? -Original Message- From: Menke, John [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 23, 2003 10:49 To: Struts (E-mail) Subject: getting the current thread inside an action Is there a way to get reference to the current thread from

RE: getting the current thread inside an action

2003-09-23 Thread Mainguy, Mike
Thread.currentThread()??? -Original Message- From: Menke, John [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 23, 2003 10:49 AM To: Struts (E-mail) Subject: getting the current thread inside an action Is there a way to get reference to the current thread from within an Action?

Re: getting the current thread inside an action

2003-09-23 Thread Michael Thompson
Thread.currentThread(); --m Menke, John wrote: Is there a way to get reference to the current thread from within an Action? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: .do as welcome-file

2003-09-23 Thread Ed Robbins
I like to do it with a filter. I can accomplish several things with it, tighter security, I prevent someone from calling any of my jsp's directly and I can then have the welcome page be an action. Ed Mainguy, Mike wrote: This is actually the way I do it. -Original Message- From:

RE: getting the current thread inside an action

2003-09-23 Thread James Childers
-Original Message- From: Menke, John [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 23, 2003 9:49 AM To: Struts (E-mail) Subject: getting the current thread inside an action Is there a way to get reference to the current thread from within an Action? Yes:

[Poll] action mappings

2003-09-23 Thread Mainguy, Mike
I have yet another opinion poll for struts-user... What are folks currently doing for action mappings in relation to CRUD operations? Are you: #1 creating a unique Action mapping for each atomic operation (potentially mapped to the same action class) /createUser.do -

RE: Conditional Validation

2003-09-23 Thread Fenderbosch, Eric
Makes a little sense. :) So would my struts-config.xml look something like this? form-beans form-bean name=proForm type=org.apache.struts.validator.DynaValidatorForm form-property name=proNumber type=java.lang.String/ /form-bean form-bean name=bolForm

RE: getting the current thread inside an action

2003-09-23 Thread Menke, John
I have a servlet that writes it's output as PDF via the response and a BufferedOutputStream. This code need to use a temporary directory to create the PDF via FO transform. I don't want to just have one temp directory for all users each user should get his own directory. I was going to use

[OT] Struts-Atlanta - (reminder) don't miss tonight's meeting.

2003-09-23 Thread James Mitchell
The Next Meeting... When: Tuesday, September 23, 2003 from 7PM to 9PM (THAT'S TONIGHT!) Where: Mirant 1155 Perimeter Center Parkway (across from the Sandy Springs Marta station near Perimeter mall Click here for directions Presenter: Jason Chambers is an

RE: getting the current thread inside an action

2003-09-23 Thread Fenderbosch, Eric
Would HttpSession.getId() be a better temporary unique id instead of the thread? -Original Message- From: Menke, John [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 23, 2003 11:14 To: 'Struts Users Mailing List' Subject: RE: getting the current thread inside an action I have a

Writing to output in an Action??

2003-09-23 Thread Menke, John
I have never written directly to the response in an Action are there any known issues related to doing this? Currently I have an action that calls a servlet that writes to the response to do this. Can I do directly from my Action? (Write to the output??) What would be considered best

Re: [struts-atlanta] [OT] Struts-Atlanta - (reminder) don't miss tonight's meeting.

2003-09-23 Thread James Mitchell
Wow, that (formatting) sure looks like crap after the yahoo relay. It looked real nice before I sent itHONEST!!! Anyway, I forgot to mention that for those interested in drinks/discussions before our meeting, a few of us will get together at Max Ermas around 6:30. If you don't know how to

Re: .do as welcome-file

2003-09-23 Thread Christian Bollmeyer
It's a matter of personal preferences. Mine is to move all .jsp etc. files to a directory underneath /WEB-INF and make use of ForwardAction instead. I found this to be the easiest approach to enforce the 'Action First' rule, in particular when combined with Tiles. Of course, my 'default' start

Connection Pooling + User Authentication

2003-09-23 Thread Kapadia Mitesh-C23457
Hello. I would like to explore Connection Pooling as opposed to direct JDBC calls to an Oracle V8.1.6 database in a STRUTS application. The queries that are being executed have some kind of security built into them such that they only return results based on the User Id ( a look up of the User Id

Re: [Poll] action mappings

2003-09-23 Thread James Mitchell
#1 with a twist. I'm using DispatchAction with 2 abstract base actions between my actions and the dispatch action. The first one has helper methods for functionality not requiring authentication, and the second one (which extends the first) does require authentication. By overriding the execute

Re: [Poll] action mappings

2003-09-23 Thread Adam Hardy
#1 On 09/23/2003 05:05 PM Mainguy, Mike wrote: I have yet another opinion poll for struts-user... What are folks currently doing for action mappings in relation to CRUD operations? Are you: #1 creating a unique Action mapping for each atomic operation (potentially mapped to the same

Re: [Poll] action mappings

2003-09-23 Thread Sgarlata Matt
#3 - almost all of my actions descend from DispatchAction - Original Message - From: Mainguy, Mike [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, September 23, 2003 11:05 AM Subject: [Poll] action mappings I have yet another opinion poll for struts-user... What are folks

Re: [Poll] action mappings

2003-09-23 Thread atta-ur rehman
hi james, could you please explain, for a struts newbie, what do you mean by quote I'm using DispatchAction with 2 abstract base actions between my actions and the dispatch action. The first one has helper methods for functionality not requiring authentication, and the second one (which extends

Re: Connection Pooling + User Authentication

2003-09-23 Thread Kirk Wylie
Kapadia Mitesh-C23457 wrote: Hello. I would like to explore Connection Pooling as opposed to direct JDBC calls to an Oracle V8.1.6 database in a STRUTS application. Just for further clarification, are you talking about using the Struts Data Sources or something external to Struts, like the

Data Source issue in tiles controller execute()

2003-09-23 Thread Barry Volpe
Hi, In the following (SEE CODE BELOW) when I attempt to inititialize getDataSource(request) in the Tiles Controller execute method it causes a null in the fowarding JSP which looks for the string TEST initialized by this: tilesContext.putAttribute(TEST , TEST); If I remove the

Re: Connection Pooling + User Authentication

2003-09-23 Thread Craig R. McClanahan
Kapadia Mitesh-C23457 wrote: Hello. I would like to explore Connection Pooling as opposed to direct JDBC calls to an Oracle V8.1.6 database in a STRUTS application. The queries that are being executed have some kind of security built into them such that they only return results based on the User

Re: Connection Pooling + User Authentication

2003-09-23 Thread Sgarlata Matt
- Original Message - From: Craig R. McClanahan [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, September 23, 2003 1:41 PM Subject: Re: Connection Pooling + User Authentication For Oracle in particular, I've had a lot of success doing things based on

Re: How to use Hibernate with Struts and Tomcat?

2003-09-23 Thread Martin Naskovski
Matt Raible has provided an example of how to do just what you want- it's called struts-resume. It's a small, but useful application, that demonstrates all of the aspects you mentioned. Martin -- Tuesday, September 23, 2003, 7:46:15 AM, you wrote: MAN Hello, MAN I need some help to use

Re: Struggling with Struts: Forms, submits and links

2003-09-23 Thread Susan Bradeen
I don't remember what was discussed previously, but sounds like you just want a hyperlink ... can you make use of html:link/ in your table column for this? The Display Tag library easily allows you to do what you are describing. Susan Bradeen On 09/23/2003 09:29:19 AM Gregory F. March wrote:

Re: issue with forwards

2003-09-23 Thread Mick Knutson
I have an Alert action that has an array of Contacts. If there have not been any Contacts set up in the db already, I want to forward the user to the addContact action, then when they add 1 Contact, forward them back to the Alert action. How can I do this? --- Thanks Mick Knutson

Re: getting the current thread inside an action

2003-09-23 Thread Kirk Wylie
Someone already suggested HttpSession.getId() if you want a session-unique name for the directory, but IMHO that creates a ton of directories, which just creates unnecessary FS waste. What about creating a temporary directory and storing the name in an instance of ThreadLocal? That way you

Page flow question

2003-09-23 Thread Bob Jensen
I have the following page flow question. PageOne calls PageTwo. PageTwo does its thing and wants to return to PageOne. I would like PageOne to be in the same state it was in when it called PageTwo. What is the best way(s) to accomplish this using Struts? Or is this outside of Struts scope?

Re: Connection Pooling + User Authentication

2003-09-23 Thread Christian Bollmeyer
Am Dienstag, 23. September 2003 19:41 schrieb Craig R. McClanahan: Just for completeness, yet another approach. As I can't explain it better, I'll just cite the relevant passage from Hans Bergsten's ever-resourceful JSP book (the O'Reilly one with the wolf on the front cover, 2nd edition, p.

Re: Page flow question

2003-09-23 Thread Christian Bollmeyer
Am Dienstag, 23. September 2003 21:02 schrieb Bob Jensen: I have the following page flow question. PageOne calls PageTwo. PageTwo does its thing and wants to return to PageOne. I would like PageOne to be in the same state it was in when it called PageTwo. What is the best way(s) to

any replacement for include file dynamic

2003-09-23 Thread Gandle, Panchasheel
has anyone come across a replacement to [EMAIL PROTECTED] file=/abc/xyz.jsp % where the file attr can be dynamic ? Thanks Panchasheel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Page flow question

2003-09-23 Thread Thomas Cornet
Well, you can put in PageTwo hidden fields representing PageOne input values, to get them when you returns to PageOne. You can also store PageOne inputs in a session bean to get them later. Thomas At 21:02 23/09/2003, you wrote: I have the following page flow question. PageOne calls

Re: any replacement for include file dynamic

2003-09-23 Thread Sgarlata Matt
You would have to use jsp:include because %@ include % does the include at compile-time. jsp:include does includes at runtime. Matt - Original Message - From: Gandle, Panchasheel [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Tuesday, September 23, 2003 3:48

Re: any replacement for include file dynamic

2003-09-23 Thread Christian Bollmeyer
Am Dienstag, 23. September 2003 21:48 schrieb Gandle, Panchasheel: has anyone come across a replacement to [EMAIL PROTECTED] file=/abc/xyz.jsp % where the file attr can be dynamic ? For dynamic includes, try the standard action first: jsp:include page=page / For extended functionality,

how to replace bean:message key... in a JSTL tag attribute ?

2003-09-23 Thread Dom
I want to use one of the attributes in ApplicationMessages.properties as an attribute in a JSTL tag. How can I implement it in the jsp only ? Dom - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

RE: any replacement for include file dynamic

2003-09-23 Thread Gandle, Panchasheel
I don't want to loose the pageContext which happens with the dynamic includes. Thanks Panchasheel -Original Message- From: Christian Bollmeyer [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 23, 2003 4:17 PM To: Struts Users Mailing List Subject: Re: any replacement for include file

Re: any replacement for include file dynamic

2003-09-23 Thread Sgarlata Matt
Hehe, unfortunately can't have it both ways ;) You'll have to either use static includes or start storing things in the request. Matt - Original Message - From: Gandle, Panchasheel [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Tuesday, September 23, 2003 4:49

How to implement close button in Struts?

2003-09-23 Thread Rick Col
Hi, I have a close button on a page, once user clicks on this button, the window should disappear. How to do this in Struts? regards __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com

RE: how to replace bean:message key... in a JSTL tag attribute ?

2003-09-23 Thread Karr, David
You can use fmt:message and specify a var attribute to put the result into a scoped variable. Note that part of the setup for the fmt tag library is setting the javax.servlet.jsp.jstl.fmt.localizationContext context parameter to the class name of your properties file (normally just the base

Re: How to implement close button in Struts?

2003-09-23 Thread Thomas Cornet
Something like this should work... html:button onclick=window.close(); caption /html:button Thomas At 22:57 23/09/2003, you wrote: Hi, I have a close button on a page, once user clicks on this button, the window should disappear. How to do this in Struts? regards

Re: Servlet Path Path Info on Weblogic 8.1 vs. Struts

2003-09-23 Thread Jing Zhou
Craig, Thanks for your confirmation. It does appear to be a bug in WebLogic 8.1. I programmed a filter to work around this problem and some other issues in Oracle OC4J 9.0.3. It works fine. But I discovered the following behavioral differences between different vendors: The filter is mapped to

RE: How to implement close button in Struts?

2003-09-23 Thread Nicholson, Robb
There might be a better way, but this is how I do it: html:button property=close value=Close Window onclick=window.close()/ -Original Message- From: Rick Col [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 23, 2003 4:57 PM To: [EMAIL PROTECTED] Subject: How to implement close button

RE: How to implement close button in Struts?

2003-09-23 Thread Chen, Gin
Do it using Javascript instead. button onclick=window.close() Close /button Server's cant send a message to the client to close a browser window. Another way is to send a response of that javascript or redirect to another window that has that in a javascript head. -Tim -Original

Re: how to replace bean:message key... in a JSTL tag attribute ?

2003-09-23 Thread James Mitchell
Like this. bean:define id=someValue bean:message key=labels.global.something/ /bean:define c:out value=${someValue}/ -- James Mitchell Software Engineer / Struts Evangelist http://www.struts-atlanta.org 770.822.3359 AIM:jmitchtx - Original Message - From: Dom [EMAIL PROTECTED]

RE: Servlet Path Path Info on Weblogic 8.1 vs. Struts

2003-09-23 Thread Karr, David
(If I were you, I wouldn't CC people on notes to this list (and many other lists).) -Original Message- From: Jing Zhou [mailto:[EMAIL PROTECTED] Sent: Monday, September 22, 2003 12:20 PM To: Struts Users Mailing List Cc: Craig R. McClanahan Subject: Re: Servlet Path Path Info on

Re: Page flow question

2003-09-23 Thread Bob Jensen
I can certainly pass PageOne's required fields to PageTwo add them to PageTwo as hidden fields and then pass them back to PageOne. But this means that PageTwo has to have knowledge about who called it, later if I have PageThree call PageTwo I have to change PageTwo, to be aware of PageThree's

SSLExt and Struts Workflow?

2003-09-23 Thread Mick Knutson
Does SSLExt and Struts Workflow work together? --- Thanks Mick Knutson http://www.baselogic.com --- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

  1   2   >