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):
html:hidden property="domainID" value='%= bean:message
key="admin.domaindn"/'/
value of domainID is still %=
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:
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 understands
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 Iacquired a pre-release version from
cvs and havehad very good results.
Maybe a newbie question here:
If a request is sent to a JSP page that has a html:select tag but the
request does not include a parameter with the same name as the property
attribute of the html:select tag it is my understanding that an exception
will be thrown saying that the request must
"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 each
Hi,
Is it possible to display errors not from the first column (using html:errors/) ?
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
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 html:select tag but the
request does not include a parameter with the same name as the property
attribute of the html:select tag it is my understanding that an exception
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):
html:hidden property="domainID" value='%= bean:message
Hi Craig,
Is this proposed change for html:options 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 logic:iterate behavior is more useful, and
suggest that we change html:options to match.
As a
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 method
On Mon, 19 Mar 2001, Fickes, Vic wrote:
Hi Craig,
Is this proposed change for html:options 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
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
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 differently
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
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 html:errors/) ?
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:
global-forwards
..
forward name="login"path="/2/login.jsp"/
..
/global-forwards
an now I want to use in every page something like this:
body
..
html:link
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 know that
I think, you are correct to qualify this as a formatting. Take the
struts-example. The tag html:errors/ 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
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.
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
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,
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 offend
Thank you for your reply, but this didn't really answer my question. Let me
rephrase. I am talking about jsp:include/, which is a dynamic templating
mechanism, as opposed to %@ include %, which is static. As I understand it:
jsp:include/ and struts-template:*/ are both dynamic templating
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 jsp:include.../) forces you to
replicate the layout framework (typically this includes a set of nested
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
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
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?
Struts
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 servlets.
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,
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:
html:img src="green-ball.gif"/
the images appear.
But when I specify a subdirectory like this:
html:img
Can you try html:img src="/WEB-INF/images/orange-ball.gif"/
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:
html:img src="green-ball.gif"/
the
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, 2001
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
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:
html:img src="green-ball.gif"/
the images appear.
But when I specify a
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 JSP
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
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
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
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: Derek
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
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
Struts
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.
TryExpresso: http://www.jcorporate.com
Ithas 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
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
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:
data-sources
data-source
...
/
/data-sources
When I chenged the code
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
Struts should suffer the same performance issues as WebWork. There are
a handful of benchmarks here:
http://sourceforge.net/docman/display_doc.php?docid=2243group_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,
Hi all, Im new in this list so please be patient. I looked into docs
and mail archives, and deja but couldnt 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, Im new in this list so please be patient. I looked
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.
65 matches
Mail list logo