fferent servers. The
problem, was that for some reason, the definition of the constants SKIP_BODY
and such mapped to different integers. While running your code on one
platform, try to print out the values of the common tag constants such as
SKIP_BODY, SKIP_PAGE, EVAL_BODY_INCLUDE and others.
, the definition of the constants SKIP_BODY
and such mapped to different integers. While running your code on one
platform, try to print out the values of the common tag constants such as
SKIP_BODY, SKIP_PAGE, EVAL_BODY_INCLUDE and others. Make sure they are the
same under both platforms.
-AP_
Folks,
I have an application deployed via a .ear file to WebLogic 6.1sp1 on NT and on AIX.
The following code works fine on NT:
On AIX, however, the tag returns false, skipping the body. Note that this
is dep
Folks,
I'm using Tomcat 4.01, and I'm seeing behavior that makes me wonder if it's
part of the servlet spec.
In a method called by my servlet.init(ServletConfig) method, I'm calling
"config.getInitParameter" to successfully get a parameter from my web.xml
file. However, if at the same point in t
Here's what someone posted to this list just yesterday:
I have some additional information for anyone trying to run struts 1.0
based apps with WebSphere 3.5.2/3:
There two main issues that have come up with the mov
Jasper doesn't generate bytecode, it generates java code (i.e.
myjsp-generatedservlet.java). A regular java compiler is then used to compile that
into bytecode. The issue with Jasper, from what Craig was saying, is that it's a very
brute-force generation of the java servlet code. It doesn't do
I know other folks here have run into the Java (not Tomcat, not Struts) limitation of
methods being no bigger than 64K (lines? bytecode?). I'm not sure what the resulting
error is, but that may be your problem.
Donnie
>>> [EMAIL PROTECTED] 03/20/01 03:06PM >>>
Hi,
I have been getting a very
Craig,
>>(NOTE: Tomcat's performance
w.r.t. JSP pages is pretty awful, for example).<<
Could you elaborate on this, please?
- is it awful for compiling, executing, both?
- is the generated servlet code the culprit since you don't say that servlet
performance is bad?
- are there particular JSP
Craig,
Last week, there was a thread labelled: "Minimizing Action class proliferation". I
think you were on your brief "no list access" hiatus. :)
Below is the long-and-short of a proposed enhancement to Struts that could optionally
be used by developers if they are so inclined. The only piece
fied.
Anyway.. that's my 2ยข, regards,
Levi Cook
Greenbrier & Russel
Madison, Wisconsin
www.gr.com
[EMAIL PROTECTED]
-Original Message-
From: Richard Reich [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 08, 2001 10:27 AM
To: [EMAIL PROTECTED]
Cc: DONNIE HALE
Subject: Re: Mini
y we have
packages :-) Don't fight the framework.
Jeff
>-Original Message-
>From: DONNIE HALE [mailto:[EMAIL PROTECTED]]
>Sent: Thursday, March 08, 2001 7:56 AM
>To: [EMAIL PROTECTED]
>Subject: RE: Minimizing Action class proliferation
>
>
>Jeff,
>
>I
Donnie
>>> [EMAIL PROTECTED] 03/08/01 10:47AM >>>
>From: DONNIE HALE [mailto:[EMAIL PROTECTED]]
>
>Thanks for responding. I understand what you're saying re:
>keeping the action classes simple. However, it still makes the
>whole cycle more tedious than perha
Niall,
Thanks for the sample code. This is one approach I was considering. One enhancement
would be to use a map of method name to Method object so that you only need to do the
reflection once per method name. Just a thought...
It would be nice to do a standard implementation of this, with Cr
ity of using the business logic beans to do the work,
forwarding to the next appropriate page, trapping/logging any exceptions,
etc.
Bill Hines
Hershey Foods
-Original Message-
From: DONNIE HALE [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 07, 2001 11:25 AM
To: [EMAIL PROTECTED]
Subject:
Ted,
I've seen a lot of discussion re: connection pooling, etc. Perhaps you can answer my
question as to why people just don't use the connection pooling in drivers supporting
the JDBC 2.0 spec (apart from the obvious situation where the drivers don't yet
support 2.0, in which case, considerin
I'm certainly not the most experienced Struts person around, so weigh my opinions
accordingly. However, it's repeatedly occurred to me that one of the "barriers to
entry", so to speak, of using Struts is the rapidity with which Action classes
proliferate. The project we're working on, which wil
Forte for Java website (http://www.sun.com/forte/ffj/),
Tomcat integration is only available with the $500 Internet Edition of the
tool. It would be cool if the Community (Free) Edition of the tool could be
adapted to support Tomcat/Struts...
Eric
-Original Message-
From: DONNIE HALE [
quot;, and I was wondering
if the "prefix:tags" were stored in an external file, that could be
created once with all the Struts (and Taglibs) tags -- plug and play.
"Craig R. McClanahan" wrote:
>
> Ted Husted wrote:
>
> > DONNIE HALE wrote:
> > > It's
ken up and partially redistributed - I have no idea.
-Donnie
>>> [EMAIL PROTECTED] 03/06/01 10:32AM >>>
DONNIE HALE wrote:
> It's got Tomcat built into it, so you can right-click on a JSP and say "Execute". It
>also has auto-completion for custom tags - once you put t
I'm growing to like NetBeans more - www.netbeans.org. It's more of an "IDE" than just
an editor, but it does let you do all the Struts-based stuff in one place (JSPs,
actions, beans, etc.).
It's got Tomcat built into it, so you can right-click on a JSP and say "Execute". It
also has auto-compl
Craig,
I don't know if this is applicable or not, but if I set the new "validating" servlet
parm to "false", I'll still get parse errors if the tag is in the .xml
file. I get around this by deleting that tag from the .xml file. With both of these
elements in place, I don't get any errors duri
What servlet engine are you using?
-Donnie
>>> [EMAIL PROTECTED] 02/21/01 09:19AM >>>
Presumeably some kind of configuration error. Any ideas how to correct
this?
I'm using the Feb 20 build. During startup when SAXParserImpl trys to
execute for the struts-example, if I'm logged on to the Intern
workaround. I
know this has and is supposed to work on that platform.
-Donnie
>>> [EMAIL PROTECTED] 02/21/01 11:02AM >>>
Tomcat 3.2.1
DONNIE HALE wrote:
> What servlet engine are you using?
>
> -Donnie
>
> >>> [EMAIL PROTECTED] 02/21/01 09:19AM >&g
Tom,
First, the web.xml file isn't parsed by the ActionServlet; it's parsed by the servlet
engine when it's initializing a web application (web.xml is part of the standard for
defining the properties/characteristics of a "web application"). It should be
completely parsed and accepted as correc
Hi folks.
As I've read about various frameworks' support (or lack thereof) for an "event--based"
approach to model 2 apps, some things sprang to mind. I checked the v1.1 to-do page
and saw a couple of items that may cover this.
I'm wondering if it wouldn't be useful to allow for "queueing" of
That's not completely accurate. WebSphere v3.5 fix-level 2 provides JSP 1.1 and
servlet 2.2 support, including the ability to deploy .war files. However, as I posted
a couple of days ago, there are some issues in the implementation which cause Struts
to fail under WebSphere.
-Donnie
>>> [EMA
We had multiple problems getting a Struts app to run under WebSphere (Advanced, 3.5
fix2). First, the validation of the struts-config.dtd failed during
ActionServlet.init(). We hacked around this by modifying ActionServlet to call
"digester.setValidating(false)" rather than passing "true". The
To those interested:
I followed the rabbit trail implied by Craig's response, and have discovered that in
fact there is an issue when Struts attempts to register its local DTD in the
initDigester method. However, I believe it may be due to a bug in the Struts code, not
Enhydra's class loader.
28 matches
Mail list logo