Re: [OT] Tomcat MD5 Authentication

2004-08-30 Thread Paul Thomas
On 30/08/2004 22:34 Steven Leija wrote: I'm trying to configure Tomcat to use MD5 encryption for my JDBCRealm. Has anyone successfully gotten this to work? Thanks, Steven Yes. It works a trat for me. Your RDBMS will need to be able to support MD5 passwords of course. -- Paul Thomas +

Re: Is Tiles the right way to go?

2004-08-30 Thread PC Leung
Do you know where the trend will go? your sitemesh or tiles? On Tue, 31 Aug 2004 01:57:03 -0400, Rick Reumann <[EMAIL PROTECTED]> wrote: > > > PC Leung wrote: > > > I am trying to learn Tiles. > > Is Tiles the right way to go with Struts? > > Should I study other tool before sticking with Tile

Re: Is Tiles the right way to go?

2004-08-30 Thread Rick Reumann
PC Leung wrote: I am trying to learn Tiles. Is Tiles the right way to go with Struts? Should I study other tool before sticking with Tiles? Tiles is pretty cool, but I find Sitemesh actually easier to use (a lot less maintenance also once it's set up for an application). I have a quick tutorial a

Re: Is Tiles the right way to go?

2004-08-30 Thread Craig McClanahan
On Tue, 31 Aug 2004 11:58:15 +0800, PC Leung <[EMAIL PROTECTED]> wrote: > I am trying to learn Tiles. > Is Tiles the right way to go with Struts? > Should I study other tool before sticking with Tiles? > > thanks It is impossible to give you any useful help on this question without understanding

Is Tiles the right way to go?

2004-08-30 Thread PC Leung
I am trying to learn Tiles. Is Tiles the right way to go with Struts? Should I study other tool before sticking with Tiles? thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: SecurityFilter Question?

2004-08-30 Thread Jason Lea
struts Dude wrote: Thanks Jason. Problem solved. Wooohooo. Correct me if I am wrong, it looks like I am automatically log out after login if I do nothing after some time. How do I make session last for duration of browser life or till user log out explicitly? Yes, the user principal lives in the

Re: Struts 1.2.1 - Does it need JDK 1.4.x

2004-08-30 Thread Craig McClanahan
Struts 1.2.x does not require JDK 1.4. What's more likely is that you probably tried just swapping JAR files, instead of compiling your application against the new JARs before depoying. Craig On Mon, 30 Aug 2004 19:56:47 -0700, Venkat Maddipati <[EMAIL PROTECTED]> wrote: > I have recently upgrad

Re: SecurityFilter Question?

2004-08-30 Thread struts Dude
Thanks Jason. Problem solved. Wooohooo. Correct me if I am wrong, it looks like I am automatically log out after login if I do nothing after some time. How do I make session last for duration of browser life or till user log out explicitly? Also found out that I don't need a separate login form

Struts 1.2.1 - Does it need JDK 1.4.x

2004-08-30 Thread Venkat Maddipati
I have recently upgraded my web-app to Struts 1.2.1, from 1.1. When we are on Struts 1.1, it used to work fine with JDK1.3.1. But, now when we moved to Struts 1.2.1, I get the following exception, with JDK1.3.1, but works fine with JDK1.4.1 ( I have extended our RequestProcessor class from TilesReq

Re: Wrong ActionMessage formatting

2004-08-30 Thread Shinobu Kawai
Hi Sebastian, > I uses HTML tags like in my properties file. > > When bean:write prints out my messges, it displays in the browser. > > The HTML source turns out to be "
". > > I do not have this problem with ActionErrors. > > Am I missing anything? Check out the "filter" attribute in be

Wrong ActionMessage formatting

2004-08-30 Thread Sebastian Ho
Hi I am having problem with the output from ActionMessage. I uses HTML tags like in my properties file. When bean:write prints out my messges, it displays in the browser. The HTML source turns out to be "
". I do not have this problem with ActionErrors. Am I missing anything? This is ho

Re: Scaffold

2004-08-30 Thread struts Dude
ProcessAction, ProcessResultBase combo is handy but evilll as it is full of pitfalls and can cost u hrs of debugging. To save u time, here is the lessons i learned the hard way (no guarantee they r right) 1. Only ActionError can be added to ProcessResult.addMessage or else ClassCastException 2

Re: SecurityFilter Question?

2004-08-30 Thread Jason Lea
struts Dude wrote: You don't have to use a filter though, you could make a base action that does puts the bean into session and have all your actions sub-class that one. Using action to put bean in Session after SecurityFilter, how is that possible when after authentication by SecurityFilter,

Fwd: Re: [OT] Tomcat MD5 Authentication

2004-08-30 Thread klute
forgot to include the link: http://archives.real-time.com/pipermail/tomcat-users/2003-May/111028.html Note: forwarded message attached. __ Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. http://promotions.yahoo.com/new_mail--

Re: [OT] Tomcat MD5 Authentication

2004-08-30 Thread klute
have not done it myself but hopefully this thread is of some help.. James -- http://www.devbistro.com --- Steven Leija <[EMAIL PROTECTED]> wrote: > I'm trying to configure Tomcat to use MD5 encryption > for my JDBCRealm. > > Has anyone successfully gotten this to work? > > Thanks, > > St

Re: SecurityFilter Question?

2004-08-30 Thread struts Dude
- Original Message - From: "Jason Lea" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Monday, August 30, 2004 6:07 PM Subject: Re: SecurityFilter Question? > > > >Can't u do this using an Action? Say, accessing /admin/LogAction.do > >invokes SecurityFilter,

Action class not found when using error-page redirect from web.xml

2004-08-30 Thread Craig Dickson
I am attempting to set up an error handling framework for our application. I am aware that we could register an exception handler in the struts config, but we are attempting to achieve a similar result using the basic functionality provided by the web.xml file. We have the following declaration in

Re: struts webapp failure

2004-08-30 Thread Chuck Chopp
Jason King wrote: If you can't find the *.class file then likely its not compiling. Take one of your static pages and rename it from .html to .jsp and see what happens. I don't have any static HTML pages so far. All I have is 3 or 4 JSP files. The index.jsp file that I use as my welcome page

Re: FW: cannot compile resource bundle files...illegal character error:

2004-08-30 Thread Jason Lea
Not sure about using encoding="Unicode" on javac. However I have used unicode in my java source and resource bundles. I convert them to the standard java format using native2ascii then compile those files. There is an optional ant task for this: http://ant.apache.org/manual/OptionalTasks/nati

RE: validate in ActionForm not working for errors

2004-08-30 Thread Jim Barrows
> -Original Message- > From: Saurabh Bhatla [mailto:[EMAIL PROTECTED] > Sent: Monday, August 30, 2004 2:52 PM > To: Struts Users Mailing List > Subject: RE: validate in ActionForm not working for errors > > > hi Jim > i had tried index.jsp too but it didnt work. I also tried sending i

RE: validate in ActionForm not working for errors

2004-08-30 Thread Saurabh Bhatla
hi Jim i had tried index.jsp too but it didnt work. I also tried sending it back to another page but that didnt work either. what should i do, i m stuck regards saurabh On Mon, 2004-08-30 at 16:47, Jim Barrows wrote: > > -Original Message- > > From: Saurabh Bhatla [mailto:[EMAIL PR

RE: validate in ActionForm not working for errors

2004-08-30 Thread Jim Barrows
> -Original Message- > From: Saurabh Bhatla [mailto:[EMAIL PROTECTED] > Sent: Monday, August 30, 2004 2:41 PM > To: Struts Users Mailing List > Subject: RE: validate in ActionForm not working for errors > > > Hi jim > > here is the snippet from struts-config.xml > >

RE: validate in ActionForm not working for errors

2004-08-30 Thread Saurabh Bhatla
Hi jim here is the snippet from struts-config.xml and here is the snippet from LogonForm public ActionErrors validate(ActionMapping actionMapping, HttpServletRequest request) { ActionErrors errors = new ActionErrors(); if(getName().trim().equal

[OT] Tomcat MD5 Authentication

2004-08-30 Thread Steven Leija
I'm trying to configure Tomcat to use MD5 encryption for my JDBCRealm. Has anyone successfully gotten this to work? Thanks, Steven - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

tile: including one layout .jsp inside another?

2004-08-30 Thread bill curtis
hello!! I have been looking high and low for an answer to this problem. I am trying to define a layout, one component of which is another layout: main.jsp: tabs.jsp: When I forward to "list", main lo

RE: validate in ActionForm not working for errors

2004-08-30 Thread Jim Barrows
> -Original Message- > From: Saurabh Bhatla [mailto:[EMAIL PROTECTED] > Sent: Monday, August 30, 2004 2:29 PM > To: struts > Subject: validate in ActionForm not working for errors > > > hi all, > I have a simple form that takes username and passwd. for > that i have > a LogonForm b

validate in ActionForm not working for errors

2004-08-30 Thread Saurabh Bhatla
hi all, I have a simple form that takes username and passwd. for that i have a LogonForm bean, which has a validate method. if i enter both username and passwd it works fine and gets forwarded to the next page. but if there is an error in validate() and ActionErrors object is returned then my c

RE: Asunto: Re: [OT] Good luck Dream Team

2004-08-30 Thread Jim Barrows
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Monday, August 30, 2004 1:04 PM > To: [EMAIL PROTECTED] > Subject: Re: Asunto: Re: [OT] Good luck Dream Team > > > Hey guys, > > what about talking Struts? > > Canada = Struts! Not really.. struts is no

Re: Identifying the 'clicked' line when iterating over collection

2004-08-30 Thread Rick Reumann
[EMAIL PROTECTED] wrote: It sounds like you want to attach parameters to your link? How bout something like this: ... ... The above is nice, or I just use the JSTL url tag so for a row you might have (if using one dispatch Action called contactAction ) ... EDIT DELETE or if JSP 2.0 ED

Re: Asunto: Re: [OT] Good luck Dream Team

2004-08-30 Thread nl
Hey guys, what about talking Struts? Canada = Struts! --- Guillermo Meyer <[EMAIL PROTECTED]> wrote: > * Replies will be sent through Spamex to > [EMAIL PROTECTED] > * For additional info click -> > http://www.spamex.com/i/?v=4668416 > > I don't said that Ginobili is better than Jordan. In >

Re: struts webapp failure

2004-08-30 Thread Jason King
If you can't find the *.class file then likely its not compiling. Take one of your static pages and rename it from .html to .jsp and see what happens. Chuck Chopp wrote: I was able to find an automatically generated JSP file that seems to correspond to an action name. The action name is "logi

Re: struts webapp failure

2004-08-30 Thread Chuck Chopp
I was able to find an automatically generated JSP file that seems to correspond to an action name. The action name is "login", and the file in the work area is "login_jsp.java". There is no corresponding ".class" file for it so I'm sure that's it. My welcome page for the webapp is set to "in

RE: Identifying the 'clicked' line when iterating over collection

2004-08-30 Thread James Childers
Easy, cheezy. For your edit link: );">edit Then your JavaScript function: function edit(id) { document.forms[0].edit.value = id; document.forms[0].submit(); } That should be enough to get you started. Note that this is from memory, so try before you buy. -= J > -Original

Re: Identifying the 'clicked' line when iterating over collection

2004-08-30 Thread benanderson
It sounds like you want to attach parameters to your link? How bout something like this: ... ... Quoting andy wix <[EMAIL PROTECTED]>: > Hi, > In my jsp page I have an ArrayList of contact objects and I use this to > build an html table; one contact per row. At the end of each table row I >

RE: Identifying the 'clicked' line when iterating over collection

2004-08-30 Thread Jim Barrows
> -Original Message- > From: andy wix [mailto:[EMAIL PROTECTED] > Sent: Monday, August 30, 2004 1:04 PM > To: [EMAIL PROTECTED] > Subject: Identifying the 'clicked' line when iterating over collection > > > Hi, > In my jsp page I have an ArrayList of contact objects and I > use this to

Identifying the 'clicked' line when iterating over collection

2004-08-30 Thread andy wix
Hi, In my jsp page I have an ArrayList of contact objects and I use this to build an html table; one contact per row. At the end of each table row I have edit and delete links such that the form looks roughly like: Name Number Fred1234edit delete Barney

Re: [OT] Good luck Dream Team

2004-08-30 Thread Domingo A. Rodriguez S.
(1) USA= http://www.athens2004.com/en/OlympicMedals/medals?noc=USA (18)Brasil= http://www.athens2004.com/en/OlympicMedals/medals?noc=BRA (34)Jamaica= http://www.athens2004.com/en/OlympicMedals/medals?noc=JAM (38)Argentina= http://www.athens2004.com/en/OlympicMedals/medals?noc=ARG Now it looks bet

absolute path(url) & action class

2004-08-30 Thread Siamack
Hello Everyone: I have an action class that calculates the absolute url dynamically. However, my execute method returns only context-relative url and it fails. I have tried a couple of way around the problem but I have failed. The followings are the logic I have used : public ActionForward execu

RE: in action mapping: working?

2004-08-30 Thread James Childers
Hi. For the record and the archives, it helps if your Ant script is actually copying struts-config.xml over to your deployment directory. The element does, in fact, work exactly as advertised. -= J > -Original Message- > From: James Childers [mailto:[EMAIL PROTECTED] > Sent: Monday, Au

Re: [OT] Good luck Dream Team

2004-08-30 Thread Henrique VIECILI
Actually we are focusing our efforts to Germany 2006 World Cup, where we can be World Champion for the SIXTH time... Brazil = Soccer and Carnival Argentina = Tango and, maybe, Junior Soccer England = Cricket or Rugby?? it worths for the laughs - Original Message - From: Lucas Gonza

FW: cannot compile resource bundle files...illegal character error:

2004-08-30 Thread Shilpa Nalgonda
I am not able to compile resource bundle classes, which are .java files that require unicode settings. I am using ant scrpit to compile the files. my ant scrpit look slike this: I am using jdk1.4 and ant 1.4 to comp

RE: Design patterns used in Struts

2004-08-30 Thread Matthias Wessendorf
> 1. Implementation of the MVC2 Paradigma. > 2. Front Controller > 3. View Dispatcher > 4. Service To Worker. > 5. Not complete: Inversion of Control > > I think thats all ;-)) yes, think so too. but Antony, if you use Tiles, then you have "CompositeView"-Pattern too. look at: http://www.corej2e

Re: Design patterns used in Struts

2004-08-30 Thread Manfred Wolff
Antony. 1. Implementation of the MVC2 Paradigma. 2. Front Controller 3. View Dispatcher 4. Service To Worker. 5. Not complete: Inversion of Control I think thats all ;-)) Manfred Antony Paul wrote: Hi all, Can anyone tell me what are the design patterns used in Struts framework. rgds Antony Paul

Re: Design patterns used in Struts

2004-08-30 Thread hutuworm
Isn't it an implementation of MVC? On Mon, 30 Aug 2004 13:43:02 +0530, Antony Paul <[EMAIL PROTECTED]> wrote: > Hi all, > Can anyone tell me what are the design patterns used in Struts > framework. > > rgds > Antony Paul > > ---

Design patterns used in Struts

2004-08-30 Thread Antony Paul
Hi all, Can anyone tell me what are the design patterns used in Struts framework. rgds Antony Paul - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: JSTL Tag problem!!

2004-08-30 Thread Jason Lea
Sounds like you are using Tomcat 5, which allows EL expressions anywhere. eg instead of you can use ${title} It also means you don't need to use the html-el tags, just use the normal RamKumar wrote: Your works here, the problem is EL not being evaluated So I still recommend you