RE: Html:Form input not being returned

2004-02-18 Thread Scott . Wall
I can get it to work once by calling request.getSession().invalidate() and then it stops working on subsequent calls. I was using jCIFS to perform user authentication but have bypassed that for my test form. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 17

Re[2]: File Upload and DynaActionForm?

2004-02-18 Thread Carl-Eric Menzel
Did you change the form definition to enctype=multipart/form-data yet? Yes, that is set correctly. Here's what it renders as HTML: form name=pollForm method=post action=/mafo2-dev/editPollSubmit.do enctype=multipart/form-data id=theForm Thanks Carl-Eric -- Carl-Eric Menzel * OpenPGP KeyID

Re[2]: File Upload and DynaActionForm?

2004-02-18 Thread Carl-Eric Menzel
Hello Carl-Eric, What browser you used for testing? Opera have bug when upload field in form is null. I'm using Mozilla Firefox and IE6, but this happens *before* the form is even displayed. I'm only going to the page where it should show up, and get the mentioned error message instead.

Re: Problem Dynamically creating form properties

2004-02-18 Thread Adam Hardy
I wonder whether a module along these lines has been incorporated into JavaFaces? On 02/17/2004 09:44 PM Hubert Rabago wrote: Cool! I'll write something up tonight that'll provide more info and send it to you so you can see where it's at. --- Niall Pemberton [EMAIL PROTECTED] wrote: Your stuff

Re: JUnit test cases for struts

2004-02-18 Thread Janarthan Sathiamurthy
Hi, Try this - http://www.strutstestcase.sourceforge.net/ This is a testing framework extending JUnit. Regards, Janarthan S. Jitender Kumar C [EMAIL PROTECTED] wrote: Can anybody help me how I can proceed with writing JUnit Test cases for Struts Applications. Can I follow the same procedure

RE: Problem Dynamically creating form properties

2004-02-18 Thread Marco Mistroni
Hi, In my case I still declare properties in Struts-config, so the validator still validates (as I have seen From the errors received :-) I was curious 'bout Guillermo approach coz I was trying To explore ways so that a change in parameters from Backend layers will lead to as small

RE: Problem Dynamically creating form properties

2004-02-18 Thread Marco Mistroni
Hi Hubert, I would be very interested in it...or at least If u can describe me how the whole process works.. By plugin you mean struts-plugin? Regards marco -Original Message- From: Hubert Rabago [mailto:[EMAIL PROTECTED] Sent: 17 February 2004 19:24 To: Struts

RE: Tiles and website skinnability

2004-02-18 Thread Guillermo Meyer
You can use Xkins to add skins to the website while still using tiles (http://xkins.sourceforge.net). You can use XkinsForms tags or create your own taglibs and use xkins to generate HTML. You can use css with Xkins, and each skin can have it's own path for it's css: For example, if you have this

[OT] making struts/tiles parse the output of a servlet

2004-02-18 Thread Paul-J Woodward
Dear All, In my webapp, I have to store all dynamic page content within a database as it is not possible to write to the disks on which the server runs. These dynamic pages are generated by a servlet which takes the page id as a request parameter. At the moment this servlet sends the page to

An OCI - JDBC Source Code snippet is required for inserting CLOB data using Java.

2004-02-18 Thread ssrinivasrao
Hi, Currently, I am using OCI - JDBC driver (for Oracle) to insert/fetch records using Java. I would like to store CLOB data into a table. May I request you to please provide the source code snippet for inserting CLOB data into Oracle DB? Thanks Regards S Srikanth Satyam Computer Services

Re: Moving App to Struts - Best Practices

2004-02-18 Thread Michael Steiger
Max Cooper wrote: Michael, There is no issue with bookmarking. Where the app currently responds to: /viewXXXdetail.jsp?scid=23 The Struts version will respond in the same way to: /viewXXXdetail.do?scid=23 Even for viewing data, you will want to use an ActionForm. In the example URL above,

Re: Form Submission

2004-02-18 Thread Geeta Ramani
Hi Avinash: I have not followed your description very carefully - my eyes started glazing over about mid-way..;) - but here's a thought (and I'm only going by what i remember of your original question, so forgive me if I misspeak..): If you do not have access to the request object, do you at

Re: An OCI - JDBC Source Code snippet is required for inserting CLOB data using Java.

