RE: array property in ActionForm ???

2003-12-30 Thread Patrick Cheng
Hi all, I would like to continue on this question, on the jsp side. I tried: tr td0/td tdhtml:text property=player[0]//td /tr tr td1/td tdhtml:text property=player[1]//td /tr ... So on... But then, this doesn't work. %for (int

how to submit action form while invoking a popup

2003-12-30 Thread Nisith Dash
Hi, i am using window.open(url,"childwin",features) to open pop up screen where the url= "" + '/someAction.do?'. I also want to submit the action form of my parent screen so that i can use it in the action class method corresponding to my action mapping someAction.do?. How can in do it

Re: array property in ActionForm ???

2003-12-30 Thread Eric Chow
Hi, For your solution, how can I define the HTML form in JSP ? Eric - Original Message - From: Mohan Radhakrishnan [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED]; 'Eric Chow' [EMAIL PROTECTED] Sent: Tuesday, December 30, 2003 2:16 PM Subject: RE: array property

Re: annoying JSP runtime exception message

2003-12-30 Thread Raphaël di Cicco
This file says nothing really except charging servlet, container etc... that would be great to have the JSP error output there. - Original Message - From: Martin Gainty [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, December 30, 2004 1:53 AM Subject:

action roles

2003-12-30 Thread Kelly Goedert
Could someone give me an example on how to use action roles? Does this roles have to be used with the container security? Kelly. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: annoying JSP runtime exception message

2003-12-30 Thread Paul-J Woodward
Something I do for development/debugging is surround the whole jsp file with a try/catch: % try { % ... % } catch (Exception e) { out.println(e.getMessage()); e.printStackTrace(System.err); } With a little work you could dump the stack trace to the screen. Paul

Re: how to submit action form while invoking a popup

2003-12-30 Thread Paul-J Woodward
How about opening the action forward in the popup and pass the intended popup url as a parameter to which the action can redirect. Paul Global Equity Derivatives Technology Deutsche Bank [/] Office +44 (0)20 754 55458 Mobile +44

RE: array property in ActionForm ???

2003-12-30 Thread Patrick Cheng
Hi, When I tried this out, I wasn't really using the Player entity. I'm using a String instead. Could that be the problem? Is it true that, the object u iterate over must be another bean with properties? (So that you can specify html:text name=idname property=beanproperty/) That is, I should be

Re: array property in ActionForm ???

2003-12-30 Thread Mark Lowe
html:text property=player indexed=true / On 30 Dec 2003, at 07:49, Patrick Cheng wrote: Hi all, I would like to continue on this question, on the jsp side. I tried: tr td0/td tdhtml:text property=player[0]//td /tr tr td1/td tdhtml:text

Re: array property in ActionForm ???

2003-12-30 Thread Mark Lowe
public class Player { private String name; public String getName() { return name; } public void setName(String name) { this.name = name; } } ... DynaActionForm playerForm = (DynaActionForm) form; ArrayList

RequestProcessor problem

2003-12-30 Thread Kelly Goedert
Can anyone give me an example on how to use the RequestProcessor? I want to use the RequestProcessor to check on action roles. Do I have to subclass it? Or I can use it as it is? To use roles to I have to configure anything in the container too? Or just setting the roles parameter and using the

Re: RequestProcessor problem

2003-12-30 Thread Paul-J Woodward
My understanding is: The request processor will check on action roles if they are defined in your struts-config.xml file e.g.: action path=/uploadfile type=com.db.gci.ge.epg.actions.UploadFileAction name=fileUploadForm scope=request validate=false input=/uploadFile.jsp roles=uploader /action

Re: RequestProcessor problem

2003-12-30 Thread Kelly Goedert
Paul, Thanks for your help, I've checked this links already and they didn help me much. What I want is (following your example below): when the user has the role uploader assigned to him he may call this action uploadfile. Now: where do I define the relation user/role? Do I use a

Re: Still having problems with File upload (multipart-formdata)

2003-12-30 Thread Patrick Scheuerer
Brice Ruth wrote: I'm refactoring (so to speak) my currently working form, which accepts an image to be uploaded, to use a DynaValidator(Action?)Form and I'm again running into an exception being thrown: Hi Brice, I'm also struggling with file uploads at the moment. But I'm stuck at an earlier

RE: RequestProcessor problem

2003-12-30 Thread Mohan Radhakrishnan
You can use a vendor-specify API ( JDBC/Realm ) to map to user/role tables. You can also use the XML file ( tomcat-users.xml ) instead with hard-coded values. You don't have to extend RequestProcessor if you are using CMA. If you want to do application based-security then you need to extend

html:link LookupDispatchAction

2003-12-30 Thread Ronald Rotteveel
Dear struts users, In every webapplication there are links. As I read in Struts in Action, it's better to make links with actions. I'm now working on some part of the application where we have to do a lot of CRUD actions, so I want to use the LookupDispatchAction. Inserting/creating records in

Re: .NET: We are just like Struts... only better.

2003-12-30 Thread Paul Thomas
On 29/12/2003 03:40 Curtis Taylor wrote: This brings up an interesting point (for me, at least): Is anyone on this list developing under Linux w/XEmacs or Emacs? I'm curious as to whether I'm living in the past or not...;-) You're in good company g. I'm using Linux and Emacs/JDE. That's the nice

