[OT] Gzip compression of script files

2007-08-14 Thread Vijay Venkataraman
Hi, I have javascript/css files and looking at GZipping them and sending it to the browser. I am aware that i can do a GZip compression during runtime using a filters, by writing the content to GZipOutputStream. I am just wondering if it is possible to GZip these files during build time and

Re: [OT] Gzip compression of script files

2007-08-14 Thread Vijay Venkataraman
Sebastin, Thanks for all the information and pointers. Hmm i didn't realize that i meddled with another thread. Group i am very sorry for the mistake. I just accomplished what i wanted, it was more of a bug that is why i didn't get it to work. I do understand that i can get it done this

Re: [OT] Gzip compression of script files

2007-08-14 Thread Vijay Venkataraman
Hi Mike, Thanks for letting me know about this. I will take care to test it on slow machines. Vijay Mike Baroukh wrote: I had problems on IE where compression of gzip didn't works. On the first page load, we had javascript error. On the second page load, it works because the ungzipped file

Re: Please help: Struts tags don't evaluate any expressions

2007-03-25 Thread Vijay Venkataraman
just converted the whole project to use Servlet 2.4 so it will be JSP 2.0 in just two days (Saturday and Sunday). Thanks, Vijay Venkataraman irene wrote: Hi Laurie, It works! i'm not using servlet 2.4 specification. Now it works (but i have to change the taglib declaration to %@ taglib uri=http

Re: No taglib element in web.xml v2.4 ?

2006-12-18 Thread Vijay Venkataraman
to the appropriate tld in jars that are placed in WEB-INF/lib folder. Hope this clarifies. Thanks, Vijay Venkataraman - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[OT] Identify file type

2006-11-03 Thread Vijay Venkataraman
the file type? Thanks, Vijay Venkataraman - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Select row from a Table

2006-10-25 Thread Vijay Venkataraman
I believe you will specify action/href or forward attribute - which will identify the action. So in the appropriate action class you should be able to pull the value from the HttpServletRequest (request ) object. request.getParameter(orderNum), plain servlet code. Thanks, Vijay Venkataraman

Re: bean-el:write use case

2006-08-11 Thread vijay venkataraman
(the non-existant) bean-el:write that I overlooked? Karel Thanks, Vijay Venkataraman --DISCLAIMER-- This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information

Re: Displaying images from database.

2006-07-25 Thread vijay venkataraman
); ServletOutputStream outStream = response.getOutputStream(); outStream.write(resources.getResource()); outStream.flush(); return null; Thanks, Vijay Venkataraman [EMAIL PROTECTED] wrote: Hi All, My application saves the images in database as BLOB. I now

Re: displaytag , how display from a vector of beans ?

2006-07-18 Thread vijay venkataraman
If you are still having problems - Download the example source code or war file from http://displaytag.sourceforge.net/m2repo/displaytag/displaytag-examples/1.1/. This should give you a clear idea. Thanks, Vijay Venkataraman Michael Jouravlev wrote: http://displaytag.sourceforge.net/11

Re: How to create custom tag

2006-07-17 Thread vijay venkataraman
, Vijay Venkataraman Bart Busschots wrote: Anything you can do with a font tag you can do with CSS. In this day and age no one should be using font tags anymore! Bart. Pankaj Gupta wrote: I dont think CSS can work in this case as the CSS would be static. I want to display color of the font

Re: Dynamic Sort depending on the field requested by user.

2006-07-17 Thread vijay venkataraman
You can handle sorting yourself or work with display tags. See http://displaytag.sourceforge.net/11/ Thanks, Vijay Venkataraman Lance wrote: For arrays, use java.util.Arrays.sort(Object[], java.util.Comparator) -Original Message- From: Lance [mailto:[EMAIL PROTECTED] Sent: 17 July

Re:[OT] calling js function with list backed form value

2006-05-04 Thread vijay venkataraman
much about it. My thoughts. Thanks, Vijay Venkataraman Shoukat, Faisal wrote: Hi, I have a list backed action form and want to call a javascript function with one of the parameters to the function being a value from the list backed action form. My js function is as such: bean:define id

Re: Radio button group

