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 wa

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 done

[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 th

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

2007-03-25 Thread Vijay Venkataraman
.2. I 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 <%@ tag

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

2006-12-18 Thread Vijay Venkataraman
d don't have to explicitly place the tld file in folder /WEB-INF/tld. The container does the hard work of resolving the correct tld based on the uri specified in your jsp to the appropriate tld in jars that are placed in WEB-INF/lib folder. Hope th

[OT] Identify file type

2006-11-03 Thread Vijay Venkataraman
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 Ve

Re: bean-el:write use case

2006-08-11 Thread vijay venkataraman
pageContext - Is implicit variable in jsp. What do you think? Is there a way to do this without (the non-existant) bean-el:write that I overlooked? Karel Thanks, Vijay Venkataraman --DISCLAIMER-- This message is for the named person

Re: Displaying images from database.

2006-07-25 Thread vijay venkataraman
/html"; } response.setContentType(contentType); ServletOutputStream outStream = response.getOutputStream(); outStream.write(resources.getResource()); outStream.flush(); return null; Thanks, Vijay Venkataraman [EMAIL PROTECTED] wrote:

Re: HTML Tags and ID

2006-07-23 Thread vijay venkataraman
you can use it to set the 'id' on the html element. I have used this extensively for label id mapping. A single tag, which takes care of this association, and generation of label would have been great. Thanks, Vijay Venkataraman Thomas Joseph wrote: Hi Paul, but I guess, what you wa

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: 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: 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: [OT] calling js function with list backed form value

2006-05-04 Thread vijay venkataraman
jsp_date_example.shtml Thanks, Vijay Venkataraman Shoukat, Faisal wrote: Unfortuately as before it just prints out benefits[index.intValue()].value and not the actual value. -Original Message- From: siva sajja [mailto:[EMAIL PROTECTED] Sent: 04 May 2006 15:12 To: Struts Users Mailing

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

2006-05-04 Thread vijay venkataraman
In your JS function can you add 'this' as one of the parameter. Then in your js function you can get the value from the element. Like which implies the element on which the event occured. Note: I have never used and don't know much about it. My thoughts. Thanks, Vij

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: Radio button group

2006-04-18 Thread vijay venkataraman
from the bean. So when the user selects the values will be populated in to the String[] userChoice See indexed property usage of struts doc. http://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 Venkat

Re: Error reading tld listeners

2006-04-11 Thread vijay venkataraman
n directive. More details about identifying 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 des

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 valid

Re: Some questions

2006-04-05 Thread vijay venkataraman
un RI 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

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

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

2006-03-31 Thread vijay venkataraman
em 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 -----Ori

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 secure and non secure items

2006-03-31 Thread vijay venkataraman
mixed 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 naviga

Re: is not sending the checked checkboxes value

2006-03-31 Thread vijay venkataraman
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

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

Re: is not sending the checked checkboxes value

2006-03-31 Thread vijay venkataraman
the value 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 tag. I'm writing a code which should gener

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

2006-03-31 Thread vijay venkataraman
the page which 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 mes

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

2006-03-28 Thread vijay venkataraman
uot;); boolean b = m.|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 framewor

Re: Populate Collection values

2006-03-27 Thread vijay venkataraman
tNull* 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 fo

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

2006-03-24 Thread vijay venkataraman
{ Object obj = lcMap.get(key); 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

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 element.

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 hap

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 w

Re: newbie guestion: JSTL Expression language

2006-03-16 Thread vijay venkataraman
is same as The role is editor Thanks, Vijay Venkataraman Rahul Akolkar wrote: On 3/16/06, Morten Andersen <[EMAIL PROTECTED]> wrote: I want to use JSTL to check the role of the user (it can be one of many) I'm new to JSTL so even the simplest things gives me probl

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

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 j

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 butt