Re: how to submit action form while invoking a popup

2003-12-30 Thread Domingo A. Rodriguez S.
You mean something like this? .script. var a= window.open(url,childwin,features); parent.document.YourFormName.action='%=target%'; parent.document.YourFormName.submit(); ./script. Atte. Domingo A. Rodriguez S. --- Nisith Dash [EMAIL PROTECTED] escribió: Hi, i am using

Tiles self-reference

2003-12-30 Thread Andriy Ruzhevych
Hi. I'm using Struts 1.1 with Tiles and have some problems with self-referencing. When I call calendar java script to bring up popup calendar window, I receive exception like javax.servlet.jsp.JspException: Error - tag importAttribute : no tiles context found. That's my piece of code input

Stateful session bean

2003-12-30 Thread Viral_Thakkar
Hi all, Please confirm the below understanding of mine. Architecture: Action Business Delegate Session Bean Database Business delegate will hold a reference of session bean, this uses Service locator pattern to get Home Object reference. It will have business methods which

Re: Dynamic form property names

2003-12-30 Thread Paul-J Woodward
Anyone got any ideas? Thanks, Paul Paul-J Woodward

Singleton pattern to business delegate

2003-12-30 Thread Viral_Thakkar
Hi, Below text I found from sun java forum. The pattern catalog describes the business delegate as containing an instance of an EJBObject where as the service locator can optionally cache an EJBHome object. The former avoids repeated JNDI lookups and creating an EJB whilst the later

RE: Stateful session bean

