Re: Design question about ActionForm's validate method

2002-02-08 Thread Jonathan Gibbons
Hi Ted, I was implementing this and noticed a problem in V1.0.1 1. Struts config is as below action path=/str/adminsessionview_srchpost type=com.db.eqpcs.mercstruts.struts.AdminSessionViewSrchAction name=adminsessionviewSrchForm

Poolman query

2002-02-08 Thread Jerome Josephraj
Hi, Sorry about this out of topic query. But looks like this is the only place where I can get some help on Poolman. I am struggling in setting up poolman to run in silverstream server. All I try to do is, set up a simple poolman configuration just to access a database

RE: redirect html:errors to popup window

2002-02-08 Thread Steve Earl
Well, A slightly different way that we've tried here (I've been scrapping with a similar issue for a few days now) was to set a 'Window-target' inside the header on the HttpResponse object when you're within your action class. Add the following code to your Action class once you've figured out

Struts scalability?

2002-02-08 Thread Kenneth Ljunggren
I got an assignment from my boss the other day to write some sentences regarding how well Struts is suited for systems with high scalability requiorements compare to if you would code a MVC solution yourself using model 2. I myself worked in a project were we implemented an own MVC Model 2

Re: Struts scalability?

2002-02-08 Thread Mark Woon
Kenneth Ljunggren wrote: Anyone that have used Struts in any systems that required very high scalability? See http://husted.com/struts/resources/performant.htm. Also search the mailing list archive, there was a thread a while back listing sites that were using Struts (subject was Things that

Re: ActionErrors

2002-02-08 Thread Keith Bacon
Hi Steve, For the ActionErrors collection, get() returns an iterator which will return ActionError objects, not sure but hopefully their toString() will give the message you want. yuk! Much better to use html:errors tag to display them! I see the 'errors' tag only gets the collection from the

RE: SSL + URL rewriting problem

2002-02-08 Thread Galbreath, Mark
Port 443 is the default Secure Sockets Layer port, so it is going to the URL you passed. Mark -Original Message- From: Nathan Anderson [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 07, 2002 7:00 PM To: [EMAIL PROTECTED] Subject: Re: SSL + URL rewriting problem I have a bit more

RE: ActionErrors

2002-02-08 Thread Steve Earl
Hi Keith, Ta for the response. The reason I'm having to put the ActionErrors object onto the session is because the site I'm developing is using frames. Basically, we have an input search window and a results window below it. The only way I've been able to make this work is by putting the search

Re: Are Vectors in a FormAction set to null after a user has submitted a form?

2002-02-08 Thread Keith Bacon
It will indeed be called. Ted posted advice on how to deal with this a few weeks ago - try to find it in the archives. Basically reset() needs to know which form was submitted so it can reset only the fields on it. Keith. --- Antony Stace [EMAIL PROTECTED] wrote: Hi Rick Thank you very

mycgiserver

2002-02-08 Thread Martin Farrell
Hi I dont know if anyone else out there uses mycgiserver.com, but i notice it runs struts - struts.jar 1.0 BETA 1 Jakarta Struts (The Apache Software Foundation) The problem is that i cannot see how to deploy a struts app on this framework because you cannot deploy a war file, and all servlets

RE: Redirect to a jsp page

2002-02-08 Thread Keith Bacon
Struts gives you an excellent implementation of the standard solution to this problem. Search archives for token. http://www.mail-archive.com/struts-user%40jakarta.apache.org/ http://www.mail-archive.com/struts-user@jakarta.apache.org/msg22452.html is a good explanation I found after a quick

Re: ActionErrors

2002-02-08 Thread Mark Woon
Steve Earl wrote: It's nearly working (isn't that always the way!!) - unfortunately I'm getting some null values coming out around the errors which I don't yet understand - see below: null * Please pick an arrival city you muppet * Please enter a fare * Please pick a departure city null

Weird garbage collection problem

2002-02-08 Thread Jim Downing
Hi, I'm trying to deploy a pretty simple struts app but I'm having problems with garbage collection. Usually the garbage collection runs in the order of 10ms, but every so often it takes 4.5 seconds. Obviously this is slowing my jsps down unnacceptably. My VM is running on Debian Woody and is

