Re: Key words in struts-config.xml

2003-12-31 Thread Kirk Wylie
Could you provide your struts-config.xml file as well as any output from your servlet container indicating what errors happen when you try to load the application? Kirk Wylie M7 Corporation Swaminathan Rajagopalan wrote: Hi, I have to specify a URL in the path for an action mapping in struts

Re: deployment environment

2003-12-10 Thread Kirk Wylie
them a WAR file with a list of requirements, and let them go to work. Kirk Wylie M7 Corporation - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [OT] Log4J and Pre-Processor

2003-12-10 Thread Kirk Wylie
mizing rather than worrying about 5ns here and 5ns there, particularly before you go into production and know that you aren't suitably performant. Kirk Wylie M7 Corporation - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: How to detect that session has expired ?

2003-12-10 Thread Kirk Wylie
D'oh! That's the one I ment, not ServletContextListener. Kirk "Must proofread before sending" Wylie M7 Corporation Curtis Taylor wrote: HttpSessionListener is your friend...;-) http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/http/HttpSessionListener.htm

Re: [OT] Log4J and Pre-Processor

2003-12-09 Thread Kirk Wylie
, do it this way (through compilation) and let the java compiler do the work for you. For this, even if you decide to pre-process, you don't have to pre-process. But do you really care that much about 5ns? Are you SURE you care that much about 5

Re: How to detect that session has expired ?

2003-12-08 Thread Kirk Wylie
er in conjunction, where is where the logic for whether the session has been restarted could likely belong. Kirk Wylie M7 Corporation - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[OT] Log4J raw vs. commons-logging/Log4J (was Re: Log4j with Struts)

2003-12-05 Thread Kirk Wylie
ntially different. What sorts of power are you talking about? Kirk Wylie M7 Corporation - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [OT] Mailing large number of recipients

2003-12-04 Thread Kirk Wylie
Colin Kilburn wrote: my $0.02: Back in my perl days ;-), on a crappy server I would have simply sent bulk emails in bursts, such as 5 at a time with a second sleep in between. This was the difference between 90%cpu usage to an unnoticeable blip. While it's not ideal, if you can get the proces

Re: [OT] Mailing large number of recipients

2003-12-04 Thread Kirk Wylie
er as a bulk SMTP gateway), ask your IT staff if you can setup a postfix (my favorite for this stuff) or sendmail system on a cheap Linux box to do SMTP gateway for you, because they'll handle this without even a murmur. Kirk Wylie M7 Corporation -

Re: [OT] Mailing large number of recipients

2003-12-04 Thread Kirk Wylie
Brice Ruth wrote: I was under the impression that creating threads from within a web application was a relatively big no-no ... I seem to remember reading in my J2EE book it talking about their being an implicit contract between the the application and the container that no add'l threads would be

Re: [OT] Mailing large number of recipients

2003-12-04 Thread Kirk Wylie
!= spam) 3) You can't provide immediate feedback to the user about the status of the mail job because it's happening in the background. 4) Because it's not transactional (unlike JMS), you might "lose" the email if there's a failure. Kirk Wylie M7 Corporation --

[OT] Re: Printing PDF Files in java

2003-12-03 Thread Kirk Wylie
vaScript. The important thing I wanted to express is that you won't be able to do it using Java raw because in a server-side application you don't actually have any Java running on the client's machine: the java is entirely executing on the serve

Re: Changing SessionId at every request

2003-12-03 Thread Kirk Wylie
ed" in any way). It might just be faster (from a development perspective) to just go with SSL in production. Any particular reason you're reluctant to go with an SSL-based solution? Kirk Wylie M7 Corporation Gurpreet Dhanoa wrote: Hi Andrew You are right . I can implement SSL but the

Re: Data Access Optmizing

2003-12-03 Thread Kirk Wylie
n often do some pretty intensive between-transactional caching in the application level which can help out. Without knowing the particulars of your application and its transactional requirements it's difficult to know for sure, but it's possible. Kirk Wylie M7 Corporation

Integration with Reporting Systems (was: How extensively can/is Struts used ?)

2003-12-03 Thread Kirk Wylie
, so if I can easily integrate that into the technology stack I'd love to. Kirk Wylie M7 Corporation - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [OT] initialization of application-wide drop-down settings

2003-12-02 Thread Kirk Wylie
Haroon Rafique wrote: On Today at 3:31pm, KW=>Kirk Wylie <[EMAIL PROTECTED]> wrote: KW> [..snip..] KW> KW> Obligatory Monty Python quotation: "What's wrong with a Kiss, boy?" Kiss = Keep it simple stupid, I hope? ;-) From The Meaning Of Life. But it connotes the

Re: [OT] initialization of application-wide drop-down settings