2003-12-30 Thread SasiDharma Tharmarajah
I suppose this user group mainly caters for struts and strust related issues... May b u shd try posting it to [EMAIL PROTECTED] or [EMAIL PROTECTED] sasi -Original Message- From: Viral_Thakkar [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 30, 2003 7:29 PM To: Struts Users Mailing

RE: Stateful session bean

2003-12-30 Thread Nimmons, Buster
Even though it seems this is a general J2EE related question it is not. Unlike most, this individual described the entire environment so that we may have a better understanding of the question. Which was, should store reference of business delegate in the HttpSession so that another Action class

RE: Stateful session bean

2003-12-30 Thread Viral_Thakkar
Are there any other alternatives available for this situation? Thanks, Viral -Original Message- From: Nimmons, Buster [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 30, 2003 7:16 PM To: 'Struts Users Mailing List' Subject: RE: Stateful session bean Even though it seems this is a

Re: RequestProcessor problem

2003-12-30 Thread Kelly Goedert
As you suggested I now trying to use JDBC/Realm: but I get the following error from tomcat HTTP Status 400 - User is not authorized to access action /login My server.xml is like this (I followed the tomcat docs): Context path=/roles reloadable=true docBase=/home/kelly/eclipse/workspace/roles

RE: Still having problems with File upload (multipart-formdata)

2003-12-30 Thread Matthias Wessendorf
Hi Patrick, you want to get the path of /myapp like C:\Tomcat\webapps\myapp or? that is done with: String placeString = getServlet().getServletContext().getRealPath(/); in an actionClass. you now want to store in placeString\uploaddir isn´t it? i wrote an Util-Class which managed the

RE: Stateful session bean

2003-12-30 Thread Viral_Thakkar
Assuming HttpSession is the place where I will store reference of business delegate; can I store the ValueObject(VO) object also at HttpSession (session)? By storing the VO in session, can we achieve the reduction in network traffic in operations like update, which will take data from screen,

RE: [Tiles] Populating Tiles definition attribute at runtime

2003-12-30 Thread Robert Taylor
Thanks to all who replied. I'll look into each suggested solution more closely. robert -Original Message- From: Robert Taylor [mailto:[EMAIL PROTECTED] Sent: Monday, December 29, 2003 2:15 PM To: Struts Users Mailing List Subject: RE: [Tiles] Populating Tiles definition attribute at

Re: html:link LookupDispatchAction

2003-12-30 Thread Kris Schneider
bean:define id=initCreateForm bean:message key=customer.form.button.initcreateform/ /bean:define html:link action=/maintenance/lookupDispatchCustomerSubmit paramId=method paramName=initCreateForm styleClass=tree transaction=true bean:write

Design check-list for struts based application

2003-12-30 Thread Kathiresan Murugesan
Hi All, I need a check-list to verify a struts based application in all point of view ( design, development, etc ). Can anyone help me in this regard. Thanks in advance Kathir - To unsubscribe, e-mail: [EMAIL PROTECTED] For

RE: .NET: We are just like Struts... only better.

2003-12-30 Thread Nicholson, Robb
This is just marketing propaganda disguised as a technical article. If you actually make it to the bottom, on the rate this article section, you will notice that most of the votes are for 1 - very poor, with an average rating of 3 out of 10. Seems even those lined up in the MS camp can tell

Re: Still having problems with File upload (multipart-formdata)

2003-12-30 Thread Brice Ruth
Martin Cooper wrote: Brice Ruth [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I'm refactoring (so to speak) my currently working form, which accepts an image to be uploaded, to use a DynaValidator(Action?)Form and I'm again running into an exception being thrown:

simple question on displaytag

2003-12-30 Thread dirk
if I put paging.banner.placement=bottom i get the paging as well in bottom and in top. How can i put it only in the bottom ? Thanks

Re: Tutorial for struts-html.tld

2003-12-30 Thread Patrick Scheuerer
[EMAIL PROTECTED] wrote: Any idea where I can find some tutorials with code snippets on using the tags contained in struts-html.tld There's the HTML Taglib API Reference (http://jakarta.apache.org/struts/userGuide/struts-html.html) which provides detailed information about every tag.

Date validation problem?

2003-12-30 Thread Brice Ruth
I'm testing the JavaScript validation for my form and noticed that the JavaScript generated to validate my date fields throws an error that I can see in Firebird's JavaScript console. Here's the error: datePattern has no properties and here's the line it occurs on: for (x in oDate) { var

RE: Date validation problem?

2003-12-30 Thread Andy Schmidgall
datePattern doesn't work -- you must use datePatternStrict unless you modify the javascript validation function. This line is where the pattern is loaded: var datePattern = oDate[x][2](datePatternStrict); Notice that it's loading datePatternStrict instead of datePattern from the oDate object.

Re: Still having problems with File upload (multipart-formdata)

2003-12-30 Thread Patrick Scheuerer
Matthias Wessendorf wrote: Hi Patrick, you want to get the path of /myapp like C:\Tomcat\webapps\myapp or? That's exactly what i was trying to do! in an actionClass you now want to store in placeString\uploaddir isn´t it? Right again :-) i wrote an Util-Class which managed the storage in my

RE: Still having problems with File upload (multipart-formdata)

2003-12-30 Thread Matthias Wessendorf
Hi Patrick, okay attched is my class it offers only two methods. soon more... perhaps ;-) one stores a form-file to a place, defined in a PROPERTIES-File under uploadPath-KEY the other stores the file to a place which is the second-parameter ;-) both methods are static. The class has only a

Re: Still having problems with File upload (multipart-formdata)

2003-12-30 Thread David Erickson
construktor ;P - Original Message - From: Matthias Wessendorf [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Tuesday, December 30, 2003 9:29 AM Subject: RE: Still having problems with File upload (multipart-formdata) Hi Patrick, okay attched is my class it

RE: Still having problems with File upload (multipart-formdata)

2003-12-30 Thread Matthias Wessendorf
and nothing attched: so see below Greetings matthias --- package net.wessendorf.utils.file; import java.io.ByteArrayOutputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream;

Re: Dynamic form property names

2003-12-30 Thread Pedro Salgado
Sorry but I haven't quite catch what you looking for... Do you want to create a form in runtime? Is that it? If you're using a DynaForm it already has map. You can't set new properties to the form (it was built based on a DynaClass) but, if you extend DynaForm to a XDynaForm and make

Re: Date validation problem?

2003-12-30 Thread Brice Ruth
Aha, so all I need to do is change datePattern to datePatternStrict in my XML? Andy Schmidgall wrote: datePattern doesn't work -- you must use datePatternStrict unless you modify the javascript validation function. This line is where the pattern is loaded: var datePattern =

html:select example

2003-12-30 Thread Otávio Augusto
Would someone show me a very simple example of the use of an html:select tag? I did not understand its use. I'd appreciate any simple example. Thanks a lot. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

RE: Date validation problem?

2003-12-30 Thread Andy Schmidgall
The javascript should work, yes. I haven't tried this with serverside validation though. DatePattern works (or is supposed to work) differently than datePatternStrict, so be aware that if you were counting on datePattern functionality serverside, it may not work as you had expected. -Andy

Re: RequestProcessor problem

2003-12-30 Thread Pedro Salgado
On 30/12/2003 11:22, Kelly Goedert [EMAIL PROTECTED] wrote: Can anyone give me an example on how to use the RequestProcessor? I want to use the RequestProcessor to check on action roles. Do I have to subclass it? Or I can use it as it is? To use roles to I have to configure anything in the

Re: RequestProcessor problem

2003-12-30 Thread Kelly Goedert
If you can send it'll appreciate it. Pedro Salgado wrote: On 30/12/2003 11:22, Kelly Goedert [EMAIL PROTECTED] wrote: Can anyone give me an example on how to use the RequestProcessor? I want to use the RequestProcessor to check on action roles. Do I have to subclass it? Or I can use it as

RE: html:select example

2003-12-30 Thread Daniel Lipofsky
Would someone show me a very simple example of the use of an html:select tag? I did not understand its use. I'd appreciate any simple example. html:select property=someProperty html:option value= / html:optionsCollection property=someCollection / /html:select The select tag can contain

RE: html:select example

2003-12-30 Thread Steve Raeburn
I have some examples of Struts tags, including html:select, at http://www.ninsky.com/struts Various other examples are listed at http://struts.sourceforge.net/community/examples.html Steve Sorry if this is a duplicate message, sent the first one from the wrong address :-( -Original

Re: html:select example

2003-12-30 Thread Carl
some working examples, but I'm not expert ;-) html:select property=previewFontStyle styleClass=inputfield html:option value=0normal/html:option html:option value=1gras/html:option html:option value=2italique/html:option html:option value=3gras-italique/html:option

Re: Date validation problem?

2003-12-30 Thread Brice Ruth
How exactly do I get server-side validation? Is this an XOR condition? Either javascript or server-side, but not both? Andy Schmidgall wrote: The javascript should work, yes. I haven't tried this with serverside validation though. DatePattern works (or is supposed to work) differently than

FW: Stateful session bean

2003-12-30 Thread Viral_Thakkar
Any response...??? -Original Message- From: Viral_Thakkar Sent: Tuesday, December 30, 2003 7:26 PM To: Struts Users Mailing List Subject: RE: Stateful session bean Assuming HttpSession is the place where I will store reference of business delegate; can I store the ValueObject(VO) object

FW: Singleton pattern to business delegate

2003-12-30 Thread Viral_Thakkar
Any reply?? -Original Message- From: Viral_Thakkar Sent: Tuesday, December 30, 2003 7:03 PM To: Struts Users Mailing List Subject: Singleton pattern to business delegate Hi, Below text I found from sun java forum. The pattern catalog describes the business delegate as

RE: Date validation problem?

2003-12-30 Thread Andy Schmidgall
No, you should be able to do both. I was just saying that if you had counted on datePattern functionality, and you switch to datePatternStrict, you may get slightly different results as they are supposed to act slightly differently. :) -Andy -Original Message- From: Brice Ruth

Re: Date validation problem?

2003-12-30 Thread Brice Ruth
OK, how do I enable server-side validation? I have validate=true in my action-mapping definition, is that all I need?! Andy Schmidgall wrote: No, you should be able to do both. I was just saying that if you had counted on datePattern functionality, and you switch to datePatternStrict, you may

Re: RequestProcessor problem

2003-12-30 Thread Pedro Salgado
Dependencies: struts servlet log4j plugincompanion log4j junit... I use a UserContainer to set login, roles and user variables. The RoleRequestProcessor tests the user roles against your struts defined roles... simple. I use it in order to have a simple role restriction

Re: Dynamic form property names

2003-12-30 Thread Paul-J Woodward
Hi Pedro, I would be very grateful if you could send me the code. Thanks, Paul

Re: Still having problems with File upload (multipart-formdata)

2003-12-30 Thread Patrick Scheuerer
This is exactly what i was looking for! Thank you very much for your help Matthias. Patrick - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Adding items to a vector of formbean in the jsp

2003-12-30 Thread Paulo Rezende
Struters, I need help from somebody. I have a formbean that has a vector property, and my jsp has a iterator that renderizes this: input type=hidden name=userList[0].id value=1 id=id0 input type=hidden name=userList[0].name value=paul id=name0 input type=hidden name=userList[1].id

server-side validation with Validator

2003-12-30 Thread Brice Ruth
OK, I have to admit, I'm a bit confused using Validator, despite looking at the online docs having Ted's excellent book at hand. I have everything setup to do server-side validation, as far as I can tell ... I've set a breakpoint in DynaValidatorActionForm.validate and it is getting called

Re: server-side validation with Validator

2003-12-30 Thread Brice Ruth
OK, nevermind ... I just needed to change DynaValidatorActionForm to DynaValidatorForm ... now it works. Brice Ruth wrote: OK, I have to admit, I'm a bit confused using Validator, despite looking at the online docs having Ted's excellent book at hand. I have everything setup to do

RE: server-side validation with Validator

2003-12-30 Thread Matthias Wessendorf
Hi, The DynaValidatorForm will match the formset name with the form-bean name. it uses mapping.getAttribute() to init the validator The DynaValidatorActionForm will match the formset name with the action-mapping path. it uses mapping.getPath() for init the validator -Original Message-

Re: server-side validation with Validator

2003-12-30 Thread Brice Ruth
Yeah, I read pretty much exactly that in Ted's book, but I have to admit, I'm not entirely sure what it means ... someone previously also mentioned that the DynaValidatorForm uses the name attribute of the action definition, whereas the DynaValidatorActionForm uses the path ... well, my path

RE: server-side validation with Validator

2003-12-30 Thread Jarnot Voytek Contr AU HQ/SC
When you want different validations for the same form bean when used by different actions (or action paths). -- Voytek Jarnot Quantum materiae materietur marmota monax si marmota monax materiam possit materiari? -Original Message- From: Brice Ruth [mailto:[EMAIL PROTECTED] Sent:

RE: server-side validation with Validator

2003-12-30 Thread Robert Taylor
One could use DynaValidatorActionForm for wizard processes that used the same form but validate different fields based on the path. robert -Original Message- From: Brice Ruth [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 30, 2003 1:29 PM To: Struts Users Mailing List Subject:

Re: server-side validation with Validator

2003-12-30 Thread Brice Ruth
Aha, ok ... got it now. Thanks! Robert Taylor wrote: One could use DynaValidatorActionForm for wizard processes that used the same form but validate different fields based on the path. robert -Original Message- From: Brice Ruth [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 30,

Tiles and Portlets (JSR 168)

2003-12-30 Thread Matthias Wessendorf
Hi, just having a question about Tiles and the Portlet-Spec. Tiles aims to reduce the work to develop composite-webpages. which are modular and reusable! The Portlet-Spec defines a standard incl. Portlet-Container. A RI is in develop -- http://jakarta.apache.org/pluto In Pluto-Docs found this

Re: JSF managed beans

2003-12-30 Thread Craig R. McClanahan
Quoting Nadeem Bitar [EMAIL PROTECTED]: Where and how do Managed Beans and JSF's navigation rules fit in a struts/jsf application? It depends on whether you want all (or part) of your application to migrate to a JSF for the controller type features or not. In a pure-Struts app that is

Re: .NET: We are just like Struts... only better.

2003-12-30 Thread Craig R. McClanahan
Quoting Paul Thomas [EMAIL PROTECTED]: On 29/12/2003 03:40 Curtis Taylor wrote: This brings up an interesting point (for me, at least): Is anyone on this list developing under Linux w/XEmacs or Emacs? I'm curious as to whether I'm living in the past or not...;-) You're in good company

Re: Still having problems with File upload (multipart-formdata)

2003-12-30 Thread Craig R. McClanahan
Quoting Patrick Scheuerer [EMAIL PROTECTED]: Matthias Wessendorf wrote: Hi Patrick, you want to get the path of /myapp like C:\Tomcat\webapps\myapp or? That's exactly what i was trying to do! in an actionClass you now want to store in placeString\uploaddir isn´t it?

RE: .NET: We are just like Struts... only better.

2003-12-30 Thread Hookom, Jacob
As a follow up to your by hand comment, isn't Sun developing a new GUI development tool to wizard-ize JSF? Speaking of wizards, can JSF enforce flow in a wizard manner without additional modifications like Struts? Thanks much! -Original Message- From: Craig R. McClanahan [mailto:[EMAIL

is there an eta for struts 1.2 beta?

2003-12-30 Thread John McGrath
we've been using a nightly build of 1.2, in order to be be able to more easily put ActionMessages into the session object. we're a little leery of putting it into production, though, until there's at least an official beta... any idea when that might be? this is our first struts project, and

need some sample Tiles definitions usage

2003-12-30 Thread Jim Anderson
I've taken the Login example from Struts in Action and converted it, step by step, to use Tiles. I'm at the point where I've created a definition entry in tiles-defs.xml but haven't been able to figure out how to invoke it. Although the book is generally pretty good with examples, it

Re: need some sample Tiles definitions usage

2003-12-30 Thread Brice Ruth
once you have an entry in tiles-defs.xml, in place of a path to a JSP for your Action (in struts-config.xml), put the name you've assigned to your tile definition. You'll need to make sure that the Tiles plug-in is also activated in your struts-config.xml. Jim Anderson wrote: I've taken the

RE: .NET: We are just like Struts... only better.

2003-12-30 Thread Craig R. McClanahan
Quoting Hookom, Jacob [EMAIL PROTECTED]: As a follow up to your by hand comment, isn't Sun developing a new GUI development tool to wizard-ize JSF? Yes: http://wwws.sun.com/software/products/jscreator/index.html Even if it weren't a product coming from the company I work for :-), this one

JAAS and roles attribute of logic:present

2003-12-30 Thread Daniel Massie
I am using JAAS to login to the secure areas of my application, localhost:8080/app/admin with the role admin being required for access. Using logic:present roles=admin within pages with localhost:8080/app/admin as the base url works perfectly, but when I try to use it in any other url

RE: JAAS and roles attribute of logic:present

2003-12-30 Thread Karr, David
I'm not sure what problem you're having. Are you saying that after you specify your login when accessing a secured area, you then immediately (before session timeout) access an unsecured area that checks role=admin and thinks you don't have that role (I would be surprised if it did that)? Or is

Re: JAAS and roles attribute of logic:present

2003-12-30 Thread Daniel Massie
If I firstly go to a secured area, I am redirected to the login page. I log in, get sent to my original request (secure area). If I then go immediately to an unsecure area, there is no principal or subject (both null). If I go to the unsecured area without an existing session, there is also

Re: JAAS and roles attribute of logic:present

2003-12-30 Thread Marino A. Jonsson
I had the same problem ... using BASIC auth I could only gain access to the principal in secured areas - so I just secured all areas where I needed access to the principal :) ... very annoying though. cheers, Marinó Daniel Massie [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] If I

Primitive type bean property

2003-12-30 Thread Patrick Cheng
Hi All, A quick question. Has anyone tried to write the form with property of a 'char' primitive type? That is: public char getC(){...} public void setC(char c){...} Is it supposed to work normally? I was doing it and the value was never set. I just need to know that if anyone had done it this

Problem with action chaining

2003-12-30 Thread kavitac
Hi, I have a problem with action chaining. My action tag action path=/producerCreate type=com.epolicy.arch.brokerage.web.agency.AgencyAction name=agencyForm validate=true parameter=create scope=request forward name=create

RE: Problem with action chaining

2003-12-30 Thread Mohan Radhakrishnan
We use base forms too but we use sub-forms in both action mappings. It works for us if we use sub-forms with action chaining like this. Our action chains are very minimal though because it is not recommended design practice. Mohan -Original Message- From: [EMAIL PROTECTED]

[OT] eclipse and jsp editing

2003-12-30 Thread Ashish Kulkarni
Hi is there any good plugin for editing jsp and setting up a web project, i have tried lomboz but find it very complicated to use I find setting web prject in jsp much easy any comments (or any free jsp editor will also work) Ashish __ Do you Yahoo!? New Yahoo!

Re: [OT] eclipse and jsp editing

2003-12-30 Thread Nadeem Bitar
Netbeans' JSP support is quite good. On 火, 2003-12-30 at 21:40, Ashish Kulkarni wrote: Hi is there any good plugin for editing jsp and setting up a web project, i have tried lomboz but find it very complicated to use I find setting web prject in jsp much easy any comments (or any free

ActionExceptionHandler; avoid try catch in actions

2003-12-30 Thread kchris1
Hi, I am trying to figure how ActionExceptionHandler may help in removing try{}catch {} exception handling in action, while specifying the appropriate message for the corresponding exception. I did not a find a clear example of how to manage this. Please, tell me where I can find an