Re: Taglib: Unable to find setter method for attribute: required

2003-03-02 Thread David M. Karr
pection? If you haven't solved this yet, it could be useful to see your actual tag class and the TLD. There should be no problem with implementing a setter method in the base class, as opposed to the derived class. -- === Davi

Re: tag attributes as bean properties

2003-02-22 Thread David M. Karr
d "setFooExpr()". In my "doStartTag()" method, I pass the value of "getFooExpr()" into the EL evaluator and send the result to "setFoo()". This will definitely deal with your cases "(1)" and "(3)", and I believe it will handl

Does TC 4.1.18 actually reuse tag handler instances?

2003-02-04 Thread David M. Karr
completeness, here's the excerpt from my jsp page: -- =========== David M. Karr ; Java/J2EE/X

Re: JSP fine but no Java.

2003-01-20 Thread David M. Karr
ated exactly what error messages you're getting, and showing the actual jsp page, along with your web.xml file. -- =========== David M. Karr ; Java/J2EE/XML/Unix/C++ [EMAIL PROTECTED] ; SCJP; SCWCD -- To unsubscribe, e-mail

Re: Unable to find setter method

2002-11-16 Thread David M. Karr
ies in either of these two classes? Is the base class a "public" class? Are there any "getter" methods for either of these two properties? -- === David M. Karr ; Java/J2EE/XML/Unix/C++ [EMAIL PROTECTED] ; SCJP -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Re: Pager Tag Library - Broken in 4.1.12

2002-11-16 Thread David M. Karr
le you just need to add code to your "release()" method to reset your instance variables? It looks like you're trying to do this in your "doStartTag()" method, which isn't the normal way to do that. -- ===

Re: precompile or not Jsps?

2002-09-21 Thread David M. Karr
sion, both for your development process, and your production deployment process. -- === David M. Karr ; Java/J2EE/XML/Unix/C++ [EMAIL PROTECTED] -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Re: TC4.1.10: Can't install new app directly from GUI

2002-09-04 Thread David M. Karr
>>>>> "Daniel" == Daniel Kehoe <[EMAIL PROTECTED]> writes: Daniel> On 02 Sep 2002 21:12:59 -0700, "David M. Karr" <[EMAIL PROTECTED]> Daniel> said: >> I don't see any documentation on how to use the Manager GUI,

Re: TC4.1.10: Can't install new app directly from GUI

2002-09-03 Thread David M. Karr
>>>>> "David" == David M Karr <[EMAIL PROTECTED]> writes: >>>>> "Daniel" == Daniel Kehoe <[EMAIL PROTECTED]> writes: Daniel> On 02 Sep 2002 21:12:59 -0700, "David M. Karr" <[EMAIL PROTECTED]> Daniel> s

Re: TC4.1.10: Can't install new app directly from GUI

2002-09-03 Thread David M. Karr
>>>>> "Daniel" == Daniel Kehoe <[EMAIL PROTECTED]> writes: Daniel> On 02 Sep 2002 21:12:59 -0700, "David M. Karr" <[EMAIL PROTECTED]> Daniel> said: >> I don't see any documentation on how to use the Manager GUI,

TC4.1.10: Can't install new app directly from GUI

2002-09-02 Thread David M. Karr
ght make it friendlier if the field widths were wider (perhaps one per line?). -- === David M. Karr ; Java/J2EE/XML/Unix/C++ [EMAIL PROTECTED] -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Re: TC404: slightly changed struts-exercise-taglib doesn't execute ActionServlet.init()

2002-08-30 Thread David M. Karr
>>>>> "David" == David M Karr <[EMAIL PROTECTED]> writes: David> I'm using TC4.0.4 on Win2k, using JDK1.4. I've built Struts1.1b2 from source. David> I've deployed the "struts-exercise-taglib" to TC, and it works fine.

TC404: slightly changed struts-exercise-taglib doesn't execute ActionServlet.init()

2002-08-29 Thread David M. Karr
for some reason it is not executing ActionServlet.init(), so numerous things fail in the application. I can't see any rational reason why this would happen. Is there something I can do to get more information about this, or some good reason why this might be happening? -- ========

