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: 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.html Kirk Wylie wrote: Ashish

Re: [OT] Log4J and Pre-Processor

2003-12-10 Thread Kirk Wylie
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: deployment environment

2003-12-10 Thread Kirk Wylie
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-09 Thread Kirk Wylie
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 5ns? Kirk Wylie M7 Corporation

Re: How to detect that session has expired ?

2003-12-08 Thread Kirk Wylie
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
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
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 - To unsubscribe, e-mail: [EMAIL PROTECTED

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
(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 - To unsubscribe, 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

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

2003-12-03 Thread Kirk Wylie
that are experienced with Crystal Reports, 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: Data Access Optmizing

2003-12-03 Thread Kirk Wylie
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 - To unsubscribe, e-mail

Re: Changing SessionId at every request

2003-12-03 Thread Kirk Wylie
). 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 there must be a solution

[OT] Re: Printing PDF Files in java

2003-12-03 Thread Kirk Wylie
. 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 server. Kirk Wylie M7 Corporation

[OT] Re: Data Access Optmizing

2003-12-02 Thread Kirk Wylie
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 Corporation - To unsubscribe, e-mail: [EMAIL PROTECTED

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

2003-12-02 Thread Kirk Wylie
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

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 same thing. I won't discuss the context

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

2003-11-21 Thread Kirk Wylie
. 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 CURRENCY

Re: Large scale Internationalization using struts

2003-11-21 Thread Kirk Wylie
, 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: Lazy questions on this list

2003-11-20 Thread Kirk Wylie
. 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 On Nov 20

Re: Large scale Internationalization using struts

2003-11-20 Thread Kirk Wylie
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 ? In this case, you shouldn't be putting

Re: SessionTimeout JBoss

2003-11-20 Thread Kirk Wylie
#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 unsubscribe, e-mail: [EMAIL

Re: initializing properties for Actions

2003-11-18 Thread Kirk Wylie
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 the setter method never gets called. It could be a bug. -Richard

Re: Design decision for Globals class

2003-10-31 Thread Kirk Wylie
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
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 any model object

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 Corporation Andrew

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

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

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 message-resources tag to message-resources parameter=ApplicationResources/? Kirk Wylie M7 Corporation Prashanth Narayanan wrote: hi, i am getting the following message

Re: Struts and WLS 702

2003-10-22 Thread Kirk Wylie
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 period of stress

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

2003-10-21 Thread Kirk Wylie
, 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 they're in your classpath). Kirk Wylie M7 Corporation

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

2003-10-21 Thread Kirk Wylie
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 of a sudden that the java compiler cannot find

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: 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: ?xml version=1.0 encoding=ISO-8859-1 ? !DOCTYPE struts-config PUBLIC

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 error-page exception-type javax.servlet.ServletException /exception-type location /servletExceptionHandler.do /location

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

2003-10-17 Thread Kirk Wylie
= %bean.write name=titleFromTiles%, + customerName; % title%=pageTitle%/title 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 Wylie M7

Re: IDE

2003-10-16 Thread Kirk Wylie
: 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: 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 JDBC

Re: IDE

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

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 M7 Corporation Voinea

Re: Struts/SQL Server rephrased

2003-10-08 Thread Kirk Wylie
, 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 wrote: The issue is that the poor sod who doesnt know it all coming in has 2

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 hundred/thousand per

Re: Using set-property attribute in action class

2003-10-07 Thread Kirk Wylie
configuration parsing time. Kirk Wylie Nisith Dash wrote: How can i access the propery of a bean which i have set in the struts config file using set-property in my action class. thanks, DISCLAIMER: The information

Re: Using set-property attribute in action class

2003-10-07 Thread Kirk Wylie
. The 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: Connection Pooling + User Authentication

2003-09-23 Thread Kirk Wylie
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 - To unsubscribe, e

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 BufferedOutputStream