RE: debugging tomcat with eclipse

2006-08-25 Thread Zohar Amir
http://www.eclipse.org/webtools/ > Date: Wed, 23 Aug 2006 17:24:46 -0500> From: [EMAIL PROTECTED]> To: > users@tomcat.apache.org> Subject: debugging tomcat with eclipse> > I have > found various different examples, just curious what folks are> find to be the > best practice?> > > > D-> >

RE: Re: error page

2006-05-20 Thread Zohar Amir
JSP2 should display the exception's message. What is this "show friendly (sic) messages" threshold?" ? Thanks again, Zohar. > Date: Sat, 20 May 2006 11:25:44 -0700> From: [EMAIL PROTECTED]> To: > users@tomcat.apache.org> Subject: Re: error page> > On 5/18/06, Zohar <[EMAIL > PROTECTED]> wrote

RE: Re: error page

2006-05-20 Thread Zohar Amir
If anyone has an example I'd love seeing it... > Date: Sat, 20 May 2006 14:05:20 -0400> From: [EMAIL PROTECTED]> To: > users@tomcat.apache.org> Subject: Re: error page> > It could be that the > error page itself is throwing an error. Try using> an ultra-simple error > page.> -- > Len> > On 5/18

RE: Re: error page

2006-05-20 Thread Zohar Amir
all it does is put <%=exception.getMessage()%> I am a bit lost here. The way I set my error page is : errorPage="error.jsp" Should I use errorPage="/error.jsp" instead? Thanks for your reply, Zohar. > Date: Sat, 20 May 2006 14:05:20 -0400> From: [EMAIL PROTECTED]> To: > users@tomcat.apache.

JSP error page results in HTTP 500

2006-05-19 Thread Zohar Amir
Hello list, I'm using tomcat 5.5.16 . I'm trying to use JSP's error page mechanism. In my main.jsp I have <[EMAIL PROTECTED] errorPage="error.jsp" %>When an exception is thrown in main.jsp it is indeed forwarded to error.jsp, where I have <[EMAIL PROTECTED] isErrorPage="true" %> I can see the co

Re: tomcat and xslt 2.0

2006-03-01 Thread Zohar Amir
I've tried putting it right before TransformerFactory.newInstance() . now, when I invoke the transform method I get NPE at net.sf.saxon.Controller.transform(Controller.java:1319) Any help? - Original Message - From: "Zohar Amir" <[EMAIL PROTECTED]> To: "Tomc

Re: tomcat and xslt 2.0

2006-02-28 Thread Zohar Amir
ransformerFactoryImpl"); You will get a warning if the xslt is 1.0, but it will still compile and function. Richard Toren Zohar Amir wrote: Correct me if I'm wrong here: as I understand it, tomcat uses Xalan as its XSLT engine. Xalan does not support XSLT 2.0 . Is there any other XSLT en

Re: Image files accesable for a servlet in Tomcat, but they were accesible in Java standalone program

