Re: Book recommendation

2002-06-21 Thread Carl Bacher
There's one coming out soon - hopefully. Developer's Guide to Tomcat 4 by Alex Garrett Jeff Kean and published by Manning It's due out in October. (It was due out in June when I ordered it about a month ago). Cindy Ballreich wrote: I can't speak to the others, but I really didn't like

Re: Precompiled jsp's

2001-10-24 Thread Carl Bacher
You should be putting your uncompiled jsp's in your context's root directory (webapps/your-context/your.jsp). Tomcat will do the compiling for you. When you access it via http://host:port/your-context/your.jsp, Tomcat will compile it for you and put the class file (and source file) in the 'work'

webapps/lib jar load order

2001-10-23 Thread Carl Bacher
Is there a way to specify the order that jars get loaded/searched in the webapps/my-context/WEB-INF/lib directory? For example, if I place two jar files ( first.jar second.jar ) in the webapp's lib directory, can I configure tomcat so that my webapp's classloader loads/searches second.jar

Re: servlets path in tomcat 3.3

2001-10-23 Thread Carl Bacher
Add a servlet-mapping to your web.xml file. servlet-mapping servlet-name SnoopServlet /servlet-name url-pattern /SnoopServlet /url-pattern /servlet-mapping mperreno wrote: Is it possible to use non-standard paths for servlet i.e. use map anything after the context name to

WAR auto-deploy context permissions

2001-10-19 Thread Carl Bacher
I'm trying to create contexts for the developers at my site by simply posting the war file, eg. mycontext.war, in the webapps directory and restarting tomcat, which creates and automatically extracts it to a context directory named mycontext. It works fine, but the permissions on the directories

How to setProperty with checkbox group

2001-02-01 Thread Carl Bacher
I'm trying to call setProperty on a group of checkboxes, i.e., multiple values for one parameter. The jsp is as follows: jsp:useBean id="myBean" class="com.company.TheBean" / jsp:setProperty name="myBean" property="selectedItems" param="selectedItems" / The

Re: How to setProperty with checkbox group

2001-02-01 Thread Carl Bacher
Actually, on NT I'm using jdk1.3 and on Linux I'm using 1.2.2. Maybe that's the difference. I did manage to get it to work by using the Request object and setting it explicitly % String[] selectedItems = request.getParameterValues("selectedItems"); myBean.setSelectedItems(selectedItems);