Re: more than one formclass for a one jsp ?

2001-02-25 Thread Ted Husted
You might want to clarify what you mean by form class. Struts offers a base ActionForm class. This class is a JavaBean wrapper that works with the HTML Form tag to automagically populate the fields on your form. It also provides a built-in validation mechanism that works with the Struts Action

Has anyone implemented security and authentication in a Struts app?

2001-02-25 Thread Davina and Mac
Has anybody out there implemented a roles-based security system in a Struts application? If so, did you use an existing class library or write your own? It seems to me that relying on container providers for security schemes makes it almost impossible to write portable applications, and

Re: Has anyone implemented security and authentication in a Struts app?

2001-02-25 Thread David Geary
Davina and Mac wrote: Has anybody out there implemented a roles-based security system in a Struts application? If so, did you use an existing class library or write your own? It seems to me that relying on container providers for security schemes makes it almost impossible to write portable

Re: Has anyone implemented security and authentication in a Struts app?

2001-02-25 Thread Mihir Parekh
role based security is part of servlet 2.2 specs. So, if you are using servlet 2.2 container the application will remain portable. Mihir Davina and Mac wrote: Has anybody out there implemented a roles-based security system in a Struts application? If so, did you use an existing class library

Re: Struts in Websphere, missing resources attribute...

2001-02-25 Thread Ted Husted
Were the instructions here http://jakarta.apache.org/struts/installation-was.html any help? Wayland Chan wrote: Sorry, I should have mentioned that I'm using Struts 0.5 and WAS 3.5.2 __ Do You Yahoo!? Yahoo! Auctions - Buy the things

Re: Client-side validation (Old questions that die hard)

2001-02-25 Thread Ted Husted
An Internet month, perhaps ;-) I am using Dreamweaver UltraDev to work on HTML pages, but haven't customized it for Struts JSPs yet. It does look promising though. Tony Baity wrote: Ted, Since it has been a month or so since you were "hip deep" in Ultradev, can you provide a quick

RE: job scheduler with struts

2001-02-25 Thread malcolm davis
Will java.util.Timer work for you? It was added in v1.3 -Original Message- From: Mihir Parekh [mailto:[EMAIL PROTECTED]] Sent: Sunday, February 25, 2001 10:18 AM To: struts Subject: job scheduler with struts We need to implement a job scheduler (similar to unix cron job). Is

Re: Error invoking servlet

2001-02-25 Thread Ted Husted
There's a link to the patch for Bluestone here: http://jakarta.apache.org/struts/installation-ubs.html Ramakrishna VasiReddy wrote: Hi, I'm getting an error in the browser like this.I'm using bluestone application server 7.2.2(eval). I cann't figure it out where its happening.

html:text with value

2001-02-25 Thread Fickes, Vic
Hi, I am experiencing a problem with the html:text tag. If I don't specify a value attribute for the text tag, I get an exception saying, "runtime failure in custom tag form" with no other useful information. This goes away if I specify a value attribute. But then I can't set the contents of

Re: job scheduler with struts

2001-02-25 Thread Robert Leland
Turbine implements a job scheduler, I don't know if they implemented it themself or integrated it from another package. Perhaps this is also one utility that could go in the proposed code sharing library for Jakarta. -Rob Mihir Parekh wrote: We need to implement a job scheduler (similar to

Re: Has anyone implemented security and authentication in a Struts app?

2001-02-25 Thread David Geary
Mihir Parekh wrote: role based security is part of servlet 2.2 specs. That's true. So, if you are using servlet 2.2 container the application will remain portable. The servlet specification does not address how to specify users and roles; for example, Tomcat3.2 specifies them in

Re: logic-equal for locale

2001-02-25 Thread Craig R. McClanahan
Neal Kaiser wrote: When I do this: logic:equal parameter="locale" value="en" You are English locale /logic:equal This test is looking for a request parameter named "locale", so that it will only work if you include such a parameter (say, as a hidden input variable) in your input form.

Re: Help with the Iterate tag

2001-02-25 Thread Ned Seagoon
Hey Cameron, One thing your code is missing is a call to put the "impl" variable into a place the jsp can see it, like : request.setAttribute("loadImpl",impl); if you did just that, your jsp tag would look like: logic:iterate id="impl" name="loadImpl" The way you have your tag at the

Re: Help with the Iterate tag

2001-02-25 Thread Craig R. McClanahan
Cameron Ingram0 wrote: Hi all, I could use some help with the iterate tag. I am passing a Hashtable to the iterate class. I loaded my hash table withan integer object(incremented with every object I put in the table) and I create an anonymous object. Now I have checked and everything seems

Re: A Server-side Color Chooser, the Struts v. Barracuda Bake-off

2001-02-25 Thread Dan Connelly
The interesting thing aboutbuilding a StrutsColor Chooser app is that I am being forced to program the multiple update dependencies. Each ofmy Color Views (five of themat last count) will be an Observer of all of the others, on the server-side. This is not a problem in such a trivial case,

Re: Still need help with VAJ Struts

2001-02-25 Thread Tom Miller
Righto, Johan. I guess I just had my environment messed up. I'm back on track now, with a setup very similar to yours. I do think struts get's loaded with the system classloader. But why is that a bad thing in a development environment? I agree, I do not think it is a bad idea, as long as the

Volunteer for Validation Framework

2001-02-25 Thread David Winterfeldt
I'd like to volunteer to help on client and server side validation listed on the Struts 1.1 To Do list. I added some basic support for constants (global and on the Locale level). I also made the validations more configurable. You can define what class and method should do a type of

Struts Installation Problem

2001-02-25 Thread Wayne Ohm
I just installed Struts with Tomcat 3.2.1, but when I start Tomcat, I keep getting this java.lang.NoSuchMethodError and startup.bat exits. Can anyone help plez?? New org.apache.struts.action.ActionMapping Set org.apache.struts.action.ActionMapping

Re: Why is source code in the struts binary

2001-02-25 Thread Craig R. McClanahan
Robert Leland wrote: Hi, I have always wondered why struts source code is in the binary release ? Is this used as documentation ? -Rob Three primary reasons: * As a reminder that this is open source -- you don't have to rely on just the JAR files and documentation. * In case you have

:80 in URL of Links generated in example app

2001-02-25 Thread Rick Smith
I've been going over the example application and can't for the life of me find where the :80 is appended to the URL when going through Apache. When the starting URL is http://localhost/struts-example the page comes up with :80 added after localhost. When I click on a link with :80 in it I end up

message error after compiling other classes

2001-02-25 Thread Kan Leung, MK
Hi, During development, I always recompile my classes when the container is up and running. Newly compiled classes can be reloaded correctly. However, the browser always shows Message Tag errors if the page contain bean:message .../ tags. The classes which I re-compiled haven't use any

RE: job scheduler with struts

2001-02-25 Thread malcolm davis
I think Mihir was looking for generic code that would run on any platform and be incorporated into the struts framework. The NT scheduler (at) or Unix cron are both os specific solutions. Second, if wanted to call urls, you don't need perl, just use the URL connection in Java. -Original

forwarding to different web pages

2001-02-25 Thread Eric Wang
I am new to Struts and pardon me if this question had been answered previously. Currently I am working on a login module. How can I forward the user to different pages after they had successful login. for example, system administrator route to one page. Normal user route to another page. Error