RE: ActionErrors

2002-02-08 Thread Keith Bacon
Thanks Steve, You've given another good reason not to use frames! I like your error messages! (calling user a muppet!). K. PS I tried to look up your companies web site (www.Infogain.co.uk) but no such server? (because I'm looking for struts work in the UK soon) --- Steve Earl [EMAIL PROTECTED]

[Off-topic]Transaction Management

2002-02-08 Thread João Paulo G. Batistella
Hi. I would like to know how do you manage transactions when you are using Tomcat JSP/Servlet engine?? Is there any free solution?? Thanks, JP -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Validation of a FormBean used in multiple pages

2002-02-08 Thread cool dude
Hi Guys, I'm a newbee to struts so I'm filled with questions (some of them are outrightly stupid at times :) ... herez one of the problems that I'm facing. The struts User Guide suggests that a form that spans across multiple pages should be submitted to the same form bean. This will lead

Upload Example Application - BeanUtils.populate exception

2002-02-08 Thread Gilles Hooghe
This question has certainly already been asked but I'm kind of new to this framework. My problem is that when I post my form from the upload.jsp page I get this exception. javax.servlet.ServletException: BeanUtils.populate at org.apache.struts.util.RequestUtils.populate(RequestUtils.java:774)

Need help to build/find a pager with struts

2002-02-08 Thread Dirk Storck
Can someone tell me where I can find or how I can build a pager with struts ? Thanks!! All Comments are welcome ! ___ Bitte beachten Sie

[Off Topic] Using Struts with WebSphere Studio ApplicationDeveloper 4.0

