Re: Struts , hibernate, and DBCP

2005-03-29 Thread Kris Schneider
I think i can do this with struts, but im not sure how. If using struts config for htis is not the answer i;d still like to know what is. -thanks -- Kris Schneider <mailto:[EMAIL PROTECTED]> D.O.Tech <http://www.dotech.com/> -

Re: Interesting problem...

2005-03-18 Thread Kris Schneider
Quoting "Frank W. Zammetti" <[EMAIL PROTECTED]>: > On Fri, March 18, 2005 1:30 pm, Kris Schneider said: > > Quoting "Frank W. Zammetti" <[EMAIL PROTECTED]>: > > > >> I've wanted a nickname all my life (aside from the expliciti

Re: Interesting problem...

2005-03-18 Thread Kris Schneider
ch 18, 2005 12:14 pm, Dakota Jack said: > >> > InetAddress might not get the answer for you, Frank. I don't know > >> > what your setup is, but you can go to any ip address service outside > >> > your system and get a unique return address for your machines with a &

Re: Interesting problem...

2005-03-18 Thread Kris Schneider
le with a different seed value for each, but that > makes maintenance a pain if a new server is added or one removed or > addresses simply changed. > > Any ideas? Thanks! > > -- > Frank W. Zammetti > Founder and Chief Software Architect > Omnytex Technologies > ht

RE: Struts DB Access :: Best Practices

2005-03-10 Thread Kris Schneider
his- > > A Database contains a map of Table Objects > A Table object contains an array list of Record Objects. > A Record object contains a map of Field Objects. > Etc > > Done properly, something like this could be infinitely reusable no matter > what the applicatio

Re: CSS and Tiles

2005-02-28 Thread Kris Schneider
> > > > > > > CONTENT="no-cache"> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >> > > /> > > > > > > > > > > > > > > > > > > > > > > > >> > > /> > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > -- > > > > -Dave > > > > [EMAIL PROTECTED] > > > > > > > > - > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > -- > > > -Dave > > > [EMAIL PROTECTED] > > > > > > > -- > > -Dave > > [EMAIL PROTECTED] > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > -- > -Dave > [EMAIL PROTECTED] -- Kris Schneider <mailto:[EMAIL PROTECTED]> D.O.Tech <http://www.dotech.com/> - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: AW: JSTL c:if question

2005-02-28 Thread Kris Schneider
AIL PROTECTED] > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Kris Schneider <mailto:[EMAIL PROTECTED]> D.O.Tech <http://www.dotech.com/> - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Antwort: Clarrifications on Usage of logic tag library

2005-02-24 Thread Kris Schneider
} else if(Exception2) { > >> some html contents > >> } else { > >> some html contents > >> } > >> > >> Also how do we achieve logical AND and logical OR condtion using > >> logic tag library > >> > >> - - -

[OT Friday] Re: How to pass variable from servlet to jsp?

2005-02-11 Thread Kris Schneider
; > > Eric D. Lemle > > Senior Programmer / Analyst > > Intermountain Health Care > > 36 South State Street, Suite 1100 > > Salt Lake City, Utah 84111 > > United States of America (USA) > > (801) 442-3688 -- e-mail: [EMAIL PROTECTED] -- Kris Schneider <mail

Re: I have a jsp. that has two included jsp's that are actually struts actions but the response only

2005-02-07 Thread Kris Schneider
he > Is there something in the framework that is preventing this? > > > > > > > > /> > > > > > > > > flush="true" > > /> > > > > > > > > Eric D. Lemle > > Senior Programmer / Analys

Re: I have a jsp. that has two included jsp's that are actually struts actions but the response only ret

2005-02-03 Thread Kris Schneider
t Intermountain Health Care 36 South State Street, Suite 1100 Salt Lake City, Utah 84111 United States of America (USA) (801) 442-3688 -- e-mail: [EMAIL PROTECTED] -- Kris Schneider <mailto:[EMAIL PROTECTED]> D.O.Tech <http://www.dotech.com/> --

Re: Why is JCL thread-safe in an Action?

2005-01-31 Thread Kris Schneider
y the application it is being called from. In other words, JCL is not intended to be used by applications. Kris Schneider wrote: I'll be looking into UGLI as well, but I currently code directly to the log4j API. Not that it doesn't have it's own set of issues in a J2EE environment, but m

Re: Why is JCL thread-safe in an Action?

