Re: Image tag lib doesn't work on Windows 2003 server?

2007-09-24 Thread zhou peng
Thanks a lot, Kirs. I have tried your method, it still can't show image when use wan connected. I have no idea about how to change the env so that the app can create and write to "generated" or temp-dir, can you give me an examples for windows 2003 server. I have checked our app, it can create ch

Re: Image tag lib doesn't work on Windows 2003 server?

2007-09-24 Thread Kris Schneider
If you can't change the env so that the app can create and write to that directory, I think you can try this (some of the info can be found in the docs: http://jakarta.apache.org/taglibs/sandbox/doc/image-doc/index.html). Add the following to web.xml: ImageServletMapping /gen-image

Re: Image tag lib doesn't work on Windows 2003 server?

2007-09-24 Thread zhou peng
Thanx for Kirs' advice. I have checked again, we use the same JDK and app server versions, there's no exceptions in tomcat log, and images can show in localhost and lan env, but just can't show in wan. I compared the directory between localhost, lan and wan connection, and found that in wan couldn

Re: Image tag lib doesn't work on Windows 2003 server?

2007-09-24 Thread Kris Schneider
Can you be more specific about what you mean by "doesn't work"? Do you get an exception? Have you tried running the JVM with "-Djava.awt.headless=true"? Are you using the same JDK and app server versions on both XP and Server 2003? On 9/23/07, zhou peng <[EMAIL PROTECTED]> wrote: > Hi, > > We use