2003-12-02 Thread Kirk Wylie
g system to control how often things go to the database using your DAO system for hte rest of the model, but if you're already working fine with this model why not just keep it but use some type of built-in serialization? Kirk Wylie M7 Corporation -

[OT] Re: Data Access Optmizing

2003-12-02 Thread Kirk Wylie
u've got a connection pool that's optimized, there's still scope for optimization by not interacting too much with it. Again, it's difficult to give that much in the way of concrete advice without knowing your particulars, but here are some places to start. Kirk Wylie M7 Co

Re: Large scale Internationalization using struts

2003-11-21 Thread Kirk Wylie
require that for resources, but if someone's bound to have this requirement, then this is the way to get it. Kirk Wylie M7 Corporation - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [OT] : FormatKey how to set a format

2003-11-21 Thread Kirk Wylie
x27;t. Kirk Wylie M7 Corporation Rouven Gehm wrote: Hi, it works not quite well, but if i actually have a 17,5 it still only shows 17,5 not 17,50. I can of course add 0.1 to 17,5 but thats hmm a hell of a hack. As i want to use it to show currencys, i wonder if i can use the NumberFormat.Field CUR

Re: SessionTimeout JBoss

2003-11-20 Thread Kirk Wylie
590&message=3765747#3765747 Kirk Wylie M7 Corporation [EMAIL PROTECTED] wrote: Hello, how to change the default sessiontimeout of JBoss ? Mit freundlichen Grüßen Christian Reps, Dipl. Inf. (FH) Web Applications - To unsu

Re: Large scale Internationalization using struts

2003-11-20 Thread Kirk Wylie
elsewhere on the list. Kirk Wylie M7 Corporation Linus Nikander wrote: > > > As I'm probably not the first person who is trying to use > > Struts on a larger scale for internationalization issues I > > thought someone might have a better solution. Suggestions ?

Re: Lazy questions on this list

2003-11-20 Thread Kirk Wylie
hat reason. Perhaps the machine is overloaded. Any offers for a mirror or alternate system would probably be received by the Apache group with enthusiasm. Kirk Wylie M7 Corporation Nathan Maves wrote: No search on nagoya.apache.org take less then a minute.. Way to slow to be efffective! nathan

Re: initializing properties for Actions

2003-11-18 Thread Kirk Wylie
ing-level (i.e. setPasswordDisabled(String passwordDisabled) and String getPasswordDisabled())? Kirk Wylie M7 Corporation Yee, Richard K,,DMDCWEST wrote: Frank, I tried subclassing ActionMapping and setting the type attribute in the struts config action-mappings tag. The runtime error goes away but

Re: Design decision for Globals class

2003-10-31 Thread Kirk Wylie
lying constants at all in fact). Craig Kirk Wylie M7 Corporation - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: declaring action mappings at runtime

2003-10-30 Thread Kirk Wylie
ction mappings automatically. Then you'd have everything based on Hibernate, done dynamically, and a faster startup time as well. Just an idea. Kirk Wylie M7 Corporation Ahmet ISIK wrote: I'm doing it in a plugin. My purpose is to develop generic CRUD operations, views and forms for a

Re: Cannot find message resources under key org.apache.struts.action.MESSAGE

2003-10-29 Thread Kirk Wylie
If the name of your file is ApplicationResources.properties, and it's in your WEB-INF/classes, have you tried changing the tag to ? Kirk Wylie M7 Corporation Prashanth Narayanan wrote: hi, i am getting the following message: org.apache.jasper.JasperException: Cannot find message reso

Re: please help: ActionForms of same type but different name?

2003-10-29 Thread Kirk Wylie
ulate the hidden LoginFormA or LoginFormB instance, setting a hidden value indicating which visible was actually submitted, and then submit the HIDDEN corresponding to the particular form bean you needed to use. Would this pattern work for you? Kirk Wylie M7 Corporation Sonam Belbase

Re: how to access HttpSession in EJB code?