Re: JSPC Precompiling Issues and a handy utility

2002-08-01 Thread David M. Karr
ading. The Tomcat JspC process only generates the servlet code. You have to compile the code yourself. It's easy enough to set that up as part of your build process. -- === David M. Karr ; Java/J2EE/XML/Unix/C++ [EMAIL P

Re: JSP precompilation and including "webinc.xml" in web.xml

2002-06-05 Thread David M. Karr
n.com/dtd/web-app_2_3.dtd"; [ ] > &webinc; - And finally, here is the stylesheet (webmerge.xsl) that does the transformation: - http://www.w3.org/1999/XSL/Transform";> http://java.sun.com/dtd/web-app_2_3.dtd"/>

Re: how make JASPER use the -deprecation flag during jsp page compilation ?

2002-05-29 Thread David M. Karr
rocedure to pregenerate (using the "JspC" class) and precompile your JSP pages, so you can specifically add "-deprecation" to the "javac" command line. -- ======= David M. Karr ; Java/J2EE/XML/Un

Re: Invalid direct reference to form login page

2002-05-10 Thread David M. Karr
gt; I believe this might be due to the fact that you've declared the "login" directory as part of the protected resource. Try creating a subdirectory of the application root where all the pages go, except for the login and error pages, then specify that subdirectory as

Re: how can Tomcat compile jsp with -deprecation

2002-05-10 Thread David M. Karr
outer jsp will include the non-standalone jsps Ricky> making the entire page work. Just an idea if it's at all possible. Ah, that's why you're supposed to give included JSP pages a different extent. -- ==

Re: Using the precompiled jsps with tomcat 4.0.x

2002-05-01 Thread David M. Karr
let classes from the JSP pages. Note that I'm excluding the jsp pages from the WAR, as they shouldn't be needed, although as I haven't gotten the includes to work yet, I haven't verified that yet. ---

Including by entity in web.xml: "Invalid PUBLIC ID"

2002-04-25 Thread David M. Karr
esides the four listed in that array. Am I missing something? -- =========== David M. Karr ; Java/J2EE/XML/Unix/C++ [EMAIL PROTECTED] -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>

Re: help with configuring servlets for tomcat 4.0.1

2002-04-12 Thread David M. Karr
ompany/servlets/MainServlet.class mycompany/WEB-INF/classes/com/mycompany/servlets/domain/OtherServlet.class Then, define a SINGLE context in "server.xml": Then, in your "web.xml", the only thing I would change would be the "url-pattern" for your servlets, to be the fo

Re: Problems getting "jspc" to completely work

2002-04-11 Thread David M. Karr
e is generated, if you want to use the generated code, you have to compile it. -- ======= David M. Karr ; Java/J2EE/XML/Unix/C++ [EMAIL PROTECTED] -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: &

Re: Problems getting "jspc" to completely work

2002-04-11 Thread David M. Karr
d "file:./webinc.xml" (probably the underlying root cause for the "Start" failure). I almost wish the "JspC" class could automatically augment the "web.xml" with the new mappings, as opposed to generating a separate file to include from the main file. Howeve

Problems getting "jspc" to completely work

2002-04-11 Thread David M. Karr
- Resolve: webinc file:./webinc.xml XmlMapper: Can't find resource for entity: webinc --> file:./webinc.xml "null" PARSE error at line 0 column 0 org.xml.sax.SAXParseException: File "file:./webinc.xml" not found. -- --

Re: Tom cat does not load class -- Urgent I need help

2002-04-04 Thread David M. Karr
S prompt, type "java -version". Make sure it's what you expect. Also type "javac -help", although it's a little harder to tell from this what version you're getting. Both of these are long shots. -- ==

Re: Tom cat does not load class -- Urgent I need help

2002-04-04 Thread David M. Karr
VM you're running Tomcat with? This may be unimportant, but are you using any directory names which contain spaces? -- === David M. Karr ; Java/J2EE/XML/Unix/C++ [EMAIL PROTECTED] -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>

