R: Struts and PL/SQL

2004-06-24 Thread Grassi Fabio
Yes, what you ask is possible, here is a minimal but working example: create or replace function test(obj_name in varchar2) return sys_refcursor is result sys_refcursor; sql_string varchar2(2000); begin sql_string := 'select * from user_objects'; if obj_name is not null then sql_string

Timothy J Theis is out of the office

2004-06-24 Thread Timothy . J . Theis
I will be out of the office starting 06/24/2004 and will not return until 06/28/2004. For any urgent issues, please contact Mike Bogie (952) 402-3271 or address the ENG IT - TCO mailing group. Thank you. - To unsubscribe,

Re: [OT] FW: Timothy J Theis is out of the office

2004-06-24 Thread Andy Engle
Robert Taylor <[EMAIL PROTECTED]> wrote: > Should we call Mike, and tell him to tell Tim to unsubscribe when > he is out of the office :) I think we should. How annoying! Or we could have one of the list managers to unsubscribe him for us. Andy --

Timothy J Theis is out of the office

2004-06-24 Thread Timothy . J . Theis
I will be out of the office starting 06/24/2004 and will not return until 06/28/2004. For any urgent issues, please contact Mike Bogie (952) 402-3271 or address the ENG IT - TCO mailing group. Thank you. - To unsubscribe,

RE: Arraylists/Collections

2004-06-24 Thread Satish Kataria
It depends on the database you are using. If using oracle, then you can create a new datatype in database to store array of numbers(if you require to work with Collection of number) Then you can pass a array of numbers to stored proc using the setArray method The code snippet is as follows: -

RE: Trouble rendering a dynamic form (index=true) with html-el:file

2004-06-24 Thread Jim Kennedy
In case anyone is interested, which it looks like you are not :( I did resolve my issue. Changing the scope from request to session made all the dif. Object type is correct which is FormFile. It's actually pretty cool the way this works, but a pain to troubleshoot and setup. L8r -Original

Timothy J Theis is out of the office

2004-06-24 Thread Timothy . J . Theis
I will be out of the office starting 06/24/2004 and will not return until 06/28/2004. For any urgent issues, please contact Mike Bogie (952) 402-3271 or address the ENG IT - TCO mailing group. Thank you. - To unsubscribe,

[OT] FW: Timothy J Theis is out of the office

2004-06-24 Thread Robert Taylor
Should we call Mike, and tell him to tell Tim to unsubscribe when he is out of the office :) robert -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, June 24, 2004 9:55 PM To: [EMAIL PROTECTED] Subject: Timothy J Theis is out of the office I will b

Timothy J Theis is out of the office

2004-06-24 Thread Timothy . J . Theis
I will be out of the office starting 06/24/2004 and will not return until 06/28/2004. For any urgent issues, please contact Mike Bogie (952) 402-3271 or address the ENG IT - TCO mailing group. Thank you. - To unsubscribe,

RE: How to implements Role Based Access Control in Struts ?

2004-06-24 Thread David Friedman
>From a database? Pow2ACL. http://pow2acl.sourceforge.net -Original Message- From: javen fang [mailto:[EMAIL PROTECTED] Sent: Thursday, June 24, 2004 9:41 PM To: Struts Users Mailing List Subject: Re: How to implements Role Based Access Control in Struts ? Thank you, bill. I have seen

Re: How to implements Role Based Access Control in Struts ?

2004-06-24 Thread javen fang
Thank you, bill. I have seen the SecurityFilter project. It seems that it is replacer to Container Management Security, and it is based securityfilter-config.xml file. But I need to obtain roles information from database, my customer can insert a role, and determine which permission the role has.

Re: Setting html:hidden property using JSTL

2004-06-24 Thread Michael Nascimento Santos
It's not possible to use a custom tag as the value of another custom tag attribute. You should use JSP 2.0 or struts-el instead. Regards, Michael Nascimento Santos JSR-207 Expert Group Member http://www.javablogs.com.br/blogs/page/soujavamisterm http://today.java.net/pub/au/80 Sun Certified Progra

Timothy J Theis is out of the office

2004-06-24 Thread Timothy . J . Theis
I will be out of the office starting 06/24/2004 and will not return until 06/28/2004. For any urgent issues, please contact Mike Bogie (952) 402-3271 or address the ENG IT - TCO mailing group. Thank you. - To unsubscribe,

struts-html in Velocity?

