Point well taken, Frank. The complexity is real but is less severe
than the alternative of using repetitive relative simplicity requiring
you to recode the entire thing: brains instead of brute force. The
thing is always balancing the scales, right? Give a little get more
is the objective.
Hi,
I had the same problem once.
After a lot of investigation, turned out this was due to the html:base tag
and the way I used tiles.
In any case, check the value of the html:base tag in the final HTML code.
It might point to one of your actions. Some browser send a request to it to
check if the
You need to be more specific, I think. See below:
Jack
On Tue, 16 Nov 2004 07:33:40 +0100 (CET), Ryan julius
[EMAIL PROTECTED] wrote:
Hi,
I have in my project, an action /ReadDataBaseData.do and the corresponding
handler :
public ActionForward accessDatabase(ActionMapping, ActionForm,
Set a HTTP header to refresh the request every 30 seconds.
-Original Message-
From: Dakota Jack [mailto:[EMAIL PROTECTED]
Sent: 16 November 2004 08:45
To: Struts Users Mailing List
Subject: Re: multiThread, action and Database access
You need to be more specific, I think. See below:
Hi Bill,
so you say, it is good practice to use the two forms in one action as I do
in my current solution? Sure, one has to hide the internals from AF1 to an
action primarily designed to use AF2 to keep the address module generic.
Perhaps I should make the calling ActionForms implement a
Thanks for the input - i've had a play and can't get it to work and now my
patience has timed out so i'll use the logic:iterate method instead.
Thanks,
Andy
_
Use MSN Messenger to send music and pics to your friends
Hi Eddie,
thanx for your reply, I will put it in my poetry album, and reread eat,
each time I'm asking myself about the sense of the living...
Sad, but my problems are rather in the real world, where the developers
aren't Jedi or whatever Knights, but a bunch of guys, with each of them
being
XSLT makes me wince... I love what you can do with it, I just hate writing
it!
I think one of the big differences between xslt and jsp is that in jsp all
the complexities are hidden until you choose to use them. You can stick
pure html in a jsp file and it works. You can add some jstl, or maybe
Hi Jack,
I like you kind of cashing out, but I think your diagram misses some points.
In fact the view-controller itself is a view on the application model, where
the business logic unit (which can be a component in a co-architecture i.e.
session-bean) is the appropriate controller. So a
hi, can i get anywere solved struts examples because it will made easy to
understand struts
Nishant Patil
Software Engineer
Cybage Software Pvt. Ltd. (A CMM Level 3 Company)
West Avenue , Kalyani Nagar,
Pune - 411 006
Tel: 91-20-4041700 -355
Email: [EMAIL PROTECTED]
Website: www.cybage.com
http://wiki.apache.org/struts/StrutsArticles
Erik
Nishant wrote:
hi, can i get anywere solved struts examples because it will made easy to understand struts
Nishant Patil
Software Engineer
Cybage Software Pvt. Ltd. (A CMM Level 3 Company)
West Avenue , Kalyani Nagar,
Pune - 411 006
Tel:
Hi,
You can go through Professional jakarta Struts 1.1 written by james
goodwill and richard hightower. its published by wrox .
jay
- Original Message -
From: Nishant [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Tuesday, November 16, 2004 4:40 PM
Subject: can
All mixed up below
-Original Message-
From: Rosenberg, Leon [mailto:[EMAIL PROTECTED]
Sent: 16 November 2004 10:58
To: Struts Users Mailing List; Dakota Jack
Subject: AW: talking about paradigms
Hi Jack,
I like you kind of cashing out, but I think your diagram
misses some
Hello, Leon,
There are pointers in Java. Every object is referenced by a pointer.
Indeed, how else could an object be referenced? I am not sure why you
cited Joshua Bloch's book on this. There is not, as Eddie said,
pointer arithmetic.
Jack
On Tue, 16 Nov 2004 11:46:05 +0100, Rosenberg,
I agree with Jack. There are pointers everywhere in Java. Java learns
from C++ mistake by hiding error prone functionality such as
pointers.
Joshua Block's book is not a Java Book for beginner. It is target for
experience developer. Probably you should look into Bruce Eckel's
on-line book for
This is a simple sintaxis issue...
parameters in java are not passes as pointers.. they are passed as values
( the memory address of the object in the heap )..
so if we are to be precise there are no real pointers in java...
however.. the main difference with C/C++ is that you cannot do
Hello, Adam,
You are definitely right that this is a crucial part of any web
application, and not only for browsers but also for flash, javascript,
etc. versions. This is so important in the overall picture for web
programming that perhaps a whole separate set of interfaces amounting
to a
Dang, you must've gotten the New and
Improved Super Java. You know the one without any NullPointerExceptions.
Where can I get a copy?
Rosenberg, Leon
[EMAIL PROTECTED]
11/16/2004 05:46 AM
Please respond to
Struts Users Mailing List [EMAIL PROTECTED]
To
Struts Users Mailing
List
Hi,
I am wondering if there is a standard Struts approach to having system help
files.
I am using an image button and javascript to create a nice small chromeless
windows in which to display my help text (I don't use the struts framwork),
but would like the help text to come from the resource
Hi,
In my .jsp have follow html code
html:submit property=resActualizar value=Actualizar/
html:submit property=resEliminar value=Eliminar /
First is my update button, second delete button, both in same form.
This is my form code
public String getResActualizar () {
return
intermixed...
This is a simple sintaxis issue...
parameters in java are not passes as pointers.. they are passed as values
( the memory address of the object in the heap )..
emm... that's a pointer :) passing variables by reference or value is
neither here nor there.
pointer - An address,
Hello everybody,
unfortunately I did not find anything within the ML archive regarding
this topic!
My question is: Is there any mechanism like the filter=false within
the bean:write tag for the html:text and html:textarea tags?
Or does exist another way to protect the contents of the latter
Hello -
I'm using Struts 1.2.4 HTML form upload to upload files (e.g. FormFile and
commons-upload 1.0 bundled with Struts )
In order to keep my app clusterable, I want to keep all HttpSession content
serializable.
To enforce this in a non-app-server-specific way (and also to get
heuristics on
Jack,
What I found was that alot of Java code to generate XML (using DOM API)
had to be added in the controller layer to facilitate the view; for
example, an odd/even indicator was added just to facilitate striping on
the generated HTML table; to me, this seems downright overkill for some
René Thol wrote:
Hello everybody,
unfortunately I did not find anything within the ML archive regarding
this topic!
My question is: Is there any mechanism like the filter=false within
the bean:write tag for the html:text and html:textarea tags?
Or does exist another way to protect the contents
I don't know of anything Struts-specific on this, but Oracle has a free
help system that I have used in the past. The help files are authored
in HTML and there are XML files for building a table of contents, an
index, and a full-text search engine. Oracle provides a desktop client
for adding
I have a Struts application that uses a custom request processor. Now
I am trying to add a module so that I have part of the app using the
standard request processor. The custom request processor makes checks
on things I don't want checked when entering into my second module. Is
it true that in
- Tried commons-upload newest version 11604 nightly, not compatible with
Struts 1.2.4. This is a commons-upload 1.1 development build that seems to
be completely refactored. Nice, there seem to be portlet features support
coming up. However, there is no specification version mentioned in the
I believe your observations are correct. If you want to avoid the
special features you could conditionally skip them if the request is a
SwitchAction to the new module ... just one idea.
Susan Bradeen wrote:
I have a Struts application that uses a custom request processor. Now
I am trying to
David,
Thanks for the suggestion. Unfortunately I do not have any Javascript on
these links - they are plain vanilla href's:
a href=/dm/home.do class=navlinkHome/a
I tried logging the referer header, but they are the same for both
requests.
I do find it interesting that I can type the URL into
OutputStreams are not serializable; in other words, when the object is
deserialized chances are it cannot be restored the state it was in when
it was serialized. Probably the best way to solve your problem is to to
mark the field that holds the OutputStream (FormFile?) as transient.
[EMAIL
Very interesting stuff, Adam. Very interesting!
I do not see the filter as determining what the view would be but
merely as providing data that would become part of the workflow as
kept in the View Stores. The view would decide on what it wanted to
do about this information in terms of
If you're using a basic hyper-link to switch from moduleA to moduleB,
you can use the module attribute of the html:link/ tag to avoid all of
the SwitchAction rigamarole. (html:link action=index
module=moduleBLINK TEXT/html:link should do the trick) I don't
believe this will involve the
Bill,
Sounds like you don't need what XSLT provides. The important thing, I
think, is to make sure that the framework leaves that option open for
those that want it and does not require that option to those who do
not want it. I am not privy to the details of your application, of
course, but
On Tue, 16 Nov 2004 12:39:09 -0500, Jeff Beal [EMAIL PROTECTED] wrote:
If you're using a basic hyper-link to switch from moduleA to moduleB,
you can use the module attribute of the html:link/ tag to avoid all of
the SwitchAction rigamarole. (html:link action=index
module=moduleBLINK
Dakota,
You are assessment is correct -- this was an app that I was involved
with a few years back; I am not actively working with it now. The
architecture of the system used a hand-rolled front controller to access
pluggable actions; these actions accessed EJBs, then marshalled the
returned
-Original Message-
From: Dakota Jack [mailto:[EMAIL PROTECTED]
Sent: 16 November 2004 17:46
To: Struts Users Mailing List
Subject: Re: talking about paradigms
Bill,
Sounds like you don't need what XSLT provides. The important thing, I
think, is to make sure that the
To set the record straight, just in case anyone thought there was a
problem with Mozilla/Firefox: no problem there, but apparently there is
a problem with my eyesight. I did not notice earlier that the plain
vanilla href is contained within a table cell that has a Javascript
onclick event.
As I recall the transformations were cached; performance was not an
issue (also, this was a low-volume intranet application).
Pilgrim, Peter wrote:
-Original Message-
From: Dakota Jack [mailto:[EMAIL PROTECTED]
Sent: 16 November 2004 17:46
To: Struts Users Mailing List
Subject: Re:
Hi all,
I need to download jakarta-struts-1.0.zip so that I can create a dev
environment that matches production.
Help appreciated!
Thanks,
Edward
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
Now, now, Peter, you can't quite say that since you met me at the
Struts user group at JavaOne. :) I've used stxx, an XML
transformation Struts extension, for a production app and have been
pretty happy with it. Performance is good, as long as one has memory
resources available. The stylesheets
I found this on one of the mirrors...
http://www.axint.net/apache/jakarta/struts/struts-legacy/
--
James Mitchell
Software Engineer / Open Source Evangelist
EdgeTech, Inc.
678.910.8017
AIM: jmitchtx
- Original Message -
From: Edward [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday,
Keith,
I did notice that JAR files for Struts-EL (which will contain the TLDs)
are available for access from maven at
http://cvs.apache.org/repository/struts/jars/
Bishop, Keith wrote:
Hi,
Could anyone direct me to the location of the contrib tld files ( i.e.
struts-html-el.tld etc etc) on
Is it possible to make a tile show up for people from multiple roles? I'm
building a dynamic menu and would like certain items to show up for people
in different roles. For example:
tiles:insert page=left_nav/admin.jsp role=admin /
works great to make the admin link show up if the user
Hi Dave,
You can use the logic present to show what you want for a particular
role. You can use it like this :
logic:present role=admin,associates
tiles:insert page=left_nav/admin.jsp/
/logic:present
With the logic:present you can write user as much that you want it.
http://www.apache.org/dist/jakarta/struts/struts-legacy/
- Original Message -
From: Edward [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, November 16, 2004 6:12 PM
Subject: Old versions of strust for download?
Hi all,
I need to download jakarta-struts-1.0.zip so that I can
If you are trying to do different processing in your action based on
different buttons clicked in the form, you can use
the Struts LookupDispatchAction instead of the normal Action class.
It lets you map the buttons on your page to separate methods in your action.
Please refer the struts API
You can also define a controllerClass for your tiles definition and
insert the tiles properties according to the user roles.
If you need I can send you an example (tomorrow).
Pedro Salgado
Hi Dave,
You can use the logic present to show what you want for a particular
role. You can
Pedro have a better idea than I. I have forget it when I write my reply,
but, in one of our application, we use a controller to show a menu, and this
menu is not the same for all users. I can also send you an exemple for this
controller.
Charles
-Original Message-
From:
It's hard for me to answer because I don't really understand your
application. JSP1 is for picking a region, and then JSP2 is for picking
stores within that region, right? And then after picking the stores, you
display a confirmation page with the map and the list of picked stores?
When you
Any help with this please...
We extended our actionServlet with ExtendedActionServlet and when I tried to
run my test from a browser in this fashion:
http://localhost:8080/ServletTestRunner?xsl=cactus-report.xslsuite=com.wf.bd.ice.creditapplication.CreditapplicationSuite
I got this error:
I just skimmed over the SVN code repository for both html:text and
html:textarea tags and it looks like it automatically behaves like a
filter=true with no option to set it differently. You could always go to
bugzilla and request a modification. I skimmed through the bean:write tag
and
The logic:present looks like a good solution, but I would be interested in
seeing how you've defined a controllerClass to do the trick, too.
Dave
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 16, 2004 2:29 PM
To: [EMAIL PROTECTED]
Subject:
Hmm .. the NoClassDefFoundError would indicate that the struts.jar is
not included in your WEB-INF/lib.
[EMAIL PROTECTED] wrote:
Any help with this please...
We extended our actionServlet with ExtendedActionServlet and when I tried to
run my test from a browser in this fashion:
Hi, I am a Struts Newbie and would appreciate if
anyone could give me some pointers on a user
preferences/ configuration system design. Perhaps a
link to a good resource? I have an ASP system with
several levels of users that are as broad as an
organization and as fine-grained as an individual
There are obvious benefits to using XSLT as cited earlier (taking one input
to multiple outputs - ie. different clients). I personally think that
debugging the transformations is a major pain. My primary exposure to this
has been through a a couple of ASP/COM apps at work. To me, the pages
Hello,
I implement a EJBMessageResource that extends Struts' MessageResources.
How can I reload the MessageResources after the application starts ???
Best regards,
Eric
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
That think was supposed to be thick :-) ... but think is appropriate
to. As in too much logic there.
Nasty stuff! Pain to maintain!
My team just gained a few folks the other day - part of us are hoping to
re-write the old ASP/COM stuff in Java/JSP using Struts :-)
Oh happy day!
:-D
-
Hai
i have a user-defing function in path
Package : com.mypack.funs.Commons;
Function: public static String sayHai(String name);
can i use this code snippet inside my JSP page
c:set var=myName value=Rajesh /
${com.mypack.funs.Commons.sayHai(myName)}
Regards,
Rajmahendra R.
Hai
i have a user-defing function in path
Package : com.mypack.funs.Commons;
Function: public static String sayHai(String name);
can i use this code snippet inside my JSP page
c:set var=myName value=Rajesh /
${com.mypack.funs.Commons.sayHai(myName)}
Regards,
Rajmahendra R.
Hi Bill,
Bill Siggelkow schrieb:
Rene,
Can you explain what you are trying to do? Are you trying to
prohibit/allow the user inputting HTML markup?
I've got an application where users can enter data into different
textfields, -areas. These data are stored within a database and may be
altered by
Hello David,
David G. Friedman schrieb:
I just skimmed over the SVN code repository for both html:text and
html:textarea tags and it looks like it automatically behaves like a
filter=true with no option to set it differently. You could always go to
bugzilla and request a modification. I skimmed
62 matches
Mail list logo