2005-01-31 Thread Kris Schneider
atic members that might be updated? Is that the difference here? Thanks all! -- Kris Schneider <mailto:[EMAIL PROTECTED]> D.O.Tech <http://www.dotech.com/> - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [OT] Are you using Tapestry?

2005-01-27 Thread Kris Schneider
l > Software Engineer / Open Source Evangelist > EdgeTech, Inc. > 678.910.8017 > AIM: jmitchtx -- Kris Schneider <mailto:[EMAIL PROTECTED]> D.O.Tech <http://www.dotech.com/> - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: OT - Evaulating JSP as internal template?

2005-01-25 Thread Kris Schneider
EMAIL PROTECTED]",buff); > > } > > > > Where JSPProcessor is the kind of magic I'm looking for. I don't really > > see anything built into the API spec, so I SUSPECT if there were > > anything available in Tomcat, for instance, it would be implementati

Re: R: Session Strategy (here's a filter)

2005-01-20 Thread Kris Schneider
uding this check. > > > > > > > > > > > > If you want a real solution though, externalize your security > > > > > > using something like Netegrity Siteminder. It will > > > deal with this > >

Re: Log4j - HTMLLayout CSS

2005-01-11 Thread Kris Schneider
style that log4j > generates for html output, if so, where to do that? > It is interfering with my own stylesheet, thus giving a screwed up > layout of my Struts application. -- Kris Schneider <mailto:[EMAIL PROT

Re: JSTL import url is broken? Surely not.

2005-01-07 Thread Kris Schneider
; > Miles Daffin > Morgan Stanley > 20 Cabot Square | Canary Wharf | London E14 4QA | UK > Tel: +44 (0) 20 767 75119 > [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> -- Kris Schneider <mailto:[EMAIL PROTECTED]> D.O.Tech <http://www.dotech.com/> - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Dynamically adding an ActionMapping

2004-12-19 Thread Kris Schneider
r Java versions) -- Jason Lea -- Kris Schneider <mailto:[EMAIL PROTECTED]> D.O.Tech <http://www.dotech.com/> - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: ??? property naming convention problem

2004-12-14 Thread Kris Schneider
wrote: -Original Message- From: Kris Schneider [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 14, 2004 12:51 PM To: Struts Users Mailing List Subject: RE: ??? property naming convention problem Is that supposed to be some sort of bluff? What do variable names have to do with bean propertie

RE: ??? property naming convention problem

2004-12-14 Thread Kris Schneider
Quoting Jim Barrows <[EMAIL PROTECTED]>: > > > -----Original Message- > > From: Kris Schneider [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, December 14, 2004 10:45 AM > > To: Struts Users Mailing List > > Subject: RE: ??? property naming convention

RE: ??? property naming convention problem

2004-12-14 Thread Kris Schneider
s such as setECoupon and getECoupon. > > > > When I run submit the form within the corresponding > > JSP I get the > > > > error message not able to find the corresponding getter method for > > > > property eCoupon > > > > The moment I changed the property name to ecoupon and made the > > > > necessary adjustments within the ActionForm all began to > > work well. > > > > > > > > Is there a property naming convention to be followed in STRUTS > > > > > > > > > > > > With thanks and Regards > > > > > > > > Vinod Easaw Varghese -- Kris Schneider <mailto:[EMAIL PROTECTED]> D.O.Tech <http://www.dotech.com/> - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: ??? property naming convention problem

2004-12-14 Thread Kris Schneider
a JSP whose property has been named as eCoupon. > >>>I have created the necessary ActionForm with the necessary setter and > >>>getter methods such as setECoupon and getECoupon. > >>>When I run submit the form within the corresponding JSP I get the > >>>

Re: [OT] [Way OT] recommended site to pick up a cheap computer and flat panel?

2004-11-15 Thread Kris Schneider
www.dell.com Home & Home Office Desktops -> Dimension 4700 Customize It Looks like a bunch of discounts that end Wednesday... Quoting Rick Reumann <[EMAIL PROTECTED]>: > Kris Schneider wrote the following on 11/15/2004 1:47 PM: > > Depending on what cheap means, you mi

Re: [OT] [Way OT] recommended site to pick up a cheap computer and flat panel?

2004-11-15 Thread Kris Schneider
c wrote the following on 11/15/2004 1:01 PM: > > > Don't you love her? :-) > > Yea, that's why I'm also suckered into getting her a new Canon digital > camera and a good photo quality printer (although each credit card > purchase dampens the 'love'

Re: Request.setCharacterEncoding question

2004-11-15 Thread Kris Schneider
null) || > (request.getParameter(Constants.CANCEL_PROPERTY_X) != null)) > { > > So calling setCharacterEncoding has to be done before processPopulate(). > > Thanks! > > Randy -- Kris Schneider <mailto:[EMAIL PROTECTED]> D.O.Tech <http://www.dotech.com/> - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [****] Including a Struts action in a JSP - IllegalStateException / truncated response issue

2004-11-05 Thread Kris Schneider
nd the included action, so this not suitable for many > situations. I've also tried upgrading to Struts 1.2.4. This does not > resolve the "Response has already been committed" issue when including > more than one Struts action in a JSP. > > The app server is using J

RE: use EL in Struts 1.1

2004-10-28 Thread Kris Schneider
truts-el/lib". > > If you're > > >using a JSP 2.0 container, don't use Struts-EL. I didn't > > see in any of > > >these notes where you said what container you're using. > > > > > > > > > > > >>-Ori

Re: HttpServletRequest Question

2004-10-15 Thread Kris Schneider
t; handle to the Session is now 'null.' > > Has anyone had some experience attempting something like this, or am I > barking up entirely the wrong tree here? > > FWIW, I've looked at JAAS and don't feel that it suits our needs. The ro

Re: Cannot call more than once!

2004-10-14 Thread Kris Schneider
text (same app), the semantics are pretty much the same as RequestDispatcher.include. Quoting Mick Wever <[EMAIL PROTECTED]>: > On Wed, 13 Oct 2004 13:59:32 -0400, Kris Schneider wrote: > > > I'm not sure he actually intended to do multiple forwards, it seems like > &g

Re: Cannot call more than once!

2004-10-13 Thread Kris Schneider
> JSP so I don't think you could then do any forwarding. Any reason why > you are trying to do fowards within a forEach loop? I can't imagine what > good that could accomplish? If there was a bunch of different processing > you needed to do, do that in one action business

Re: Dynamic Fonts: Devolving to Default "Dialog"

2004-10-13 Thread Kris Schneider
es put into a may after the Font object is created > with a FileInputStream. Works like a charm. All my buttons are created > on the fly and Internationalized, so this was essential. > > If you have anything to add, given this, I would be more than > interested. Always lookin

Re: Dynamic Fonts: Devolving to Default "Dialog"

2004-10-12 Thread Kris Schneider
g with setting Fonts in Struts. Michael McGrady -- Kris Schneider <mailto:[EMAIL PROTECTED]> D.O.Tech <http://www.dotech.com/> - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: An Eclipse Like WebApp Framework? -- a proposal

2004-10-06 Thread Kris Schneider
AIL PROTECTED]>: > On Wed, 6 Oct 2004 12:01:15 -0400, Kris Schneider <[EMAIL PROTECTED]> wrote: > > Just to make sure the bases are covered, have you investigated JSF and > found it > > lacking? > > I've not. Do you know much about it? I was under the i

Re: An Eclipse Like WebApp Framework? -- a proposal

2004-10-06 Thread Kris Schneider
just what you want ;) That's about as generic as > you > > >can get. > > > > > > > > > > >- Original Message - > > >From: "Rob Evans" <[EMAIL PROTECTED]> > > > > > > > > >>Folks, >

Re: c:out question

2004-09-22 Thread Kris Schneider
> > > > > > > > I have been changing escapeXml but I haven’t had any results. > > Is there any analogues bean-write filter? > > Please help me to find an error. > > > > > > Sergey mailto:[EMAIL PROTECTED] -- Kris

Re: JSTL String concatenation

2004-09-20 Thread Kris Schneider
; for a list of products. Quoting Kris Schneider <[EMAIL PROTECTED]>: > > > Quoting andy wix <[EMAIL PROTECTED]>: > > > Hi, > > > > I have been trying for about 4 hours to get something to work that would > > take about 4 minutes usi

Re: JSTL String concatenation

2004-09-20 Thread Kris Schneider
ntext.setAttribute("path", path); > %> > > > > a href= XX > > > > > where XX is the problem bit. I want to concatenate "/" + path + > "${sound.fileName}" so that the href gets the full path and but

Re: [OT] JSP 2.0 tag files and expressions

2004-09-17 Thread Kris Schneider
;s implementation of them? > Or am I just doing something wrong? If it's a limitation of the JSP spec > and/or Tomcat, is there a work-around? Otherwise tag files are about to > become a whole lot less useful to me... :-( > > L. -- Kris Schneider <mailto:[EMAIL PROTECTED]> D.O.Tech <http://www.dotech.com/> - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: how about some clarification vs saying things are ludicrous [partially OT]

2004-09-15 Thread Kris Schneider
the import > of the html taglib declared correctly on the top of the page (ie <%@ > taglib prefix="html" uri="http://struts.apache.org/tags-html"; %> ) ? > > > -- > Rick -- Kris Schneider <mailto:[EMAIL PROTECTED]> D.O.Tech <http://

Re: how about some clarification vs saying things are ludicrous- Re: Trying to come up with a Mapping-Dispatch combo Action

2004-09-14 Thread Kris Schneider
bove... what you are displaying as generated HTML is not the same generated HTML that I see when I run the same code. Does this whole problem revolve around you not importing the struts html tag on the page? Besides just saying how things are ludicrous, or how blind we must be, and acting all

RE: C:out and LazyValidatorActionForm

2004-09-14 Thread Kris Schneider
t is > > of > > type: > > > > > type="org.apache.struts.validator.LazyValidatorActionForm"/> > > > > I set a form value like so: > > DynaBean df = (DynaBean)_form; > > df.set("accessionDate", new java.util.Date()); > >

Re: C:out and LazyValidatorActionForm

2004-09-14 Thread Kris Schneider
pache.struts.validator.LazyValidatorActionForm"/> > > I set a form value like so: > DynaBean df = (DynaBean)_form; > df.set("accessionDate", new java.util.Date()); > > I thought that doing a > would do it but I keep getting an error that it can'

Re: Trying to come up with a Mapping-Dispatch combo Action

2004-09-14 Thread Kris Schneider
s thinking of changing to: newAction = '${pageContext.request.contextPath}/'+action+'.do'; Which seems like a bad idea since it skips URL rewriting. Quoting Michael McGrady <[EMAIL PROTECTED]>: > Kris Schneider wrote: > > >I'm guessing David's g

Re: Trying to come up with a Mapping-Dispatch combo Action

2004-09-14 Thread Kris Schneider
gt; > > *IMAGES:* > > > all work in this case without any value for the parameter attribute in > DispatchAction or LookupDispatchAction. Does this do the job for you? > Notice that you can change the update.x, for example, to method.update.x > if you want to

Re: [OT] How to sort with ?

2004-09-09 Thread Kris Schneider
> Hi, > > > > > > Is there an easy way to have the JSTL forEach tag sort the > > collection of > > > items before looping through them? Currently I have a scriptlet > > doing it > > > before the loop tag, but this is pretty ugly. > >

RE: Date format woes

2004-09-08 Thread Kris Schneider
public void setExpirationDate(Date expirationDate){ > > > > ... > > ... > > No, only what I posted. > > > -- > Tim Slattery > [EMAIL PROTECTED] -- Kris Schneider <mailto:[EMAIL PROTECTED]> D.O.Tech <http://www.dotech.com/> - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: ARRRGGGGHHHH!!! I'm being stupid again....

2004-09-03 Thread Kris Schneider
> * the last page. > > > */ > > > private int maxNumberOfPages = 0; > > > > > > Lots o' blah > > > > > > /** > > > * @return > > > */ > > > public int g

Re: Classloading problem

2004-08-31 Thread Kris Schneider
I just > completely misreading the above sentence? > > Thanks for your help, > Erik > > > Kris Schneider wrote: > > >Can you provide some more detail on the problems you're running into with > using &g

Re: Classloading problem

2004-08-31 Thread Kris Schneider
; >>We have Tomcat 5.0.16 and were incorrectly placing common jars (such as > >>JDBC drivers) in /common/lib. > >> > >>Now we just moved them to /shared/lib (for truly common stuff) and > >>WEB-INF/lib, but now all applications complain giving a > >>

Re: 1.2.2 validator problem in websphere

2004-08-31 Thread Kris Schneider
.webcontainer.servlet.StrictLifecycleServlet._init(StrictLifecycle > > > > > > > Servlet.java:147) > > > > > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > >

Re: What's happening with include tags?

2004-08-20 Thread Kris Schneider
Quoting David Durham <[EMAIL PROTECTED]>: > Kris Schneider wrote: > > > Which may, in fact, be a TC bug. Just tried it on WLS 8.1 SP3 and it > > worked > > I don't think it's a bug. > > > <%@ include file="splitHeader.jspf" %&

Re: What's happening with include tags?

2004-08-20 Thread Kris Schneider
Which may, in fact, be a TC bug. Just tried it on WLS 8.1 SP3 and it worked fine: Header Body Footer Quoting Kris Schneider <[EMAIL PROTECTED]>: > True. But even if you use the include directive, you can't split your tags. > For > example, try: > > split.js

Re: What's happening with include tags?

2004-08-20 Thread Kris Schneider
I seem to need to also put them in the included files, otherwise > >the tags there won't be resolved. > > > >Right now the tag is working fine. The header.jsp file > >also contains an tag that is *not* getting translated. > >Footer.jsp has the matching

Re: Struts + Tomcat 5.0/ JSP 2.0+ JSTL

2004-08-20 Thread Kris Schneider
at, even though he's in a 1.2 container, > > I meant JSP 2.0 ... gets confusing when talking about Struts1.1, 1.2 and > then JSP2.0:) > > > -- > Rick -- Kris Schneider <mailto:[EMAIL PROTECTED]> D.O.Tech <http://www.dotech.com/> ---

Re: Struts + Tomcat 5.0/ JSP 2.0+ JSTL

2004-08-20 Thread Kris Schneider
tag file, attribute value > >> does not accept any expressions" > >> > >> for using the > >> > >> Just to note that the html:hidden refers actually the html-el:hidden. > >> > >> What am I missing? Do I need another version of JSTL, Strut

Re: format date using a bean:write

2004-08-17 Thread Kris Schneider
t working: > > format="##-##-" /> > > > > Thanks in advance. > > /jm -- Kris Schneider <mailto:[EMAIL PROTECTED]> D.O.Tech <http://www.dotech.com/> - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: JSTL duplication of tag content

2004-08-16 Thread Kris Schneider
nt > > > Anyone else experiencing duplication of tag contents with JSTL? > > e.g. > > > > > > > > > where: > > form.title=Log new {0} > person.form.name=Person > > Results in "Log new Person" the first time you open th

Re: Still need help with layered Map iteration in JSP

2004-08-16 Thread Kris Schneider
s I am > after trying to figure this out: > > > > . . . > > . . . >varStatus="iteratorStatus"> > . . . > > . . . > > > and so on . . . > > > Thank you, > Erik > > P.S. I would love to know how you learned all this (I suppose I must b

Re: Still need help with layered Map iteration in JSP

2004-08-16 Thread Kris Schneider
t; to be applied to an array, but > > that the value cannot be converted to an integer. > > > > Is there some sort of way I can use "items.length" or "items.size" or > > something similar? More importantly, WHERE IS THIS DOCUMENTED? > > > >

Re: Need help with layered Map iteration in JSP

2004-08-13 Thread Kris Schneider
logous to the indexId attribute to logic:iterate)? > > Thanks, > Erik > > > Kris Schneider wrote: > > ><%@ taglib prefix="c" uri="http://java.sun.com/jstl/core"; %> > > > > > > <%-- ${entry.key} is the current key --%> >

Re: Need help with layered Map iteration in JSP

2004-08-13 Thread Kris Schneider
> > > > > > > > > > > >

Re: taglibs: how can i rewrite an action uri without rendering a html link tag?

2004-08-02 Thread Kris Schneider
ce" <[EMAIL PROTECTED]>: > hallelujah! Now I just need to migrate ... ugh > > Erik Weber wrote: > > > If I'm not mistaken, the "action" attribute to html:rewrite is > > support

Re: x:transform

2004-07-30 Thread Kris Schneider
y more prefixes in this context" > > i have no clue what is going wrong.Please help me > >lokanath -- Kris Schneider <mailto:[EMAIL PROTECTED]> D.O.Tech <http://www.dotech.com/> - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: bean:define vs c:set

2004-07-29 Thread Kris Schneider
> > > > > maxPageItems="<%=pageItems.intValue()%>"> > > > > //items > > > > > > In the el way it should be like: > > > > > > > > > maxPageItems="<%=pageItems.intValue()%>&quo

Re: not quite struts: handling Images

2004-07-27 Thread Kris Schneider
custom compression. > > The upload is done via FormFile, so I have the InputStream - all the > > rest via Java API - and I have no clue of where to get started :-( > > Cheers, > > Ron -- Kris Schneider <mailto:[EMAIL PROTECTED]> D.O.Tech <http://www.dotech.com/> - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: OT: Problems with classpath under tomcat 5

2004-07-21 Thread Kris Schneider
you done anything to TC like create a custom Context for the app? Are you sure target.getConfigurationName() is really returning what you expect (e.g. no leading spaces, etc.)? Quoting "Rosenberg, Leon" <[EMAIL PROTECTED]>: > Yep, exactly > > > > -Ursprüngliche Nachr

Re: AW: AW: OT: Problems with classpath under tomcat 5

2004-07-21 Thread Kris Schneider
Does "filename" evaluate to something like "foo.properties" (no other path info) and is that file located in WEB-INF/classes? Quoting "Rosenberg, Leon" <[EMAIL PROTECTED]>: > Thanx, but it doesn't work either. > > > -Ursprüngliche

Re: AW: OT: Problems with classpath under tomcat 5

2004-07-21 Thread Kris Schneider
> > > long timestamp = getTimestamp(target); > > > > > > if (lastModified > > > > > return; > > > > > > log.debug("filename has been updated."); > > > > > > } > >

Re: [OT] how to calculate the size of an object

2004-07-09 Thread Kris Schneider
} Then, generate the shared lib (Solaris SPARC): cc -G -I${JAVA_HOME}/include -Isrc -I${JAVA_HOME}/include/solaris src/jvmti_size.c -o libjvmti_size.so Finally, give it a run: java -agentlib:jvmti_size -cp classes JvmtiSize s: 24 bytes sa: 16 bytes class:288 bytes Quoting Kris Sc

Re: [OT] how to calculate the size of an object

2004-07-08 Thread Kris Schneider
; >>-- > >>regards > >>Navjot Singh > >> > >>When you jump for joy, beware that no-one moves the ground from beneath > >>your feet. -- Stanislaw Lem, "Unkempt Thoughts" > >> > >>- > >>To unsubscribe, e-mail: [EMAIL PROTECTED] > >>For additional commands, e-mail: [EMAIL PROTECTED] > >> > >> > >> > >> > >> > >>- > >>To unsubscribe, e-mail: [EMAIL PROTECTED] > >>For additional commands, e-mail: [EMAIL PROTECTED] > > > >-- > >regards > >Navjot Singh > > > >When you jump for joy, beware that no-one moves the ground from beneath > >your feet. -- Stanislaw Lem, "Unkempt Thoughts" -- Kris Schneider <mailto:[EMAIL PROTECTED]> D.O.Tech <http://www.dotech.com/> - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: using Constants from JSTL .....

2004-07-08 Thread Kris Schneider
gt; And it works fine, but really what I am trying to get here is the > >> value of using Constants in > >> both my Actions and my ( JSTL based ) jsp's. > > > > > > You need to have all your Constants in a Map that is in application > > scope. Kris

Re: Not possible to attach 2 (or more) parameters from 2 different beans to an html:link?

2004-07-06 Thread Kris Schneider
t; twice, once for each bean/property, it only attaches one! > > Is there some way I can create a "custom" bean ... in the page, put the two > properties I need inside it, and pass *it* to the html:link with

Re: Why

2004-07-02 Thread Kris Schneider
k it will work: > > > XX > > > or in javascript: > > document.getElementById("xxx").disabled = 'true'; > > Henrique Viecili > - Original Message - > From: Kris Schneider > To: Struts Users Mailing List > Se

Re: Why

2004-07-02 Thread Kris Schneider
an I do? > > I use struts-1.1. > > Zsolt -- Kris Schneider <mailto:[EMAIL PROTECTED]> D.O.Tech <http://www.dotech.com/> - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: [OT] How to do Xalan parsing of XML file retrieved with HTTP?

2004-07-01 Thread Kris Schneider
) > > at > > > org.apache.jsp.cvs_005fuittreksel_jsp._jspService(cvs_005fuittreksel_jsp.jav > > a:109) > > ... > > > > > > When instead I try to parse a local XML file, there are no problems: > > String xmlFile = getServletContext().getRealPath

RE: Setting html:hidden property using JSTL

2004-06-24 Thread Kris Schneider
> > > > > > Robert, if ${contentId} is available as an > > > > attribute > > > > > (which it was) and not as a parameter, i would > > > > expect > > > > > it to produce null or something instead of > > > >

Re: [OT] Arraylists/Collections

2004-06-24 Thread Kris Schneider
es > 6302 Fairview Rd, Suite 201 > Charlotte, NC 28210 > Phone: (704) 362-9423, Fax: (704) 362-9409, Mobile: (704) 650-1042 > Email: [EMAIL PROTECTED] -- Kris Schneider <mailto:[EMAIL PROTECTED]> D.O.Tech <http://www.dotech.com/> ---

RE: Setting html:hidden property using JSTL

2004-06-24 Thread Kris Schneider
uot;c" %> > > > >>> > > > >>> > > > >>>What am i doing wrong? > > > > > > Not sure. If you have > > > - struts-el jar included > > > - proper definition of the tld in web.xml > > > -

Re: JSP:include page + Resource bundle

2004-06-24 Thread Kris Schneider
> > See ex. > > > > > > /> > > > > > > I am not sure if any Struts tag is there for above statement. But this > > scheme is also not working, on CommandSaveIncludeHeader.jsp page I am > > getting header as > > > > global.

RE: How to use dynamically generated CSS style with Struts tags

2004-06-23 Thread Kris Schneider
; >> > > >> What are the possible ways (and best) to modify the style sheet at > >run > > >>time using Struts framework? > > >> Our application is using Struts tags which refer to a static style > > >>sheet elements as presente

RE: logic:redirect not working (problem with dynamic jsp:include?)

2004-06-23 Thread Kris Schneider
> > > > > <%logger.info("not present");%> > > > > > Home.jsp > > [snip..] > > > > [snip..] > > > > I am puzzled. The redirect does not work. > The log statements indicate that the code block is being called - i.e. "not > present" is output. > > > Any ideas what is wrong? > > > > TIA - Adam -- Kris Schneider <mailto:[EMAIL PROTECTED]> D.O.Tech <http://www.dotech.com/> - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [OT] Accessing Http Request with Groovy

2004-06-21 Thread Kris Schneider
the CoyoteRequestFacade, not the > normal javax.servlet.http.HttpServletRequest. So, for all of you groovy > guru's out there, how can I do this? > > Thanks! > > Jerry Jalenak > Development Manager, Web Publishing > LabOne, Inc. > 10101 Renner Blvd. > Lenexa, KS 66219 > (913) 577-1496 > > [EMAIL PROTECTED] -- Kris Schneider <mailto:[EMAIL PROTECTED]> D.O.Tech <http://www.dotech.com/> - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: RowSetDynaClass

2004-06-15 Thread Kris Schneider
setAttribute("results", myResultsObj); > > > > Then in my jsp, I do the following: > > > > > > . > > - > > > > > > I get the following error: > > [ServletException in:/pages/test-body.jsp] > > An error occurred

Re: [OT] getting a random number with JSTL?

2004-06-10 Thread Kris Schneider
ink about wrtiting > such a tag for me. But I don't have to do this, if it still exists. ;-) > > Thanks, > > Axel -- Kris Schneider <mailto:[EMAIL PROTECTED]> D.O.Tech <http://www.dotech.com/> - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: html:link and map of request parameters

2004-06-09 Thread Kris Schneider
PROTECTED]>: > > Date: Tue, 8 Jun 2004 15:42:58 -0400 > > From: Kris Schneider <[EMAIL PROTECTED]> > > To: Struts Users Mailing List > > <[EMAIL PROTECTED]> > > Subject: Re: html:link and map of request parameters > > > > I believe the base

