I have the following system:
I have a LoginDataForm called loginDataBean in my seesion wich contains
username, password and roles the user have. Than I have some actions
accessing EJB through helper classes. For example I have a action
/order/detail/show. If that action is called by a normal
How can I access a global forward within a struts action?
How do I find more about defining an controller for an action like it seem
to be possible in struts1.1?
Many thanks!
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
a global forward is easy. Access it the same as you would a local
forward.
return mapping.findForward(globalForwardName);
Hope that helps.
~ Keith
-Original Message-
From: Dirk Storck [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 27, 2002 9:58 AM
To: 'Struts User (E-Mail)'
Subject: How can
___
Bitte beachten Sie unsere neue Adresse
Dirk Storck, Dipl.-Ing
Why don't you use eclipse with remote debugging ?
-Ursprüngliche Nachricht-
Von: Chappell, Simon P [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 5. Juni 2002 15:10
An: Struts Users Mailing List
Betreff: RE: Please recommend a IDE
When I asked for big bucks around here, they offered to
I know that does not belong to this mailinglist, but maybe someone can help
me!
Many thanks !
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Dirk Storck, Dipl.-Ing. (FH) t e c m a t h A G
Content Management Systems Division
Telefon 0631 303-5290 Europaallee 10, 67657 Kaiserslautern
Telefax
Hi,
I would like to do the following
I have a ActionA wich has to forward to a action ActionB but has to submit
some data from ActionA
ActionA calls-/actionB.do?data1=1data2=2
within the action ActionA.
Is that somehow possible ?
Thanks !!
--
To unsubscribe, e-mail:
Hi,
does someone uses the workflow extension from
http://www.livinglogic.de/Struts/exampleApp.html
Any comments are welcome.
Thanks
Dirk
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Hi,
How can I use different controller in one application? I need the
controller-servlet from struts and that one from
http://www.livinglogic.de/Struts/exampleApp.html
Is that possible?
Thanks !
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
Hi,
I try to do a example like the tiles invoice example by my own
My first page looks like the following snippet:
pg:pager maxPageItems=%= 5 %
pg:param name=pagerRequest value=true/
table cellpadding=0 cellspacing=0 border=0
trtdnbsp;/td/tr
logic:iterate id=article
unsere neue Adresse
Dirk Storck, Dipl.-Ing. (FH) t e c m a t h A G
Content Management Systems Division
Telefon 0631 303-5290 Europaallee 10, 67657
Hi,
I have seen that the methode findMapping in the ActionComponentServlet is
deprecated. Wich one shall I use than ?
Is that right that I now have to use Action.excecute instead of
Action.performe ?
Many thanks !
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands,
Hi,
I want to do the following:
I have a ShoppingCart.
The users clicks on order and the items from the ShoppingCart are moved to
my OrderBean. ShoppingCart and OrderBean are EJB's.
Now it comes to the problem. The order must be proccessed in background
cause it will have a long durration.
What is the V/S Toolkit and where do I find it?
Thanks !
-Ursprungliche Nachricht-
Von: Cedric Dumoulin [mailto:[EMAIL PROTECTED]]
Gesendet: Montag, 11. Februar 2002 19:01
An: Struts Users Mailing List
Betreff: Re: Struts 1.1
There is now a multi-applications support.
Some new
unsere neue Adresse
Dirk Storck, Dipl.-Ing. (FH) t e c m a t h A G
Content Management Systems Division
Telefon 0631 303-5290 Europaallee 10, 67657
!
___
Bitte beachten Sie unsere neue Adresse
Dirk Storck, Dipl.-Ing. (FH
eclipse from ibm does it too!!!
-Ursprüngliche Nachricht-
Von: Sey, Francois [mailto:[EMAIL PROTECTED]]
Gesendet: Freitag, 1. Februar 2002 16:22
An: 'Struts Users Mailing List'
Betreff: RE: [Off Topic] get/set method generation
OptimalJ does that too.
http://javacentral.compuware.com/
Hi,
what do you mean with custom
renderers that serve up different views depending on the browser type?
Do you have an example?
By the way. For what do I need the input-parameter?
Many Thanks!
-Ursprüngliche Nachricht-
Von: Sean Willson [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag,
WHERE do I find that taglib?
Thanks!
-Ursprungliche Nachricht-
Von: Matt Raible [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 31. Januar 2002 22:21
An: [EMAIL PROTECTED]
Betreff: ResultSet and ListObject - List Screens
I am looking to (hopefully) use Ed Hill's Display Tag Library to
Hi,
i have build a upload form, action and jsp like the example. At the jsp I
also add some other things like title, and so on. If I send the form without
uploading a file I get the following exception. CAN someone tell me why?
ava] [EmbeddedTomcatSX] [ServletException
Hi I have the following action defined:
action path=/admin/account/create parameter=create validate=true
unknown=false scope=session
type=com.tecmath.cms.mt.struts.UserDataAction name=userDataBean
set-property property=test value=test /
forward name=failure path=accountDef
How can I have internationalized and configurable selectboxes?
I need selectboxes wich have depending on the uses local different labels
but the values must be the same and it should not be hardcoded somewhere.
Any suggestions are welcome!
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
Hi,
how can I get the absolut path of I file wich I want to upload with FileForm
like the example?
Thanks!
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Hi,
I am using JBossSX and Struts. I have defined a LoginAction where I do the
login with UsernamePasswordHandler and LoginContext. I use the
org.jboss.security.auth.spi.DatabaseServerLoginModule. The login works fine
and I get a message that I am authenticated but if I access another action I
In the docu of the FormToPropertyMapper of Andrej I saw that he had a form
with a cildform as property.
How do I config struts that a form has a childform and where do I use it?
Thanks!
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL
[EmbeddedTomcatSX] Parse Fatal Error at line 5 column -1:
org.apache.crimson.parser/P-082
http://jakarta.apache.org/struts/dtds/tiles-config.dtd
[EmbeddedTomcatSX] java.io.FileNotFoundException:
http://jakarta.apache.org/struts/dtds/tiles-config.dtd
[EmbeddedTomcatSX]
Is it possible to have a sub-form within my ActionForm? If yes how must I
configure it and where can I use it?
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
How do I use those formate-keys in struts?
-Ursprungliche Nachricht-
Von: Oleg V Alexeev [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 18. Dezember 2001 09:52
An: Struts Users Mailing List
Betreff: Re: internationalization numeric formats
Hello Nathan,
Monday, December 17, 2001,
Hi,
I use Struts from the nighly build 04.11.2001.
My template looks like the following:
%@ taglib uri=/WEB-INF/tiles.tld prefix=tiles %
%@ taglib uri=/WEB-INF/struts-bean.tld prefix=bean %
%@ taglib uri=/WEB-INF/struts-html.tld prefix=html %
%@ taglib uri=/WEB-INF/struts-logic.tld
:
* remove one of the two methods (but this could lead to problems if you
use it
elsewhere) and recompile Tiles
* try something like : content='%=(Object)/show/articleList.do%'
Cedric
storck wrote:
Hi,
I use Struts from the nighly build 04.11.2001.
My template looks like
Hi,
I have a problem. The following is my jsp. It is defined in struts-config as
/showSelectBox. What I want to do is something like
/showArticleList.do?action=/showArticleList. (I would like to call that
inside a template ).
So if I call the action with that parameter /showArticleList is
example WARs ?
Their struts-config.xml might be more basic.
A different approach might also be to remove everything but a basic
struts action and figure out what goes wrong.
Ciao,
Sebastian
storck wrote:
If I than start JBoss I get the following Exception:
[EmbeddedTomcatSX] Starting
Hi,
I use struts from the nighly build of 04.11.200 and JBoss 2.2.2Tomcat3.2.2.
In my WEB-INF/lib I have the following jars
struts.jar
tiles.jar
commons-beanutils.jar
commons-collections.jar
commons-digester.jar
and
ant.jar
xerces.jar
jndi.jar
jdbc2_0-stdext.jar
If I start it with that
Where do I have to put the jndi.properties or what could be else the problem
for the following exception?
[Service Control] Started 47 services
[Default] JBoss 2.4.3 Started in 0m:18s
[Default] javax.naming.CommunicationException. Root exception is
[Default] java.lang.ClassNotFoundException:
Is that normal that I have to access a webpage in the scure area to get the
login-page? How can I access direct the login-page cause I would like to
have link on my main-page for login
-Ursprüngliche Nachricht-
Von: Jon.Ridgway [mailto:[EMAIL PROTECTED]]
Gesendet: Montag, 3. Dezember
the user is logged
in. I'll look into this further. Anyone else have experience here?
Jon.
-Original Message-
From: storck [mailto:[EMAIL PROTECTED]]
Sent: 03 December 2001 10:57
To: 'Struts Users Mailing List'
Subject: AW: HTTP form based authentication
Is that normal that I have
Authentication Area/realm-name
/login-config
storck wrote:
How can I set a default-user ? There is no setUserPrincipal or some like
that.
I have a webapp with 2 sections. One for all and one secure area. In the
secure area users with role guest should be able to see the websites too
Hi,
does an example exists wich uses jsp's for frontend and secure ejb's ?
Many thanks!
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Hi,
does someone know how i get acces to the (JDBC)Realm within struts ?
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
, the servlet 2.3 spec provides APIs whereby
you can get the
username that the user logged in under and then use
that to find any
information you need about that user.
Not sure what you are trying to accomplish, but I
hope that might help a
little.
-Scott
storck wrote:
Hi,
does someone
Hi,
where must I put the config-file for Log4J so I can use log4j within struts?
Many thanks!
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Hi,
where do I find more about the use of the DailyRollingFileAppender?
I tryed to use the RollingFileAppender and set the MaxFileSize for
testpurpose to 1kb. It created a file about 2.5kb. What did go wrong?
Does a Appender exists for example for EMail so its sends its messenges as
an email?
Is
Hi,
I am a very beginner to Log4J and I would like to know how to use it in best
way within Struts?
Any comments are welcome!
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Hi,
as I started my Tomcat today I got that following exception:
java.io.FileNotFoundException:
http://jakarta.apache.org/struts/dtds/tiles-config.dtd
Did the dtd move to another location?
many thanks!
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
(No permission) error.
-Original Message-
From: storck [mailto:[EMAIL PROTECTED]]
Sent: 15 November 2001 13:08
To: User Struts (E-Mail)
Subject:Titles.dtd FileNotFoundExeption when starting tomcat
Hi,
as I started my Tomcat today I got that following exception
Could you send me some examples?
Many Thanks!
-Ursprungliche Nachricht-
Von: Oleg V Alexeev [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 14. November 2001 11:23
An: Struts Users Mailing List; [EMAIL PROTECTED]
Betreff: Re: HOW TO: set up a pager with struts
Hello storck,
I can
How can I define subforms and how do I use them ?
Thanks !
-Ursprüngliche Nachricht-
Von: Burr Sutter [mailto:[EMAIL PROTECTED]]
Gesendet: Samstag, 10. November 2001 02:39
An: Struts Users Mailing List
Betreff: Re: Adding ActionErrors to ActionErrors
Since you are calling the validate
for toying around with the example, and if you think
you can use it, get the source code, and do a searchreplace.
2) Notify the author of the example, and ask whether he wants to make a
struts post-1.0 version.
hth,
tomK
-Original Message-
From: storck [mailto:[EMAIL PROTECTED
the error message(s) you get.
If you don't understand the previous sentence: CTRL+C CTRL+V is not hard
to do. Use it to supply information to people who are willing to help.
tomK
-Original Message-
From: storck [mailto:[EMAIL PROTECTED]]
Sent: woensdag 31 oktober 2001 11:56
To: 'Struts
Can you give us an example ???
-Ursprüngliche Nachricht-
Von: Don Saxton [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 30. Oktober 2001 19:39
An: Struts Users Mailing List
Betreff: Re: can i invoke two account forms
I can imagine an ActionForm containing other ActionForms (or any
Hi,
I have a template build with struts and I have a JSP wich uses that template
and looks like the following:
%@ taglib uri='/WEB-INF/struts-template.tld' prefix='template' %
template:insert template='/common/template.jsp'
template:put name='sidebar' content='/showSelectionBoxes.do' /
Hi,
How can I acces the index of a iterator-tag within a logic-tag ?
logic:iterate id=bean name=formBean property=list
logic:greaterThan ?
Index over 0
/logic:greaterThan
/logic:iterate
THANKS !
Hi,
is it possible to use a HashMap to get and set the data of a FormBean. I
would like to have a formbean with a HashMap wich represents the formbeans
data!
Any suggestions are welcome
Hi,
how can I preselect a value of a SelectBox?
Many Thanks!!
What is wrong with that struts-config?
the corresponding Java classes for you. Otherwise, you would
need only the form-bean element itself, with the corresponding
name and type attributes.
--
struts-config
!-- == Form Bean Definitions
If I call my action with
http://localhost:8080/struts-testbox/showSelectionBoxes.do I get a strange
behaviour. The values in my last two select-boxes are double. The
het-methode for my selectbox-values get called 3 or 4 times. What can be the
problem ?? I use struts 22.11.2001
CAN someone help me
Robert Parker: Is it possible that you could send me a (complete) example ?
Thanks!
-Ursprüngliche Nachricht-
Von: Robert Parker [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 23. Oktober 2001 01:17
An: [EMAIL PROTECTED]
Betreff: Re: Auto-generating ActionForms
I've used something
Would it be a good design to encapsulate my EJB-Session-Beans in normal Java
Beans and to use those Java Beans inside a Struts-Action-Class so that I
would have a more simple API to use my application-layer for other clients ?
Any comments are welcome!
that includes a
conventional wizard, and an early example of using the new workflow
gimzo with Struts.
-- Ted Husted, Husted dot Com, Fairport NY USA.
-- Custom Software ~ Technical Services.
-- Tel +1 716 737-3463
-- http://www.husted.com/struts/
storck wrote:
Hi,
I am looking for an example how
storck wrote:
Sorry, but I cant find the right link :(
-Ursprungliche Nachricht-
Von: Ted Husted [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 23. Oktober 2001 15:24
An: [EMAIL PROTECTED]
Betreff: Re: HOW TO span a FormBean over several JSP's
I just posted a new version of Struts
Hi,
in wich way are the Struts-HTML-Tags identical in use to the corresponding
HTML-Tags. I mean can I do everything with Struts-HTML-Tags as with HTML ?
Thanks
Where do I find an complete example for indexed tags
I have a problem. I would like to use the Action-class to access a EJB (wich
I have already done and works). Than I would like to use a FormBean wich is
filled by than Action-class. On a jsp I ONLY would like to write the content
of the FormBean-properties out on my JSP not as a form where I can
Hi,
is it somehow possible that struts reads its configuration wich is defined
in struts-config.xml and the content of the ApplicationResources.properties
from a database?
Is it possible to define for each and a bundle of JSP-Pages one
ApplicationRescources.properties file so I dont have to put
Hi,
COULD you help me!
Is there a possibility to write the ONLY the error for a CERTAIN property of
a FormBean out at a possition where I want it?
I have something in mind where I have a form with different inputfields and
if a field has a wrong value than I have a message under that field wich
How can I use global forwards for menu-generation?
What is the main task if global forwards?
For what is the input-property in the action-tag under action-mappings in
the struts-config.xml?
-Ursprungliche Nachricht-
Von: Jonathan M Crater [mailto:[EMAIL PROTECTED]]
Gesendet: Freitag, 19.
Hi,
how can I ONLY write out the content of formbeans property on a JSP as a
simple text (not a textfield)??
Thanks!
HI,
is the following possible ?
I have a JSP named Table.jsp wich looks like the following:
html
TEST
BODY
TABLE
TR
TDjsp:include
page=showBlackBoardDetails.do?action=Showpk=12voName=BBNameVOselected=10
flush=true//TD
/TR
p
Hi,
for example I have a page with several struts-button wich display their name
depending on the current local. Now I would like to have an additional
property set to specific command - not to the name of the button - to
determine in my Action-class wich button was clicked by the user.
Any
Hi,
maybe I asked something realy stupid, but how I display user-messages like
login successfull on my JSP-Page wich comes from my Action-Class. I know
that I have to use something like that:
ActionMessages messages=new ActionMessages();
messages.add(ActionMessages.GLOBAL_MESSAGE,new
Hi,
I would like to use the PropertyUtil-class from
org.apache.commons.beanutils to copy the properties from one bean to
another.
For Example I have a bean bVO from type BBDetailVO and I have a bean bForm
from type ShowBlackBoardDetailsForm
If I do something like
HI,
I try to use use digister from org.apache.commons.digester by my own but
without luck.
Does any doc exist to digister or any How To ?
Thanks!
in the 1.0 Struts source distribution.
For an example, look at the RSS package (and, well, Struts).
-- Ted Husted, Husted dot Com, Fairport NY USA.
-- Custom Software ~ Technical Services.
-- Tel +1 716 737-3463
-- http://www.husted.com/about/struts/
storck wrote:
HI,
I try to use use
---
request.setAttribute(CHANNEL_KEY,channel);
return (mapping.findForward(continue));
} // End perform
} // End Fetch
storck wrote:
Do you have used digister by your own?
-Ursprungliche Nachricht-
Von: Ted Husted [mailto:archive@jab.org]
Gesendet
of Craig's Javadocs, it does tell you most of you what you need
to know to get started.
storck wrote:
Thanks
That has helped a litle, but doesnt their exists a documentation where it
is
explained when to use wich methodes of digister ? (maybe a stupid
question,
but it is very new for me)
Hi,
I would like to achieve the following:
I have a table and one of their columns has to be a checkbox. To create the
table I use the iterate-Tag.
For example something like that:
logic:iterate id=blackBoard name=showAllBlackBoardsAndDeleteForm
property=result
tr
77 matches
Mail list logo