Re: why so many processes running for tomcat

2002-04-04 Thread David M. Karr
ne line for every thread of a process. What each of those threads are doing, that's a different question. Several of them are waiting to serve HTTP requests, others may have different tasks. -- ======= David M. Karr

404b2: Manager stop/start works, but not with latest Struts/Commons

2002-04-04 Thread David M. Karr
ndex$jsp.java:77) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107) This doesn't happen if I restart Tomcat (I just get the messages problem). -- === David M. Karr ; Java/J2EE/XML/Unix/C++ [EMAIL PROTE

Process for using Manager reload of war file?

2002-04-01 Thread David M. Karr
app, writing results to standard output. I wondered whether the "unpackWARs" attribute in my Context element in "server.xml" would make it NOT unpack the WAR into the directory, but this seemed to have no effect. I set this to "false", made sure the unpacked

Debug generated code from JSP in NB331?

2002-03-31 Thread David M. Karr
As a result, the package structure doesn't match the directory structure. I wonder if that is causing a problem in the debugger. -- === David M. Karr ; Java/J2EE/XML/Unix/C++ [EMAIL PROTECTED] -- To unsubscribe: &

Re: Silly little error with JBoss-Tomcat and EJB's...

2002-02-13 Thread David M. Karr
- so most are Richard> being found - just not EJBObject. This class appears to be in "$JBOSS_HOME/lib/ext/jboss-j2ee.jar". You might as well put all jars in "$JBOSS_HOME/lib/ext" into your classpath. -- ==

Re: How to "include" across contexts/webapps?

2002-01-04 Thread David M. Karr
>. It includes an "import" tag that specifies a URL, which can point anywhere, either relative or absolute. I have not used this. -- === David M. Karr ; Best Consulting [EMAIL PROTECTED] ; Java/Unix/XML/C++/X ; BrainBe

Re: Mildly off topic, but there are too many smart people here

2001-12-20 Thread David M. Karr
>>>>> "Bongiorno" == Bongiorno Christian writes: Bongiorno> -Original Message- Bongiorno> From: David M. Karr [mailto:[EMAIL PROTECTED]] Bongiorno> Sent: Thursday, December 20, 2001 3:51 PM Bongiorno> To: [EMAIL PROTECTED] Bon

Re: Mildly off topic, but there are too many smart people here

2001-12-20 Thread David M. Karr
taking up all my cpu and never producing the page? Bongiorno> Ideas? You aren't doing something silly like having "login.jsp" in a login-protected region, are you? I saw the behavior you are seeing when I made that silly mistake. -- ========

Re: Tomcat 4.01 tag renders in wrong place

2001-12-19 Thread David M. Karr
ffer owned by the tag. That seems to explain the circumstances you're seeing. -- === David M. Karr ; Best Consulting [EMAIL PROTECTED] ; Java/Unix/XML/C++/X ; BrainBench CJ12P (#12004) -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>

Re: Struts, JAAS and Tomcat