2002-02-08 Thread MARK NICHOLS
Hello, I am new to struts development (I've only been lurking in the list for 5 days) and I noticed some members seem to be using IBM products, or at least have familiarity with them. I realize that my questions about getting struts installed and working with WSAD 4.0 are not germane to the

actions and business logic

2002-02-08 Thread Mike Dewhirst
I wanted to clarify something. We are in the design stages of our project and have to make a decision what role do Actions play in the framework. We are using JRF for the database tier, and Struts for presentation one. I want to get a clear-cut answer to decide how much business logic (such as

RE: bean write tag's format

2002-02-08 Thread Knoll, Zach
I had the same problem as you. It seems they updated their online documentation on the bean tags for stuff in the new release. If you download a nightly build you should see the formatting functionality in the write tag. -Original Message- From: Louis Leung [mailto:[EMAIL PROTECTED]]

Having problems with bean-factory extension

2002-02-08 Thread Dirk Storck
Hi, I have downloaded the bean-factory of http://www.sura.com.ru/~gonza/bean-factory/ and copied the sample war to webapps. I have edited struts-config.xml, so it uses a database in mysql. If I click on Array and Parameter I get the following exception: Error: 500 Location:

Initializer servlet?

2002-02-08 Thread Mark Woon
Hello. I've seen a few posts about initializer servlets that basically does whatever setup/housekeeping work needs to be done for the application. How do you guarantee that this servlet will run before anything else? Is this something you can define within your servlet container? If so, does

Re: Antwort: How to go about??

2002-02-08 Thread christian_weiler
Sorry - I do not own a soft copy! anyway good luck, Chris. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: actions and business logic

2002-02-08 Thread Jay sissom
We also use JRF Struts. We try never to put any business logic in the action object. Action objects call boundary objects and the boundary objects call business logic controller objects. All business logic goes into the controller objects. As you can see, we build our applications based on

RE: Initializer servlet?

2002-02-08 Thread Brian Richards
The 2.3 Servlet API has Lifecyle Events. You just have to use the listener tag in your web.xml to specify a class that implements the ServletContextListener interface. There is an explanation at http://developer.java.sun.com/developer/technicalArticles/Servlets/servl etapi2.3/ under the

RE: bean write tag's format

2002-02-08 Thread Jay sissom
This has been very confusing for our users. The documentation on the web site doesn't match the released version. Would it be possible to have documentation for the release seperate from documentation for the nightly versions? It seems like it is going to be a very long time before 1.1

Re: Initializer servlet?

2002-02-08 Thread Jay sissom
In the web.xml file, you can give each servlet a loading order. Just make sure your initilizing servlet has a lower number than the struts action servlet. Jay On Fri, 8 Feb 2002, Mark Woon wrote: Hello. I've seen a few posts about initializer servlets that basically does whatever

RE: actions and business logic

2002-02-08 Thread Jerome Josephraj
Mike, It's better to keep all your business logic in a separate layer say Business Services layer which is independent of your action layer. This helps you in decoupling actions and business rules. Ideally checking for rules, permissions should go in Business services layer but

logic:equal tag problem

2002-02-08 Thread Philippe Hodapp / 1genia
I would like a parameter in the value of the equal tag. Is this possible : logic:equal name=categorieitem property=noCat value= i try value=%out.println(var)% but this don't work. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: actions and business logic

2002-02-08 Thread christian_weiler
Hi! In my opinion: The Action-objects should handle the workflow, second level validation, security, ... and so on. It makes things much more complicated when you mix up workflow with business logic. So usually I try to use a facade pattern (see design pattern book from gang of 4) for getting

bean:write .... filter =true and HTML question

2002-02-08 Thread Jeff_Mychasiw
Greetings: I apologize as this is not direct Struts question. Background: I am using Struts in our current Application. The time is not right for me to introduce the controller at this time but with any new changes I use as many of the logic tags and bean tags as I can.Just by using

RE: [Off Topic] Using Struts with WebSphere Studio Application Developer 4.0

2002-02-08 Thread ltorrence
I haven't actually done it but I remember seeing a post to the WSAD newsgroup saying that you had to use the struts source (not the jar files) to get it running in WSAD. -Original Message- From: MARK NICHOLS [mailto:[EMAIL PROTECTED]] Sent: Friday, February 08, 2002 9:08 AM To: [EMAIL

RE: [Off Topic] Using Struts with WebSphere Studio Application De veloper 4.0

2002-02-08 Thread Kevin . Melberger
Not true...all you need to do is put the struts.jar file in the web application's WEB-INF/lib directory. This will resolve the runtime reference. If you want to debug Struts, then you need to have a Struts project with the source code. The Struts.WAR should be added to the application's EAR.

Dynamic resources

2002-02-08 Thread Jim Crossley
Is it possible to dynamically set the resource.properties file? I'm thinking that would be a clever way to customize a user's look and feel. We have a portal application that, for example, displays different images depending on who's logged in. It would be nice if the JSP pages could always

Using JavaScript in the JSP Pages

2002-02-08 Thread Satish Jeejula
Hello All, I am using JavaScript to validate credit card number field in the JSP page. Using /html:form tag for the form in JSP page. The form is getting submitted even though the credit card is not validated. How I can prevent this from happening. Thanks, Satish -- To unsubscribe, e-mail:

Controller and security

2002-02-08 Thread Mike Dewhirst
We are trying to come with a good security model in conjunction with Struts. I was thinking of calling a business class method to check the user's permission for the requested mapping from within the Controller, but I'm sure custom-modifying source code of a generic frame work is not exactly

RE: Using JavaScript in the JSP Pages

2002-02-08 Thread Mattos, John
Satish, Are you just using garden variety client side JavaScript for validation, calling a method in the onSubmit of your form tag? If so.. return false; in your JS method will prevent the form from being submitted. An alternative you might consider is to check out the Struts Validator

Re: Controller and security

2002-02-08 Thread John M. Corro
If you're rolling your own security management, I'd speak favorably for using the proxy pattern. Take for example a simple user management areaCRUD operations on various users (get list of users, get user profile, add/edit/delete, etc). I used basically two classes to house the interactions

RE: Controller and security

2002-02-08 Thread David Larson
extend the controlling servlet, like... public class YourCustomServlet extends org.apache.struts.action.ActionServlet { ...then override those methods you desire to customize the response on. You'll need to update the Web.xml file to initialize your customized controller instead of the default

RE: Struts scalability?

2002-02-08 Thread Galbreath, Mark
Define high. Mark -Original Message- From: Kenneth Ljunggren [mailto:[EMAIL PROTECTED]] Sent: Friday, February 08, 2002 4:21 AM Anyone that have used Struts in any systems that required very high scalability? Br Kenneth Ljunggren -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]

WAS 3.5 Struts and Debugging

2002-02-08 Thread Patrick Logé
I've installed Struts on Websphere 3.5.4 (W2K). It works pretty well. I just wondered why I often have unhandled exception when trying some codes Example --- Error 500 ... com.ibm.servlet.engine.webapp.UncaughtServletException: Server caught unhandled exception from servlet [jsp11]: null

Re: SSL + URL rewriting problem

2002-02-08 Thread Max Cooper
Mark, Please tell Netscape's cookie subsystem! I know they are essentially the same, but Netscape doesn't view them that way and won't send cookies set by https://hostname to https://hostname:443 so it does turn out to be a problem anyway. It would be ideal if the web/app server would not mess

RE: Initializer servlet?

2002-02-08 Thread Galbreath, Mark
Specify it in the load-on-startup tag in web.xml (not sure about the exact tag syntax). Mark -Original Message- From: Mark Woon [mailto:[EMAIL PROTECTED]] Sent: Friday, February 08, 2002 9:21 AM I've seen a few posts about initializer servlets that basically does whatever

RE: [Off Topic] Using Struts with WebSphere Studio Application De veloper 4.0

2002-02-08 Thread Walter De Wit
There is a redbook from IBM describing this issue: Websphere 4 Application development Handbook url: http://publib-b.boulder.ibm.com/Redbooks.nsf/9445fa5b416f6e32852569ae006bb65 f/55c2a771edaeb36c88256a45005df84b?OpenDocumentHighlight=0,wasad chapter 12 From this page you can download the PDF

Re: actions and business logic

2002-02-08 Thread Keith Bacon
I agree. Is it worthwhile adding a facade layer if you only have 1 or 2 different user interfaces? I can see the value if a change to business logic requires dozens of GUI changes. Also if you are writing a UI for a part of a complex system it's a way of the owners of the system presenting you

Re: [Off-topic]Transaction Management

2002-02-08 Thread Keith Bacon
Use a database that manages transactions, store all data on it, then only the database is involved in transactions. The container is irrelevant. I'm not sure if you can get a 'proper' DB free. With J2EE you can store data in sessions, container managed storage multiple database servers etc

RE: Need help to build/find a pager with struts

2002-02-08 Thread Keith Bacon
Marks in his feisty friday mood! --- Galbreath, Mark [EMAIL PROTECTED] wrote: STFW Mark -Original Message- From: Dirk Storck [mailto:[EMAIL PROTECTED]] Sent: Friday, February 08, 2002 8:38 AM Can someone tell me where I can find or how I can build a pager with struts ? --

Antwort: RE: Controller and security

2002-02-08 Thread christian_weiler
The book 'JSP Professional' recommends to put the security stuff into processMapping()-method of the controller respectively ActionServlet (after inheriting). Wouldn't it be a good idea to integrate a kind of callback mechanism into the controller? So functions which make sense to do them at a

Re: [Off-topic]Transaction Management

2002-02-08 Thread Dan Moore
On Feb 8, Keith Bacon wrote: Use a database that manages transactions, store all data on it, then only the database is involved in transactions. The container is irrelevant. I'm not sure if you can get a 'proper' DB free. Open source dbs: Postgresql has transactions, foreign keys, etc:

RE: Need help to build/find a pager with struts

2002-02-08 Thread Galbreath, Mark
:-)~ Just got through reading http://www.tuxedo.org/~esr/faqs/smart-questions.html Mark -Original Message- From: Keith Bacon [mailto:[EMAIL PROTECTED]] Sent: Friday, February 08, 2002 11:55 AM Marks in his feisty friday mood! --- Galbreath, Mark [EMAIL PROTECTED] wrote: STFW Mark

Re: bean:write .... filter =true and HTML question

2002-02-08 Thread Keith Bacon
Not an answer Jeff, just another related issue which I've been postponing. When user types data into a html:textarea they can use new line chars. If I display it in a web page as free text the new lines are ignored. So I want to be able to optionally convert new lines to br / probably multiple

RE: Initializer servlet?

2002-02-08 Thread Thinh Doan
try: servlet servlet-nameInitialization/servlet-name servlet-classcom.yourcompany.InitializationServlet/servlet-class load-on-startup2/load-on-startup /servlet Thinh -Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Friday, February 08, 2002

RE: Initializer Servlet?

2002-02-08 Thread Mattos, John
Also, make sure the number in the load-on-startup2/load-on-startup tag is lower than the Action Servlet so it loads first... John Mattos Sr. Developer and Architect iNDEMAND 345 Hudson St. 16th Floor New York, New York 10014 -Original Message- From: Thinh Doan [mailto:[EMAIL PROTECTED]]

Re: Controller and security

2002-02-08 Thread Jin Bal
You could dispense with changing/extending the controller by creating an abstract action layer that defines a new abstract method such as performAction() which returns an actionforward obj like perform() . Your perform method in the abstract class then carries out the validaton if it is ok it

RE: [Off Topic] Using Struts with WebSphere Studio Application De veloper 4.0

2002-02-08 Thread Sanjay Choudhary
Hi, I have successfully installed and run couple of examples, including example from struts on WSAD 4.0. Tell me how may I help you. -Sanjay --- [EMAIL PROTECTED] wrote: I haven't actually done it but I remember seeing a post to the WSAD newsgroup saying that you had to use the struts

Re: bean:write .... filter =true and HTML question

2002-02-08 Thread Jeff_Mychasiw
Thanks for the reply, though you did get my hopes up for an elegant solution :-) With regard to your issue, we had a similar situation with the newline plus we had old data that used a pipe '|' to indicate a new line. so we put this ugly bit of code in a big hurry just before release. You

