Re: Bending Jasper to My Will

2008-04-19 Thread Pid
Andy Clark wrote: I have been going through the Jasper source code to figure out how to make it do what I want but have been unsuccessful. So I thought I would ask the experts. (Please let me know if there is a better forum for this particular question.) I want Jasper to look for JSP and Tag fil

jsp and servlet to present zip file for download

2008-04-19 Thread Kimberly Begley
Hi, I'm stumped and was hoping someone might be able to point me in the right direction. I have an html page form that contains a series of checkboxes and radio buttons the form directs to a jsp page that processes the user's selections to determine which files to zip up for the user to download. I

Re: jsp and servlet to present zip file for download

2008-04-19 Thread Rino Kadijk
Once you called: RequestDispatcher dispatcher = getServletContext().getRequestDispatcher("/servlet/ZipServlet"); You are not allowed to modify the (headers of the) response anymore. So after that call, you are not allowed to modify the outputstream. So this call is illegal after dispatching.

Re: tomcat embedded

2008-04-19 Thread Johnny Kewl
--- HARBOR: http://coolharbor.100free.com/index.htm The most powerful application server on earth. The only real POJO Application Server. Making the Java dream come true. --

Re: Bending Jasper to My Will

2008-04-19 Thread Martin Gainty
Sounds like you have a lot of bending work ahead of you If you need a quicker solution I would look at implementing the getahead package which uses DWR specifically the setStyle method populates css tags e.g. id setStyle(java.lang.String elementId, java.lang.String selector, java.lang.String value

Tomcat Issue

2008-04-19 Thread Ritwik Kumar
Hello, I have a JSP page which gets displayed quite properly if Weblogic server is used. But the same JSP has some issues like (html character getting showed and unclosed tags) when Tomcat 5.5 is used. The JSP file and its corresponding HTML file are quite big, so I guess I need to change som

get Tomcat perfomance using JMX

2008-04-19 Thread Liang Xiao Zhu
Hi, I want to get information relative a tomcat performance, such as time response, throughput, etc.. And I also want using JMX for getting this kind of information. I have been overview manual and tutorial for using JMX in Tomcat, but I didnt find anything that I want as time response. And t

RE: get Tomcat perfomance using JMX

2008-04-19 Thread Caldarale, Charles R
> From: Liang Xiao Zhu [mailto:[EMAIL PROTECTED] > Subject: get Tomcat perfomance using JMX > > I want to get information relative a tomcat performance, such > as time response, throughput, etc.. And I also want using JMX > for getting this kind of information. Look at Lambda Probe (www.lambda

RE: Tomcat Issue

2008-04-19 Thread Ritwik Kumar
Hey martin, Thanks for ur quick response... but what exactly do I need to do ?? Thanks & Regards Ritwik Kumar -Original Message- From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: Saturday, April 19, 2008 7:36 PM To: [EMAIL PROTECTED] Subject: Re: Tomcat Issue Hi Kumar- 2 distin

RE: Large HTML file not getting compressed despite compressionenabled

2008-04-19 Thread Alex Epshteyn
I thought about trying without APR, but wasn't sure how to disable it (on Linux). Anyways, I've worked around this problem by implementing my own filter that serves up a pre-gzipped version of the files that aren't getting compressed. Alex Caldarale, Charles R wrote: > >> From: Alex Epshteyn

RE: Large HTML file not getting compressed despitecompressionenabled

2008-04-19 Thread Caldarale, Charles R
> From: Alex Epshteyn [mailto:[EMAIL PROTECTED] > Subject: RE: Large HTML file not getting compressed > despitecompressionenabled > > I thought about trying without APR, but wasn't sure how to > disable it (on Linux). Just rename the .so file or take it out of the LD_LIBRARY_PATH. - Chuck

Re: get Tomcat perfomance using JMX

2008-04-19 Thread Liang Xiao Zhu
Thanks for you answer, but also I want to know if for getting time response of Tomcat there is another alternative that not only through logs. Regards Caldarale, Charles R escribió: From: Liang Xiao Zhu [mailto:[EMAIL PROTECTED] Subject: get Tomcat perfomance using JMX I want to get informat

Re: get Tomcat perfomance using JMX

2008-04-19 Thread Leon Rosenberg
http://moskito.anotheria.net/moskitodemo/mui/mskShowAllProducers this kind of time response? Leon On Sat, Apr 19, 2008 at 7:17 PM, Liang Xiao Zhu <[EMAIL PROTECTED]> wrote: > Thanks for you answer, but also I want to know if for getting time response > of Tomcat there is another alternative that

Re: get Tomcat perfomance using JMX

2008-04-19 Thread ubekhet
It looks like this, but I am not sure the link you gave show that exactly. The time response that I want is show a normal benchmark where there is a option for count time response of application. In this case I want time response for one request, and then I will mesure 10 trace and get the aver

Share session cookie across subdomains

2008-04-19 Thread Zach Cox
I'm working on a site that has a single web app in Tomcat that handles lots of subdomains via wildcard DNS: - site.com - www.site.com - sub1.site.com - sub2.site.com - etc. Basically, the site content gets customized based on the subdomain in the request, if any. However I ran into a problem

authentication

2008-04-19 Thread Kev Sout
I have authentication working in my Engine using a JNDIRealm. However, I now need to look in two places (ldap directories in this case) for users. Could someone tell me how to do that? Cheers, Kev -- View this message in context: http://www.nabble.com/authentication-tp16787895p16787895.html Se

Re: Share session cookie across subdomains

2008-04-19 Thread Pid
how about adding either, a property that allows you to specify the number of domain parts (accounting for domain.co.uk for example), or the actual domain? p Zach Cox wrote: I'm working on a site that has a single web app in Tomcat that handles lots of subdomains via wildcard DNS: - site

RE: authentication

2008-04-19 Thread Caldarale, Charles R
> From: Kev Sout [mailto:[EMAIL PROTECTED] > Subject: authentication > > I have authentication working in my Engine using a JNDIRealm. > However, I now need to look in two places (ldap directories > in this case) for users. You could use JAASRealm, since JAAS allows multiple authentications in

Activate immediately changes in server.xml and tomcat-users.xml? How to refresh?

2008-04-19 Thread Ben Stover
Assume Tomcat is currently running. Now I change some entries in the server.xml or tomcat-users.xml As far as I can see these entries are not immediately active. How can I tell Tomcat to refresh his config information (=re-read the config files)? Is there a way without full shutdown + restart?

RE: Activate immediately changes in server.xml and tomcat-users.xml? How to refresh?

2008-04-19 Thread Caldarale, Charles R
> From: Ben Stover [mailto:[EMAIL PROTECTED] > Subject: Activate immediately changes in server.xml and > tomcat-users.xml? How to refresh? > > How can I tell Tomcat to refresh his config information > (=re-read the config files)? The only straightforward way is via restart, unfortunately, at l