2004-06-24 Thread Xavier Noria
Is there something like the html taglib for Velocity templates? -- fxn - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: generators for struts

2004-06-24 Thread David Friedman
+1 ---> I use xdoclet w/Struts/DisplayTag/Hibernate inside Eclipse v2.1.3 -David -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, June 24, 2004 4:42 AM To: [EMAIL PROTECTED] Subject: Re: generators for struts Check http://xdoclet.sourceforge.net/x

Timothy J Theis is out of the office

2004-06-24 Thread Timothy . J . Theis
I will be out of the office starting 06/24/2004 and will not return until 06/28/2004. For any urgent issues, please contact Mike Bogie (952) 402-3271 or address the ENG IT - TCO mailing group. Thank you. - To unsubscribe,

RE: Contextual Validation

2004-06-24 Thread William Ferguson
All our Forms already extend from ValidatorForm (like yours right at the top of the inheritance hierarchy). But now I need Actions that use the same Form to validate differently. This can be achieved using a ValidatorActionForm but would require either 1) changing the Form hierarchy to extend from

Re: 2 deep nested forms (solution to 2 dimensional arrays with struts html tags)

2004-06-24 Thread Mark Lowe
No needs a rethink . indexed="true" uses whatever iteration tags that its between.. Arses,, drat and double drat. On 25 Jun 2004, at 00:27, Mark Lowe wrote: Not quite.. hang on. On 25 Jun 2004, at 00:14, Mark Lowe wrote: A question came up the other week/month where someone nesting 2 deep and

Timothy J Theis is out of the office

2004-06-24 Thread Timothy . J . Theis
I will be out of the office starting 06/24/2004 and will not return until 06/28/2004. For any urgent issues, please contact Mike Bogie (952) 402-3271 or address the ENG IT - TCO mailing group. Thank you. - To unsubscribe,

Re: 2 deep nested forms (solution to 2 dimensional arrays with struts html tags)

2004-06-24 Thread Mark Lowe
Not quite.. hang on. On 25 Jun 2004, at 00:14, Mark Lowe wrote: A question came up the other week/month where someone nesting 2 deep and was trying to use a 2 dimesional array. I had the some problem today and had my chance to combine indexed and mapped properties to solve the problem. I want

2 deep nested forms (solution to 2 dimensional arrays with struts html tags)

2004-06-24 Thread Mark Lowe
A question came up the other week/month where someone nesting 2 deep and was trying to use a 2 dimesional array. I had the some problem today and had my chance to combine indexed and mapped properties to solve the problem. I want to create a Restaurant Menu editor. So a menu has a few properti

[OT] File upload design question

2004-06-24 Thread Jim Collins
Hi, Appologies for the off topic posting. I am writing an application where a user fills in a form, can attach some files and when they submit the form it kicks off a workflow and saves any attached files to a content management system. This works fine using the struts file upload tools. What I w

Timothy J Theis is out of the office

2004-06-24 Thread Timothy . J . Theis
I will be out of the office starting 06/24/2004 and will not return until 06/28/2004. For any urgent issues, please contact Mike Bogie (952) 402-3271 or address the ENG IT - TCO mailing group. Thank you. - To unsubscribe,

tag in Struts-Faces

2004-06-24 Thread Josh Porter
I am trying to develop a web application using Struts, Tiles, and JavaServer Faces, connected by the Struts-Faces integration library. I can't seem to make the tag work. The code I wrote looks like: The /search action is configured in struts-config.xml to forward to a search results tile. Th

RE: Trouble rendering a dynamic form (index=true) with html-el:file

2004-06-24 Thread Jim Kennedy
If it's a classcastexception, does that mean when indexed=true we can only deal with Strings? It would follow that this does not make sense for an html:file tag. I have the following working just fine in other places thoughout my application. I'm also using a DynaValidatorForm to define the o

RE: Getting index value of iteration

2004-06-24 Thread Tom McCobb
Thanks for these replies and the generous code samples. I got frustrated with the nested tag and re-wrote the iteration with jstl as Wendy suggested. I had a few additional problems because I was using jstl 1.1 in a 2.3 container, but resolved that too. -Original Message- From: Wendy Smoa

RE: Validation Mask help please