Re: Friday Mood

2002-02-08 Thread Pete Carapetyan
As much as I enjoy the levity, there are times when I feel a tiny bit abused with the more overtly social posts. Not that my delete key doesn't work, just that if one is seeking social encounter, the best place to do that may be in another forum. my2c. Galbreath, Mark wrote: I wish I could

Re: RE: Controller and security

2002-02-08 Thread Chuck Cavaness
I've seen this solution work very well. When you extend the ActionServlet, you can override the processPreprocess method to determine if the user has the neccessary permissions, if the user has a valid session, etc... long before ever getting to the Action class (If you're using the 1.1

Re: logic:equal tag problem

2002-02-08 Thread Keith Bacon
maybe try value=%= var% --- Philippe Hodapp / 1genia [EMAIL PROTECTED] wrote: I would like a parameter in the value of the equal tag. Is this possible : logic:equal name=categorieitem property=noCat value= i try value=%out.println(var)% but this don't work. -- To unsubscribe, e-mail:

Article about Struts and XSLT

2002-02-08 Thread Craig R. McClanahan
An interesting approach to using XSLT and XML to create the user interface for Struts based applications ... http://www.javaworld.com/javaworld/jw-02-2002/jw-0201-strutsxslt.html Ted, could you please add this to the resources page? Craig -- To unsubscribe, e-mail: mailto:[EMAIL

