Re: [Q] weblogic's precompile failed - SaxParser exception.

2003-06-12 Thread Rakesh . Kumar
My system configration is System windows 2000, jakarta-tomcat-4.1.18 I am new baby to tag library and struts.. I am facing problem in TOMCAT to run a very simple tag lib example, which runs fine in RESIN web server. Any help will be appreciated. parser configration is below C:\jakarta-tomcat-

RE: timeZone and day light saving time

2003-06-12 Thread Howard Lin
Yes. But in my case, I need to start with a customer ID, like GMT-5 and a dst rule. Even I got the list, I still don't know which one has dst and which one has not. Howard > -Original Message- > From: Kris Schneider [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 12, 2003 2:31 PM > To:

RE: timeZone and day light saving time

2003-06-12 Thread Kris Schneider
It seems like you should be able to do what you want without that much trouble. If the time zone is given as a string, it's parsed using java.util.TimeZone.getTimeZone(). For example: ... ... Both have the same raw offset but have different daylight savings behavior. I suppose the trick

New Taglib Standards

2003-06-12 Thread Chen, Gin
I came up with a quick taglib to help me look up the values in an array. I did it in such a way as to be generic enough that it can fit into any project. But in order to do so I used the commons BeanUtil rather than implement my own reflections. Is this acceptable for JSTL development? I know that

RE: timeZone and day light saving time

2003-06-12 Thread Howard Lin
Do something like this in the jsp page: <%-- timzone w/o dst --%> <% TimeZone tz = (TimeZone)pageContext.getAttribute("tz"); SimpleTimeZone stz = new SimpleTimeZone(tz.getRawOffset(), tz.getID(), 3, 1, 1, 720, 9, -1, 1, 720, 360); pageContext.setAttribute("stz

RE: Non EL enabled tags

2003-06-12 Thread Karr, David
The "attribute" specification in your TLD needs to have "rtexprvalue" set to true. Check the JSP specification or a JSP book about this. > -Original Message- > From: James Norman [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 12, 2003 10:30 AM > To: [EMAIL PROTECTED] > Subject: Non EL e

RE: Non EL enabled tags

2003-06-12 Thread Chen, Gin
you have to have rt turned on. why don't you just write it as EL enabled? the classes in jstl core package is great for it. -Tim -Original Message- From: James Norman [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2003 1:30 PM To: [EMAIL PROTECTED] Subject: Non EL enabled tags If I w

Non EL enabled tags

2003-06-12 Thread James Norman
If I were to write a non EL-enabled tag of my own, would the following work: b/c I am getting the string literal in the tag. -james - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECT

Re: [Q] weblogic's precompile failed - SaxParser exception.

2003-06-12 Thread Kris Schneider
WLS 7 had (has?) some bugs with the XML it produces during JSP compilation. Contact BEA to see if they hava a patch available. Two specific bugs I've required patches for are CR077944 and CR081361. Be sure to let them know which service pack(s) and patches you already have installed. Which brings u

RE: timeZone and day light saving time

2003-06-12 Thread Howard Lin
I found a solution myself. Just in case anybody else wants to do the same thing, here is what I did: create a SimpleTimeZone in a script with DST rule, and then set this timezone in the pageContext. Then using this timezone in or . It works. Howard Lin > -Original Message- > From: How

Re: not finding default .properties file

2003-06-12 Thread Vineet Bhatia
Woa!!! This is scary. I am also having problems with il8n properties files. Response locale = <%= response.getLocale() %> gives en_US My properties files are named XXX.properties - vineet On 6/10/03 12:29 AM, "Young William-W3670C" <[EMAIL PROTECTED]> wrote: > I am having a problem wit

[Q] weblogic's precompile failed - SaxParser exception.

2003-06-12 Thread Arik Levin ( Tikal )
Hi all. I'm trying to precompile my JSP but with no luck. My JSP contains c.tld declaration. My war is running under weblogic 7 and everything is working just fine, till it comes to precompile. This is what I get: java.io.IOException: javax.servlet.jsp.JspExcep

Core JSTL book source code

2003-06-12 Thread Vineet Bhatia
Hi All, Does anyone have the source to this book? Their site seems to be down and I can't get to the pages from the google cache either. Please email me the jar. Thanks in advance, Vineet - To unsubscribe, e-mail: [EMAIL PROT

[Newbie] Pager Taglib 2.0 - newbie question

2003-06-12 Thread Pingili, Madhupal
Hi Everyone, I just downloaded pager-taglib-2.0 war and extracted all files. I have included all these files in an existing web application and I am not able to run pager-demo.jsp. I am getting null pointer exception. After debugging, I found that offset is null. I even saw folwing line in HTML