Re: Must specify type attribute if name is specified error

2004-10-04 Thread brenmcguire
For the tag html:form, the attribute "name", "type" and "scope" have been removed from Struts 1.2, they were deprecated in 1.1. They have been used to override the action mapping in the struts-config.xml file between an action and its form-bean. The name of the element in the resulting HTML page w

Re: struts and oracle

2004-10-04 Thread DUNCAN . MILLS
Dante - you can just swap out the shipped 1.1 version of Struts with the 1.2.4 distribution - see the article http://www.oracle.com/technology/products/jdev/tips/mills/struts1_2_1.html The version numbers need updating but it should be the same with 1.2.4 Duncan Mills --- Original Message --

RE: How to validate the indexed properties using the vaildation framework ?

2004-10-04 Thread ravi.vedala
Hi, Can anybody please help on this issue. Regds Ravi -Original Message- From: Vasu Johnson [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 28, 2004 6:33 PM To: Struts Users Mailing List Subject: Re: How to validate the indexed properties using the vaildation framework ? Af

Must specify type attribute if name is specified error

2004-10-04 Thread Sebastian Ho
Hi I have the following exception : javax.servlet.ServletException: Must specify type attribute if name is specified when I insert a name parameter to my html:form as shown here. The reason for the name is for my javascript. Why is it throwing this exception? I can't even find 'type' in the

Re: mailreader sample question

2004-10-04 Thread Richard
Thanks Erik, I am already at that point now. the link from the web page points to http://localhost:8080/struts-mailreader/EditRegistration.do?action=Edit and at struts-config-registration.xml... it points to editregistrationaction.java. Now in editregistrationaction.java i dont

Re: mailreader sample question

2004-10-04 Thread Erik Weber
I should have stated that I was referring to Struts 1.1. Erik Erik Weber wrote: Look at the form action URL. Use that to look up the handlers for that form in struts-config.xml. Submittals to "/saveSubscription" are handled by org.apache.struts.webapp.example.SaveSubscriptionAction, while submit

Re: mailreader sample question

2004-10-04 Thread Erik Weber
Look at the form action URL. Use that to look up the handlers for that form in struts-config.xml. Submittals to "/saveSubscription" are handled by org.apache.struts.webapp.example.SaveSubscriptionAction, while submittals to "/editSubscription" are handled by org.apache.struts.webapp.example.Edi

Re: problem parsing validation-rules depends="" with jboss

2004-10-04 Thread Erik Weber
Zoinks, JBoss 3.2.4 (on unix) and 3.2.5 (on win 2000) have been able to parse the default validator-rules.xml (version 1.1, which has several 'depends=""') for me without any problems. However, I did run into some problems with parsing errors on hot redeploys, but never could discover a pattern

mailreader sample question

2004-10-04 Thread Richard
hello guys i am studying the mailreader sample that comes with the struts binary ed. I cant seem to figure out where ( what form actions ) the records are being retrieved when you edit your subscriptions. thank is advance. richard

RE: switch between module problem

2004-10-04 Thread David G. Friedman
Hari, I believe your web.xml mapping is incorrect. I think it should be: action *.do The modules should get figured out automatically. What matters is the struts ending (*.do). The various config, config/module1, config/module2, etc. should get figured out by the ONE ActionServle

Re: 1000 separator

2004-10-04 Thread Addy Kapur
You can use JSTL tag will format the number On Mon, 04 Oct 2004 15:00:17 +0900, Shinobu Kawai <[EMAIL PROTECTED]> wrote: > > Hi Shailender, > > > Does anybody knows how to create a 1000 separator for numbers using > > struts tag library. > > This should be similar to the one which can be don

Re: Display a list contained in value of a TreeMap

2004-10-04 Thread Rick Reumann
Phani wrote the following on 10/4/2004 10:00 PM: I got a TreeMap structure in my FormBean. Each key in the TreeMap has got an ArrayList as its value. Please let me know how to display the keys as well as the list of values for each key in the JSP page. TreeMap map; ArrayList items = (ArrayList)map.

Display a list contained in value of a TreeMap

2004-10-04 Thread Phani
Hi, I got a TreeMap structure in my FormBean. Each key in the TreeMap has got an ArrayList as its value. Please let me know how to display the keys as well as the list of values for each key in the JSP page. TreeMap map; ArrayList items = (ArrayList)map.get(key); The ArrayList "items" now cont

looking for sample code of importing data into a database

2004-10-04 Thread lixin chu
Hi, I am looking for sample code/plug-in that can import data into a database. Idealy it can support both CSV and XML format. I need to import user info from a legacy system into a new mySQL database. Wondering if there is a package available for user to import the data from browser. very much li

switch between module problem

2004-10-04 Thread Hari Saptoadi
hi all first i'd like to say sorry, if this already discussed before i have problem with divide struts app into separate modules , i want to put all jsp into different directory but not the action class and the form bean and i did some like this below myModule ---classes (all compiled cla

Re: back button

2004-10-04 Thread Ben
andy, have you had a look at the PRG pattern? You can see a working example and access its source code here: http://www.superinterface.com/projects/prgtoolkit.htm You can view the article here: http://www.theserverside.com/articles/content/RedirectAfterGet/article.html HTH Cheers, Ben On Mon

Re: Navigation framework

2004-10-04 Thread Kunal Parikh
Hi ! I can think of three ways to achieve this functionality: 1. HTTP Referer - you can get the referer from the Servlet API, but this will only work if the client has NOT turned off the feature. Some browsers and proxy-servers turn this functionality off by default. 2. sourceId in queryStrin

Re: tag

2004-10-04 Thread Yakov Belov
I presume it is the struts tag for the standard html : - Original Message - From: "Phani" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 05, 2004 10:36 AM Subject: tag Anyone has any idea about this tag: Please let me know. Thanks.

Re: tag

2004-10-04 Thread Niall Pemberton
The User Guide is always a good place to start... http://struts.apache.org/userGuide/struts-html.html#hidden Niall - Original Message - From: "Phani" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 05, 2004 1:36 AM Subject: tag > Anyone has any idea about this tag:

Navigation framework

2004-10-04 Thread Prasad, Kamakshya
Hi All, We have a web application built on struts. The issue we are having is implementing a solid navigation framework. All the screens are tightly coupled to each other. On click of back button it should always go to the screen which opened it and each screen is getting opened from lot other

tag

2004-10-04 Thread Phani
Anyone has any idea about this tag: Please let me know. Thanks. __ Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.com/new_mail ---

Re: Best load testing tool for Java applications

2004-10-04 Thread Craig McClanahan
You can run JMeter on the same machine as your server if you like, but it's pretty likely to influence your results due to the resource requirements of the test application itself. I wouldn't use any performance testing tool on the same machine, for that reason. Unit tests and system integration

Re: back button

2004-10-04 Thread Michael McGrady
Hi, Rick, Yes, I know why we use tokens. But, Jim had said that we use the Token to solve this gentleman's problem which was not true. This gentleman's problem is that he did not want the client to see the same data when he used the back button. The Token has nothing to do with that. Michae

Re: How To Upload Files from Clients' Machine?

2004-10-04 Thread Niall Pemberton
Rather than reply to you here, I've added a page to the wiki... http://wiki.apache.org/struts/StrutsFileUpload Niall - Original Message - From: "Caroline Jen" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, October 04, 2004 9:50 PM Subject: How To Upload Files from Clients

Re: Best load testing tool for Java applications

2004-10-04 Thread struts Dude
Pardon me if my question sounds stupid. Didn't JMetor require you to run load testing on a different machine from the server?? Or is it possible to run both testing and application on same machine? Thanks - Original Message - From: "Jesse Alexander (KXT)" <[EMAIL PROTECTED]> To: "Struts

Re: How To Upload Files from Clients' Machine?

2004-10-04 Thread Craig McClanahan
There's more to file upload than just getting the element right. As usual, Google has links to lots of useful information: http://www.google.com/search?q=struts+file+upload Craig On Mon, 4 Oct 2004 13:50:59 -0700 (PDT), Caroline Jen <[EMAIL PROTECTED]> wrote: > In my JSP I have this: > > cod

Re: input form

2004-10-04 Thread Wendy Smoak
From: "Anna Kerekes" <[EMAIL PROTECTED]> > I have a jsp (create.jsp), a form-bean (CreateMessageForm.java), > and an action (CreateMessageAction.java). > Currently, the user inputs their info into create.jsp, hits 'submit', > and the action gets the info from the form-bean > and does stuff with it.

Re: How To Upload Files from Clients' Machine?

2004-10-04 Thread Jay Miller
Make sure you've set the enctype attribute on your form tag to be "multipart/form-data" On Mon, 4 Oct 2004 13:50:59 -0700 (PDT), Caroline Jen <[EMAIL PROTECTED]> wrote: > In my JSP I have this: > > code: > --- > > > > --

problem parsing validation-rules depends="" with jboss

2004-10-04 Thread Rick Reumann
Any idea what I need to do to get JBoss3.2.5 to parse the default validation-rules that comes with Struts? For some reason it chokes on parsing or evaluating the depends="" sections. If I comment out those rules it can parse it fine. (Tomcat5 also parses it fine.) I'm guessing JBoss is using a

RE: Calling JSP directly.

2004-10-04 Thread Shabada, Gnaneshwer
Never mind. Got it. I used fields with those tags and it works, :) Thanks anyways guys. -Original Message- From: Shabada, Gnaneshwer [mailto:[EMAIL PROTECTED] Sent: Monday, October 04, 2004 5:37 PM To: 'Struts Users Mailing List' Subject: RE: Calling JSP directly. OK. I created an

RE: Calling JSP directly.

2004-10-04 Thread Shabada, Gnaneshwer
OK. I created an Action class (DisplayEmail) and called it instead of the ForwardAction class. In my action class I am setting the values in the ActionForm (EmailForm) and displaying the JSP. EmailForm has fromEmail, toEmail, subject and emailBody as the attributes. Works fine until here and gets

Re: back button

2004-10-04 Thread Rick Reumann
Michael McGrady wrote the following on 10/4/2004 4:30 PM: Jim, this is unrelated to the token mechanism. This happens client side. James Mitchell wrote: I think this must be a problem which occurs in many projects? Yes, you are correct. That's why we have the token mechanism. Michael, Jim is

Re: back button

2004-10-04 Thread Adam Hardy
One question I always meant to ask about the struts transaction token: why is it configured so that users who open multiple windows get prevented from submitting all but the last opened? I modified my action classes to overload the token technique with a method that stores any submitted tokens

Re: Tiles Defs put problem

2004-10-04 Thread Adam Hardy
Wylie, it's not obvious what you were trying to do with puts inside one tile that relate to another tile, but what you can try doing as a quick and dirty experiment is to put a in your parent tile (plus one for subloc). Inheritance in tiles is not as straight forward as you would think. The e

How To Upload Files from Clients' Machine?

2004-10-04 Thread Caroline Jen
In my JSP I have this: code: --- --- for visitors of the web page to browse their PCs' directories to select a file to upload (when the Submit button is clicked). The files can be .doc

RE: Calling JSP directly.

2004-10-04 Thread Shabada, Gnaneshwer
Thanks for your replies guys. I implemented the ForwardAction class as you suggested and it works. But I ran into another problem Like I said I am displaying the value from the request scope as below. <%=request.getParameter("email")%> This displays what I want. But can I set this to my Action

Re: back button

2004-10-04 Thread Michael McGrady
Jim, this is unrelated to the token mechanism. This happens client side. James Mitchell wrote: I think this must be a problem which occurs in many projects? Yes, you are correct. That's why we have the token mechanism. -- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, In

Re: alternatives ways of uploading files?

2004-10-04 Thread Michael McGrady
http://servlets.com/cos/ However, the commons implementation really rocks in my opinion. Woodchuck wrote: hihi all, when using Struts and ActionForms, are there other ways to upload files that does not depend on the commons-fileupload.jar or the org.apache.struts.upload.FormFile class? thanks in ad

Re: input form

2004-10-04 Thread Shyam Anand
Hello, Your CreateMessageAction class should extend DispatchAction class, and then you should be able to accomplish your requirement. See this link: http://struts.apache.org/api/org/apache/struts/actions/DispatchAction.html You can have different methods in your DispatchAction class like "get",

RE: input form

2004-10-04 Thread Durham David R Jr Contr 805 CSPTS/SCE
> Hello, > > I have a jsp (create.jsp), a form-bean (CreateMessageForm.java), and > an action (CreateMessageAction.java). > > Currently, the user inputs their info into create.jsp, hits 'submit', > and the action gets the info from the form-bean and does stuff with > it. Instead, I would like

RE: input form

2004-10-04 Thread Fogleson, Allen
Anna, What I would do is start with an action (lets call it PopulateCreateAction) that gets the collection from the DB, creates a new ActionForm and populates that action form with the collections. I would place that in the request scope and then do a standard action forward to the create.jsp. Y

input form

2004-10-04 Thread Anna Kerekes
Hello, I have a jsp (create.jsp), a form-bean (CreateMessageForm.java), and an action (CreateMessageAction.java). Currently, the user inputs their info into create.jsp, hits 'submit', and the action gets the info from the form-bean and does stuff with it. Instead, I would like to get some in

RE: struts and oracle

2004-10-04 Thread Dante Profeta
Good to hear this. Then I think you/they should update the "Installing Struts on Various Containers" section of "userGuide/installation.html" because it is misleading. Thank you very much -- Dante Profeta -Original Message- From: Durham David R Jr Contr 805 CSPTS/SCE [mailto:[E

RE: back button

2004-10-04 Thread Woodchuck
the back button is the bane of all web programmers! g!! --- "Amit Agarwal (amagarwa)" <[EMAIL PROTECTED]> wrote: > All these solutions would work but all of them have some catches. One > solution that should work fine is to set the "no-cache" > directive(meta tag) > in the html page so

alternatives ways of uploading files?

2004-10-04 Thread Woodchuck
hihi all, when using Struts and ActionForms, are there other ways to upload files that does not depend on the commons-fileupload.jar or the org.apache.struts.upload.FormFile class? thanks in advance, woodchuck __ Do you Yahoo!? Yahoo! Mail is new

RE: struts and oracle

2004-10-04 Thread Durham David R Jr Contr 805 CSPTS/SCE
> I was wondering why Oracle Application Server/JDeveloper is not > supported by Struts 1.2.4. Struts 1.2.4 works within Oracle A.S. as well as JDeveloper. - Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comm

struts and oracle

2004-10-04 Thread Dante Profeta
Hi all, I hope this is the right m.l. for this post. I was wondering why Oracle Application Server/JDeveloper is not supported by Struts 1.2.4. We are planning to use struts for a couple of year project and we are worried about struts future development strategies and containers integrati

Re: Calling JSP directly.

2004-10-04 Thread Frank W. Zammetti
You CAN call JSPs directly, but it's not generally thought of as a good idea. If you need to display a JSP and don't really need any functionality behind it, you can use a ForwardAction, which is a kind of Action specifically designed to just forward to a JSP. This keeps your control layer in

Re: Calling JSP directly.

2004-10-04 Thread Jeff Beal
You *can* call a JSP directly in this way, but it is not generally considered to be the best approach. It's better to always link to an Action class. Even if you use the Struts ForwardAction (http://struts.apache.org/api/org/apache/struts/actions/ForwardAction.html), which doesn't do anything

Calling JSP directly.

2004-10-04 Thread Shabada, Gnaneshwer
Hi, Was wondering if calling a JSP directly a good approach in struts or should I always go through Action/Action Mappings. I have a situation where I have a result list displayed in a table and each row has email icon which when clicked should display a JSP where one can enter email text and prev

RE: Dispatch Action and Validate - rephrased subject

2004-10-04 Thread Nadia Kunkov
I am using multiple methods off this action. I have add/edit/delete screens that all use the same action but different methods within the action. I grouped them together becase they just use the same form and same DTO and almost the same SQL stmts. So I'm not using DispatchAction just to clic

RE: back button

2004-10-04 Thread Amit Agarwal \(amagarwa\)
All these solutions would work but all of them have some catches. One solution that should work fine is to set the "no-cache" directive(meta tag) in the html page so that it expires after the first load. And every time user presses the back button, the browser would connect to server to reload the

Re: back button

2004-10-04 Thread James Mitchell
> I think this must be a problem which occurs in many projects? Yes, you are correct. That's why we have the token mechanism. -- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc. 678.910.8017 AIM: jmitchtx - Original Message - From: "andy wix" <[EMAIL PROTECTED]>

Re: Plugin problem upgrading 1.1 --> 1.2.4

2004-10-04 Thread James Mitchell
I just verified 1.1 and 1.2.4 plugin with a little test of my own. I know this doesn't help you get closer to a solution, but as Niall pointed out, you have other issues and we can't really help you with that without more details. (If you want, I will send you my test code) -- James Mitchell So

Re: back button

2004-10-04 Thread Frank W. Zammetti
You may want to try this on the page you don't want your users to be able to go back to: Standard disclaimer: I have not tried this, I'm just coming up with it off the top of my head... Even if it does work, I can't vouch for how cross-browser it is, and it will not help if they have scripting

Re: Plugin problem upgrading 1.1 --> 1.2.4

2004-10-04 Thread Niall Pemberton
Sorry, everything looks fine from what your've posted - can't think of anything else, except to say go through an double check your deployment. Niall - Original Message - From: "Gurjinder Bal" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, October 04, 2004 5:45 PM Subject: Re:

Re: back button

2004-10-04 Thread DGraham
http://www.theserverside.com/articles/article.tss?l=RedirectAfterGet "andy wix" <[EMAIL PROTECTED]> 10/04/2004 01:17 PM Please respond to "Struts Users Mailing List" <[EMAIL PROTECTED]> To [EMAIL PROTECTED] cc Subject Re: back button Hi, As usual I think I must be miss

Re: back button

2004-10-04 Thread Michael McGrady
Hi, Andy, Since you did not leave the answer you are responding to, it is hard to see what you are saying. However, assuming that you are responding to what I said, then you can disable the browser back button (get rid of it actually) and put in your own back button which WOULD NOT SHOW THE NAM

RE: Dispatch Action and Validate - rephrased subject

2004-10-04 Thread Durham David R Jr Contr 805 CSPTS/SCE
I've solved this problem a couple of different ways. 1) Turn off validation in the struts-config and handle it within your action method. Something like: ActionErrors errors = form.validate(mapping, request); if (errors != null && !errors.isEmpty()) { saveErrors(request, errors);

Re: back button

2004-10-04 Thread andy wix
Hi, As usual I think I must be missing something fundamental! It would be pretty serious to leave the back functionality - someone could delete a contact, then press back and see the name again. If they subsequently do another delete, there's trouble! I'm thinking this problem is not simply due

Re: Struts 1.1 iterate woes

2004-10-04 Thread Victor Grazi
That works, thanks. But does anyone have a Struts EL version? I prefer to go that route. Thanks Victor ___ Sent with SnapperMail www.snappermail.com .. Original Message ... On Sun, 3 Oct 2004 18:27:11 -0500 Hubert Rabago <[EMAIL PROTECTED]> wrote: >I have to admit I always have trouble dea

Re: Validate some forms and not the others. How?

2004-10-04 Thread Michael McGrady
Egg Zackly, Ricardo. Whay use an ActionForm here and why use DispatchAction. Looks to me like you just want something like ForwardAction. public ActionForward execute( ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse respons

Re: back button

2004-10-04 Thread Michael McGrady
Okay, Jeff. I missed that in the second bullet point. You really were asking how to keep the back button and not have these problems? I bet there is a solution to that problem too. I have not researched it however. Have you googled that issue? Here is something that showed up immediately.

Re: Plugin problem upgrading 1.1 --> 1.2.4

2004-10-04 Thread Gurjinder Bal
I don't think that there is anything goin wrong in between. The strange thing is that the init() method gets called but the debug on the properties shows null for both: public void init(ActionServlet parm1, ModuleConfig parm2) throws javax.servlet.ServletException { DigesterDriver dige

Re: Dispatch Action and Validate - rephrased subject

2004-10-04 Thread Michael McGrady
If you are talking about this one action, I am not sure why you would want to use DispatchAction. If you were planning in the future to maybe use multiple methods off this action, then DispatchAction or something like DispatchAction might make sense. As it is, it doesn't make sense. You are

Re: back button

2004-10-04 Thread Jeff Beal
Michael McGrady wrote: There are various ways to control client-side browsers. You can show a window with no back button, if you like. You can provide your won back button. Blah, blah, blah. There is not much you cannot do, if you want to do it. Michael McGrady I did make mention of some of

Re: Plugin problem upgrading 1.1 --> 1.2.4

2004-10-04 Thread Niall Pemberton
I am using both the standard tiles and validator plugins plus some custom Plugins of my own in Struts 1.2.4 and have had no problems at all with the upgrade from 1.1. Are you sure something else isn't going wrong first when you app starts up so that the PlugIn initialization isn't even being reach

RE: Validate some forms and not the others. How?

2004-10-04 Thread Nadia Kunkov
Thank you. I think that will work for me. I have one mapping and I'll just call validate from the action. Thanks again NK -Original Message- From: Niall Pemberton [mailto:[EMAIL PROTECTED] Sent: Monday, October 04, 2004 12:33 PM To: Struts Users Mailing List Subject: Re: Validate some f

Re: Coonection pooling

2004-10-04 Thread DGraham
On the face of it, I think that the return on this optmization effort will be miniscule.  However, you may have already optimized the other 99.9% of your application. Dennis "Prashanth.S" <[EMAIL PROTECTED]> 10/04/2004 12:17 PM Please respond to "Struts Users Mailing List" <[EMAIL PROTE

Dispatch Action and Validate - rephrased subject

2004-10-04 Thread Nadia Kunkov
I rephrased the subject of this posting. The old one was really wrong. Hi, I'm building an application using DispatchAction. I have several screens that use the same ActionForm and I set validate to "true" for this action form. The first page of my app is just a jsp with a single button ( I

Re: Validate some forms and not the others. How?

2004-10-04 Thread Ricardo Andres Quintero
I dont understand why u use an ActionForm where u dont collect data neither use the ActionForm to show data. ? On Mon, 4 Oct 2004 12:10:49 -0400, Nadia Kunkov wrote > Hi, > I'm building an application using DispatchAction. I have several > screens that use the same ActionForm and I set validat

Re: Validate some forms and not the others. How?

2004-10-04 Thread Niall Pemberton
Firstly, if you have separate "mappings" in your struts-config.xml (which use the same DispatchAction) why can't you set validate to "true" for some and "false" for others? Having said that, if you have just one mapping, you could set the validate="false" in the struts-config.xml and call the form

[OT] Re: Coonection pooling

2004-10-04 Thread Michael McGrady
Can you give a few more specifics? I am not sure what you are doing here and the context. On pooling HttpConnection, you might look at http://jigsaw.w3.org/Doc/Programmer/api/org/w3c/www/protocol/http/HttpManager.html . Are you intending to run this application within a webserver with Struts?

Plugin problem upgrading 1.1 --> 1.2.4

2004-10-04 Thread Gurjinder Bal
Hi, When upgrading from from 1.1 to 1.2.4 the plugin element in the struts-config seems to start malfunctioning in tha thte set-property ceases to function. The setters for the properties never get called. here is the plugin entry: here are the property namea in my config implement

Re: back button

2004-10-04 Thread Michael McGrady
There are various ways to control client-side browsers. You can show a window with no back button, if you like. You can provide your won back button. Blah, blah, blah. There is not much you cannot do, if you want to do it. Michael McGrady Jeff Beal wrote: andy wix wrote: Hi, Thanks, that ex

Re: Coonection pooling

2004-10-04 Thread Prashanth.S
Hi Mike, Thanks for the reply.Iam infact talking abiut pooling HTTPConnections.So as soon as the application starts up i will create some "n" number of connections.based on the traffic,i will increase or decrease the number of connections in the pool.The main advantage of this will be avoiding t

Validate some forms and not the others. How?

2004-10-04 Thread Nadia Kunkov
Hi, I'm building an application using DispatchAction. I have several screens that use the same ActionForm and I set validate to "true" for this action form. The first page of my app is just a jsp with a single button ( I have to start somewhere :) . When I click the button on this first page w

RE: How To Display Checkboxes in a Table with an Additional Select All Box?

2004-10-04 Thread Caroline Jen
Thanks for your prompt reply. Please help me a little further because I do not understand: "Analytical: you could always select them on the server side, in which case you'd already paint them on the right state." CJen --- "Freddy Villalba A." <[EMAIL PROTECTED]> wrote: > Hi, > > If I understo

Re: Coonection pooling

2004-10-04 Thread Michael McGrady
Pooling HTTP connections probably does not make sense. The class HttpURLConnection says as follows: public abstract class *HttpURLConnection* extends URLConnection A URLConnection with support for HTTP-specific fea

Re: back button

2004-10-04 Thread Jeff Beal
andy wix wrote: Hi, Thanks, that explains why I see the deleted name. Is there a standard way to overcome this - some way to override the back button's functionality? Regards, Andy _ It's fast, it's easy and it's free. Get MSN Mess

Repost: File upload but outside session

2004-10-04 Thread Ivan Vasquez
Our users need to upload a file as part of a form submission. We use struts-upload FormFile, but the application breaks when run in a tomcat cluster. Since the form is session-scoped, FormFile has to be serialized for sessions to be replicated but we get a NotSerializableException for org.apach

RE: Java edit method - design pattern? (O/T)

2004-10-04 Thread David Suarez
Not sure if I agree with your definition of exception or see how it conflicts. There are 2 java exception types, runtime and checked. These can be loosely translated as "unhandleable" and "handleable" (sort of)... Couldn't think of a better word right now... Anyway, in terms of a business functi

RE: How To Display Checkboxes in a Table with an Additional Select All Box?

2004-10-04 Thread Freddy Villalba A.
Hi, If I understood your question, I guess the most simple solution is JavaScript: name all your checkboxes in a certain way (say, for instance, use a prefix like "memberSelector_") and create a JavaScript function that toggles on / off the elements whose name begin with that prefix. I guess ther

Re: back button

2004-10-04 Thread andy wix
Hi, Thanks, that explains why I see the deleted name. Is there a standard way to overcome this - some way to override the back button's functionality? Regards, Andy _ It's fast, it's easy and it's free. Get MSN Messenger today! htt

How To Display Checkboxes in a Table with an Additional Select All Box?

2004-10-04 Thread Caroline Jen
I can create tables and I can also create check boxes. Now, I have to do a combination of check boxes and tables: I am reading membership data from a database table. I am going to display the information of each member in a table. The table has five columns. Four of those five columns are na

Re: Complex bean structure handling

2004-10-04 Thread Vic Cekvenich
public class OrderBean extends FormBean { get/setName ... get/setAdress ... } public class ItemListBean extends FormBean implements Collection { private OrderBean; getOrderBean() {return OrderBean;} get/setProductName ... getsetQt ... } then in form you can do a c tag to iterate the list of product

Re: back button

2004-10-04 Thread Jeff Beal
andy wix wrote: Hi, I have the following on the view page so I don't think I'm seeing the cached version of the page: response.setHeader("Cache-Control","no-cache"); // HTTP 1.1 response.setHeader("Pragma","no-cache"); // HTTP 1.0 response.setDateHeader ("Expires", -1); // Prevents caching at a p

Complex bean structure handling

2004-10-04 Thread Fred
Hi, I have a architecture problem, which happen often I suppose, the master detail management. I would like to manage a html form with some simple field and a list : id Name adress than a list of product id, name, qte id, name, qte Using simple field (non struts form), I get an array o

Re: back button

2004-10-04 Thread andy wix
Hi, I have the following on the view page so I don't think I'm seeing the cached version of the page: response.setHeader("Cache-Control","no-cache"); // HTTP 1.1 response.setHeader("Pragma","no-cache"); // HTTP 1.0 response.setDateHeader ("Expires", -1); // Prevents caching at a proxy server Al

Struts actionForm modification problem...

2004-10-04 Thread ymlaine
Hi, I'm using Struts 1.1 and I encounter a strange problem with actionForm instance. I'm new on this list and I 'll try to be clear... I have a JSP Form that point to a DispatchAction that forward the request to another Action Class according to his parameter. Among the 4 action classes I have a

Re: Q: Switching Modules

2004-10-04 Thread Jeff Beal
jean kon-sun-tack wrote: In my "companyList" screen I have a cancel button (/companyList/cancel.do). In moduleA-struts.xml, why can't I have something like : I want my page flow configured in my xml config files, not in my JSPs by doing : Is there another way to do that ? Thanks. Jean. http

RE: populate html:select

2004-10-04 Thread Anna Kerekes
Yes, I was using the old tag but now works like a charm... thanks :) From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Fri 01/10/2004 4:03 PM To: Struts Users Mailing List Subject: Re: populate html:select From: "Anna Kerekes" <[EMAIL PROTECTED]> > Just th

Re: back button

2004-10-04 Thread Erik Weber
This might be a dumb question, but are you sure that the browser isn't showing you a cached version of the page when you use the back button? Have you prevented caching in the HTML or by using timestamps on your request URLs? I guess it's hard to say without knowing more about the code. Does yo

Re: back button

2004-10-04 Thread andy wix
Hi, The delete action does delete it from the arraylist in the session (as well as the db). That's why I think it must somehow grab the old copy when doing a 'back'. Regards, Andy _ It's fast, it's easy and it's free. Get MSN Mess

Re: back button

2004-10-04 Thread Erik Weber
Shouldn't your "delete" encompass not only a database delete (which I assume is what you meant by "delete"), but also a delete from the cache (ArrayList)? Sorry if I don't understand. Erik andy wix wrote: Hi, Where my pages show a view of data, I have had to implement caching due to the amount

Re: Coonection pooling

2004-10-04 Thread James Mitchell
I agree with Paul, this is pretty much off topic, but then, most of us never follow the rules anyway ;) Prashanth, take a look over in commons: http://jakarta.apache.org/commons/pool/ -- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc. 678.910.8017 AIM: jmitchtx -

back button

2004-10-04 Thread andy wix
Hi, Where my pages show a view of data, I have had to implement caching due to the amount of data that needs to be gathered (i.e., I don't go to the database - I can get away with the dirty read risk in this case). A page might show: name group fredreddelete john blue

[OT]RE: Coonection pooling

2004-10-04 Thread Prashanth.S
Sorry...I have changed the subject to [OT].. Paul McCulloch <[EMAIL PROTECTED]> wrote:And your question is relevant on a Struts mailing list because ...? Paul > -Original Message- > From: Prashanth.S [mailto:[EMAIL PROTECTED] > Sent: Monday, October 04, 2004 11:28 AM > To: [EMAIL PR

RE: Coonection pooling

2004-10-04 Thread Paul McCulloch
And your question is relevant on a Struts mailing list because ...? Paul > -Original Message- > From: Prashanth.S [mailto:[EMAIL PROTECTED] > Sent: Monday, October 04, 2004 11:28 AM > To: [EMAIL PROTECTED] > Subject: Coonection pooling > > > Hi all, > Is there any design pattern that ca

Coonection pooling

2004-10-04 Thread Prashanth.S
Hi all, Is there any design pattern that can be followed in order to implement connection pooling.connection pooling doesnt mean only JDBC connections.Iam talking about general http connections to any external systems in order to send requests. Thanks in advance Prashanth

  1   2   >