RE: Friday Mood

2002-02-08 Thread Galbreath, Mark
Only happens on Friday afternoons, Pete. Relax. Mark -Original Message- From: Pete Carapetyan [mailto:[EMAIL PROTECTED]] Sent: Friday, February 08, 2002 12:35 PM To: Struts Users Mailing List Subject: Re: Friday Mood As much as I enjoy the levity, there are times when I feel a tiny

Re: Friday Mood

2002-02-08 Thread Pete Carapetyan
That's OK, my delete key is ready. Just wouldn't be right for me to let it go third week without just a slight protest. But you are right, I should relax. Galbreath, Mark wrote: Only happens on Friday afternoons, Pete. Relax. Mark -Original Message- From: Pete Carapetyan

Struts application deployment problem

2002-02-08 Thread Stillwell, Christopher
We have successfully installed a Struts application in WebSphere 3.5.3 on an NT box, but when we try to deploy to one on a Unix box we get the following exception. The Jaxp 1.0.1 jaxp.jar and parser.jar are in the servlets directory, just as they were on NT. Now the other difference is that

RE: actions and business logic

2002-02-08 Thread Cheng, Sophia
Hi Mike, I saw one good example in Chapter8(Data Access Patterns) of Professional JSP Site Design. This example has very clear design on using action object, business logic object, data access object, and the entity object. You can download the code in

