Hi,
Maybe this question was posted already. I am sorry for the repetition.
Can somebody suggest what is the best case to resolve this expression
(maybe nested tags are not working):
value of domainID is still <%= >
Thank you all in advance.
Maya
I have never been able to get that to work, I think
it's an issue with either tomcat of the java spec.
The way I have been able to get around this is to
write my own tag and have the tag set page context
attributes via a tag extra info class.
scott.
--- Maya Muchnik <[EMAIL PROTECTED]> wrote:
>
Thank you, Scott,
If this is not a company "secret" can you share your tag?
Maya
Scott Walter wrote:
> I have never been able to get that to work, I think
> it's an issue with either tomcat of the java spec.
>
> The way I have been able to get around this is to
> write my own tag and have the t
Title: RE: How can a Struts Action developer best document the system for a JSP developer?
Bryan,
You might check out a recent article on JavaWorld called "Doclet your Servlet" (http://www.javaworld.com/javaworld/jw-03-2001/jw-0302-doclets.html) that describes a custom doclet that understand
You
might also check into another apache tool called Torque. I think its officially
bundled with Turbine, but it could be a subproject for code generation in its
own right.
I'm
not sure of its current status, but I acquired a pre-release version from
cvs and have had very good results.
Maybe a newbie question here:
If a request is sent to a JSP page that has a tag but the
request does not include a parameter with the same name as the property
attribute of the tag it is my understanding that an exception
will be thrown saying that the request must contain the parameter. If t
> "Bryan" == Bryan Field-Elliot <[EMAIL PROTECTED]> writes:
Bryan> I am struggling right now with how to properly and efficently document
Bryan> my Struts application for my JSP developer (who is by no means a Java
Bryan> expert). Specifically, I want to document each Action as well as e
Hi,
Is it possible to display errors not from the first column (using ) ?
Thanks in advance
Maya
Hallo,
I have some problems with the struts html-tag link with the
properties forward or page. I want to use this tag with ssl. It doesn't
create the link, because the method in
org.apache.struts.util.RequestUtils throws in the method
absoluteURL a MalformedURLException because unknown
prot
On Fri, 16 Mar 2001, John Wright wrote:
> Maybe a newbie question here:
>
> If a request is sent to a JSP page that has a tag but the
> request does not include a parameter with the same name as the property
> attribute of the tag it is my understanding that an exception
> will be thrown sa
On Mon, 19 Mar 2001, Maya Muchnik wrote:
> Hi,
>
> Maybe this question was posted already. I am sorry for the repetition.
> Can somebody suggest what is the best case to resolve this expression
> (maybe nested tags are not working):
>
>
>
This is not legal JSP syntax. You are not allowed
Hi Craig,
Is this proposed change for something we can expect to see in
the near term in a nightly build, or is this a more long term proposal?
Thanks,
Vic
> I also think the current behavior is more useful, and
> suggest that we change to match.
>
> As a nod towards backwards compatibilit
On Mon, 19 Mar 2001 [EMAIL PROTECTED] wrote:
> Hallo,
>
> I have some problems with the struts html-tag link with the
> properties forward or page. I want to use this tag with ssl. It doesn't
> create the link, because the method in
> org.apache.struts.util.RequestUtils throws in the metho
On Mon, 19 Mar 2001, Fickes, Vic wrote:
> Hi Craig,
>
> Is this proposed change for something we can expect to see in
> the near term in a nightly build, or is this a more long term proposal?
>
It's short term. I'm finishing up my last presentation for ApacheCon
(I've got three of them), a
I understand Struts has support for makeing web apps available in different
languages. Does this include images? If I have images with text on them in
English can I make images with text in French as well? Do I name the image
files differently or do I have to include the paths to the images in
Put the path to the images in the properties files
-Original Message-
From: Kyle Robinson [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 19, 2001 12:36 PM
To: Struts (E-mail)
Subject: Locales and images
I understand Struts has support for makeing web apps available in different
language
Hi everybody,
I'm fighting a problem whereby the java code generated by a 500 line jsp
file is so large (10,200) lines that a try/catch block contains so much code
that the file won't compile, giving a msg saying something like 'jump target
out of range'...
Surely I'm not the first to deal with
On Mon, 19 Mar 2001, Kyle Robinson wrote:
> I understand Struts has support for makeing web apps available in different
> languages. Does this include images? If I have images with text on them in
> English can I make images with text in French as well? Do I name the image
> files differentl
It isn't a struts problem, it is a problem caused by using excessive custom
jsp tags. One fix is to break your page up over several pages and use
dynamic includes. This will fix he compilation problems, but introduces a
few new challenges. The problem you are dealing with is the 64k limit in
j
Craig, where and when is ApacheCon and O'Reily Java ... Con (if not too late) ?
"Craig R. McClanahan" wrote:
>
> It's short term. I'm finishing up my last presentation for ApacheCon
> (I've got three of them), and then I get to go back to coding for a while.
>
> Craig
>
There is a limit to the size of a compiled method in java, I think it's 64k,
it's probably not specifically related to the try/catch block. Split it up
into multiple jsp's and use includes to make it into one page. It seems to
me that a good jsp compiler should generate multiple methods, but I
I found a OLD way (with table, tr, td, ...). But maybe for a next release ... Can
error tag to be improved ?
Maya
P.S. I know that we ask too much from several bright developers.
Maya Muchnik wrote:
> Hi,
>
> Is it possible to display errors not from the first column (using ) ?
>
> Thanks in adv
On Mon, 19 Mar 2001, Maya Muchnik wrote:
> Craig, where and when is ApacheCon and O'Reily Java ... Con (if not too late) ?
Both are in Santa Clara, CA this year, a week apart.
O'Reilly Enterprise Java Conference is March 26-29 (I'm speaking on
Thursday), and ApacheCon is April 4-6 (I'm speaki
I experienced the same problem with Weblogic 5.1 sp8. To fix it, I
increased the initial heap and maximum heap size arguments for the Java VM
in the Weblogic server startup BAT file to:
-ms256m -mx256m
This may be overkill for your situation, but it should work.
I like when you are :-). I will try to be "active" helper, but later, when I will
become
more familiar with struts, and other a lot of things!!!. Good luck to you in your
presentations in two conferences. I cannot go ( a project, and expenses). Can we get
your
presentation on-line? (:-))
Maya
On Mon, 19 Mar 2001, Maya Muchnik wrote:
> I found a OLD way (with table, tr, td, ...). But maybe for a next release ... Can
> error tag to be improved ?
Improvements are on the "nice to have this work better" list.
> Maya
> P.S. I know that we ask too much from several bright developers.
>
Hallo,
here is my example:
struts-config:
..
..
an now I want to use in every page something like this:
..
login
..
I don't want to switch from ssl to non-ssl. I am using the whole time ssl. But th
What do you mean by "not from the first column".
Are you talking about formatting? What are you trying
to do?
David
--- Maya Muchnik <[EMAIL PROTECTED]> wrote:
> I found a OLD way (with table, tr, td, ...). But
> maybe for a next release ... Can
> error tag to be improved ?
> Maya
> P.S. I kno
I think, you are correct to qualify this as a formatting. Take the
struts-example. The tag at the beginning of each file
will display error messages at top and left corner of a page.
David Winterfeldt wrote:
> What do you mean by "not from the first column".
>
> Are you talking about formatting
Hi,
I am sorry if I offend anyone. I am evaluating struts and notice that the
performance is much lower that if I use string jsp and servlets.
Has anyone have the same experience as I do? If so, is there any way to
improve the performance?
Thanks!
keith
I started working on an alternative version of the
errors tag this weekend that iterates through the
results so you can leave HTML out of the message
resources. It doesn't do everything that the Struts
tag does at this point. It also automatically
includes errors.header and errors.footer. Maybe
Hi;
I am new to struts, and thought I would be great if I can completely
separate the HTML and web design from the java code. So, I tried out the
first few pages of a project with struts implementation, only to realize
that the web designer will not be able to see his design because all the
cust
I think, it will be slower because you have one central servlet DISPATCHER that
is sending a "job" to different Actions. When you have some JSP that are
sending "job" themselves to other JSP, it is faster. Is it convenient? I think
- no, because a creator JSP does not know java. And change flow, r
Keith,
Can you gives some benchmark details and sample code that you ran in your
tests?
--Abraham
> -Original Message-
> From: Keith [mailto:[EMAIL PROTECTED]]
> Sent: Monday, March 19, 2001 11:56 AM
> To: [EMAIL PROTECTED]
> Subject: Performance of struts
>
>
> Hi,
>I am sorry if I
Thank you for your reply, but this didn't really answer my question. Let me
rephrase. I am talking about , which is a dynamic templating
mechanism, as opposed to <%@ include %>, which is static. As I understand it:
and are both dynamic templating mechanisms
-- they are re-evaluated at runti
the biggest thing for me is that you limit the potential layout bugs, and
you make it possible to change the layout, site wide, with the editing of a
single file. The alternative (just using ) forces you to
replicate the layout framework (typically this includes a set of nested
tables where you se
Hi,
I want to add an extra button 'Change Password' on my logon screen, which should take
me instead to the 'changePassword.jsp' screen where I would enter the username,
password, new password fields .
I want a suggestion on how to handle this. Should I have the same form bean for both
logon.
I have been prototyping an app using struts on my windows workstation for a
week now and have never had a problem.
Troy
-Original Message-
From: JOEL VOGT [mailto:[EMAIL PROTECTED]]
Sent: Saturday, March 17, 2001 4:48 AM
To: [EMAIL PROTECTED]
Subject: Re: Please Help
Okay,
After playin
You can use the name-value parameter of your Change Passord button (Submit
Button) in your Form bean to find out which button was pressed. Once you
have that information you can write the logic based on it.
Anshuman Nanda
-Original Message-
From: Shamdasani Nimmi-ANS004 [mailto:[EMAIL
Hi, Keith,
I think, DreamWeaver has an implementation to display custom tags (UltraDev),
and now they are working to embed a support for the struts. Can you give
example you are talking about? Do you want, that tags will send additional
HTML code?
Maya
Keith wrote:
> Hi;
> I am new to struts
On Mon, 19 Mar 2001, Keith wrote:
> Hi,
>I am sorry if I offend anyone. I am evaluating struts and notice that the
> performance is much lower that if I use string jsp and servlets.
>Has anyone have the same experience as I do? If so, is there any way to
> improve the performance?
>
S
Thanks everybody for the advice. I'm on track again, using includes.
Duh, why didn't I think of that?
Kurt
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 19, 2001 8:25 AM
To: [EMAIL PROTECTED]
Subject: Re: 500 lines of jsp is 10k lines of java
On Mon, 19 Mar 2001, DONNIE HALE wrote:
> 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?
I'm mostly concerned about the execution speed of the generated
Title: RE: How can a Struts Action developer best document the system fo r a JSP developer?
Hi Bryan and John,
I have created something like this with XSL that converts the (old) action.xml and (new) struts-config.xml files and produces a graph showing the various forwards, forms, actions, e
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
Hello all,
It seems that the html:img tag is able to find images in the context
root, but not in subdirectories.
When I specify an image with the html:img tag like this:
the images appear.
But when I specify a subdirectory like this:
the images are missing when the page renders, i.e. little re
Can you try
Maya
Tom Miller wrote:
> Hello all,
>
> It seems that the html:img tag is able to find images in the context
> root, but not in subdirectories.
> When I specify an image with the html:img tag like this:
>
> the images appear.
>
> But when I specify a subdirectory like this:
>
> th
Try Town : http://www.working-dogs.com/town
It has a built-in object-relational mapping utility
named ormapmaker.
Its documentation is very concise, but it
works.
- Original Message -
From:
Kyle
Robinson
To: '[EMAIL PROTECTED]'
Sent: Thursday, March 15,
Title: RE: html:img tag cannot find image
Hi Tom,
In your example, you are directing your web browser to request an image file from within the "WEB-INF" directory. Per the servlet specification your servlet engine treats the "WEB-INF" directory as a private resource. This means none of the f
On Mon, 19 Mar 2001, Tom Miller wrote:
> Hello all,
>
> It seems that the html:img tag is able to find images in the context
> root, but not in subdirectories.
> When I specify an image with the html:img tag like this:
>
> the images appear.
>
> But when I specify a subdirectory like this:
>
If Tomcat's performance is pretty awful, what are some JSP implementations
(commercial or otherwise) that are particularly good?
At 12:10 PM 3/19/2001 -0800, you wrote:
>Struts based apps (or any app that uses custom tags heavily) are going to
>be significantly impacted by the quality of the JS
The template custom actions (including "insert", "put", and "get") are
absolutely distinct from the JSP "include" action. I would recommend that
you review the code for the struts-template web application that comes with
struts1.0 beta 1. In a nutshell, the template allows you to define a single
t
In my opinion the performance of Tomcat is pretty
good. However most j2ee apps servers have very good
performance including weblogic, iplanet, silverstream,
etc.
scott.
--- James Howe <[EMAIL PROTECTED]> wrote:
> If Tomcat's performance is pretty awful, what are
> some JSP implementations
> (co
check orion out... (http://www.orionserver.com/)
-Original Message-
From: James Howe [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 19, 2001 3:16 PM
To: [EMAIL PROTECTED]
Subject: Re: Performance of struts
If Tomcat's performance is pretty awful, what are some JSP implementations
(comme
Title: RE: How can a Struts Action developer best document the system fo r a JSP developer?
Thanks Derek, I'd appreciate seeing your work. You're right, that struts-config.xml doesn't have enough to be completely useful, but I figure its a start.
John
-Original Message-
From: Dere
Hi!
I'm very interested to use this taglib. Is the source
code also available ? where ? (the URL?)
Thanks
Joel
--- Ted Husted <[EMAIL PROTECTED]> a écrit : > Note:
These tags are very easy to use with the
> Struts connection pool.
>
> Simply give your datasource a "key" property in your
> Str
Go to Taglib project of jakarta.apache.org
Joel Cordonnier wrote:
> Hi!
>
> I'm very interested to use this taglib. Is the source
> code also available ? where ? (the URL?)
>
> Thanks
> Joel
>
> --- Ted Husted <[EMAIL PROTECTED]> a écrit : > Note:
> These tags are very easy to use with the
> > S
Currently I'm using ServletExec-AS (with Apache) on Win98 and it seems
pretty easy to use and relatively fast. It also has a nice admin interface
for deploying and defining web apps.
You can download it from http://www.servletexec.com/download.jsp. I don't
think you have to enter any information.
Try Expresso : http://www.jcorporate.com
It has a built-in
object-relational mapping utility
http://www.jcorporate.com/html/products/expresso/dbobj.html
-Original Message-From: Kyle Robinson
[mailto:[EMAIL PROTECTED]]Sent: Wednesday, March 14, 2001
6:35 PMTo: '[EMAIL PROTECTED
Hi,
I have the following problem:
I have 2 listboxes (select boxes) - Input and output.
The input box is populated when the jsp is loaded.
At this point the output listbox( select box) is empty.
The user selects a value in the input box and clicks on the add button which
puts the value in the ou
Hello everyone,
I encountered a weird problem and got "javax.servlet.ServletException:
Parsing error processing resource path /WEB-INF/struts-config.xml" error
message. The tags that caused this error are as follow:
When I chenged the code to
I didn't get that error message any more (
Hello again.
Sorry friends, false alarm. I was dumb enough to forget to put jar file
with javax.sql.* classes in my web application classpath.
Best of luck.
___
Do You Yahoo!?
Get your free @yahoo.ca address at http://mail.yahoo.ca
I just installed the struts-example program and one
of my own Struts apps to BAS 4.5 and everything worked fine right out of the
box. No modifications were needed.
If you want to add this to the Installation
instructions, that would be great.
--
Dan Miser
http://www.distribucon.com
I haven't done any comparisons recently, but I think Resin from
www.caucho.com is very reasonably priced and written specifically with
performance in mind (from what I can tell). I've written a Java based http
proxy server before and I can tell you that from looking at some of the
things Resin has
Struts should suffer the same performance issues as WebWork. There are
a handful of benchmarks here:
http://sourceforge.net/docman/display_doc.php?docid=2243&group_id=14797#
Na96
The relative performance on a tag-heavy benchmark:
Tomcat 3.2: ~380 milliseconds
JRun 3.0: ~350 milliseconds
Resin
I have an object oriented question related to how Struts instantiates an
ActionForm. What I am trying to do is utilize a factory for creation of my
ActionForms. In my application, I have a base (abstract) ActionForm class
called Fermentation, and subclasses FermentationYeast, FermentationEcoli,
e
i download jakarta-struts-1.0-b1 today and found next in registration.jsp
should it be:
or i've missed something?
John.
Hi all, I’m new in this list so please be patient. I looked into docs
and mail archives, and deja but couldn’t find a solution to the problem. Every time
I make a chance in the formbean, action, jsp, or the strut-config.xml file, I
have to stop and restart Tomcat. Is this necessary (if yes,
As far as i know, you have to take the pain, except
for the JSP changes
- Original Message -
From:
Ali Ozoren
To: [EMAIL PROTECTED]
Sent: Tuesday, March 20, 2001 3:44
PM
Subject: reloading issue
Hi
all, I’m new in this list so please be patient. I looked i
hi Ali,
A change in a jsp does not warrant a restart but the
others do. Any change in struts-config or an action class is not reflected
otherwise. A changed form bean will sometimes throw an exception too.
Cheers,
Sridhar
S
Real knowledge is to know
the extent of one's ignorance.
-O
70 matches
Mail list logo