2006-02-22 Thread Zohar Amir
EMAIL PROTECTED] toHAVE websolutions www.tohave.nl [EMAIL PROTECTED] -Original Message- From: Zohar Amir [mailto:[EMAIL PROTECTED] Sent: Wednesday, 22 February, 2006 17:28 To: Tomcat Users List Subject: Re: Image files accesable for a servlet in Tomcat, but they were accesible in Java standalone progra

Re: Image files accesable for a servlet in Tomcat, but they were accesible in Java standalone program

2006-02-22 Thread Zohar Amir
Sorry to barge in, but maybe you can help me with my question: If I want to reference images from my servlet, when should I put them and how do I reference them? Thanks, Zohar. - Original Message - From: "Wentink, Marc" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Wednesday, Feb

tomcat and xslt 2.0

2006-02-22 Thread Zohar Amir
Correct me if I'm wrong here: as I understand it, tomcat uses Xalan as its XSLT engine. Xalan does not support XSLT 2.0 . Is there any other XSLT engine I can use with tomcat (I read something about Saxon)? If so, how do I do that? Thanks, Zohar. --

xslt

2006-02-22 Thread Zohar Amir
Can I use XSLT 2.0 stylesheets with tomcat 5.5.15 ? I get: ERROR: 'Error checking type of the expression 'funcall(format-dateTime, [step("child", 24), literal-expr([Mn] [D1o], [Y0001] at [h01]:[m09]:[s02] [P])])'.' Thanks, Zohar.

images

2006-02-21 Thread Zohar Amir
Hi, I have a servlet that transforms an XML using XSLT. In the result HTML I want to include some images. Where do I place those images? I tried the WebContent directory, but they could not be loaded (I even tried getting them explicitly, but the servlet was invoked instead). Thanks, Zohar.

Re: password protection

2006-02-15 Thread Zohar Amir
ction http://www.onjava.com/pub/a/onjava/2001/07/24/tomcat.html http://www.cafesoft.com/products/cams/tomcat-security.html for other ones, use favorite search engine. Zohar Amir a écrit : Thanks, Where can I find info on how exactly to do this? maybe an example...? - Original Message - Fro

Re: password protection

2006-02-15 Thread Zohar Amir
Thanks, Where can I find info on how exactly to do this? maybe an example...? - Original Message - From: "David Delbecq" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Wednesday, February 15, 2006 2:52 PM Subject: Re: password protection Zohar Amir a

password protection

2006-02-15 Thread Zohar Amir
Hello, I'm using tomcat 5.5.15 on Win XP. I have a servlet that is deployed on a certain context. I would like anyone trying to use that servlet use a username-password. how do I do this? What if I need to protect a jsp that is part of the servlet? Thanks, Zohar. -

Re: distribution

2006-01-08 Thread Zohar Amir
/marc.theaimsgroup.com/?l=tomcat-user&r=1&w=2 HTH - Richard -Original Message- From: Zohar Amir [mailto:[EMAIL PROTECTED] Sent: Sunday, January 08, 2006 6:03 AM To: Tomcat Users List Subject: distribution Hello, I've used tomcat to run some naive servlets, and now I need to do

distribution

2006-01-08 Thread Zohar Amir
Hello, I've used tomcat to run some naive servlets, and now I need to do something more complicated. I need to be able to distribute my service. Clients connect to a tomcat server and their requests are forwarded to a backend server. I need to be able to distribute all this, so that clients can

Re: upgrading a war file

2005-11-09 Thread Zohar Amir
machine? If yes, you could just copy and paste the war file inside and wait for several seconds. At least that's how I do it. If you want to avoid potential problem due to class change, maybe stop TC before pasting and restart it afterwards. Zohar Amir wrote: Hi, I have a servlet dep

upgrading a war file

2005-11-08 Thread Zohar Amir
Hi, I have a servlet deployed on my tomcat server. What are the options of upgrading this servlet (I have a new war file)? Which is the best way? What if I do not have admin web access to the server? - To unsubscribe, e-mail:

Re: Tomcat WAP/WML

2005-11-08 Thread Zohar Amir
http://www.kannel.org/ - Original Message - From: "Carl Olivier" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" Sent: Tuesday, November 08, 2005 2:16 PM Subject: RE: Tomcat WAP/WML Hi. Great. Thanks! Is there Gateway software available though? If you wanted to set your own gateway

Re: WAR versions

2005-10-20 Thread Zohar Amir
any standard entry for that? - Original Message - From: "David Delbecq" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Thursday, October 20, 2005 4:47 PM Subject: Re: WAR versions manifest as name of .war is used by tomcat during deployement to name t

WAR versions

2005-10-20 Thread Zohar Amir
Hello, I was wondering what is the best way to indicate a war file's version. Should the file's name indicate it (e.g., bla_1.3.2.war), and/or should the manifest in META-INF include an entry for it? Thanks, Zohar. - To unsu

NPE in init()

2005-10-20 Thread Zohar Amir
Hello, I'm new here, so all the normal disclaimers... I wrote a servlet and needed to read some configuration, so I overrode init(ServletConfig config). I forgot to invoke super(config) and then tried invoking getServletContext() and got a NPE. It took me some (a lot actually) time to figure ou