2006-04-18 Thread vijay venkataraman
://struts.apache.org/struts-doc-1.2.x/faqs/indexedprops.html. This will give you a idea of how to setup your form bean. Thanks, Vijay Venkataraman Vidya (Suvarna) Mahavadi wrote: Guys, I am still struggling to find a way out.. Any ideas how to get this right! Regards -Original Message- From

Re: referencing variable in onclick event of html:link tag

2006-04-18 Thread vijay venkataraman
from the pageScope and set it. Thanks, Vijay Venkataraman Shoukat, Faisal wrote: That was the first thing I tried but unfortunately does not work! -Original Message- From: Anil Kumar Pippalapalli [mailto:[EMAIL PROTECTED] Sent: 18 April 2006 10:49 To: Struts Users Mailing List Subject

Re: Error reading tld listeners

2006-04-11 Thread vijay venkataraman
this implicit Tag Library Descriptor can be found in Chapter JSP.8, “Tag Files”. Thanks, Vijay Venkataraman Anuradha Vaidya wrote: Hi I am using Tomcat/5.5.12 and java version 1.4.2_10 and am receiving errors: the description follows... SEVERE: Error reading tld listeners

Re: Validation

2006-04-06 Thread vijay venkataraman
Gokul, Why don't you just pull the source code and debug it. If you had done that, by now you would have found a solution to your problem. Thanks, Vijay Venkataraman gokul balasubramanian wrote: Guys, I am yet to find a solution for this problem. I validate a form and if validation

Re: Some questions

2006-04-05 Thread vijay venkataraman
components or if Java Studio Creator can pick up ADF Faces and My Faces components in its component pallete. Craig might have some information on these. Thanks, Vijay Venkataraman Craig McClanahan wrote: On 4/5/06, Mário Lopes [EMAIL PROTECTED] wrote: And how easy is it to use AJAX along

Tomcat SSL Enabled - Popup information on pages : Contains secure and non secure items

2006-03-31 Thread vijay venkataraman
starts with http/https. Can anyone let me know how to fix this or show me some leads to this problem. Using Struts 1.2.4 and viewing on IE 6.0.2800.1106 + with latest patches. Thanks, Vijay Venkataraman --DISCLAIMER-- This message

Re: html:multibox is not sending the checked checkboxes value

2006-03-31 Thread vijay venkataraman
attribute of multibox. It is the value you set that is posted back. I don't know much about bean and iteration tag. Regards, Vijay Venkataraman Tarun Reddy wrote: Hi All, I've been wasting my time on one issue pertaining to html:multibox tag. I'm writing a code which should generate multiple

Re: Tomcat SSL Enabled - Popup information on pages : Contains secure and non secure items

2006-03-31 Thread vijay venkataraman
I am stuck - Any pointers would be really helpful. Vijay vijay venkataraman wrote: I just enabled SSL in Tomcat Server 5.5.9 for my application. When i fetch a page i get a popup with message This page contains both secure and non secure items. Do you want to display the non secure items

Re: html:multibox is not sending the checked checkboxes value

2006-03-31 Thread vijay venkataraman
the bean util source code along with Struts source code and seeing what happens will give you a clear idea. Vijay Venkataraman Tarun Reddy wrote: Hi Vijay, Thanks for the reply! I had a look at the HTML source generated by JSP page which contains multibox tag. Here are some sample entries, form

Re: Tomcat SSL Enabled - Popup information on pages : Contains secure and non secure items

2006-03-31 Thread vijay venkataraman
content and figure out a work around, such that it doesn't throw nasty popups. Unfortunately the app is mainly certified to run with IE. Thanks, Vijay Venkataraman Dave Newton wrote: vijay venkataraman wrote: I am stuck - Any pointers would be really helpful. If you navigate using

Re: Tomcat SSL Enabled - Popup information on pages : Contains se cure and non secure items

2006-03-31 Thread vijay venkataraman
Richard thanks for information. This happens only with IE. There is no content in the page, which refers to a http request. Pages come fine with Firefox and Mozilla. I understand that the server will be strained, if i use https for all the pages. -Vijay Venkataraman Yee, Richard K CTR DMDC

Re: Tomcat SSL Enabled - Popup information on pages : Contains se cure and non secure items

2006-03-31 Thread vijay venkataraman
to work. Thanks, Vijay Venkataraman Quinn Stone wrote: Vijay: Did you check for references to other resources, not just links? I think that if you have images, external javascript, stylesheets, etc. that are referenced with http you'll get that message. Q -Original Message- From: vijay

Re: [OT] Re: Tomcat SSL Enabled - Popup information on pages : Contains se cure and non secure items

2006-03-31 Thread vijay venkataraman
Thanks to everyone who offered help. I just figured out the problem is with IE 6 + SSL + flash. IE Doesn't work fine when specific headers are set. http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=fdc7b5c Thanks, Vijay Venkataraman Dave Newton wrote: vijay venkataraman wrote

Re: How i can check an string to be a correct web site format?

2006-03-28 Thread vijay venkataraman
.|matches|(); if b == flase - then it does not match. You can use above mechanism to check for regexp. Thanks, Vijay Venkataraman Legolas Woodland wrote: Jitendra Kumar wrote: I assume you are using form to submit the string. Are you using commons Validator framework ?? If yes

Re: Populate Collection values

2006-03-27 Thread vijay venkataraman
* init parameter to true. Failing to do this will result in the required validation not being performed on that field because it will default to zero Thanks, Vijay Venkataraman Angelo zerr wrote: Hello homas, To avoid this problem, I use String type in my getter/setter in my Struts form for any

Re: [java.util.Map] How can I alter a java.util.Map while I am iterating it

2006-03-24 Thread vijay venkataraman
); lcMap.remove(key); lcMap.put(key.toUpperCase(), (String)obj); } System.out.println(Aft + lcMap); } } You need to take care of the types. Thanks, Vijay Venkataraman Antonio Petrelli wrote: temp temp ha scritto: I get this Map from a collection