Re: html:link and map of request parameters

2004-06-08 Thread Kris Schneider
> results = new HashMap(map); > } else { > results = new HashMap(); > } > > I wish I was able to use a LinkedHaspMap in my > useBean: > > class="java.util.LinkedHaspMap"/> > > so the items I add to the Map appear in the same order > in the

Re: converting bean:write to c:out

2004-06-07 Thread Kris Schneider
> > > > where getValue is defined as > > > > HashMap values = new HashMap(); > > . > > public String get(String name){ > > String value = (String) values.get(name); > > return value; > > } > > > > hoping for your immedi

Re: What's best practice to determine correct jsp buffer size?

2004-05-28 Thread Kris Schneider
ion has performed, > I always get "40960". Seems a little big for me, and I thought the value > would change for each different page? > > Mick > > > -- > -- > "One of the easiest ways to avoid many common problems is to stop using

Re: jsp:plugin & Struts.

2004-05-27 Thread Kris Schneider
sn't a struts version of the jsp:plugin tag, does anyone know how > I can achieve this? Is it possible to extend the plugin tag and amend the > archive property setter? > > Any help greatly appreciated. > > Cheers, > > Alan. -- Kris Schneider <mailto:[EMAIL P

Re: How to renderize a image?

2004-05-26 Thread Kris Schneider
rchitect > > Vecna Technologies > 5004 Lehigh Rd., Suite B > College Park, MD 20740 > [EMAIL PROTECTED] > t: 301-864-7594 > f: 301-699-3180 -- Kris Schneider <mailto:[EMAIL PROTECTED]> D.O.Tech <http://www.dotech.com/> - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: JSTL 1.1 EL not working :(

