Bug in - Dynamic Javascript Dumping ?

2003-09-23 Thread R Balaji
Hi, I am using validator for validating the user input in my application. I too defined lot of rules for the same for different pages in the validator-rules.xml. I found the javascript for all the depends (rules), has been dumped in to all the pages, irrespective of , whether that rule is used

Struts Workflow Docu

2003-09-23 Thread Stephan Wiesner
Can anybody point me to a good documentation of the Struts Workflow extension? The official, so called tutorial, is a little bit short for my liking .-( Stephan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional command

How to override SimpleMenuItem & specify the values

2003-09-23 Thread R Balaji
Hi, I wanted to add one more attribute to o.a.s.t.b.MenuItem - mouseOverIcon. In this case, I'd extend SimpleMenuItem and add get/set for mouseOverIcon. This class can be plugged in via classtype attribute of item element in tiles-defs.xml. But how do I specify value for mouseOverIcon in item e

Adding supported types to DynaForms

2003-09-23 Thread Nick Heudecker
Hi, I've read in the docs that DynaForms only support the folloing types: # java.lang.BigDecimal # java.lang.BigInteger # boolean and java.lang.Boolean # byte and java.lang.Byte # char and java.lang.Character # java.lang.Class # double and java.lang.Double # float and java.lang.Float # int and ja

RE: Can I have 1 struts jar file for multiple servers/applications

2003-09-23 Thread Steve Raeburn
http://jakarta.apache.org/struts/userGuide/configuration.html#config_a dd For more explanation see: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.htm l Steve > -Original Message- > From: David Thielen [mailto:[EMAIL PROTECTED] > Sent: September 23, 2003 9:08 PM > To:

Re: Can I have 1 struts jar file for multiple servers/applications

2003-09-23 Thread Kwok Peng Tuck
No, I think it has more to do with the way struts works. I'm a bit hazy on this on, so you might want to search the archive for an answer. For the other libraries, I don't see why you can't deploy them with your webapp. In fact I include jakarta-oro.jar with some of my webapps without problems(o

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

2003-09-23 Thread Jing Zhou
- Original Message - From: "Craig R. McClanahan" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Tuesday, September 23, 2003 6:44 PM Subject: Re: Servlet Path & Path Info on Weblogic 8.1 vs. Struts > > >* On WebLogic 8.1 and OC4J 9.0.3, the filter is invoked

Re: Can I have 1 struts jar file for multiple servers/applications

2003-09-23 Thread David Thielen
ok - thanks. Is this because of static data in the jar files? Is this true of the commons*.jar files and jakarta-oro.jar too - or just struts.jar and struts-el.jar? Also, how about the JSTL jar files - do they need to be one for each web app? thanks - dave - Original Message - From:

Re: SSLExt and Struts Workflow?

2003-09-23 Thread Steve Ditlinger
I'll admit to not having used Struts Workflow. But I don't know of any reason why sslext should not work, as long as actions are defined in a struts config file like other struts apps. If Struts Workflow uses its own RequestProcessor, you would not be able to use the sslext RequestProcessor (wit

Re: Can I have 1 struts jar file for multiple servers/applications

2003-09-23 Thread Kwok Peng Tuck
There should be one struts jar for each web app, if you have 10 web app then that's 10 struts.jar. David Thielen wrote: Hi; I thought I read something somewhere that said I need to have a seperate set of struts jar files for each application or server. But I can't find it now. I am using JRun

Can I have 1 struts jar file for multiple servers/applications

2003-09-23 Thread David Thielen
Hi; I thought I read something somewhere that said I need to have a seperate set of struts jar files for each application or server. But I can't find it now. I am using JRun and under a given server it has multiple applications with each application having it's own web.xml and struts-config.xml

RE: How to implement close button in Struts?

2003-09-23 Thread Rick Col
Thanks, guys. You are a lot of help. --- "Chen, Gin" <[EMAIL PROTECTED]> wrote: > Do it using Javascript instead. > > Close > > > 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 > wind

Re: Is there a nice ExceptionHandler mechanism in struts for Throwable?

2003-09-23 Thread Craig R. McClanahan
Alex Shneyderman wrote: I have looked at ExceptionHnadlers and find them pretty nifty. Is there a way to do similar thingy with Throwables? I tried to set ExceptionHandler to catch (type attribute) Java.lang.Throwable but it does not work and I get the ugly ServletException as my page to the user

Is there a nice ExceptionHandler mechanism in struts for Throwable?

2003-09-23 Thread Alex Shneyderman
I have looked at ExceptionHnadlers and find them pretty nifty. Is there a way to do similar thingy with Throwables? I tried to set ExceptionHandler to catch (type attribute) Java.lang.Throwable but it does not work and I get the ugly ServletException as my page to the user? Thanks, Alex.

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

2003-09-23 Thread Craig R. McClanahan
Jing Zhou wrote: - Original Message - From: "Karr, David" <[EMAIL PROTECTED]> Did you find a bug report describing this in the BEA Support database? No. But I left a short description of the problem regarding to the confused servlet path and path info in a mailing list. Jing I

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

2003-09-23 Thread Craig R. McClanahan
Jing Zhou wrote: 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 filte

Re: Using Form Bean & Java Bean....

2003-09-23 Thread Mick Knutson
I have a DynaActionForm that has several DTO's in an Array: Works great. --- Thanks Mick Knutson http://www.baselogic.com +001(805) 563-0666 Office +001 (708) 570-2772 Fax --- - Original Message - From: "Rajanala, Srinivas" <[EM

Using Form Bean & Java Bean....

2003-09-23 Thread Rajanala, Srinivas
Hi, Can I use both Form Bean & Java Bean inside a html:form? I have ManageProfileBean(java bean) which has availRoles and ManageProfileForm(Form bean) which has securityRoles. I need to iterate through availRoles and display it as checkbox. When the user selects one or more check boxes the data s

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

2003-09-23 Thread Steve Muench
I built the BC4J Toy Store demo application using the basic features of the JDeveloper IDE 9.0.3 that I describe in the whitepaper that accompanies the demo. The whitepaper is not designed as a step by step tutorial, but if you are unclear as to reproduce any of the best practices that you find/se

Re: Data Source issue in tiles controller execute()

2003-09-23 Thread Barry Volpe
TYPO: This: should be (correct name of definition): - Original Message - From: "Barry Volpe" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Tuesday, September 23, 2003 3:31 PM Subject: Re: Data Source issue in tiles controller execute() Found a solu

Re: Data Source issue in tiles controller execute()

2003-09-23 Thread Barry Volpe
Found a solution! Here is a simple example of HOW TO EXTEND THE TILESACTION which not only allows tile definitions but just as important allows using the DataSource functionalilty of the Struts action(the implement Controller would not allow the Data Source functionalilty): public final class Loa

RE: How to restore user selections when returning to a JSP?

2003-09-23 Thread Shane Mingins
Could you not have that page set to session scope so the set selected value is retained? There are tips on this page http://husted.com/struts/catalog.html regarding workflows that may be of help. Shane > -Original Message- > From: John Habbouche [mailto:[EMAIL PROTECTED] > Sent: Wednesda

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

2003-09-23 Thread Jing Zhou
- Original Message - From: "Karr, David" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Tuesday, September 23, 2003 4:31 PM Subject: RE: Servlet Path & Path Info on Weblogic 8.1 vs. Struts > (If I were you, I wouldn't CC people on notes to this list (and m

How to restore user selections when returning to a JSP?

2003-09-23 Thread John Habbouche
I an using Struts 1.1 with JSTL to write some JSP pages. I have a page where the user upon selecting a company name from pull down menu displays a list of Company Users for that specific company. The end user then has the option to perform actions on those users such as editing/deleting or creatin

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]

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 req

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 Inf

Re: how to replace

2003-09-23 Thread James Mitchell
Like this. -- James Mitchell Software Engineer / Struts Evangelist http://www.struts-atlanta.org 770.822.3359 AIM:jmitchtx - Original Message - From: "Dom" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Tuesday, September 23, 2003 4:54 PM Subject

RE: How to implement close button in Struts?

2003-09-23 Thread Chen, Gin
Do it using Javascript instead. Close 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 Message- From: Rick Col [mailto:[EMAI

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: -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 in Struts? Hi, I have a "close" button on a page, once user clicks

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 Thomas Cornet
Something like this should work... caption 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 __ Do you Yahoo!? Yahoo! SiteBuilder

RE: how to replace

2003-09-23 Thread Karr, David
You can use "" 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 name).

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: 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, 20

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

how to replace

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: [EM

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: For extended functionality, such as not being

Re: any replacement for include file dynamic

2003-09-23 Thread Sgarlata Matt
You would have to use because <%@ include %> does the include at compile-time. 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 PM Subject: an

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 PageTwo.

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 PROT

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

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. 475

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? th

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 only

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 Knutso

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 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: > Hi al

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 Hibe

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 base

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 I

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 getDataSou

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 Common

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 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 f

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 fo

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 acti

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

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 i

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 page

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

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 practice?

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 servle

[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 Ad

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 Threa

RE: Conditional Validation

2003-09-23 Thread Fenderbosch, Eric
Makes a little sense. :) So would my struts-config.xml look something like this? -Original Message- From: Chen, Gin [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 23, 2003 10:12 To:

[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 ->> UserAc

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: Thread.cu

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: Menk

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: 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 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 wi

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 actua

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]

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 wro

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: http://

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 between

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 conf

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 start/start.do

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 http://www.basel

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 Message-

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 welco

Re: .do as welcome-file

2003-09-23 Thread Christian Bollmeyer
I usually just put s/th like this in my index.jsp 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: "'Struts Users Mailing List'

[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] For

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, Fenderb

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 ha

Deactivate Struts Form Propertys from within the action class

2003-09-23 Thread reps.groups
Hello, is it possible to deactivate formelements generated by 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 - To unsubscrib

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 ActionEr

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 redirector yourpackage.Redirector redirector *.la

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 wor

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 exact

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 7:0

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: 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, ActionSe

[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

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[] newAiLi

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

.do as welcome-file

2003-09-23 Thread Adolfo Miguelez
Does anyone has figured out how to do this? /start/start.do I am not able to make it work. TIA, Adolfo. _ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/cam

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

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 Plug-in

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

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 OTN

  1   2   >