Question on Nesting iterate tags

2002-02-08 Thread SUPRIYA MISRA
How do you nest two iterate tags slogic:iterate id=actHour name=currentForm type= fal.ActivityHour property=actHourArray . slogic:iterate id=actHour1 name=currentForm type=fal.LocationHrs property=actHour.selected /slogic:iterate

unable to get property when text field is disabled

2002-02-08 Thread Cheng, Sophia
Hi there, I am trying to get some property value in my SaveEditAction object. I can get the correct property value from ActionForm when my text field is editable in editForm.jsp , like html:text property=departmentId size=3/ However, if I change it to be

RE: unable to get property when text field is disabled

2002-02-08 Thread Pedone, Tim
Disabled text fields are not posted to the server per the HTTP spec so Struts can't see it as a parmeter. You'll either have to use a hidden field or put the value in session scope. Tim -Original Message- From: Cheng, Sophia [mailto:[EMAIL PROTECTED]] Sent: Friday, February 08, 2002

Validator Servlet Exception

2002-02-08 Thread Robert D. Morse
I have a working development environment with: JBuilder 6 Enterprise Tomcat 4.0.1 Struts nightly Torque nightly I have now added the Struts Validator, and at startup under JBuilder 6, I get: javax.servlet.ServletException: Wrapper cannot find servlet class

Acton without a Form

2002-02-08 Thread Will Jaynes
Seems like I should know this, but I don't. I have an action that has no need of a form. How do I specify the action tag in the struts-config.xml file. If I leave out the name attribute I get errors. Thanks, Will -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands,

Re: bean write tag's format

2002-02-08 Thread Mark Woon
Jay sissom wrote: This has been very confusing for our users. The documentation on the web site doesn't match the released version. Would it be possible to have documentation for the release seperate from documentation for the nightly versions? It seems like it is going to be a very long

RE: Poolman query

2002-02-08 Thread Todd G. Nist
Hello Jerome, Here is how we use poolman to obtain a connection to the datasource. Hope this helps. Regards, Todd G. Nist // Code from www.husted.com scaffold project import java.sql.Connection; import java.sql.SQLException; import javax.sql.DataSource; import com.codestudio.sql.PoolMan;

Can nested beans be arrays in Struts1.0?

