RE: Best way to find referrer

2002-03-13 Thread McDowell, Mark
String refText = request.getHeader(referer); if (refText == null) { // no referer } -Original Message- From: John M. Corro [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 13, 2002 9:11 AM To: [EMAIL PROTECTED] Subject: Best way to find referrer I'm looking to find the best way to

RE: HTML:LINK

2002-02-18 Thread McDowell, Mark
If you provide a java.util.Map to the link, it will add every entry in the map as parameters. For example, if your map has these entries: KeyObject one, entryOne two, entryTwo your link will have these parameters added on: ?one=entryOnetwo=entryTwo -Original Message- From: Struts

RE: How can I use a background process with JBoss

2002-02-13 Thread McDowell, Mark
It's not precisely a *background* thread, but you could use JMS. Post a message to a JMS queue, an EJB handles it and posts success/failure into another queue for you to read. This lets the app server handle the threading... Mark -Original Message- From: Dirk Storck [mailto:[EMAIL

RE: Novell Bordermanager

2002-02-06 Thread McDowell, Mark
My group has run into this kind of problem. We found that bordermanager defaults to not caching .asp files, but most everything else is cached. In our case, we use lots of .jsp files, so we could have the sysadmin configure bordermanager to not cache .jsp files, and we were good. I'm guessing

RE: Novell Bordermanager

2002-02-06 Thread McDowell, Mark
A problem we've run into is that even with the methods used below, caching servers like bordermanager are not precisely *required* to obey. So, even when you tell it, *DO NOT CACHE*, it still may unless configured properly... :( Mark -Original Message- From: Christian Bouessay

RE: [ANNOUNCE] ObjectAssembler - Free Struts Development Tool

2002-01-25 Thread McDowell, Mark
I wish you had it available for Forte for Java... :( -Original Message- From: Bill Willis [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 22, 2002 11:12 AM To: [EMAIL PROTECTED] Subject: [ANNOUNCE] ObjectAssembler - Free Struts Development Tool Hello everyone, We have just released

RE: help : iterate

2002-01-24 Thread McDowell, Mark
I'm curious... Are you trying to figure out what Struts does to see if you might use it to solve problems, or has someone said to you, Use struts! and you are trying to follow directions? If you are trying to figure out what Struts does, see http://husted.com for some pretty good information.

RE: How to use Log4j with a startup logging servlet

2002-01-15 Thread McDowell, Mark
I use method 2, but it doesn't require a call into that servlet. I just use it to initialize log4j. After this servlet loads, I just call log4j object methods, and it works. I believe (someone correct me if I'm wrong) that the servlet loads in the same JVM, so you have access to its objects in

RE: taglib question

2002-01-04 Thread McDowell, Mark
Actually, if you have a web server that's always available to your applications, you can put the tld on the web server and use the url rather than the direct path to the tld, can't you? I'm not an expert, but I thought I've seen some examples do this... Mark -Original Message- From:

RE: taglib question

2002-01-04 Thread McDowell, Mark
/taglib taglib taglib-urihttp://jsptags.com/tags/navigation/pager/taglib-uri taglib-location/WEB-INF/tlds/pager-taglib.tld/taglib-location /taglib hth, Michelle -Original Message- From: McDowell, Mark [mailto:[EMAIL PROTECTED]] Sent: Friday, January 04, 2002 10:10 AM

RE: What to do to avoid users bookmarking Login Page

2001-12-20 Thread McDowell, Mark
Presuming that there is some object in scope that is valid only when the user has authenticated, you can check with a logic tag that this object is present and the user is logged in and if they aren't, forward them to the MainPage.do. Another option I have seen used is to create a custom tag

RE: logic:iterator - how to determine if this is the first time t hrough an iteration

2001-12-20 Thread McDowell, Mark
You could try: logic:iterate . indexId=i bean:define id=imod2 value=%=i%2% tr logic:equal name=imod2 value=1bgcolor=#FF/logic:equal tddisplay something.../td /tr /logic:iterate Mark -Original Message- From: Nekkalapudi, Viplava [mailto:[EMAIL PROTECTED]] Sent: