Request parameters getting lost

2004-04-12 Thread Frank W. Zammetti
I have a very odd situation... I have an app running on Tomcat 5.0.1.8. We're using it as both a web server and servlet container. What's happening is I'm getting NullPointerExceptions in both JSP's and servlets that is a result of request parameters seemingly being lost somewhere along the

Re: Response and file downloads

2004-11-01 Thread Frank W. Zammetti
You should be aware that IFrames are an IE-only thing. Won't work on any other browser AFAIK. What did you get when you tried onLoad()? Maybe I can gelp get that working. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com Jonathan Wilson

Re: Response and file downloads

2004-11-01 Thread Frank W. Zammetti
to target a layer, that could do the trick. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com David Wall wrote: You should be aware that IFrames are an IE-only thing. Won't work on any other browser AFAIK. Is that true? My impression

Re: Response and file downloads

2004-11-01 Thread Frank W. Zammetti
:) -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Response and file downloads

2004-11-01 Thread Frank W. Zammetti
difference in how things are rendered to make it unpleasant, but it's not nearly as difficult as it used to be. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com Chad Maniccia wrote: IE 4 made Netscape 4 look like a piece of crap. It was light

Re: DataSource and initialContext.lookup(java:comp/env)

2004-11-06 Thread Frank W. Zammetti
/wms (not exactly, but you get the idea). Does that help any? -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com Eric Wulff wrote: I just returned from working on a tutorial at sun which I was inspired to go over based on my lack of understanding

Re: can any one suggest me port number! 8080 is already used by Oracle9i's http server

2004-11-06 Thread Frank W. Zammetti
Aside from 8080, 8181 is a pretty typical port to use. There's no rules or anything, virtually any port that isn't one of the well-known ports would be fine, but those two you tend to see used quite a bit. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http

Re: DataSource and initialContext.lookup(java:comp/env)

2004-11-07 Thread Frank W. Zammetti
all the code you have to just one line, something like: DataSource ds = (DateSource)new InitialContext().lookup(java:comp/env/jdbc/wms) I'm fairly certain that works. That might be clearer to you. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http

Re: hide source of a page

2004-11-08 Thread Frank W. Zammetti
(think a PE compactor approach). I think making it tough is about as good as you can hope to do, but as Steven said, it's ALWAYS going to be defeatable one way or another. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com Steven J. Owens wrote

Re: hide source of a page

2004-11-08 Thread Frank W. Zammetti
bit easier and gives a bit more security. Not a lot mind you, but enough to matter. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com Peter Johnson wrote: But ActiveX is an IE only element is it not? For that case why not just use an applet

Re: hide source of a page

2004-11-09 Thread Frank W. Zammetti
flexibility others don't, although I don't have some flexibility others do, but that's a topic for another thread). I do seem to recall seeing such a thing for Firefox on Windows, but I could be mistaken. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http

Re: Can I send response to browser even after the doGet returned?

2004-11-26 Thread Frank W. Zammetti
would be helpful. As I said, I'm making assumptions here, so I could be completely wrong! -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com Santhosh Thomas wrote: Hi I know this is a basic question. I am passing the request and response object

Re: Can I send response to browser even after the doGet returned?

2004-11-27 Thread Frank W. Zammetti
could do either (callback to an applet for instance), but polling is probably easier. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com Dakota Jack wrote: Why do you want to put the request in the queque? I do something similar in a messaging

Re: [HttpSession creation: When How]

2004-11-29 Thread Frank W. Zammetti
out the config switch to turn it off, if my memory is serving me correctly in saying it exists at all). -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com Carlos Cajina wrote: Good evening. My question is about HttpSession objects creation

Re: liberaries

2004-12-02 Thread Frank W. Zammetti
These are the basic servlet classes. I usually just put j2ee.jar on the path, but there is also servlet-api.jar somewhere in /tomcat/common/lib. Either one should do the trick. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com James Peterson

RE: sending a JSP page by email

2004-12-16 Thread Frank W. Zammetti (MLists)
the response at that point, so it's not trying to send back to the client or anything. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com On Thu, December 16, 2004 1:38 pm, haimra said: I had tried doing the same thing and failed. But after I

[OT] Request an app test (free beer!)

2004-12-20 Thread Frank W. Zammetti
on wouldn't hurt). If you could just post your OS and what the result was, I would greatly appreciate it. Thanks in advance! -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com

Re: How to run servlet for every 30 minutes in Tomcat 4.1.30

2004-12-21 Thread Frank W. Zammetti
ability, and believe the use case really warrants it, you CAN do it, and relatively safely. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com Dennis Payne wrote: It is possible to create a servlet thread in the init() method. That thread sould

Re: How to run servlet for every 30 minutes in Tomcat 4.1.30

2004-12-21 Thread Frank W. Zammetti
) -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com QM wrote: On Tue, Dec 21, 2004 at 03:37:26PM -0700, Dennis Payne wrote: : It is possible to create a servlet thread in the init() method. That : thread sould stay alive and run something every

Re: How to run servlet for every 30 minutes in Tomcat 4.1.30

2004-12-28 Thread Frank W. Zammetti
think you'd have to have it run at a lower priority than your app server, and I'm sure there's switches to set priority of jobs, but I don't know them. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com

Re: JSP under /WEB-INF folder

2004-12-28 Thread Frank W. Zammetti
WEB-INF won't be reachable, which was the crux of his problem as I understood it, that's why he was talking about includes and such all over the place. But, if you really are serving everything from there, how are you doing it? Just curious at this point :) -- Frank W. Zammetti Founder

Re: How to run servlet for every 30 minutes in Tomcat 4.1.30

2004-12-28 Thread Frank W. Zammetti
towards a push model, since that's really more in line with how most web development is done. So, have the data collection servers push the records to the central server instead, whether queues are involved or not. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies

Re: Including jsp files that exist outside of the web application

2004-12-28 Thread Frank W. Zammetti
be something people can live with. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com [EMAIL PROTECTED] wrote: On Tue, 28 Dec 2004, Dakota Jack wrote: What if you don't include the JSP file but include the related JAVA file and use CLASSPATH

JSP compilation problem

2004-12-30 Thread Frank W. Zammetti
to /common/lib, neither help. Thanks! -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: JSP compilation problem

2004-12-31 Thread Frank W. Zammetti
that is causing a problem on this one Tomcat instance. Thanks for the suggestion, it's a logical course of action. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com Ryan Stewart wrote: Quite simply, you have an error in your JSP that is preventing

Re: JSP compilation problem

2005-01-01 Thread Frank W. Zammetti
with the generated servlet. Any other ideas? Thank you! -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com Ryan Stewart wrote: I answered you yesterday on this. There's generally no reason to post the same question two days in a row. Just wait and see

Re: JSP compilation problem

2005-01-02 Thread Frank W. Zammetti
version of Tomcat is OK with 5.0? (assuming any are, which I DO assume). Or is this just some sort of fluke situation? In any case, my problem is solved, and that was the resolution. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com Ryan Stewart

Re: dynamically compile JSPs

2005-01-10 Thread Frank W. Zammetti
like your really stuck, I'm relatively sure the above will do it for you, if worse comes to worse. I guess if this isn't something that's going to be happening a lot, it might not be a problem this way. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http

Re: Long running requests and timeouts?

2005-01-17 Thread Frank W. Zammetti
. Hope this helps! -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com Andrzej Jan Taramina wrote: I have a situation where some requests that get sent to Tomcat are very long running (basically batch operations). I've been testing with a request

Re: Long running requests and timeouts?

2005-01-17 Thread Frank W. Zammetti
problem. I too will be watching to see what your solution is, just out of curiosity. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com Andrzej Jan Taramina wrote: Frank: I don't know your usage pattern, but especially if there could

Re: What is it mean that Java code does not belong in well designed JSP pages?

2005-01-23 Thread Frank W. Zammetti
be (a) trivial and (b) strictly presentation-related. Breaking THOSE rules, which by extension breaks the higher rules, is to be avoided at all costs. Just my opinions. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com Dola Woolfe wrote: I just read

Re: What is it mean that Java code does not belong in well designed JSP pages?

2005-01-23 Thread Frank W. Zammetti
?!? -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: What is it mean that Java code does not belong in well designed JSP pages?

2005-01-23 Thread Frank W. Zammetti
myself :) -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com Tim Funk wrote: Essentially you have written a servlet but packaged it as a JSP. Anytime it becomes a trivial effort to hand transform a JSP into a servlet usually means some refactoring

Re: ?? Sharing the JSTL JARS and Classloading ??

2005-01-23 Thread Frank W. Zammetti
with MS Common Controls? Maybe not recently because some work has been done to alleviate this situation, but certainly in the past is arose all the time. The same could happen if you make JARs shared across webapps. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http

RE: persistence after the request response cycle

2004-09-19 Thread Frank W. Zammetti (MLists)
resources are being eaten with sessions, therefore if you envision a rather large client load, it can become an issue (but this tends to be solvable just by throwing hardware at the problem most of the time). -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http

Re: Tomcat vs BEA Weblogic?

2004-09-19 Thread Frank W. Zammetti (MLists)
on WL, and since it is a business environment, all things considered, I'd tend towards the side of sticking with WL. Especially if your company doesn't have a problem with the price, I think my lean would increase! -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies

Re: method level synchronization doesn't work

2004-09-30 Thread Frank W. Zammetti
yourself painted into a corner, it's time to revisit the design stage. -QM -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: method level synchronization doesn't work

2004-09-30 Thread Frank W. Zammetti
, although I'd frankly have to go try it myself to be sure, is a subquery, something along the lines of: select (update table set counter=counter+1) as counter from table Even if the theory is correct, I'm not sure about how database-independant it may or may not be. -- Frank W. Zammetti Founder

Re: Reducing network traffic for rollover images

2004-10-02 Thread Frank W. Zammetti
way will probably be more cross-browser (if you consider this constant loading of issues in IE, and in Opera and some others from what I read, to be a cross-browser concern as I would). -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com Robert

Re: Reducing network traffic for rollover images

2004-10-02 Thread Frank W. Zammetti
browser (with JS enabled of course, but it degrades nicely to just the single normal state image, so no harm there). -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com Robert Koberg wrote: Robert Hunt wrote: To clarify: Watching the Tomcat access log

Re: Reducing network traffic for rollover images

2004-10-03 Thread Frank W. Zammetti
the image. For interface element graphics that you think might change with any kind of frequency (and to me this means AT ALL!), a program like WebStyle can be your best friend. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com Nikola Milutinovic

Re: JSP under /WEB-INF folder

2005-01-29 Thread Frank W. Zammetti
images from a database), and I further assume your stylesheets aren't just linked in... -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com Dakota Jack wrote: snip On Tue, 28 Dec 2004 13:57:33 -0500, Frank W. Zammetti [EMAIL PROTECTED] wrote: I think

Re: JSP under /WEB-INF folder

2005-01-29 Thread Frank W. Zammetti
a single server with a decent set of specs can handle the load anyway, but in a more robust enterprise environment, your really kind of defeating the purpose of a fleet of web servers in front of a number of app servers. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies

Re: JSP under /WEB-INF folder

2005-01-29 Thread Frank W. Zammetti
is my point. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com Dakota Jack wrote: snip On Sat, 29 Jan 2005 17:17:03 -0500, Frank W. Zammetti [EMAIL PROTECTED] wrote: One thing worth pointing out about this is that you'll lose the benefit of fronting

Re: JSP under /WEB-INF folder PROTOCOL PAGES (ProtocolPages)

2005-01-29 Thread Frank W. Zammetti
, the code src='resource.do?file='my.css' is stricly HTML. Absolutely it is, but as I pointed out, it's being interpreted on the browser side. That's where the issue comes in to play I think, especially in a distributed environment. I'd be interested to hear your thoughts on this point... -- Frank W

[OT] Re: JSP under /WEB-INF folder PROTOCOL PAGES (ProtocolPages)

2005-01-29 Thread Frank W. Zammetti
server capacity (as viewed by outside clients) by 90%. Ouch. I fully acknowledge those are rough, worst-case numbers... I certainly don't mean to imply that your approach is 90% worse. Not at all! Just trying to illustrate the problem, as I see it, in certain environments. -- Frank W. Zammetti

Re: [OT] Re: JSP under /WEB-INF folder PROTOCOL PAGES (ProtocolPages)

2005-01-30 Thread Frank W. Zammetti
are quite fair, in my opinion. We'll look around and learn a bit here. I leave the leg-work to you :) -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com - To unsubscribe, e-mail: [EMAIL

Re: [OT] Re: JSP under /WEB-INF folder PROTOCOL PAGES (ProtocolPages)

2005-01-30 Thread Frank W. Zammetti
the proxy in this example. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [OT] Re: JSP under /WEB-INF folder PROTOCOL PAGES (ProtocolPages)

2005-01-30 Thread Frank W. Zammetti
be wrong about that, but that would be my expectation. After all, what good is a setting in my browser that says don't cache anything if a web site designer can come along and overrule that? Surely the FOSS community would be up in arms over their loss of freedom, right?!? ;) -- Frank W

Re: [OT] Re: JSP under /WEB-INF folder PROTOCOL PAGES (ProtocolPages)

2005-01-30 Thread Frank W. Zammetti
and a better stereo, but in general you wouldn't expect the Caddy to lose. A bit of hyperbole there, but the underlying point is what's important. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com

Re: [OT] Re: JSP under /WEB-INF folder PROTOCOL PAGES (ProtocolPages)

2005-01-30 Thread Frank W. Zammetti
(a) useless because the end user can override it anyway or (b) not in keeping with the spirit of the web, at least, not as originally intended. Now I'm off on a bit of a tangent though :) -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com

Tomcat control from Ant

2005-02-17 Thread Frank W. Zammetti
everything works perfectly as it should. I don't get it. Thanks all! -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Tomcat control from Ant

2005-02-17 Thread Frank W. Zammetti
for the list noise :) -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com On Thu, February 17, 2005 11:02 am, Frank W. Zammetti said: Hello all. I have an Ant build script for an application that stops Tomcat if it's running, deletes the work folder

Re: JavaMail API ?

2005-03-01 Thread Frank W. Zammetti
incorporated into JDK1.5 though, that would have been a reasonable expectation. Is it perhaps rolled into J2EE instead? I don't know. Same for JAF. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com David Smith wrote: No mistake that I know

Re: Accessing the context path within a Servlet/JSP

2005-04-04 Thread Frank W. Zammetti
... Tomcat 5.5.7) Thanks. Jerry - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com

[OT] Re: development environment

2005-04-22 Thread Frank W. Zammetti
of secondary PC is the big difference), configured in a very similar way, so with the full VPN access to work, I can work almost as effectively at home as at work, not to mention work on my own stuff off-hours. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http

Re: Nervous about Sessions ...

2005-04-27 Thread Frank W. Zammetti
. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com David Whitehurst wrote: If I use the session to store things, 1. Can I use simple java types? 2. Do I have to use Java Beans (extends serializable)? David Whitehurst Viorel Dragomir wrote: Yes

Re: set header in all responses

2005-04-27 Thread Frank W. Zammetti
A filter is an ideal solution for this... It has the benefit of being app-specific, so should you ever want to host another app in the same TC instance that doesn't require those headers, they won't be set automatically (i.e., at the server-level). -- Frank W. Zammetti Founder and Chief

Re: set header in all responses

2005-04-27 Thread Frank W. Zammetti
Filters: http://java.sun.com/products/servlet/Filters.html -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com Rodrigo Avila wrote: right... I need to all apps in an TC instance use these headers... how I do it? I don't know how use filters

Re: RES: Nervous about Sessions ...

2005-04-27 Thread Frank W. Zammetti
); javax.servlet.jsp.jstl.core.Config.set(session, javax.servlet.jsp.jstl.core.Config.FMT_LOCALIZATION_CONTEXT,lc); (...) Do you know about any changes related to that in TC 5.5.x? Thank you! Paulo -Mensagem original- De: Frank W. Zammetti [mailto:[EMAIL PROTECTED] Enviada em: quarta-feira, 27 de abril de 2005 12

Re: Images CSS not loaded after the request passes through a Servlet Filter

2005-04-28 Thread Frank W. Zammetti
Question: are the requests for images and CSS files also going through the filter? I'm wondering if those requests are getting forarded to the logon page too, which obviously wouldn't work. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com

Re: Concurrency Issue With a SessionListener.

2005-05-03 Thread Frank W. Zammetti
Champlin EMO Corporation - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com

Re: compile against servlet.jar but must run tomcat with servlet-ap1.jar

2005-05-09 Thread Frank W. Zammetti
] For additional commands, e-mail: [EMAIL PROTECTED] -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Free reporting s/w that works with apache+tomcat

2005-05-10 Thread Frank W. Zammetti
to ping me if you decide to use it and need some help getting going beyond the article and included documentation. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com U K Laxmi wrote: I'm developing a web application using apache+tomcat on windows

Re: Free reporting s/w that works with apache+tomcat

2005-05-10 Thread Frank W. Zammetti
to it's vendors. Excel is the most desired format for them. Pls give your feedback on this before i start implementing on this. Thank you. --- Frank W. Zammetti [EMAIL PROTECTED] wrote: Take a look at DataVision. I think you'll like it. I wrote an article a while back specifically dealing

Re: Sessions and keep-alives

2005-05-12 Thread Frank W. Zammetti
. Does that all make sense? (I'm not sure I described it well) Frank W. Zammetti -Original Message- From: Patrick Lacson[EMAIL PROTECTED] Sent: 5/13/05 12:56:43 AM To: Tomcat Users Listtomcat-user@jakarta.apache.org Subject: Re: Sessions and keep-alives I've

Re: Sessions and keep-alives

2005-05-12 Thread Frank W. Zammetti
. Does that all make sense? (I'm not sure I described it well) Frank W. Zammetti -Original Message- From: Patrick Lacson[EMAIL PROTECTED] Sent: 5/13/05 12:56:43 AM To: Tomcat Users Listtomcat-user@jakarta.apache.org Subject: Re: Sessions and keep-alives I've

Re: Sessions and keep-alives

2005-05-13 Thread Frank W. Zammetti
I'm curious how this would work? If I open a page with an invisible GIF, there's no way (without scripting and such) to have the GIF refresh, right? Or is there something I'm missing? You can set a meta refresh on the page, but not the GIF itself, as far as I know anyway. -- Frank W. Zammetti

Re: delete temporary content after session timeout

2005-05-14 Thread Frank W. Zammetti
Write a SessionListener... it has two methods, one that fires when a session is created, one when it is destroyed. That should do the trick for you. That's not a Tomcat-specific solution either, so it should be rather portable should you ever need to move to another app server. -- Frank W

Re: delete temporary content after session timeout

2005-05-14 Thread Frank W. Zammetti
(HttpSessionEvent event) { } } Couldn't be simpler! You can do event.getSession() in both if you need to do anything with the session (like, for the OP, if you have a reference to the user ID who's directory you want to purge of temporary files). -- Frank W. Zammetti Founder and Chief Software

Re: How to do Downtime with a Apache/Tomcat webapp

2005-05-17 Thread Frank W. Zammetti
in application context to tell if the app was up or not too, so that if I had to make the app unavailable during a time when it normally was available, I just set the flag. I also defined a single user that was still allowed to get in (another context parameter). This works out great. -- Frank W

Re: Can a servlet receive its own request?