2001-12-03 Thread David M. Karr
need to summarize what you've done and what's going wrong before anyone can give you any concrete help. -- ======= David M. Karr ; Best Consulting [EMAIL PROTECTED] ; Java/Unix/XML/C++/X ; BrainBench CJ12P (#12004)

Re: Tomcat and Wap

2001-12-03 Thread David M. Karr
> "galbayar" == galbayar <[EMAIL PROTECTED]> writes: galbayar> my jsp is: I can't find any error. but WAP browser have Page Cannot be galbayar> displayed error. galbayar> <%@ page contentType="text/vnd.wap.wml;charset=ISO-8859-1"%> galbayar> <%response.setHeader("Cache-Contr

Any reason to use Apache w/ Tomcat for webapp with all dynamic web pages?

2001-10-01 Thread David M. Karr
c webapp with Tomcat? -- ======= David M. Karr ; Best Consulting [EMAIL PROTECTED] ; Java/Unix/XML/C++/X ; BrainBench CJ12P (#12004)

Humorous error: config form-based login with a login.jsp that's restricted

2001-09-14 Thread David M. Karr
ve to go into the "common servlet errors list"? -- ======= David M. Karr ; Best Consulting [EMAIL PROTECTED] ; Java/Unix/XML/C++/X ; BrainBench CJ12P (#12004)

Guidelines for debugging Tomcat-4.0-b8 in NB 3.2.1?

2001-08-29 Thread David M. Karr
N', 'jar:file:/C:/jakarta-tomcat-4.0/webapps/struts-upload/WEB-INF/lib/struts.jar!/org/apache/struts/resources/web-app_2_3.dtd' Digester.getParser: java.lang.ClassCastException: org.apache.crimson.jaxp.SAXParserFactoryImpl at javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:155) at org.apache.commons.digester.Digester.getParser(Digester.java:335) ... Starting service Tomcat-Apache Apache Tomcat/4.0-b8-dev -- === David M. Karr ; Best Consulting [EMAIL PROTECTED] ; Java/Unix/XML/C++/X ; BrainBench CJ12P (#12004)

Simple test of BASIC authentication seems to bypass login dialog

2001-06-10 Thread David M. Karr
out.println("Authentication Mechanism " + request.getAuthType() + ""); %> -------- web.xml: http://java.sun.com/j2ee/dtds/web-app_2_3.dtd";> Entire Application /* BASIC ProJSP Authentication Example -- === David M. Karr ; Best Consulting [EMAIL PROTECTED] ; Java/Unix/XML/C++/X ; BrainBench CJ12P (#12004)

Re: Tomcat 4 Beta 5 Filters

2001-06-05 Thread David M. Karr
as some good information and examples of working filters. -- ======= David M. Karr ; Best Consulting [EMAIL PROTECTED] ; Java/Unix/XML/C++/X ; BrainBench CJ12P (#12004)

Re: JSP compilation under Tomcat 4.0 Beta 3

2001-05-10 Thread David M. Karr
give it a try. Did you really name the directory "web-inf" and not "WEB-INF"? That could be a problem. I believe the directory name has to be exactly "WEB-INF". -- === David M. Karr ; Best Consulting [EMAIL PROTECTED] ; Java/Unix/XML/C++/X ; BrainBench CJ12P (#12004)

Apache/Tomcat/JBoss: Where/how to deploy J2EE application?

2001-05-05 Thread David M. Karr
ny special steps in configuring either piece? Or do you have to deploy a WAR with Apache/Tomcat and an ejb-jar with JBoss? -- ======= David M. Karr ; Best Consulting [EMAIL PROTECTED] ; Java/Unix/XML/C++/X ; BrainBench CJ12P (#12004)

Tradeoffs: running servlets + EJB in same VM or different VM?

2001-04-02 Thread David M. Karr
scalability. -- === David M. Karr ; Best Consulting [EMAIL PROTECTED] ; Java/Unix/XML/C++/X ; BrainBench CJ12P (#12004)

Re: apache/tomcat321: serving html & port 80 vs. 8080

2001-03-21 Thread David M. Karr
>>>>> "David" == David M Karr <[EMAIL PROTECTED]> writes: David> I believe I've finally advanced past the "lurker" stage to perhaps David> the "newbie" stage. David> I have a win2k system at the end of a DSL line

apache/tomcat321: serving html & port 80 vs. 8080

2001-03-20 Thread David M. Karr
t up a tree separate from Tomcat that I want to serve things out of. I successfully pointed tomcat to that other place. Do I have to change the http.conf DocumentRoot to point to the other place, and if so, what exactly do I set it to? Thanks for the help. -- === David M. Karr ; Best Consulting [EMAIL PROTECTED] ; Java/Unix/XML/C++/X ; BrainBench CJ12P (#12004)

Re: This List is over-whelming

2000-12-08 Thread David M. Karr
to read/write them (or even ignore them sometimes) is a breeze. It's just a teensy bit harder to set up than your average mail reader. It can also be useful to have a workable mail filtering agent, like "Procmail", but you can get by without it. -- ========