2003-10-29 Thread Kirk Wylie
There is a pass-by-reference system available in most EJB containers, but it's proprietary for each server, so you almost certainly don't want to use it for this purpose (it's there as a performance optimization, not to make doing in/out parameters easier). Kirk Wylie M7 Cor

Re: Struts and WLS 702

2003-10-22 Thread Kirk Wylie
ed running WLS in JPDA mode and connecting a debugger to it to check the state of the various threads? Kirk Wylie Dave Conway wrote: Hi All, I'm deploying a struts application on Weblogic 702 thats running on HP UX 11i. The application appears to run fine then fall over after a limited p

Re: exception handler

2003-10-21 Thread Kirk Wylie
What do you mean that it breaks the rest of the struts include stuff? Kirk Wylie Yan Zhu wrote: here ya go javax.servlet.ServletException /servletExceptionHandler.do this actually works, but breaks the rest of the struts

Re: exception handler

2003-10-21 Thread Kirk Wylie
Since container exceptions are handled in your web.xml file, could you post that part of your web.xml file (rather than your struts-config.xml file) here? Kirk Wylie M7 Corporation Yan Zhu wrote: something like this: http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd

Re: Help with using HttpUnit with Struts

2003-10-21 Thread Kirk Wylie
Does this happen when you hit the page directly (i.e. not go through HttpUnit)? Kirk Wylie M7 Corporation Moyer, Alan L wrote: I recently downloaded HttpUnit and have been trying to use it to test a working Struts application. If anyone is using HttpUnit, please help me get by this problem

Re: Java Compiler Cannot Find the Required JAR File in the Classpath

2003-10-21 Thread Kirk Wylie
initial hangup, but it's probably something you should investigate for the future. Kirk Wylie M7 Corporation Caroline Jen wrote: I posted this problem before. Max and Carey answered my post right away. I tried and tried I must be missing something. I really do not understand why all

Re: Off Topic: A suitable JVM could not be found

2003-10-21 Thread Kirk Wylie
mple "here's a jar you should use," but in fact it's a whole slew of jar files and environment variables you have to run, and those jar files have to be in a particular file system layout in order to function (i.e. you can't just make sure

Re: tiles-defs.xml and dynamic page titles: how to do?

2003-10-17 Thread Kirk Wylie
t;% pageTitle = "%><%, " + customerName; %> <%=pageTitle%> So rather than putting the actual final title into the page, you'd put in a pattern, and rely on the individual tiles to actually compose the page title out of the tiles attribute. Does that make any sense? Kirk Wyli

Re: JNDI Datasource

2003-10-16 Thread Kirk Wylie
This actually looks like a Tomcat problem, not a Struts problem, but if you post your server.xml file it might help debug the problem. Kirk Wylie M7 Corporation virupaksha wrote: Dear All, I am facing following error, when i am trying to connect jndi data source. error is "Cannot load

Re: IDE

2003-10-16 Thread Kirk Wylie
ally just by downloading WLS), which is non-production only: http://dev2dev.bea.com/subscriptions/levels.jsp But I could have quite easily misunderstood your statement. Kirk Wylie - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: IDE

2003-10-15 Thread Kirk Wylie
Is there a price that you would feel comfortable paying, or by "a bit more open" do you mean that you're looking for a pure open source/free-as-in-beer solution? In addition, our marketing people tell me that we are currently selling 4.0 Professional for $1495. Kirk Wylie

Re: IDE

2003-10-15 Thread Kirk Wylie
You might want to evaluate the 4.0 release of the M7 Application Assembly Suite, Professional Edition. http://www.m7.com/ Kirk Wylie M7 Corporation virupaksha wrote: Dear All, I am working on struts using exadel struts studio, Can any one know other open IDE for struts ..? especially for

Re: Struts/SQL Server rephrased

2003-10-08 Thread Kirk Wylie
how _I_'ve done it, I'll be happy to provide them, but in general, I think that if you've read a good set of documentation on points #1-3 it'll be pretty self evident how it works together, in that Struts really won't know anything about SQLServer. Kirk Wylie Lynn Guy

Re: Using set-property attribute in action class

2003-10-07 Thread Kirk Wylie
properties set are not general purpose, in that you can't just obtain them in general for any arbitrary ActionConfig instance. HTH, Kirk Wylie Kirk Wylie wrote: You have to write your own Configuration class which has a For example, if you wrote MyActionConfig and set up className in your

Re: Using set-property attribute in action class

2003-10-07 Thread Kirk Wylie
You have to write your own Configuration class which has a For example, if you wrote MyActionConfig and set up className in your Action element in your struts-config.xml file, and you had a tag of: , then MyActionConfig.setFoo(bar) would be called during configuration parsing time. Kirk Wylie

Re: HELP: strutsTestCase with ant now sending too much stacktrace!

2003-10-07 Thread Kirk Wylie
Those aren't stack traces, they're Digester output. It's notorious for its excess of logging. Did you modify any logging/log4j settings, either intentionally or inadvertantly? Kirk Wylie Mick Knutson wrote: I went from having very little stack trace, to having several hundr

Re: getting the current thread inside an action

2003-09-23 Thread Kirk Wylie
only have one directory per created thread, rather than one directory per created session, and you don't have to worry about concurrency OR get the actual thread. Kirk Wylie M7 Corporation Menke, John wrote: I have a servlet that writes it's output as PDF via the response and a BufferedOu

Re: Connection Pooling + User Authentication

2003-09-23 Thread Kirk Wylie
dvantages over creating a connection per request, so it's still a worthwhile pattern to follow if your database requires this type of access. Of course, if I'm not understanding the requirements, please let me know. Kirk Wylie M7 Corporation -