2005-05-18 Thread Frank W. Zammetti
the standard URL object, but it's more robust than that. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com On Wed, May 18, 2005 11:58 am, Michael Mehrle said: Simple question, but it's driving me nuts. I really don't want to get into the whole web

Re: Can a servlet receive its own request?

2005-05-18 Thread Frank W. Zammetti
... if everyone used the same mechanisms than theoretically it would all be interoperable with no effort, and that's not the case if you essentially cook up your own protocols, but since the reality is that even following the standards you rarely get that right now, it's not such a problem :) -- Frank W

Re: Where do -Xms32m, -Xmx256m, and -Xrs go in the Tomcat 5.0.28 batch files?

2005-05-23 Thread Frank W. Zammetti
/staff/david/index.jsp?section=softwaresubsection=tcservcfgpage=overview Of course, if your not on Windows or not running as a service, you already have your answer :) -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com On Mon, May 23, 2005 10:11 am

Re: Where do -Xms32m, -Xmx256m, and -Xrs go in the Tomcat 5.0.28 batch files?

2005-05-23 Thread Frank W. Zammetti
http://web.bvu.edu/staff/david/index.jsp?section=softwaresubsection=tcservcfgpage=downloads -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com On Mon, May 23, 2005 10:56 am, Dakota Jack said: Hi, again, Frank, Where can I get a copy

Re: How to change the value of a form's text field by scriplet?

2005-05-23 Thread Frank W. Zammetti
] For additional commands, e-mail: [EMAIL PROTECTED] . -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: How to change the value of a form's text field by scriplet?

2005-05-23 Thread Frank W. Zammetti
want to be able to change the field to, like maybe something like a previous value button, and you have the value at the time the JSP is interpreted, you can do this and just call changeIt() in response to onClick() of the button. That's something of a hybrid. Frank Frank W. Zammetti wrote

Re: Adding content/JSPs on the fly

2005-05-27 Thread Frank W. Zammetti
(theJSPContent)% And that's that. You could create a screen specifically for uploading a JSP and storing it in the database. Would something like this suite your needs? I realize it's not as straight-forward as one might like, but it's not too bad either. -- Frank W. Zammetti Founder and Chief

Re: Cross-site scripting vulnerability

2005-05-27 Thread Frank W. Zammetti
] For additional commands, e-mail: [EMAIL PROTECTED] . -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Validating a session

2005-05-31 Thread Frank W. Zammetti
or not. But, for reasons that would probably make your head spin if I explained, I cannot simply allow the container to do it, I need to be able to do it from my own code. Moreover, this can't be a Tomcat-specific solution. Any takers? :) -- Frank W. Zammetti Founder and Chief Software Architect Omnytex

Simple question on HTTP return codes

2005-05-31 Thread Frank W. Zammetti
to throw, like an exception? Thanks all! -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Simple question on HTTP return codes

2005-05-31 Thread Frank W. Zammetti
Yep, I *should* have known that :)... The sendError() method of HttpServletRequest does it. Sorry for wasted bandwidth! -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com On Tue, May 31, 2005 3:13 pm, Frank W. Zammetti said: I fear I should

Re: Validating a session

2005-05-31 Thread Frank W. Zammetti
Thanks Jack, that's a good reference. It didn't really answer my specific question, not that I could see immediately anyway, but I solved the problem a different way anyhow, so it's all good. I bookmarked that anyway, could be a good reference down the road for something. -- Frank W. Zammetti

Re: Simple question on HTTP return codes

2005-05-31 Thread Frank W. Zammetti
Cool, good to know there is a difference. Thanks! Frank Dakota Jack wrote: Just a small note, Frank. You use sendError(int sc) for errors but setStatus(int sc) for codes that are not errors. On 5/31/05, Frank W. Zammetti [EMAIL PROTECTED] wrote: Yep, I *should* have known

Re: Which is best practice for stowing objects, request or session context?

2005-06-04 Thread Frank W. Zammetti
commands, e-mail: [EMAIL PROTECTED] -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: IE-Page not found problem