2004-05-17 Thread Kris Schneider
.sun.com/jsp/jstl/core"; prefix="c" %> > > > gives: > ${1+1} > > Any idea what's going on? > It looks like the taglib is working fine, but not using el! > > Any ideas? > > Daniel. -- Kris Schneider <mailto:[EMAIL PROTECTED]> D.O.Tech <http://www.dotech.com/> - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: java.lang.OutOfMemoryError after server app start/stop cyclin g

2004-05-14 Thread Kris Schneider
t; > collected. If enough of these accumulate, you run out of memory. > > > > > > Admittedly, I use Struts in all these cases, you might argue that > > > it's a Struts issue, since that's the common feature, but I can't > > > think of anyways Struts is being particularly careless in a way that > > > would aggravate this problem. > > > > > > I may have a completely wrong understanding of the problem too, but > > > this is how we explain it to ourselves around here! > > > > > > Joe > > -- > Jignesh Patel > Project Leader > > Bang Software Technolgy Pvt. Ltd. > > > (E) [EMAIL PROTECTED] > > (T) 091 484 3942132 > > > B-4, Smart Business Centre, > Infopark, SDF IT Building, > Kusumagiri P.O.,Kakkanad, > Kochi - 682030, > Kerala, > India. -- Kris Schneider <mailto:[EMAIL PROTECTED]> D.O.Tech <http://www.dotech.com/> - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: JSTL 1.1 + HTML-EL Problem

