Design question Permission check in struts action

2002-06-28 Thread Dirk Storck
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?

2002-06-27 Thread Dirk Storck
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]

AW: How can I access a global forward within a struts action?

2002-06-27 Thread Dirk Storck
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

Where do I find documentation an examples about the new tags in the struts-config 1.1 dtd?

2002-06-06 Thread Dirk Storck
___ Bitte beachten Sie unsere neue Adresse Dirk Storck, Dipl.-Ing

AW: Please recommend a IDE

2002-06-05 Thread Dirk Storck
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

How can I find out the free diskspace of a harddisk?

2002-04-24 Thread Dirk Storck
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]

How can I fill a form from within another action?

2002-04-17 Thread Dirk Storck
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

How can I forward to another action with userspecific data

2002-04-17 Thread Dirk Storck
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:

Struts workflow

2002-04-16 Thread Dirk Storck
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]

How can I use different controller in one application?

2002-04-16 Thread Dirk Storck
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:

problems with doing a Titles Invoice example

2002-03-07 Thread Dirk Storck
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

Greate Tag for building a pager

2002-03-06 Thread Dirk Storck
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

ActionComponetServlet.findMapping is deprecated in Struts 1.1

2002-03-05 Thread Dirk Storck
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,

How can I use a background process with JBoss

2002-02-13 Thread Dirk Storck
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.

AW: Struts 1.1

2002-02-12 Thread Dirk Storck
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

Need help to build/find a pager with struts

2002-02-08 Thread Dirk Storck
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

Having problems with bean-factory extension

2002-02-08 Thread Dirk Storck
! ___ Bitte beachten Sie unsere neue Adresse Dirk Storck, Dipl.-Ing. (FH

AW: [Off Topic] get/set method generation

2002-02-05 Thread Dirk Storck
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/

AW: Struts/Tiles and nightly build features

2002-02-05 Thread Dirk Storck
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,

AW: ResultSet and ListObject - List Screens

2002-02-05 Thread Dirk Storck
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

PROBLEMS with uploading a file!

2002-02-05 Thread Dirk Storck
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

struts-action reading property set in config

2002-01-29 Thread Dirk Storck
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 to have internationalized selectboxes???

2002-01-24 Thread Dirk Storck
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]

FileForm question

2002-01-21 Thread Dirk Storck
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]

JBossSX

2002-01-17 Thread Dirk Storck
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

Forms with childforms

2002-01-11 Thread storck
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

java.io.FileNotFoundException: if i try tiles within Visual Age 4 Java

2001-12-21 Thread storck
[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]

Can I have a sub-form within my ActionForm?

2001-12-18 Thread storck
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]

AW: internationalization numeric formats

2001-12-18 Thread storck
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,

Have a problem inserting an action or only a jps into a template

2001-12-13 Thread storck
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

AW: Have a problem inserting an action or only a jps into a template

2001-12-13 Thread storck
: * 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

html:form action=???

2001-12-12 Thread storck
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

AW: [JBoss-user] Struts Exception with beanutils HELP and JBoss 2.2.2Tomcat3.2.2

2001-12-11 Thread storck
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

Struts Exception with beanutils HELP and JBoss 2.2.2Tomcat3.2.2

2001-12-07 Thread storck
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

jndi.properties and JBoss-2.4.3_Tomcat-3.2.3

2001-12-06 Thread storck
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:

AW: HTTP form based authentication

2001-12-03 Thread storck
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

AW: HTTP form based authentication

2001-12-03 Thread storck
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

AW: AW: JDBCRealm

2001-11-28 Thread storck
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

Secure Example

2001-11-28 Thread storck
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]

JDBCRealm

2001-11-27 Thread storck
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]

AW: JDBCRealm

2001-11-27 Thread storck
, 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

Log4J and Struts

2001-11-22 Thread storck
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]

Appender like DailyRollingFileAppend, .....

2001-11-22 Thread storck
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

HOW can I use Log4J within struts?

2001-11-20 Thread storck
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]

Titles.dtd FileNotFoundExeption when starting tomcat

2001-11-15 Thread storck
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:

AW: Titles.dtd FileNotFoundExeption when starting tomcat

2001-11-15 Thread storck
(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

AW: HOW TO: set up a pager with struts

2001-11-14 Thread storck
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

AW: Adding ActionErrors to ActionErrors

2001-11-12 Thread storck
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

AW: Digester Problem!!!!

2001-10-31 Thread storck
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

AW: Digester Problem!!!!

2001-10-31 Thread storck
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

AW: can i invoke two account forms

2001-10-30 Thread storck
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

HowTo: Struts Template containing JSP with Action and ActionForms associated

2001-10-26 Thread storck
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' /

HowTo: How can I acces the index of a iterator-tag within a logic-tag ?

2001-10-26 Thread storck
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 !

Using a HashMap for storing the FormBeans-Data

2001-10-25 Thread storck
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

HowTo: Preselect a value of a SelectBox

2001-10-25 Thread storck
Hi, how can I preselect a value of a SelectBox? Many Thanks!!

javax.servlet.jsp.JspException: Cannot find bean showSelectionBoxesForm in scope null

2001-10-25 Thread storck
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

Double values in Select-Box if I use a Vector

2001-10-25 Thread storck
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

AW: Auto-generating ActionForms

2001-10-23 Thread storck
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

Encapsulate EJB-Session-Beans in normal Java Beans!

2001-10-23 Thread storck
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!

AW: HOW TO span a FormBean over several JSP's

2001-10-23 Thread storck
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

AW: AW: HOW TO span a FormBean over several JSP's

2001-10-23 Thread storck
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

Struts-HTML-Tags

2001-10-22 Thread storck
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

2001-10-22 Thread storck
Where do I find an complete example for indexed tags

FormBean and Action-Class

2001-10-19 Thread storck
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

struts-config.xml

2001-10-19 Thread storck
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

html:errors

2001-10-19 Thread storck
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

AW: global forwards for menu generation

2001-10-19 Thread storck
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.

Properties of a FormBean

2001-10-19 Thread storck
Hi, how can I ONLY write out the content of formbeans property on a JSP as a simple text (not a textfield)?? Thanks!

Include of a Action-output in a JSP

2001-10-19 Thread storck
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

Problem with struts buttons

2001-09-25 Thread storck
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

User-messages from Action-Class to JSP

2001-09-24 Thread storck
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

org.apache.commons.beanutils.PropertyUtil

2001-09-20 Thread storck
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

Digister

2001-09-20 Thread storck
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!

AW: Digister

2001-09-20 Thread storck
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

AW: AW: Digister

2001-09-20 Thread storck
--- 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

AW: AW: AW: Digister

2001-09-20 Thread storck
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)

html:checkbox

2001-09-19 Thread storck
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