2004-02-18 Thread Christian Bollmeyer
http://www.csee.umbc.edu/help/oracle8/java.815/a64685/samapp2.htm#1001249 HTH, -- Chris - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, February 18, 2004 1:19 PM Subject: An OCI - JDBC Source Code snippet is required for inserting CLOB data using

Validator and DispatchAction

2004-02-18 Thread Renato Romano
I'm quite new to the validator framework, and was trying to figure out how to use it. My situation is: 1) I want to perform server side validation, and so I made my form extend ValidatorForm; 2) the action that processes my form is a DispatchAction, so I have methods like edit, save list, all

Re: An OCI - JDBC Source Code snippet is required for inserting CLOB data using Java.

2004-02-18 Thread Duncan Mills
There are loads of JDBC samples for Oracle on the Oracle Technology network Check out http://otn.oracle.com/sample_code/tech/java/sqlj_jdbc/index.html Regards Duncan Mills - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, February 18, 2004 12:19 PM

[OT] RE: An OCI - JDBC Source Code snippet is required for inserting CLOB data using Java.

2004-02-18 Thread Robert Taylor
Google: http://www.google.com/search?hl=enie=UTF-8oe=UTF-8q=Storing+CLOB+in+Oracle+using+JDBC Hit: http://otn.oracle.com/tech/java/jroadmap/jdbc/listing.htm robert -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 18, 2004 7:20 AM To:

RE: Validator / Tiles and modules - anybody done it?

2004-02-18 Thread Hibbs, David
I highly recommend specifying the validator plugin in each module's config file. It will save you much pain later on for a minimum of effort. Each module can refer to the same validator rules and form files without problem. And, after all, it's 5 minutes at the most to copy/paste it to

Re: Moving App to Struts - Best Practices

2004-02-18 Thread Geeta Ramani
Michael: Michael Steiger wrote: Max Cooper wrote: Max, thanks for your help. If I just want to display values I do not need a html:form and html:text tags. What should I use instead? You can either use the html:form anyways (and just not show any submit button) or you can use: bean:write

Urgent: Uploading via IIS into Struts

2004-02-18 Thread Allistair Crossley
Guys Can anyone on this list upload a file using their Struts webapp through IIS? If so, what library are you using? I am trying to use Commons File Uploader in my Action but going through IIS to Tomcat fails. Cheers, ADC FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE

can I use resource keys in html:optionsCollection?

2004-02-18 Thread Glanville, Jay
I've looked in the documentation and I can't find my answer, so I'm assuming that the answer is no. However, I'm posing the question to this list in case I've missed something. I'm using an html:optionsCollection tag to display a list of options inside my html:select tag. However, I want the

Re: FileUploading Error

2004-02-18 Thread Mark Shifman
I am using Mozilla 1.2.1. via redhat. How can I see what is passed without doing an autopsy on the request handler? mas Andrew Hill wrote: Hmmm. Sounds rather like a browser issue to me. You might want to see what is actually being passed in that request - if its actually a valid multipart

FormBean not found in request ...