Re: Invalidating a session using JAVASCRIPT

2006-03-21 Thread vijay venkataraman
Think the best way is call a sumit and do the clean up at the server. What if cookies are used for maintaining session? - Then i belive we can destory session at the client side by setting the time expiry on the cookie. I am not sure though. If cookies are disabled, then session maintenance

Re: Invalidating a session using JAVASCRIPT

2006-03-21 Thread vijay venkataraman
Craig, Thanks for clarifying. Vijay Craig McClanahan wrote: On 3/21/06, vijay venkataraman [EMAIL PROTECTED] wrote: Think the best way is call a sumit and do the clean up at the server. You'll likely want to do this in an onunload handler for the body element. What if cookies

Re: *** 50-100 *** text fields in JSP

2006-03-17 Thread vijay venkataraman
See http://struts.apache.org//struts-doc-1.1/faqs/indexedprops.html. Vijay Venkataraman Sony Thomas wrote: Hi Friends, I would like to have some guidance to solve my problem. I have a struts application. In one of the JSP's I have to display more than 50 editable text fields. So when I

Re: Map backed actionForm and pushing multiselect value in the map - No response :-(

2006-03-16 Thread vijay venkataraman
. Struts gurus - Any pointers will be very helpful. Thanks, Vijay vijay venkataraman wrote: Can someone take time to answer this question. Thanks, Vijay vijay venkataraman wrote: Hi, Sorry if you receive this twice. I didn't see this mail for more than 4 hours after sending it. I have a Form

Re: newbie guestion: JSTL Expression language

2006-03-16 Thread vijay venkataraman
information in the spec. So c:if test=${role=='editor'} The role is editor /c:if is same as c:if test=${role eq 'editor'} The role is editor /c:if Thanks, Vijay Venkataraman Rahul Akolkar wrote: On 3/16/06, Morten Andersen [EMAIL PROTECTED] wrote: I

Re: Map backed actionForm and pushing multiselect value in the map

2006-03-15 Thread vijay venkataraman
Can someone take time to answer this question. Thanks, Vijay vijay venkataraman wrote: |Hi, Sorry if you receive this twice. I didn't see this mail for more than 4 hours after sending it. I have a Form bean backed by a Map. I want to capture the responses of the input fields in the jsp

Map backed actionForm and pushing multiselect value in the map

2006-03-14 Thread vijay venkataraman
|Hi, I have a Form bean backed by a Map. I want to capture the responses of the input fields in the jsp in to this Map. When the selected values results into Array(String[]) in case of Multiselect only the first value in the array gets in to this map as a value. This is the case with radio