2004-06-24 Thread Jim Kennedy
When you only want one (1) of something follow with a question mark "?" i.e. [A-Za-z]? OK -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, June 24, 2004 3:34 PM To: [EMAIL PROTECTED] Subject: RE: Validation Mask help please try something like [a-zA

Re: Struts and PL/SQL

2004-06-24 Thread Daniel H. F. e Silva
Lucas, Are you talking about PL/SQL stored procedures? Considering that, i recommend setting a DAO layer up. And i do recommend using iBATIS DAO and SQL Maps for that. Resources about iBATIS can be found at www.ibatis.com and www.reumann.net (Struttin' with Struts). Cheers, Daniel Silva. ---

[SOLVED] Re: Problem with displaying a subset of error messages using

2004-06-24 Thread Asif Rahman
It works! I just got it to work the same way too:http://javaboutique.internet.com/tutorials/excep_struts/index-2.html Thanks so much Atta :) -Asif - Original Message - From: "atta-ur rehman" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>; "Asif Rahman" <[EMAIL P

Timothy J Theis is out of the office

2004-06-24 Thread Timothy . J . Theis
I will be out of the office starting 06/24/2004 and will not return until 06/28/2004. For any urgent issues, please contact Mike Bogie (952) 402-3271 or address the ENG IT - TCO mailing group. Thank you. - To unsubscribe,

Re: Problem with displaying a subset of error messages using

2004-06-24 Thread atta-ur rehman
Okay, while out for lunch i thought about it and i think the right way of doing it would be to use "property" attribute of the tag: http://jakarta.apache.org/struts/userGuide/struts-html.html#messages henc new code: I wish i could have been able to check it but let's see if

[OT] Authenticating Client with

2004-06-24 Thread Henrique VIECILI
Hi all, Sorry for the OT, but i tried all over the tutorials but i couldnt make the mutual authentication works in Tomcat 5. I enabled the SSL conector and my test app web.xml has, server.xml web.xml CLIENT-CERT when i access the https://localhost:8443/myapp

Trouble rendering a dynamic form (index=true) with html-el:file

2004-06-24 Thread Jim Kennedy
I'm trying to upload a set of files using an indexed multipart form. Here's the JSP code: Here's the Struts config:

Re: Problem with displaying a subset of error messages using

2004-06-24 Thread Asif Rahman
Hi Atta, this is what I'm getting when I try that: javax.servlet.jsp.JspTagException: javax.servlet.jsp.JspException: An error occurred while evaluating custom action attribute "test" with value "${error.key == 'company'}": Unable to find a value for "key" in object of class "java.lang.String" us

Re: Problem with displaying a subset of error messages using

2004-06-24 Thread atta-ur rehman
Hello Asif, Now I havn't checked what I'm going to write here but am pretty sure it should work. First of all while adding your ActionError to ActionErrors use 'company' as the key for the company errors and 'factory' for factory related error messages. like: ActionErrors errors = new ActionErr

RE: Setting html:hidden property using JSTL

2004-06-24 Thread Tom McCobb
Got it to work: turns out I had jstl1.1 deployed in the 2.3 container and it wasn't apparently screwed up until I tried to do this. -Original Message- From: Robert Taylor [mailto:[EMAIL PROTECTED] Sent: Thursday, June 24, 2004 12:17 PM To: Struts Users Mailing List; [EMAIL PROTECTED] Subj

Problem with displaying a subset of error messages using

2004-06-24 Thread Asif Rahman
Hi Im have been using pretty standard code to display error messages so far, eg: But now, the problem I am facing is that I want to display a subset of my error messages in one part of page, (e.g. Error messages that start with "Company") and the rest of the message

RE: Validation Mask help please

2004-06-24 Thread RDoss
to end -Ram -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, June 24, 2004 2:39 PM To: [EMAIL PROTECTED] Subject: RE: Validation Mask help please What is the $ for? I know the ^ is to start at the beginning. -Original Message- From: [EMAIL PR

RE: Validation Mask help please

2004-06-24 Thread Mick . Knutson
What is the $ for? I know the ^ is to start at the beginning. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, June 24, 2004 12:34 PM To: [EMAIL PROTECTED] Subject: RE: Validation Mask help please try something like [a-zA-Z][0-9]{4}-\d{3} -Ram -O

RE: Validation Mask help please

2004-06-24 Thread Mick . Knutson
Thanks! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, June 24, 2004 12:39 PM To: [EMAIL PROTECTED] Subject: RE: Validation Mask help please http://www.weitz.de/regex-coach/ might be useful -Ram -Original Message- From: [EMAIL PROTECTED]

RE: Validation Mask help please

2004-06-24 Thread RDoss
http://www.weitz.de/regex-coach/ might be useful -Ram -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, June 24, 2004 2:34 PM To: [EMAIL PROTECTED] Subject: RE: Validation Mask help please try something like [a-zA-Z][0-9]{4}-\d{3} -Ram -Origina

RE: Validation Mask help please

2004-06-24 Thread RDoss
try something like [a-zA-Z][0-9]{4}-\d{3} -Ram -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, June 24, 2004 2:06 PM To: [EMAIL PROTECTED] Subject: Validation Mask help please I have the following field validation: mask ^[A-Za-z]\d{4}-\d{3

RE: [OT] Arraylists/Collections

2004-06-24 Thread Gaurav_Goyal
A possible way to do this could be to insert the collection into a temp table in the database and access that using the PL/SQL proc to do your processing. -Original Message- From: Bill Siggelkow [mailto:[EMAIL PROTECTED] Sent: Thursday, June 24, 2004 11:14 AM To: [EMAIL PROTECTED] Subject

RE: Validation Mask help please

2004-06-24 Thread Saul Q Yuan
Off the top of my head, you may need to escape the hyphen, ie. \- Saul > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 24, 2004 3:06 PM > To: [EMAIL PROTECTED] > Subject: Validation Mask help please > > > I have the following field val

RE : Struts, XDoclet, and Maven...

2004-06-24 Thread Heritier Arnaud
Did you try : maven -Dtemplate=struts-jstl genapp Arnaud > -Message d'origine- > De : Andy Akins [mailto:[EMAIL PROTECTED] > Envoyé : jeudi 24 juin 2004 14:51 > À : Struts Users Mailing List > Objet : Struts, XDoclet, and Maven... > > > I am trying to learn these technologies (and Hib

RE: Re[2]: StrursTestCase -- AbstractMethodError

2004-06-24 Thread Barett McGavock
Just trying to help by throwing out ideas here... Could there be a versioning problem with this class: servletunit.struts.StrutsRequestWrapper? Is there a call to StrutsRequestWrapper.getRequestURL() on line 35 of JForumRequestProcessor.java? (in your processPreprocess method) The server is sayi

Validation Mask help please

2004-06-24 Thread Mick . Knutson
I have the following field validation: mask ^[A-Za-z]\d{4}-\d{3}$ I want to have a MAC address like follows _OLNY_: "1 letter, followed by 4 digits, a hyphen, then 3 digits" A8345-123 Can someone help with this REGEX please: ^[A-Za-z]\d{4}-\d{3}$ --- > Thanks... > Mick Knutson > >

Re[2]: StrursTestCase -- AbstractMethodError

2004-06-24 Thread Pavlikus
BM> Did you call super() in your overridden method? Why? TilesRequestProcessor (my super) - have not overload processPerpropcess, and RequestProcessor.processPerpropcess simply returns true... But even when I call super first - exception was the same. >> -Original Message- >> From: Pav

RE: StrursTestCase -- AbstractMethodError

2004-06-24 Thread Barett McGavock
Did you call super() in your overridden method? B > -Original Message- > From: Pavlikus [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 24, 2004 11:20 AM > To: [EMAIL PROTECTED] > Subject: StrursTestCase -- AbstractMethodError > > > Hi all. > When I override the processPreprocess meth

StrursTestCase -- AbstractMethodError

2004-06-24 Thread Pavlikus
Hi all. When I override the processPreprocess method of RequestProcessor and my tests starts to fail. java.lang.AbstractMethodError: servletunit.struts.StrutsRequestWrapper.getRequestURL()Ljava/lang/StringBuffer; at jforum.utils.JForumRequestProcessor.processPreprocess(JForumRequestProcessor.jav

RE: R: R: R: Back Browser Button After Logout and Reload so that continue working

2004-06-24 Thread Geeta Ramani
uh oh.. you're spamming again..! > -Original Message- > From: Ricardo Andres Quintero [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 24, 2004 12:48 PM > To: Struts Users Mailing List > Subject: Re: R: R: R: Back Browser Button After Logout and Reload so > that continue working > > --

Re: R: R: R: Back Browser Button After Logout and Reload so that continue working

2004-06-24 Thread Ricardo Andres Quintero
I would prefer to use the security constraints to protect sensitive area. And in the logout action class, invalidate the user's session and then forward to /logout.html. In the logout.html page, you could add JavaScript statement on top of it: location.replace('/thank_you.html'); Once the thank_

Re: R: R: R: Back Browser Button After Logout and Reload so that continue working

2004-06-24 Thread Ricardo Andres Quintero
I would prefer to use the security constraints to protect sensitive area. And in the logout action class, invalidate the user's session and then forward to /logout.html. In the logout.html page, you could add JavaScript statement on top of it: location.replace('/thank_you.html'); Once the thank_

Re: Setting html:hidden property using JSTL

2004-06-24 Thread Rick Reumann
Tom McCobb wrote: I am having the same nagging problem in JBoss3.2.3/Tomcat4.1. ---this works just fine The last line always renders as '' both in the Form property and the request parameter. I checked versions, etc. as detailed earlier in this thread. I'm stumped. I'm using J

RE: include page + Resource bundle

2004-06-24 Thread Gaurav_Goyal
try doing it without a struts tag first... do request.setAttribute("header","global.commandinformation.title") in the calling jsp and String somestring = request.getAttribute("header"); in the CommandSaveIncludeHeader.jsp although if global.commandinformation.title is already defined in your Appl

Re: R: R: R: Back Browser Button After Logout and Reload so that continue working

2004-06-24 Thread Mark R. Diggory
Amleto Di Salle wrote: Behind the SecurityDelegate there is a DAO class which validate the user using a Oracle DB. I have tried to use the servlet security model, but my problem is that the authenticated user will have a custom menu depending to its roles. We do something similar, I have a navigat

RE: Setting html:hidden property using JSTL

2004-06-24 Thread Kris Schneider
Setup checklist - here's what should be in WEB-INF/lib: Struts 1.1: --- commons-beanutils.jar commons-collections.jar commons-digester.jar commons-fileupload.jar commons-lang.jar commons-logging.jar commons-validator.jar jakarta-oro.jar struts-el.jar struts.jar Standard 1.0.5: ---

Re: Arraylists/Collections

2004-06-24 Thread Bill Siggelkow
java.sql.Array? CRANFORD, CHRIS wrote: Is there a proper way to pass an arraylist/collection to a pl/sql procedure besides turning it into a string on the java-side and passing it then as a VARCHAR parameter? ___ Chris Cranford Programmer/Develope

Re: [OT] Arraylists/Collections

2004-06-24 Thread Kris Schneider
If by "proper", you mean "a standard approach that works for all JDBC-compliant drivers", I'm guessing you're out of luck. It will depend on your specific combination of driver and database. For example, to use an array as an IN param with Oracle I believe you have to use their ArrayDescriptor and

RE: Setting html:hidden property using JSTL

2004-06-24 Thread klute
Tom, I have the same setup: JBoss3.2.3/Tomcat4.1.29 James --- Tom McCobb <[EMAIL PROTECTED]> wrote: > I am having the same nagging problem in > JBoss3.2.3/Tomcat4.1. > > value="${DetailForm.detail.costs}" > varStatus="itemIdx" > > > ---this works > just fine > > > > The last

RE: Setting html:hidden property using JSTL

2004-06-24 Thread Robert Taylor
Assuming you are using the Struts-EL tag library: Try: robert > -Original Message- > From: Tom McCobb [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 24, 2004 12:05 PM > To: Struts Users Mailing List > Subject: RE: Setting html:hidden property using JSTL > > > I am having the same na

RE: Setting html:hidden property using JSTL

2004-06-24 Thread klute
David, I am using Tomcat 4.1.29 so those concerns are not applicable here Thanks, James --- "Karr, David" <[EMAIL PROTECTED]> wrote: > What container are you using? If this is Resin, > this has been known to > cause problems because of the fact that Resin has an > integrated version > of the JS

RE: Setting html:hidden property using JSTL

2004-06-24 Thread Tom McCobb
I am having the same nagging problem in JBoss3.2.3/Tomcat4.1. ---this works just fine The last line always renders as '' both in the Form property and the request parameter. I checked versions, etc. as detailed earlier in this thread. I'm stumped. Tom McC. -Original

Re: R: Re: R: R: Back Browser Button After Logout and Reload so that continue working

2004-06-24 Thread Ricardo Andres Quintero
o.k i made a mistake. On Thu, 24 Jun 2004 17:53:28 +0200, Amleto Di Salle wrote > Ricardo Andres Quintero we receive several copies of your e-mails! > > Please stop the spam... > > BR > /Amleto > > -Messaggio originale- > Da: Ricardo Andres Quintero [mailto:[EMAIL PROTECTED] > Invi

R: Re: R: R: Back Browser Button After Logout and Reload so that continue working

2004-06-24 Thread Amleto Di Salle
Ricardo Andres Quintero we receive several copies of your e-mails! Please stop the spam... BR /Amleto -Messaggio originale- Da: Ricardo Andres Quintero [mailto:[EMAIL PROTECTED] Inviato: giovedì 24 giugno 2004 16.50 A: [EMAIL PROTECTED] Oggetto: Fw: Re: R: R: Back Browser Button Af

R: R: R: Back Browser Button After Logout and Reload so that continue working

2004-06-24 Thread Amleto Di Salle
Behind the SecurityDelegate there is a DAO class which validate the user using a Oracle DB. I have tried to use the servlet security model, but my problem is that the authenticated user will have a custom menu depending to its roles. Furthermore the tables used in my application to validate the us

Fw: Re: R: R: Back Browser Button After Logout and Reload so that continue working

2004-06-24 Thread Ricardo Andres Quintero
thank u mark but i need some code please like Amleto Di Salle Wrote. -- Forwarded Message --- From: "Mark R. Diggory" <[EMAIL PROTECTED]> To: Struts Users Mailing List <[EMAIL PROTECTED]> Sent: Thu, 24 Jun 2004 11:36:22 -0400 Subject: Re: R: R: Back Browser Button After Logout and

Fw: Re: R: R: Back Browser Button After Logout and Reload so that continue working

2004-06-24 Thread Ricardo Andres Quintero
thank u mark but i need some code please like Amleto Di Salle Wrote. -- Forwarded Message --- From: "Mark R. Diggory" <[EMAIL PROTECTED]> To: Struts Users Mailing List <[EMAIL PROTECTED]> Sent: Thu, 24 Jun 2004 11:36:22 -0400 Subject: Re: R: R: Back Browser Button After Logout and

Fw: Re: R: Back Browser Button After Logout and Reload so that continue working

2004-06-24 Thread Ricardo Andres Quintero
Thanks but, i think the problem is a little bit more complex than that. Because when the user makes a reload in the page, a loginAction.do is sent, with the correct parameters, so that is normal a session doesn't exist like when a user logons for the first time. Here we are talking about secur

Arraylists/Collections

2004-06-24 Thread CRANFORD, CHRIS
Is there a proper way to pass an arraylist/collection to a pl/sql procedure besides turning it into a string on the java-side and passing it then as a VARCHAR parameter? ___ Chris Cranford Programmer/Developer SETECH Inc. & Companies 6302 Fairvie

Fw: Re: R: Back Browser Button After Logout and Reload so that continue working

2004-06-24 Thread Ricardo Andres Quintero
Thanks but, i think the problem is a little bit more complex than that. Because when the user makes a reload in the page, a loginAction.do is sent, with the correct parameters, so that is normal a session doesn't exist like when a user logons for the first time. Here we are talking about secur

Re: R: R: Back Browser Button After Logout and Reload so that continue working

2004-06-24 Thread Mark R. Diggory
Where do you store your user information for authentication? What is behind your SecurityDelegate object. Our current project uses Tomcat/Sruts, we use Form Authenticator and a JNDIRealm to authenticate our users which are configured in the server.xml, access to any webapplication resources is

Fw: Re: R: Back Browser Button After Logout and Reload so that continue working

2004-06-24 Thread Ricardo Andres Quintero
Thanks but, i think the problem is a little bit more complex than that. Because when the user makes a reload in the page, a loginAction.do is sent, with the correct parameters, so that is normal a session doesn't exist like when a user logons for the first time. Here we are talking about secur

Fw: Re: R: Back Browser Button After Logout and Reload so that continue working

2004-06-24 Thread Ricardo Andres Quintero
Thanks but, i think the problem is a little bit more complex than that. Because when the user makes a reload in the page, a loginAction.do is sent, with the correct parameters, so that is normal a session doesn't exist like when a user logons for the first time. Here we are talking about secur

R: R: Back Browser Button After Logout and Reload so that continue working

2004-06-24 Thread Amleto Di Salle
Hi, I have the following classes and it seems to work: 1) public class LoginAction extends Action { public ActionForward execute( ActionMapping actionMapping, ActionForm actionForm, HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse ) throws InvalidLoginException {

RE: R: Back Browser Button After Logout and Reload so that continue working

2004-06-24 Thread manoj JC
Along the same lines In the Login.do You should have something like HttpSession session = httpServletRequest.getSession( true ); if ( session != null ) { session.setAttribute("loggedin", true); } And in Logout.do You should have something like HttpSession session = httpServletRequest.getSession(

R: R: Back Browser Button After Logout and Reload so that continue working

2004-06-24 Thread Amleto Di Salle
You are right! :-) But if you don't use the jsp directly (i.e. the application URLs "points" always to an Action) and the Action "validate" the user you don't have to use the auto-session creation in the jsp pages. BR /Amleto -Messaggio originale- Da: [EMAIL PROTECTED] [mailto:[EMAIL P

Re: How to execute an initialization by using another servlet entry in web.xml

2004-06-24 Thread manoj JC
That sounds like a good method. I will try that. Thank you Nicolas. And thank you Geeta for your suggestion also. From: "Nicolas De Loof" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Subject: Re: How to execute an

RE: Setting html:hidden property using JSTL

2004-06-24 Thread Karr, David
What container are you using? If this is Resin, this has been known to cause problems because of the fact that Resin has an integrated version of the JSTL which doesn't work the same as the Jakarta one. If you're using Resin, make sure the integrated JSTL is not being used. > -Original Messa

Re: R: Back Browser Button After Logout and Reload so that continue working

2004-06-24 Thread DGraham
In addtion, you might want to disable auto-session creation on some/all of your pages:  http://javaalmanac.com/egs/javax.servlet.jsp/nosession.html?l=new Dennis "Amleto Di Salle" <[EMAIL PROTECTED]> 06/24/2004 10:53 AM Please respond to "Struts Users Mailing List" <[EMAIL PROTECTED]>

R: Back Browser Button After Logout and Reload so that continue working

2004-06-24 Thread Amleto Di Salle
Hi, one possible solution is to invalidate the session inside the "LogoffAction". HttpSession session = httpServletRequest.getSession( false ); if ( session != null ) { session.invalidate(); } If you have already done and the problem remains, maybe you are usin

Re: Back Browser Button After Logout and Reload so that continue working

2004-06-24 Thread Mark R. Diggory
Ricardo Andres Quintero wrote: Hello my friends Followed i attach a message i found in the internet. I have found some conceptual solutions about this problem, but i DO need an example that works to solve it. The conceptual solution talks about a token syncronizer. I don't know how to write it. Tha

RE: Setting html:hidden property using JSTL

2004-06-24 Thread klute
Robert, I am using servlet spec 2.3 and i did all the steps you mentioned. Thanks, James --- Robert Taylor <[EMAIL PROTECTED]> wrote: > I'm sorry, I've missed parts of this thread, but > this > last message caught my eye when you said it's > printing > ${contentId} to the screen instead of the

Re: How to execute an initialization by using another servlet entry in web.xml

2004-06-24 Thread Nicolas De Loof
You should put the configuration object into application scope (servletContext) so it can be accessed from any servlet / jsp of your app. You can put MyXMLParserServlet itself into servletcontext and access it from struts action by: MyXMLParserServlet conf = (MyXMLParserServlet) getServlet().g

RE: Setting html:hidden property using JSTL

2004-06-24 Thread Robert Taylor
Right. Thanks for the clarification, Kris. robert > -Original Message- > From: Kris Schneider [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 24, 2004 10:39 AM > To: Struts Users Mailing List > Subject: RE: Setting html:hidden property using JSTL > > > Small clarification that the Ser

Back Browser Button After Logout and Reload so that continue working

2004-06-24 Thread Ricardo Andres Quintero
Hello my friends Followed i attach a message i found in the internet. I have found some conceptual solutions about this problem, but i DO need an example that works to solve it. The conceptual solution talks about a token syncronizer. I don't know how to write it. Thank you in advanced. <%-- THE

RE: Setting html:hidden property using JSTL

2004-06-24 Thread Kris Schneider
Small clarification that the Servlet 2.4/JSP 2.0 specs don't include/require JSTL. Although a given container may include a JSTL implementation (like Resin, I believe), it's not a requirement. For example, Tomcat 5.0 does not include a JSTL implementation. For JSP 1.2, use JSTL 1.0. For JSP 2.0, us

RE: How to execute an initialization by using another servlet entry in web.xml

2004-06-24 Thread Geeta Ramani
Hi Manoj: Does your getElement() method depend on the individual request? If not you could declare it as a static method and then simply access it using MyXMLParserServlet.getElement(). Otherwise that method may need a request parameter in its signature or something else - depending on your nee

Re: JSP:include page + Resource bundle

2004-06-24 Thread Kris Schneider
Or do the lookup in CommandSaveIncludeHeader.jsp. Whatever.jsp: - CommandSaveIncludeHeader.jsp: - Quoting Bill Siggelkow <[EMAIL PROTECTED]>: > Perhaps this would work: > > > > > > > > > > Naresh Sharma wrote: > > > > > > > HI, >

RE: Setting html:hidden property using JSTL

2004-06-24 Thread Robert Taylor
I'm sorry, I've missed parts of this thread, but this last message caught my eye when you said it's printing ${contentId} to the screen instead of the value of contentId. Which servlet spec. does your container support? I've seen this type of behavior when the container supports Servlet Spec. 2.4

Re: How to execute an initialization by using another servlet entry in web.xml

2004-06-24 Thread manoj JC
Thank you for answering the first part of the question. What I am trying to do is, this MyXMLParserServlet(the new entry in web.xml) parses an XML file. From my main ActionServlet.process() , I want to do something like MyXMLParserServlet.getElement() . I won't be calling this method from the in

Re: JSP:include page + Resource bundle

2004-06-24 Thread Bill Siggelkow
Perhaps this would work: Naresh Sharma wrote: HI, Please suggest, I wish to pass ‘header’ parameter to CommandSaveIncludeHeader.jsp, the value inside ‘header’ parameter is actually a key in Resource bundle. See ex. I am not sure if any Struts tag is there for above sta

Re: Setting html:hidden property using JSTL

2004-06-24 Thread klute
Hello All, I *really* appreciate your help. Because of a hard-pressing work deadline, i actually gave up on getting that to work using JSTL and ended up using the ugly "/> instead. I'll definitely come back to JSTL at a later time since i consider that to be a proper way of doing this sort of t

Re: Contextual Validation

2004-06-24 Thread ksitron
I had the same problem. At the top of the inheritance hierarchy, I simply changed ActionForm to ValidatorForm. Non of the other code was broken or disturbed in anyway. Since ValidatorForm isA ActionForm. William Ferguson wrote: I would like to be able to specify for an Action the validation that

[OT] Have Great One!

2004-06-24 Thread Pilgrim, Peter
Hi I am subscribing from the user list for now. See you, maybe, in person for JavaOne 2004. -- Peter Pilgrim Operations/IT - Credit Suisse First Boston, 10 South Colonnade, London E14 4QJ, United Kingdom Tel: +44 (0)207 883 4447 http://www.jroller.com/page/peter_pilgrim

RE: How to use dynamically generated CSS style with Struts tags

2004-06-24 Thread Voinea, Marina
Thank you Guillermo, I'll look at that! -Original Message- From: Guillermo Meyer [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 23, 2004 11:35 AM To: 'Struts Users Mailing List' Subject: RE: How to use dynamically generated CSS style with Struts tags You could also use Xkins (http://xk

JSP:include page + Resource bundle

2004-06-24 Thread Naresh Sharma
Title: RE: Request object   HI,   Please suggest, I wish to pass ‘header’ parameter to CommandSaveIncludeHeader.jsp, the value inside ‘header’ parameter is actually a key in Resource bundle. See ex.     I am not sure if any Struts tag is there for above statement. But this s

Re: Tools for JSP

2004-06-24 Thread DGraham
NitoX from M7 looks really nice.  I'm saving my allowance to buy it. http://www.m7.com/other_professional.jsp Dennis "leonnewsgroup" <[EMAIL PROTECTED]> 06/23/2004 10:52 PM Please respond to "Struts Users Mailing List" <[EMAIL PROTECTED]> To "Struts Users Mailing List" <[EMAIL PRO

RE: JDBC connection

2004-06-24 Thread Geeta Ramani
Hi Xinhua: Here's a link explaining what you want to know: http://jakarta.apache.org/struts/faqs/database.html regards, Geeta > -Original Message- > From: Lin, Xinhua [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 24, 2004 9:05 AM > To: [EMAIL PROTECTED] > Subject: JDBC connection > >

Re: JDBC connection

2004-06-24 Thread Nicolas De Loof
database access should be done into DAO (Data Access Objects) with CRUD methods (CReate Update Delete), having beans as parameters and return values. Some call those beans 'domain model beans'. DAO should have a way to get a JDBC connection according to current transaction. You can pass a conne

  1   2   >