2005-06-06 Thread Frank W. Zammetti
to turn off the friendly messages option... I'm not certain, but I believe they will get you slightly more helpful (to you) messages with that option turned off. It's under Tools...Internet Options... Advanced... Show Friendly HTTP Error Messages. -- Frank W. Zammetti Founder and Chief Software

Re: IE-Page not found problem

2005-06-06 Thread Frank W. Zammetti
Please see my previous post in this thread for some actual help (potentially anyway). -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com On Mon, June 6, 2005 11:14 am, sudip shrestha said: I have no idea why you are continuing on this path

Re: Tomcat, SSL, IE, and .pdf downloads

2005-06-07 Thread Frank W. Zammetti
the three paths accessed to generate PDFs, and life is good again. The point is be sure that it's no Tomcat setting the headers... and even if it is and you turn that off, be sure they aren't getting set anywhere else, like Struts, or some other app code. -- Frank W. Zammetti Founder and Chief

Re: Probably an easy answer

2005-06-10 Thread Frank W. Zammetti
- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com - To unsubscribe

RE: Probably an easy answer

2005-06-13 Thread Frank W. Zammetti
as I suggested, i.e., what object would you inspect when the field you want to check for is a JSP variable? I'm not sure. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com On Mon, June 13, 2005 8:58 am, Charles P. Killmer said: Thanks. And I do

RE: Probably an easy answer

2005-06-13 Thread Frank W. Zammetti
the problem you are trying to solve, I actually dealt with a similar issue with included code needing a Javascript variable that may or may not be present, but in this case I'm not sure of a good answer. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com

Re: Help/Examples setting up security settings

2005-06-13 Thread Frank W. Zammetti
that this process as outlined is conceptual... there could be some details in how the container does it's thing that I got wrong... from your perspective, and the perspective of what the user sees though, it is correct. I think that's everything. Hope that helps! -- Frank W. Zammetti Founder

Test, please ignore

2005-06-13 Thread Frank W. Zammetti
Sorry for the disturbance... trying to troubleshoot a posting issue... this will be the only such post to this list from me. Sorry again! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

RE: [OT] Help/Examples setting up security settings

2005-06-13 Thread Frank W. Zammetti
happy to do so. :) -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com On Mon, June 13, 2005 3:45 pm, Caldarale, Charles R said: From: Frank W. Zammetti [mailto:[EMAIL PROTECTED] Subject: Re: Help/Examples setting up security settings Having just

RE: Help/Examples setting up security settings

2005-06-14 Thread Frank W. Zammetti
On Tue, June 14, 2005 9:26 am, Gagnon, Joseph M \(US SSA\) said: Very simple stuff. However, when I try to login (by loading the login.jsp page), I get the following error from Tomcat: HTTP Status 404 - /SPID_JSP/j_security_check

Re: Help/Examples setting up security settings

2005-06-14 Thread Frank W. Zammetti
provided so far.) Thanks, Joe Gagnon -Original Message- From: Frank W. Zammetti [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 14, 2005 9:39 AM To: Gagnon, Joseph M (US SSA) Cc: Tomcat Users List Subject: RE: Help/Examples setting up security settings On Tue, June 14, 2005 9:26 am

Re: Concurrent login detection - how?

2005-06-14 Thread Frank W. Zammetti
] -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: IE-Page not found problem

2005-06-14 Thread Frank W. Zammetti
] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com - To unsubscribe

Re: IE-Page not found problem

2005-06-14 Thread Frank W. Zammetti
Yes, it can be done with a simple valve. See earlier message in this thread for details, or follow the link to the Tomcat bug database in my previous message. I missed that thread, but this is good to know. Thanks! Keep in mind, this is not just a problem with pdf

Re: IE-Page not found problem

2005-06-14 Thread Frank W. Zammetti
Yes, it can be done with a simple valve. See earlier message in this thread for details, or follow the link to the Tomcat bug database in my previous message. I missed that thread, but this is good to know. Thanks! Keep in mind, this is not just a problem with pdf

  1   2   >