2002-02-08 Thread kothapallibc
Hi all, I'm a newbie to Struts. I'm trying with 1.0 release. My FormBean is follows... public class MonkeyForm extends ActionForm { private Monkey[] monkey = new Monkey[5]; public Monkey[] getMonkey() { return this.monkey; } public void setMonkey(Monkey monkey[])

Re: Using JavaScript in the JSP Pages

2002-02-08 Thread Mark Woon
Also check if you actually set validate=true in the appropriate action tag. Mattos, John wrote: Satish, Are you just using garden variety client side JavaScript for validation, calling a method in the onSubmit of your form tag? If so.. return false; in your JS method will prevent the

Re: Acton without a Form

2002-02-08 Thread Amir N. Nashat
what are the errors you are getting? i use actions with out forms all the time. displaying the errors would be helpful. [EMAIL PROTECTED] 12:01:39 PM 02/08/02 Seems like I should know this, but I don't. I have an action that has no need of a form. How do I specify the action tag in the

ActionServlet

2002-02-08 Thread Amir N. Nashat
Can anyone provide any detail as to the debug and detail fields for the ActionServlet class? Specifically, any values and what they represent would be helpful. TIA amir

Writing Complex Reports and PDF

2002-02-08 Thread Ted Husted
On the topic of interesting developments for a Friday afternoon, here's a neat new tool that I'm playing with now http://jasperreports.sourceforge.net/ It shares a number of technologies with Struts, including the Commons-Digester. Seems promising. -- Ted Husted, Husted dot Com, Fairport NY

Re: Acton without a Form

2002-02-08 Thread Ted Husted
Sadly, the tag does expect that there be some form, even if it's just an empty ActionForm with no properties. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Java Web Development with Struts. -- Tel +1 585 737-3463. -- Web http://www.husted.com/struts/ Will Jaynes wrote: Seems like I

Re: bean write tag's format

2002-02-08 Thread Jay sissom
I had 3 developers complain about the documentation not matching the 1.0.1 library! I guess they were clicking in the wrong place! Sorry for not checking my facts first. Have a good weekend Jay On Fri, 8 Feb 2002, Mark Woon wrote: Jay sissom wrote: This has been very confusing for our

Re: Acton without a Form

2002-02-08 Thread Louis Leung
Strange .. I have the follow in my struts-config.xml, and is working very well actionpath=/changeLocale type=i18nPrototype.ChangeLocaleAction forward name=continue path=/instructor/createInstructor.do/ /action Will Jaynes wrote: Seems like I should know

Re: Acton without a Form

2002-02-08 Thread Amir N. Nashat
louis, yep...i have something similar and it works fine. [EMAIL PROTECTED] 1:26:41 PM 02/08/02 Strange .. I have the follow in my struts-config.xml, and is working very well actionpath=/changeLocale type=i18nPrototype.ChangeLocaleAction forward

RE: Question on Nesting iterate tags

2002-02-08 Thread Aamir Saalam
I am *not* sure if i am addressing this question in specific. Here's an example of Nested logic:iterate tag's: % String[] array1 = {A1, A2, A3}; String[] array2 = {B1, B2, B3}; pageContext.setAttribute(Array1, array1, PageContext.PAGE_SCOPE); pageContext.setAttribute(Array2, array2,

Re: Acton without a Form

2002-02-08 Thread Mark Woon
Ditto. I have several action tags without a name. Docs doesn't specify that it's required (at least, as of v1.0.1). Amir N. Nashat wrote: louis, yep...i have something similar and it works fine. [EMAIL PROTECTED] 1:26:41 PM 02/08/02 Strange .. I have the follow in my

RE: Article about Struts and XSLT

2002-02-08 Thread Greg.Reddin
I thought this article was very good, and probably one of the best approaches I've seen to using XSLT with Struts. If I was in a situation where I had to use XSLT, I'd probably take an approach similar to this one. However, I found the authors' contention that this solution offers a

Re: Acton without a Form

2002-02-08 Thread Ted Husted
I believe the question is How do I use an action with the html:form tag when the mapping does not specify a form bean. The answer is, you can't; the next best thing being to declare an empty, utility ActionForm to use in this cicumstance. Where it comes up is when people want to use

Re: Article about Struts and XSLT

2002-02-08 Thread Ted Husted
[EMAIL PROTECTED] wrote: Again, I thought the authors did an excellent job at presenting a framework for using XSLT with Struts. But the article should not have presented this solution as being in competition with Struts/JSP, in my opinion. Yes, it is imporant to note that this is not an

Access key.

2002-02-08 Thread Rao, Sarveswara
Hi, I am new to struts programming. I am using strut Link tags in my jsp page. I want provide the access key to the links so that user can press ALt+Accesskey to select the Link and press the Enter key to execute the Link. It does not seem to work and Link tag does not show up the accesskey

Re: RE: SSL + URL rewriting problem

2002-02-08 Thread Nathan Anderson
The problem is not that it is speaking on port 443, but that it is using http not https. This is what I think is happening... 1. A request is sent from the client to https://hostname/appname/index.jsp; 2. Apache 1.3.22 recieves this request and verifies the users certificate and keys. 3.

what will happen if I have Data Types other than java.lang.String in my formbean - say java.util.date?

2002-02-08 Thread Kevin Wang
I have a formbean which include a field its type is java.util.Date, and I have two methods to get and set like these : Date getMyField() { return dateVar; } void setMyField(Date date ){ dateVar = date ;} Now I use html:text to display this field, it displays the

Re: html:messages Design issue: mixing data and presentation!!!!

2002-02-08 Thread JC
Ah, yes. Nice and smooth! I must really go through the newer tags properly. Did the same solution with my own tag, but it would be nicer to use this. Thanks! /Johannes --- Ted Husted [EMAIL PROTECTED] wrote: That was true with the html:errors tag, but not with the newer html:messages tag.

Re: html:messages Design issue: mixing data and presentation!!!!

2002-02-08 Thread JC
Well, see the example application regarding the use of html:errors/ but sse the include directive from the resource? That wouldn't be too nice either, would it? See Ted's reply to my question regarding the logic:messagesPresent tag. /Johannes --- Julius [EMAIL PROTECTED] wrote: Why do you

bug in struts?

2002-02-08 Thread Henrik Chua
Hi! I am having trouble configuring and using struts. I am using iPlanet 6.0 for my web server. under web applications - edit web applications. I set the URI to / only coz i want my web page to appear as http://domain/logon.jsp (if i place /abc on the URI, the page appears to be

Selectively calling the reset method in an ActionForm

2002-02-08 Thread Antony Stace
Hi I have a ActionForm which I want to use in session scope. I have a number of different Actions which use this form. However I do not always want to reset all the fields in the ActionForm, it depends on which Action has been called. What is the best design approach to selectively reseting

RE: IllegalStateException on

2002-02-08 Thread Jack Frosch
Did you ever get a response on this, or figure out what was causing it? I'm getting the same thing on a forward and I'm not sure what the cause is. Jack -Original Message- From: Mauro Mellino [mailto:[EMAIL PROTECTED]] Sent: Saturday, January 26, 2002 3:16 PM To: [EMAIL PROTECTED]

Re: Question on Nesting iterate tags

2002-02-08 Thread Arron Bates
This appears to be kind of confusing. What you have marked up will loop through the second array for each iteration of the first array. Is this what you're after?... It's kind of hard to see what it is that you're trying to achieve. Is the second array meant to be relative the the first or

Getting current page from the .jsp page

2002-02-08 Thread Alex Paransky
I have the following action define in my struts-config.xml: action path=/foo parameter=/foo.jsp type=org.apache.struts.actions.ForwardAction / From the browser, user can access /foo.do and the contents of the foo.jsp are displayed, however, when I try to get the URL information from

Re: Question on Nesting iterate tags

2002-02-08 Thread SUPRIYA MISRA
The first Collection is an ArrayList and not String Array. Sorry my mistake. I was able to solve the problem. From: Arron Bates [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: Question on Nesting iterate tags

Begin With ??

2002-02-08 Thread shiva prasad
Hi I am new to Struts. Would anybody tell me how to begin with? thanks shiva. __ Do You Yahoo!? Send FREE Valentine eCards with Yahoo! Greetings! http://greetings.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional

RE: Begin With ??

2002-02-08 Thread Alex Paransky
Read the doc. -AP_ http://www.alexparansky.com -Original Message- From: shiva prasad [mailto:[EMAIL PROTECTED]] Sent: Friday, February 08, 2002 8:59 PM To: Struts Users Mailing List Subject: Begin With ?? Hi I am new to Struts. Would anybody tell me how to begin with? thanks shiva.

RE: Getting current page from the .jsp page

2002-02-08 Thread Alex Paransky
Well, I decided to create my own action and extended from the org.apache.struts.actions.ForwardAction. In my own action, I stuff the request.getServletPath() into a different attribute in the request. Later, I am able to get this attribute to determine what was the original requested URL. It

  1   2   >