2004-05-06 Thread Kris Schneider
MAIL PROTECTED]>: > What are "runtime" and "request-time"? Where can I change "runtime"? > > Zsolt > > > -Original Message- > > From: Kris Schneider [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, May 05, 2004 7:41 PM > > To:

Re: JSTL 1.1 + HTML-EL Problem

2004-05-05 Thread Kris Schneider
Ugh. Change "runtime" to "request-time"... Quoting Kris Schneider <[EMAIL PROTECTED]>: > The Struts-EL tags are essentially useless in JSP 2.0. Use the standard > Struts > tags and JSP 2.0 will automatically allow EL expressions for attribute > values. &g

Re: JSTL 1.1 + HTML-EL Problem

2004-05-05 Thread Kris Schneider
lowing error: > > "Page directive has invalid attribute: isELEnabled" > > Am I correct in saying the tags don't work with the Servlet 2.4 > specification? > > Thanks, > Ricardo -- Kris Schneider <mailto:[EMAIL PROTECTED]> D.O.Tech <http

RE: Moving from bean:write to fmt:formatNumber

2004-05-04 Thread Kris Schneider
eems a bit hairy... when I use bean:write, the key comes from my > application resources file nicely, but with this fmt, I have to use a bundle > of some sort. Why is this more complicated than the bean:writes? > > Earl > > -Original Message- > From: Kris Schneider [mailto:[E

Re: Moving from bean:write to fmt:formatNumber

2004-05-04 Thread Kris Schneider
attern from my application resources file - there doesn't seem to be a key > parameter in the fmt:formatNumber tag. Has anyone run into this problem in > the past and what have you done about it? > > Thanks a lot, > Earl > > > > Earl Woodman > Software De

Re: Tools for check struts-config.xml parse exception

2004-05-04 Thread Kris Schneider
Ant's optional task. Quoting Kelvin wu <[EMAIL PROTECTED]>: > Dear all, > > Which tools you are using for check parse exception for struts-config.xml? > > Kelvinwu -- Kris Schneider <mailto:[EMAIL PROTECTED]> D.O.T

Re: trouble with taglibs in xml syntax

2004-05-03 Thread Kris Schneider
ou for your answer. > It works. Can you help me understand why :) > Someone looks in all jar's for > 'http://jakarta.apache.org/struts/tags-bean' namespace? > When I am use JSP 2.0 what I sould take instead of element? > I use tiles so I can't take as root el

  1   2   >