2004-02-18 Thread Mlinar, Mario
My Action puts a FromBean into the request and forwards to a view. The view can´t find the formBean and creates a new Instance which of course is empty:-( Here is my code: struts-config.xml action path=/gpSucheEdit type=de.shs.partnerportal.adb.ui.web.actions.GpDetailAction

Re: can tiles be put in a jar?

2004-02-18 Thread Carl Walker
Compile the tiles into .java files, compile these files into .class files and jar them up. You'll need to add servlet mappings to every webapp's web.xml, though. Here's the test JSP I'm working with (called myjsp.jsp). %@ page session=false % %@ page import=java.util.Date % html body h1Hi, the

Role based access?

2004-02-18 Thread subramaniam . o
Hi Guys, Struts-config.xml action attribute=Form roles=userRole How do i use this 'roles' attribute to implement role-based access. Thanks and Regards Subramaniam Olaganthan Tata Consultancy Services Mailto: [EMAIL PROTECTED] Website: http://www.tcs.comDISCLAIMER: The information

Re: Form Submission

2004-02-18 Thread Mark Lowe
I said no such thing about javascript. I'm in the httpsession != evil school and I'd say this isn't an occasion where you'd use it as you don't need anything to persist beyond the request (accept this default action thing whatever thats about). The single action class as a type of command

Re: can tiles be put in a jar?

2004-02-18 Thread Mark Lowe
Umm I like the sound of that. I haven't thought it through fully yet so there could be some glitch i've missed. just to complement the suggestion (other than having an ant task the fire everything up) you could have xdoclet comments to generate your web.xml % /** * * @web.servlet *

Re: FormBean not found in request ...

2004-02-18 Thread Dirk Markert
In action path=/freelanceEdit the type is missing. Did you copy it correctly in your mail? Your code should work. *** MM My Action puts a FromBean into the request and forwards to a view. MM The view can´t find the formBean and

RE: Checkbox not checked

2004-02-18 Thread Wendy Smoak
From: Curtis Taylor [mailto:[EMAIL PROTECTED] I'm not exactly sure, but I'm a tad suspect of your 'c:if test' expression. It looks suspiciously like a Python boolean test for the object's presence. AFAIK, in JSTL one needs to be more explicit as to what value (or lack thereof) when

Re: Validator and DispatchAction

2004-02-18 Thread Carl Walker
I ran into the same problem and converted all my DispatchActions to Actions. The downside is that there are more class files, but the mappings seem cleaner, especially in handling the 'input' attribute for html:errors /. Also, using Actions lets me specify different values for the 'validate'

RE: Problem Dynamically creating form properties

2004-02-18 Thread Hubert Rabago
Yes, it would be a plugin like Tiles and Validator. You provide an xml so it'll know what forms to create. When the plugin gets called by Struts at startup, it digests the xml and looks for the business objects you've listed. It creates FormBeanConfig objects (the internal Struts descriptor for

Re: Form Submission

2004-02-18 Thread Geeta Ramani
Mark: Not sure what you meant by your remark about javascript, but I believe javascript was ruled out earky on (not an option or something). The reason I thought saving the user as a session was ok is that I do not believe they are evil (:) either, and further, I can just see this sort of

RE: Validator and DispatchAction

2004-02-18 Thread Renato Romano
That's just what I supposed. DispatchAction are fine, but when you need finer control Action fits best!! Maybe next time ;-)) Thanks anyway Renato Renato Romano Sistemi e Telematica S.p.A. Calata Grazie - Vial Al Molo Giano 16127 - GENOVA e-mail: [EMAIL

Re: can I use resource keys in html:optionsCollection?

2004-02-18 Thread Niall Pemberton
No you can't use html:optionsCollection tag to display labels. I also can't think why this would be necessary - if you define your options in your resource bundle, you know how many there are going to be and so you can just use straight html:option tags. For example: In your resource bundle:

Re: can tiles be put in a jar?

2004-02-18 Thread Carl Walker
The glitch is that you have to work with the mappings. You can't freely type JSP code into a directory without thinking about how its deployed. You'll have to write scripts that compile your JSPs, probably JAR the JSPs, and generate sections of your web.xml file and merge those sections in with

RE: Validator and DispatchAction

2004-02-18 Thread Barnett, Brian W.
Set validate=false in your action mapping in struts-config. This tells the struts framework not to call validate. Then in your action class you can call validate where appropriate, i.e., the *save* method. -Original Message- From: Renato Romano [mailto:[EMAIL PROTECTED] Sent: Wednesday,

Re: Form Submission

2004-02-18 Thread Mark Lowe
Was a bit like squaring a circle. I think the poor boy got to strong-house before me :o) On 18 Feb 2004, at 16:52, Geeta Ramani wrote: Mark: Not sure what you meant by your remark about javascript, but I believe javascript was ruled out earky on (not an option or something). The reason I

Re: can tiles be put in a jar?

2004-02-18 Thread Mark Lowe
Not skeptical, i like the idea, just checking my thinking, and trying to develop it popper style. was just thinking through how it could be used as way of plonking a jar file in the lib directory and then how to go about configuring it. the only bit I haven't thought through is how do deal

RE: Validator and DispatchAction

2004-02-18 Thread Nicholas L Mohler
Renato, There is another solution that is clean. We use one action class with multiple (3) mappings to support our validation needs. With our editor scheme, the user proceeds to a Top page where they decide to Edit an existing or Add a new item. They then proceed to a Detail page where

How to look up a global forward to get its path attribute

2004-02-18 Thread OFlaherty, Colm
I have the following entry in my struts-config.xml file: global-forwards forward name=login path=/public_login.do/ ... /global-forwards In a Tag Library, I have a String login, and I want to get the string /public_login.do (ie, I want to look up the global forward to see the

Re: How to look up a global forward to get its path attribute

2004-02-18 Thread Hubert Rabago
Haven't tried this yet myself, but maybe you can: ModuleConfig moduleConfig = RequestUtils.getModuleConfig(pageContext); ForwardConfig forward = moduleConfig.findForwardConfig(login); String path = forward.getPath(); RequestUtils has been refactored in the nightly build/Struts 1.2 so

Re: How to look up a global forward to get its path attribute

2004-02-18 Thread Geeta Ramani
I know the following works if you have access to a mapping object (as within perform/execute): mapping.findForward(login).getPath(); So maybe you can simply create a new instance of an actionMapping and so forth..? Regards, Geeta OFlaherty, Colm wrote: I have the following entry in my

Re: passing beans to tiles

2004-02-18 Thread Thad Humphries
Doh! You're right, Niall, a big typo on my part. It seems in breaking up my one page into multiples, I left out the struts-logic taglib from bodies/ screenList-body.jsp. With that, the stuff inside the iterate never had a context. Thanks for answering. Ah... my faith restored, I'm now gonna

[OT] visual XSLT or XSL-FO builder

2004-02-18 Thread Ashish Kulkarni
Hi Has any one know of a tool which will help building XSLT or XSL-FO visually, like VB where i can select where i want to put the input field on page, and what database field will be used to populate it Ashish __ Do you Yahoo!? Yahoo! Mail SpamGuard - Read only

N by N multiboxes !!!

2004-02-18 Thread Lawrence Williams
Hi, I am trying to generate a form allowing attributes in a catalog to be set on or off for particular products. So depending on the state of the Database there will be N Attributes each with M slectable values (as attributes are added and new styles become available N and M will vary: E.g.

Re: Role based access?

2004-02-18 Thread Nadeem Bitar
You have to use JAAS. If you are not using JAAS and still want to use the roles attribute in your action mapping you have to override the processRoles method . On Wed, 2004-02-18 at 20:49 +0530, [EMAIL PROTECTED] wrote: Hi Guys, Struts-config.xml action attribute=Form

Tiles and message-resources

2004-02-18 Thread Thad Humphries
Is there any way to for a tlles definition to take a value from the message-resources file? For example, if I wanted only one file to control my applications text, could tiles:put name=title value=Page Title / pull the value from the message-resources file like a JSP would do.

Re: Tiles and message-resources

2004-02-18 Thread Nadeem Bitar
You can internationalize your tiles definitions. In the localized version you only override the localized strings. Example tiles-defs.xml definition name=.home extends=.mainLayout put name=title value=Homepage/ put name=content value=somejsp.jsp/ put name=leftCol

RE: Tiles and message-resources

2004-02-18 Thread Gopalakrishnan, Jayesh
You could pass in the key, instead of the actual text tiles:put name=title value=page.title / and in your consumer jsp you could do, tiles:importAttribute / bean:message name=title / hth -jayash -Original Message- From: Thad Humphries [mailto:[EMAIL PROTECTED] Sent: Wednesday,

html link tag

2004-02-18 Thread struts fox
I just did an example strust project in JBuilder, and it works. I have a jsp with a form that issues an action that forwards to itself and it works. Now I wanted to just do a html link to call the action from a new generic jsp page and it doesn't work. html:link page=/do/myactionAdd An

tiles memory/performance

2004-02-18 Thread Frank Maritato
Hi, I have searched through the mailing list archives but have not seen if there was any resolution to the question of: have the tiles execessive memory usage/performance issues been resolved for the struts 1.2 timeframe? If not, can anyone recommend an alternative to tiles besides using includes

How to implement Role based Security????????

2004-02-18 Thread subramaniam . o
Hi Guys, Struts-config.xml action attribute=Form roles=userRole How do i use this 'roles' attribute to implement role-based access control. Thanks and Regards Subramaniam Olaganthan Tata Consultancy Services Mailto: [EMAIL PROTECTED] DISCLAIMER: The information contained in

RE: Role based access?

2004-02-18 Thread Barnett, Brian W.
Another option I believe is to let the j2ee container handle security. I'm not up on all the jargon, but I'm using roles and form-based security. Here are some code snippets from some relevant files: web.xml snippet: security-constraint web-resource-collection

Re: Role based access?

2004-02-18 Thread subramaniam . o
Hi, Thanks for the info Nadeem.but processRoles method is in which Class. could you give me some samples. Thanks in advance Subramaniam Olaganthan Tata Consultancy Services Mailto: [EMAIL PROTECTED] Website: http://www.tcs.com Nadeem Bitar [EMAIL PROTECTED] 02/19/2004 12:59 AM Please

Re: N by N multiboxes !!!

2004-02-18 Thread Hubert Rabago
Study the tutorials at www.keyboardmonkey.com for using the nested Struts tags. --- Lawrence Williams [EMAIL PROTECTED] wrote: Hi, I am trying to generate a form allowing attributes in a catalog to be set on or off for particular products. So depending on the state of the Database

Re: Role based access?

2004-02-18 Thread Nadeem Bitar
processRoles method is in RequestProcessor. You would do something like this: boolean processRoles(HttpServletRequest request, HttpServletResponse response, ActionMapping mapping) throws Exception{ String[] roles = mapping.getRoleNames(); if(roles == null || roles.length == 0) return

open new window from struts page, leaves [object] in parent window

2004-02-18 Thread Martin Alley
Hi, I guess this has been asked before, but I can't find the answer.. I've got a struts generated page, from which I want to open a new window. I do this with the following line, and I get my new window just like I want a href=javascript:window.open('%=

Tiles and ActionMessage

2004-02-18 Thread Daniel
Someone know if there are some problem with tiles and messages(errors) I'm using at Action file (just code parts ) : ActionMessages messages = new ActionMessages(); ActionMessage message = new ActionMessage(e.getMessage()); //at the catch

Re: Role based access?

2004-02-18 Thread Paul-J Woodward
You might want to do something similar to this on failure inaddition to code below: response.sendError( HttpServletResponse.SC_FORBIDDEN, getInternal().getMessage( notAuthorized, mapping.getPath())); Paul

Re: Role based access?

2004-02-18 Thread Paul-J Woodward
If you override the RequestProcessor, I believe you will need to add this to the struts-confg.xml: controller processorClass=com.db.gci.ge.epg.struts.tiles.LocalRequestProcessor locale=false nocache=true inputForward=true / Change it to suit your needs. Paul

Conditional tag for method results

2004-02-18 Thread Avinash Gangadharan
Hello All, I'm fairly new to the world of struts so pardon me if this has already been asked. Could someone tell me if I can replace the following with a much better looking tag library usage: % if( foo.method( xyz ) ) { % html:submit value=Submit Submit /html:submit % } % You

RE: open new window from struts page, leaves [object] in parent w indow

2004-02-18 Thread Gopalakrishnan, Jayesh
This is more of a javascript issue than Struts thing. I guess you are missing a return false; at the end of the javascript. Try the script on a simple html page verify that it works as expected. I have seen such links use the onclick event rather than the href, like, a href=javascript:void(0);

RE: open new window from struts page, leaves [object] in parent w indow

2004-02-18 Thread Domingo A. Rodriguez S.
Use javascript:var handle= window.open(..) instead of javascript:window.open(..) Regards Domingo A. Rodriguez S. --- Gopalakrishnan, Jayesh [EMAIL PROTECTED] escribió: This is more of a javascript issue than Struts thing. I guess you are missing a return false; at the end of

Re: Conditional tag for method results

2004-02-18 Thread Niall Pemberton
Yo can either use the Struts logic tags, or the standard tag library (JSTL) JSTL: http://jakarta.apache.org/taglibs/doc/standard-doc/intro.html Struts Logic Tags: http://jakarta.apache.org/struts/userGuide/struts-logic.html Niall - Original Message - From: Avinash Gangadharan [EMAIL

RE: Conditional tag for method results

2004-02-18 Thread Avinash Gangadharan
I did look at those earlier, unfortunately I could not figure out how can I pass in a method call with a paramater passed to it, as the expression for comparison. The tags allow bean properties, cookie , request parameter etc... Could you tell me how can I use a method call with a parameter that I

RE: Conditional tag for method results

2004-02-18 Thread Gopalakrishnan, Jayesh
You will need to create a simple custom tag for this. Its pretty simple, plenty of samples are available. -jayash -Original Message- From: Avinash Gangadharan [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 18, 2004 1:20 PM To: '[EMAIL PROTECTED]' Subject: RE: Conditional tag for

RE: open new window from struts page, leaves [object] in parent window

2004-02-18 Thread Wiebe de Jong
The best way is always to call an action to generate any page. With that in mind, I open up new windows this way: phtml:link href=# onclick=window.open('findAccountCSV.do','csv')CSV/html:link/p The # functions like a null link so the current window is not affected. Wiebe

html:checkbox

2004-02-18 Thread Anand M S
Hi All, Is we use html:checkbox, what should be the type in struts-config.xml? is that boolean or string? THanks, Anand _ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail

RE: Conditional tag for method results

2004-02-18 Thread Avinash Gangadharan
Exactly I thought so and that is why in my question I asked if I can replace the following with a much better looking tag library usage I wanted to make sure there is'nt something already out there which I can simply use. Moreover I do think that the struts logic tag should have a generic

Re: Conditional tag for method results

2004-02-18 Thread Niall Pemberton
Either provide a getter in your foo object [i.e. getMethod()] and then you can do logic:equals name=foo property=method value=xyz or if you can't change foo, do the method in your action and store the results somewhere (form, request, session) and then test that Niall - Original Message

RE: open new window from struts page, leaves [object] in parent w indow

2004-02-18 Thread Martin Alley
Thanks Domingo, that fixed it! Martin -Original Message- From: Domingo A. Rodriguez S. [mailto:[EMAIL PROTECTED] Sent: 18 February 2004 21:05 To: Struts Users Mailing List Subject: RE: open new window from struts page, leaves [object] in parent w indow Use javascript:var handle=

Re: File Upload and DynaActionForm?

2004-02-18 Thread Robert McBride
I don't believe that DynaActionForm supports the org.apache.struts.upload.FormFile type. See: http://jakarta.apache.org/struts/userGuide/building_controller.html#dyna_action_form_classes -Rob Carl-Eric Menzel wrote: Hello, I'm having trouble getting file upload working when using a

Re: html link tag

2004-02-18 Thread Geeta Ramani
Hi! Replace html:link page=/do/myactionAdd An Employee/html:link by html:link page=/myaction.doAdd An Employee/html:link and it should work.. Regards, Geeta struts fox wrote: I just did an example strust project in JBuilder, and it works. I have a jsp with a form that issues an action that

[OT] Call remote servlet from struts appl through https

2004-02-18 Thread Pani R
Hi: I'm trying to call a servlet that is running on a remote(secured) machine from my application which is built on Struts though a Secured Connection (HTTPS). I had couple of options to do this. First, tried to use response.sendRedirect(). I dropped it because that will have an extra travel

Re: html:checkbox

2004-02-18 Thread Mark Lowe
String's always a safe bet.. But you can use Boolean although I understand that you don't want to use the primitive boolean. On 18 Feb 2004, at 22:46, Anand M S wrote: Hi All, Is we use html:checkbox, what should be the type in struts-config.xml? is that boolean or string? THanks, Anand

RE: [OT] Call remote servlet from struts appl through https

2004-02-18 Thread Peter Abbot
Have a look at commons package HttpClient, I have used it a little for communicating with remote servers and is very handy. From memeory there is the ability to add request attributes/parameters. http://jakarta.apache.org/commons/httpclient/ -Original Message- From: Pani R

Re: Form Submission

2004-02-18 Thread Michael McGrady
Heh, guys, there is no morality play here. LOL The question is just whether or not the use of the session as a repository makes sense, given the host of problems that arise in that respect, and given that there are way cool solutions that need to be built without those problems. Saving a

Re: Form Submission

2004-02-18 Thread Geeta Ramani
+1 ..:) Geeta Michael McGrady wrote: Heh, guys, there is no morality play here. LOL The question is just whether or not the use of the session as a repository makes sense, given the host of problems that arise in that respect, and given that there are way cool solutions that need to be

Re: Problem Dynamically creating form properties

2004-02-18 Thread Michael McGrady
I would be interested int his, Niall. At 10:46 AM 2/17/2004, you wrote: I have a version of DynaBean based on the MutableDynaClass interface which allows properties to be added dynamically - which anyone would be free to use (I tried to attach here but struts-user rejected the mail saying we

Re: Problem Dynamically creating form properties

2004-02-18 Thread Niall Pemberton
You can find the source here... http://www.niallp.pwp.blueyonder.co.uk/ Niall - Original Message - From: Michael McGrady [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, February 18, 2004 11:54 PM Subject: Re: Problem Dynamically creating form

Error page problems with Tiles

2004-02-18 Thread Russ Baker
I am having a real issue with the way Tiles handles an error page. I am setting up the following jsp directive in the base layout: %@ page language=java errorPage=/error.jsp % But when I do this, the page shows the error, something like: [ServletException in:/somePage.jsp] / divide by zero,

RE: [OT] Call remote servlet from struts appl through https

2004-02-18 Thread Pani R
Thanks for the lead Peter. Pani -- - Original Message - DATE: Thu, 19 Feb 2004 12:31:58 From: Peter Abbot [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED],[EMAIL PROTECTED] Cc: Have a look at commons package HttpClient, I have used it a little for

Re: How to implement Role based Security????????

2004-02-18 Thread Max Cooper
Implement container-managed security, use SecurityFilter (http://www.securityfilter.org), or implement your own filter-based security that will answer request.isUserInRole() calls to make the role information available to Struts. -Max - Original Message - From: [EMAIL PROTECTED]

Validation

2004-02-18 Thread Patrick Cheng
Hi all, My question is... if my form has a collection of fields called storing multiple email, dynamically added by javascript, how would i define it in validation.xml in a general way, so that it can accomodate any number of email addresses? That is, i probably have hidden fields created as

Nested Indexed Property Question

2004-02-18 Thread Johnson, Gary
Hello *, I've been trying to generate a variable list of text fields with each row containing a radio button and 2 text fields. The getters seem to work OK, but can't seem to make the setters work. I've read the FAQ, searched the mailing lists, and scoured the web looking for clues as to why

repost: Performance statistics with struts

2004-02-18 Thread shankarr
Hi! I had to repost it again as no one answered it previously. Any reply is greatly appreciated. Richie At 01:10 PM 2/18/2004, you wrote: Hi! I would like to get some figures showing what is the performance gain/hit using Struts1.1 with Tiles We are currently using struts1.1 with tiles in our

Re: An OCI - JDBC Source Code snippet is required for inserting CLOB data using Java. ---- THANK U VERY MUCH FOR YOUR HINTS.

2004-02-18 Thread ssrinivasrao
Hi, THANK U ALL VERY MUCH FOR YOUR VALUABLE HINTS. Regards S Srikanth Satyam Computer Services Limited 12 C P Ramaswamy Road Alwarpet Chennai 600018 Office +(91)-(44)-24983221 Extn 2793

RE: Role based access?

2004-02-18 Thread Navjot Singh
in this case, Form is decalratively saying that it can be accessed only by userRole. Now when you use CMA, every user will be bound to to a role. RequestController compare the two roles one from user-in-request and other from ActionMapping/ActionConfig and continue.. However, you can also

Lucene - renameTo bug

2004-02-18 Thread Ravi Kulkarni
Hello everyone, I am sorry to ask off topic question. I wanted to use Lucene for my search requirement. But while indexing I am getting IOException : coudnt rename segments.new to segments. They have clearly written comments that if the jvm fails to rename they do it manually. But even it

Servlet Context

2004-02-18 Thread keshav
Hi How can I update a list dynamically which has been added to servletContext. regards, keshav - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

multiple parameters within iterate loop

2004-02-18 Thread Jacqueline Gomes
Hi All, I have a question regarding sending multiple parameters through a html:link tag. I understand that you can set it up like this: % java.util.HashMap paramValuesExtract = new java.util.HashMap();

Re: [OT] making struts/tiles parse the output of a servlet

2004-02-18 Thread Paul-J Woodward
Noone know if this is possible? Thanks, Paul Global Equity Derivatives Technology Deutsche Bank [/] Paul-J Woodward [EMAIL PROTECTED] 18/02/2004 11:27 Please respond to