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
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
completeness, here's the excerpt from my jsp page:
--
===========
David M. Karr ; Java/J2EE/X
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
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]>
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.
--
===
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]>
>>>>> "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,
>>>>> "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
>>>>> "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,
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]>
>>>>> "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.
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?
--
========
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
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"/>
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
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
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.
--
==
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.
---
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]>
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
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: &
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
-
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.
--
--
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.
--
==
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]>
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
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
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
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: &
- 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.
--
==
>. 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
>>>>> "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
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.
--
========
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]>
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)
> "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
c webapp with
Tomcat?
--
=======
David M. Karr ; Best Consulting
[EMAIL PROTECTED] ; Java/Unix/XML/C++/X ; BrainBench CJ12P (#12004)
ve to go into the "common servlet errors list"?
--
=======
David M. Karr ; Best Consulting
[EMAIL PROTECTED] ; Java/Unix/XML/C++/X ; BrainBench CJ12P (#12004)
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)
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)
as some good information and
examples of working filters.
--
=======
David M. Karr ; Best Consulting
[EMAIL PROTECTED] ; Java/Unix/XML/C++/X ; BrainBench CJ12P (#12004)
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)
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)
scalability.
--
===
David M. Karr ; Best Consulting
[EMAIL PROTECTED] ; Java/Unix/XML/C++/X ; BrainBench CJ12P (#12004)
>>>>> "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
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)
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.
--
========
48 matches
Mail list logo