Re: http 405 error

2004-06-18 Thread Navjot Singh
web-console works fine and in thay if i see my WAR file. it shows no error to me. something fishy is goin on here that i am unable to find out. Peng Tuck Kwok wrote: That's strange, since it is complaining about the GET method. Does the jboss web-console work ? On Fri, 18 Jun 2004 19:08:13 +0530,

Re: help message resources

2004-06-18 Thread Niall Pemberton
Rather than modifying RequestUtils why not configure Struts to use your own MessageResources implementation: http://jakarta.apache.org/struts/userGuide/configuration.html 1) Extend PropertyMessageResources setting the returnNull property to 'true' in the constructor and overriding the getMessage(

Re: is there any book or tutorial for Struts+WSAD ?

2004-06-18 Thread Jonathan Roberts
Hi, There are lots of articles, tutorials & white papers on the IBM site. I've downloaded them previously, just do a search. If you dont have any luck then email me and I will publish the links to the groups. Some to get you going - old. 1 Using the Struts Framework with WebSphere Studio

Re: case insensitive action mapping ?

2004-06-18 Thread Niall Pemberton
Sorry talking rubbish here. "actions" in the RequestProcessor stores the instantiated Actions themseleve - the ActionMappings are stored in the ModuleConfig...so trying again An alternative to Navjot's suggestion might to be change the ModuleConfig to store the actions in a "case insensitive"

Re: case insensitive action mapping ?

2004-06-18 Thread Niall Pemberton
The only thing you missed out from saying is that they would then need to configure Struts to use their custom RequestProcessor and custom ActionConfig: http://jakarta.apache.org/struts/userGuide/configuration.html An alternative to Navjot's suggestion might to be change the RequestProcessor to s

Re: bean defines

2004-06-18 Thread Chris Cranford
And it may be important that I point out if I use: The value does get outputted. So it has to do with what Paul pointed out, but I dont know how to solve it. - Original Message - From: "Chris Cranford" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Frid

Re: bean defines

2004-06-18 Thread Chris Cranford
It is as if the c-taglib is seeing the bean as a "string" and not as an ActionForm. I can write: And the output is value in formid. What I'm trying to do is create a reference to an ActionForm in this JSP which has it's name passed in by this page's container as a tiles attribute. - Or

Re: Struts 1.0.2 Dynamic Forward

2004-06-18 Thread Rick Reumann
bmcgovern2004 wrote: I've successfully written a simple struts application. I have a jsp that presents a listbox for user selection. I have multiple action "flows" that may need to utilize the standard screen somewhere in the flow. Can you be a little more specific about what you want to accom

Re: bean defines

2004-06-18 Thread Chris Cranford
This is my class: public class PagedCheckboxForm extends ActionForm { private long pageNumber; public long getPageNumber() { return this.pageNumber; } public void setPageNumber(long value) { this.pageNumber = value; } } In the JSP <%=formBean%> The Page Number: [ServletException in

RE: Struts 1.0.2 Dynamic Forward

2004-06-18 Thread Geeta Ramani
Sure. Try it and you will see..:) Geeta > -Original Message- > From: bmcgovern2004 [mailto:[EMAIL PROTECTED] > Sent: Friday, June 18, 2004 3:32 PM > To: [EMAIL PROTECTED] > Subject: Re: Struts 1.0.2 Dynamic Forward > > > Geeta, >Thanks for the reply. If I create an ActionForward o

RE: bean defines

2004-06-18 Thread Slattery, Tim - BLS
> Ok, well if I do the following: > > > > The name of the form object is written out. But if I want to > access a property on my form cfb, how would I output that > value? If I write , I get > a servlet exception saying that it is unable to find > "pageNumber" in object of class "j

Re: Struts 1.0.2 Dynamic Forward

2004-06-18 Thread bmcgovern2004
Geeta, Thanks for the reply. If I create an ActionForward on the fly in my Action class, can I also create or acquire the corresponding ActionForm to prepopulate it before returning the ActionForward? --- In [EMAIL PROTECTED], "Geeta Ramani" <[EMAIL PROTECTED]> wrote: > ps.s just noticed yo

Any volunteers to get 'Struttin With Struts' more up to date?

2004-06-18 Thread Rick Reumann
I don't have the time now to really get "Struttin' With Struts" http://www.reumann.net/do/struts/main more up to date. If anyone wants to help getting it up to date with more mondern ways of doing things, I'd appreciate it. You can contact me at [EMAIL PROTECTED] Off-hand here are some things t

RE: Struts 1.1 / WebSphere 5.1 logging

2004-06-18 Thread Hibbs, David
Yeah. WAS 5.0 is not particularly friendly to commons-logging because it uses it internally. Hence, it wants to use its own configuration. There are work arounds (none good) of course... IBM's documentation: http://www-1.ibm.com/support/docview.wss?uid=swg27004610 David Hibbs, ACS Staff Progr

Re: bean defines

2004-06-18 Thread Chris Cranford
Ok, well if I do the following: The name of the form object is written out. But if I want to access a property on my form cfb, how would I output that value? If I write , I get a servlet exception saying that it is unable to find "pageNumber" in object of class "java.lang.String" Any

Re: Struts 1.1 / WebSphere 5.1 logging

2004-06-18 Thread amr
WebSphere 5 has some proprietry logging that interferes with the logging implementation you choose to use. Here is a link that should help you configure your app to use your log4j instead of WebSphere's own logging. We've been able get both option 2 and 3 working. http://www-1.ibm.com/suppor

Re: How To Get the 'initial' in the form-property?

2004-06-18 Thread Chris Cranford
If the servlet engine does not see any input at the appropriate scope for "sort" or "name", it will grab the values automatically for you from the form-bean initial attribute; otherwise the values on the incoming request (if in the right scope) will be used and the initial values disregarded.

How To Get the 'initial' in the form-property?

2004-06-18 Thread Caroline Jen
In my struts-config.xml, I provided some initial values: How do I get the initial value in my servlet that extends Action? I tried: form.get( "sort" ); form.get( "order" ); and form.getProperty( "sort" ); form.getProperty( "order" ); The compiler com

RE: Struts 1.0.2 Dynamic Forward

2004-06-18 Thread Geeta Ramani
ps.s just noticed your subject line: If you want to create an ActionForward on the fly in your CAtion class, that's ok too. Just create a new ActionForward, set its path and return that in your perform/execute method. Regards, Geeta > -Original Message- > From: bmcgovern2004 [mailto:[EM

RE: Struts 1.0.2 Dynamic Forward

2004-06-18 Thread Geeta Ramani
Hi bmcgovern2004: I'm not sure I entirely understand what you want to do, but here's one answer anyway: > In an action class, is it possible to switch gears, populate a new > form type with some acquired values, and forward to a different > action mapping that uses the new form? Yes. Nothing

RE: ActionError/ActionMessage

2004-06-18 Thread Joe Hertz
Nevermind again. It's exactly that: Tells it to display ActionMessages and not ActionErrors. Apparently the new validator returns ActionErrors. Hitting the Bugzilla. > -Original Message- > From: Joe Hertz [mailto:[EMAIL PROTECTED] > Sent: Friday, June 18, 2004 1:28 PM > To: 'Struts Use

RE: ActionError/ActionMessage

2004-06-18 Thread Joe Hertz
Figured out the behavior. It works if I do this- <-- Gets the non-validator generated messages --> <-- Gets validator generated messages --> Now can someone explain to me what the purpose of message="true" is (and yes, the parameter naming question was a huge brainfreez

is there any book or tutorial for Struts+WSAD ?

2004-06-18 Thread Masoud Kalali
hi people is there any book or tutorial which cover building struts application with WSAD? thank you - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[OT] Struts and Procedural Weight

2004-06-18 Thread Michael McGrady
The following improvement of a DTO could be considered "procedural weight": But, is it? clientMethod { PersonVO person = PersonDAO.getPersonById(666); OrderVO order = person.getOrder(); CostVO cost = order.getCost(); } clientMethod { Person person = PersonDAO.getPersonByIdIncludingOrde

Struts 1.0.2 Dynamic Forward

2004-06-18 Thread bmcgovern2004
I'm an newbie. I've made an honest attempt at finding an answer in the archives without success. Can some please help? I've successfully written a simple struts application. I have a jsp that presents a listbox for user selection. I have multiple action "flows" that may need to utilize the s

RE: Theoretical debate

2004-06-18 Thread Pilgrim, Peter
> -Original Message- > From: mike [mailto:[EMAIL PROTECTED] > Sent: 18 June 2004 15:31 > To: Struts Users Mailing List; [EMAIL PROTECTED] > Subject: Re: Theoretical debate > > > At 07:18 AM 6/18/2004, Bill Schneider wrote: > > >Form beans can be thought of as a special case of DTOs: the

Re: help message resources

2004-06-18 Thread Nick Heudecker
From a document I wrote some time ago: "Setting the null attribute to 'false' will display missing resource values as ???key??? instead of displaying null. This string is easily found during automated testing of your JSPs, making in-container unit testing more complete." Here's what you set to

help message resources

2004-06-18 Thread [EMAIL PROTECTED]
Hi, i 'm tring to change the message visualization (i don't want to show the user a message like '???foo???') when the key of the message is not present in my ApplicationResources files. how can i do ? The only solution i found is to modify the method message(pageContext, bundle, locale, key, args[

RE: case insensitive action mapping ?

2004-06-18 Thread [EMAIL PROTECTED]
You could double up the action mappings, one case sensitive, one not. Alternatively, you could just make all your action mappings lower case. Christopher Marsh-Bourdon Pyplia Limited Original Message To: Struts Users Mailing List <[EMAIL PROTECTED]> From: Albrecht Berger <[EMAIL PRO

RE: property has no getter method

2004-06-18 Thread Wendy Smoak
> From: Yu, John [mailto:[EMAIL PROTECTED] > Could you point me to the exact place this is documented? JavaBeans Specification: http://java.sun.com/products/javabeans/docs/spec.html If you stick to the naming conventions in there, you'll have no problems with Struts ActionForms, BeanUtils.copyPr

RE: bean defines

2004-06-18 Thread Paul McCulloch
will create a new local variable in the jsp. You can access this variable in a scriptlet or an RT expression. is looking for a scoped *attribute* (not a variable) with that name, so it will fail. If you look at the servlet source generated from your jsp source you should see what I'm talking abo

ActionError/ActionMessage

2004-06-18 Thread Joe Hertz
Using a 6/10 Nightly the I have a page with the following JSP snippet: This works fine with validator generated error messages. This works if in my Action I call the deprecated this.saveErrors(). If I call this.saveMessages() it does not. Same holds true for Has the identifier changed

bean defines

2004-06-18 Thread Chris Cranford
If I define a bean using bean:define from a named bean in the request/session scope, why when I use the JSTL C taglib, does it not see the properties of this bean? For example: UserName: UserName: The bean:write works but the c:out fails. Any clues? Chris

RE: property has no getter method

2004-06-18 Thread Yu, John
I agree with you on writing "safer" Javabeans, and yes, it works on JDK 1.4.1. > last one I read. You're not supposed to have multiple > setters with the > same name, or matching get/set methods with different types. Could you point me to the exact place this is documented? Thanks, John > ---

RE: Theoretical debate

2004-06-18 Thread Hubert Rabago
--- Frank Zammetti <[EMAIL PROTECTED]> wrote: > I know what your saying, it's the way I do things as well, doing very > little work in the Actions aside from tossing values around and calling > subordinate classes to do the real work. > > But doesn't that in a sense support the idea of an applicat

Re: Unit Testing with MockStrutsTestCase -- non-string request parameters

2004-06-18 Thread Nick Heudecker
George, I believe that you'll need to use Cactus. There were a number of threads on the sf.net forum about this and most were unanswered. You may want to email the STC developer about this. He's pretty responsive. George Steimer wrote: Nick, Thanks for the reply. I would like to try to imple

RE: property has no getter method

2004-06-18 Thread Wendy Smoak
> From: Yu, John [mailto:[EMAIL PROTECTED] > I ran into "Property has no getter method" > errors when running my application under JDK 1.3.1. > the last property on the chain has one > getter and two setter (e.g. getAge:Integer, setAge(int), > setAge(Integer)) Your bean does not conform to the

RE: property has no getter method

2004-06-18 Thread Yu, John
Thanks Nico. Does it happen consistently for you, or it's only on certain properties? - John > -Original Message- > From: Nicolas De Loof [mailto:[EMAIL PROTECTED] > Sent: Friday, June 18, 2004 11:01 AM > To: Struts Users Mailing List > Subject: Re: property has no getter method > > >

RE: Unit Testing with MockStrutsTestCase -- non-string request parameters

2004-06-18 Thread George Steimer
Nick, Thanks for the reply. I would like to try to implement this, but my client wants to keep everything in mock objects rather than use an in-container approach. Is there a way to test import using MockStrutsTestCase, or do you need to use Cactus? Thanks, George -Original Message- F

Re: Unit Testing with MockStrutsTestCase -- non-string request parameters

2004-06-18 Thread Nick Heudecker
Hi George: Maybe this will help: http://sourceforge.net/forum/message.php?msg_id=1812671 George Steimer wrote: Hi, Does anyone know if there is a way to put non-string objects into the request for a unit test using MockStrutsTestCase? My problem is that my dyna form uses a form file for an upload,

StrutsTestCase servlet api 2.4

2004-06-18 Thread Warner Onstine
Is there a way to get strutstestcase (mock) to work with the new 2.4 web.xml. Currently when we try this it bombs on the digesting of the web.xml file with this: Digester.error(1439) | Parse Error at line 6 column 104: Document root element "web-app", must match DOCTYPE root "null". org.xml.

Unit Testing with MockStrutsTestCase -- non-string request parameters

2004-06-18 Thread George Steimer
Hi, Does anyone know if there is a way to put non-string objects into the request for a unit test using MockStrutsTestCase? My problem is that my dyna form uses a form file for an upload, and the addRequestParameter methods on MockStrutsTestCase only accept String and String[] for values. And he

Re: http 405 error

2004-06-18 Thread Peng Tuck Kwok
That's strange, since it is complaining about the GET method. Does the jboss web-console work ? On Fri, 18 Jun 2004 19:08:13 +0530, Navjot Singh <[EMAIL PROTECTED]> wrote: > > hi peng, > > That's the problem. Nothing comes on to my jboss console. I couldn't see > anything happening here. > > E

Re: property has no getter method

2004-06-18 Thread Nicolas De Loof
I've had such troubles. I don't know if it comes from struts (common-beanutils) way to introspect object to discover accessor methods, or if javaBeans spec describes it so. I've notice you will get such errors when you define getter return type != setter param type or have multiple setters with

RE: ActionError(s) vs. ActionMessage(s)

2004-06-18 Thread Geeta Ramani
uh, oh, never mind. major duh moment.. The answer is right there in the first link: Finally, you can save an [ActionMessages] object under an arbitrary key and display it with the html:messages tag: ActionMessages am = new ActionMessages(); am.add( ActionMessages.GLOBAL_MESSAGE,

ActionError(s) vs. ActionMessage(s)

2004-06-18 Thread Geeta Ramani
Hi all: I have been looking into ActionErrors vs. ActionMessages and found the following two links: http://nagoya.apache.org/wiki/apachewiki.cgi?StrutsDeprecatedActionErrors and http://www.husted.com/struts/tips/017.html The first link suggests that ActionError will be deprecated starting 1.2

Struts 1.1 / WebSphere 5.1 logging

2004-06-18 Thread Pingili, Madhupal
I have a web application developed with Struts 1.1 running on WebSphere 4.0.4 successfully. Now, if I deploy the same app on WebSphere 5.1, there is no log file created. I am using commons-logging.properties: org.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4JLogger and log4j.pro

property has no getter method

2004-06-18 Thread Yu, John
Hi, I ran into "Property has no getter method" errors when running my application under JDK 1.3.1. Here's some background information: - Happens on . - I'm using nested property, and the last property on the chain has one getter and two setter (e.g. getAge:Integer, setAge(int), setAge(Integer))

RE: Theoretical debate

2004-06-18 Thread Frank Zammetti
On point 2, I'm not sure I agree with that. Thinking of one particular application I've recently completed, the business layer is quite losely-coupled from the Struts portion, and I can say that with absolutely certainty because in fact I converted it FROM another framework (a custom job) TO S

Re: Theoretical debate

2004-06-18 Thread mike
At 07:18 AM 6/18/2004, Bill Schneider wrote: Form beans can be thought of as a special case of DTOs: they are the argument the client (web browser) passes to the remote method call (HTTP POST). So passing form beans directly to business logic is _almost_ reasonable, putting the dependency issue

RE: Theoretical debate

2004-06-18 Thread mike
+1 A lot of this discussion seems like it involves uses that don't need the levels of abstraction a true enterprise site must have. At 07:19 AM 6/18/2004, [EMAIL PROTECTED] wrote: 1. This sounds like your test code (assuming you have some) is tightly coupled with Struts. You may or may not car

> Re: Theoretical debate

2004-06-18 Thread Bill Schneider
I ask because most of the Struts apps I've seen don't bother with the DTO's, they just pass the ActionForm to the subordinate classes, or else pass them as parameters. It seems that regardless of what literature is telling is we should do, in practice (GENERALLY), people don't bother with the

RE: Theoretical debate

2004-06-18 Thread DGraham
1. This sounds like your test code (assuming you have some) is tightly coupled with Struts.  You may or may not care. 2. Not using DTO/VO means that your business layer is tightly coupled with Struts.  This may or may not be a problem should you decide to use a different controller framework

RE: Theoretical debate

2004-06-18 Thread Daniel Perry
I agree with this. I tend to find myself passing parameters to business services rather than DTOs. I do it for simplicity. If i use an ActionForm then you either have to add things like getNumberAsInt as getNumber returns a string, or do the integer parsing in the action. You then have to retrie

RE: Theoretical debate

2004-06-18 Thread mike
At 06:42 AM 6/18/2004, Frank Zammetti wrote: You know, kind of off-topic, but you remind me of a conversation I had with someone at work here, maybe you guys would have some I ask because most of the Struts apps I've seen don't bother with the DTO's, they just pass the ActionForm to the subordin

RE: Theoretical debate

2004-06-18 Thread Hookom, Jacob
For me, it's more so the same argument for changes in EJB 3.0 -- which will just allow you to use POJO objects for persistence and transactions as provided by the framework itself. People argue that EJB is too complex and doing simple operations takes 6 classes when other frameworks like Hibernate

RE: Theoretical debate

2004-06-18 Thread mike
At 06:36 AM 6/18/2004, Frank Zammetti wrote: In that mindset, I can see some logic to saying something like Crysalis is on a better path because your simplifying things a bit by essentially removing a layer. I think we're all conditioned to think that ADDING layers of abstaction is a good thing

prepopulation of data

2004-06-18 Thread Shilpa Vaidya
Hi all, I have list.jsp which has an edit link. click of the link i pass the edit Id corrresponding to each row. I am using tag beans. like ---> and I am using the correct action classes and corresponding actionform classes. But somehow I am unable to c any prepoulate information in my edit.jsp

RE: Theoretical debate

2004-06-18 Thread mike
Not all websites have sophisticated needs. The multitiered website is unnecessary if you only have your photo and a story about you in the fifth grade. However, Actions are not "procedural weight" if you want to observe MVC principles for good reasons. The design principles of OO programming

RE: case insensitive action mapping ?

2004-06-18 Thread Geeta Ramani
Hi Berger: Take a look at org.apache.struts.action.RequestProcessor. I haven't used it myself, but I think something like processMapping(..) or processPath(..) should work.. Regards, Geeta > -Original Message- > From: Albrecht Berger [mailto:[EMAIL PROTECTED] > Sent: Friday, June 18, 20

RE: prob in database connectivity

2004-06-18 Thread Geeta Ramani
Anjali: Here are two links that you may find useful: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-howto.html http://www.mail-archive.com/[EMAIL PROTECTED]/msg06123.html Regards, Geeta > -Original Message- > From: gitanjali [mailto:[EMAIL PROTECTED] > Sent: Th

Re: http 405 error

2004-06-18 Thread Navjot Singh
thanks for your inputs BUT if struts could find the "path" then it doesn't show 405 error. rather, it throws exception with "can't find mapping" or something like that. may be someone can tell me how to enable the struts logging when run within jboss. that will be great help in itself. Without

RE: Displaying image data from the database

2004-06-18 Thread Siena, Christina \(.\)
Hi, I've tried: instead of: and the result is a JSP error "Body is supposed to be empty for html:img". Regards, Christina -Original Message- From: Siena, Christina (.) Sent: Friday, June 18, 2004 8:44 AM To: Struts Users Mailing List Subject: RE: Displaying image data from the

RE: Theoretical debate

2004-06-18 Thread Frank Zammetti
You know, kind of off-topic, but you remind me of a conversation I had with someone at work here, maybe you guys would have some input... I know what various patterns tell us we should do, but in practice... you guys of course have your ActionForms that transfer data from the view to the contro

RE: Theoretical debate

2004-06-18 Thread Frank Zammetti
I know what your saying, it's the way I do things as well, doing very little work in the Actions aside from tossing values around and calling subordinate classes to do the real work. But doesn't that in a sense support the idea of an application being services cobbled together? What I mean is

Re: http 405 error

2004-06-18 Thread Navjot Singh
hi peng, That's the problem. Nothing comes on to my jboss console. I couldn't see anything happening here. Even the jboss's error log shows nothing. However, access log does show a url was visited and the respose code returned in 405. navjot Peng Tuck Kwok wrote: Hi Navot, Is there lots

Re: http 405 error

2004-06-18 Thread Peng Tuck Kwok
Hi Navot, Is there lots of complaints comming out of the log file (JBoss console) ? Don't recall having such an error with struts tomcat + jboss combo. On Fri, 18 Jun 2004 18:50:35 +0530, Navjot Singh <[EMAIL PROTECTED]> wrote: > > hi, > > I have deployed my app on Jboss 3.2.3(with Tomcat

http 405 error

2004-06-18 Thread Navjot Singh
hi, I have deployed my app on Jboss 3.2.3(with Tomcat 4.1.29). Success. When i try to access http://localhost:8080/myapp/ShowReg.do It says HTTP 405 : The specified HTTP method is not allowed for the requested resource (HTTP method GET is not supported by this URL). No where in web.xml, i ahve de

Re: [OT] Soccer portal released goal.com

2004-06-18 Thread Simone-dev
well... saying how it works would take all the afternoon to write the email.. but basically there is an admin website where edtors write contents and the frontend website where user read the contents To prevent the webserver/DB server to crash under load, all main contents (homepage, top news an

Re: Theoretical debate

2004-06-18 Thread Bill Schneider
I describe this in more detail in the book, but my take on this is that Struts and JSF are focused on different parts of the application. They also overlap in some areas, however, which is probably the cause for this endless discussion. In particular, I've noticed that a simple "hello world" applic

RE: [OT] Soccer portal released goal.com /Friday - why no brazil

2004-06-18 Thread Marco Mistroni
Hey, Ok let's give Simone's some justifications. Let's say that he was too busy to setup Roberto Baggio's space in His website in time so that the freak Italian CT, looking at his Website, would have called him 4 the European cup...and he Did not have time to include O' Brasil :-) Cheers

Re: [OT] Soccer portal released goal.com

2004-06-18 Thread Simone-dev
yeah, it's a lot "heavy" to render the page on th screen... at least users will not notice when the page is slow becuase of too many access on the server :-) Anyway, I agree with you about the too many mouseover-mouseout it seems like a Xmas tree :-) but I'm just a server-side developer an

RE: Displaying image data from the database

2004-06-18 Thread Siena, Christina \(.\)
Hi, I'm not using Tomcat. I'm using IBM WebSphere Application Server, Release 4.0.6 but I'll try . Thanks, Christina -Original Message- From: Amleto Di Salle [mailto:[EMAIL PROTECTED] Sent: Friday, June 18, 2004 5:27 AM To: 'Struts Users Mailing List' Subject: R: Displaying image da

RE: [OT] Soccer portal released goal.com / Friday

2004-06-18 Thread Daniel H. F. e Silva
Hi Marco, Hehe.. reading your answers i got it! I guess you were in coma last 50 years. Thanks God you woke up! ;-) Cheers, Daniel Silva. --- Marco Mistroni <[EMAIL PROTECTED]> wrote: > Hi daniel, > Here r my answers :-) > > Question #1 >What team have won 5 times the World C

RE: [OT] Soccer portal released goal.com / Friday

2004-06-18 Thread Marco Mistroni
Hi daniel, Here r my answers :-) Question #1 What team have won 5 times the World Cup? a) Brazil b) Brazil c) Brazil d) Brazil e) I don't know, but i guess it is NOT Brazil e) Question #2 Who is the King of Soccer? a) Pelé b) George W. Bush c) Ariel Shar

RE: [OT] Soccer portal released goal.com / Friday

2004-06-18 Thread Daniel H. F. e Silva
Hi Marco, Today is Friday, so let's play a quiz. Question #1 What team have won 5 times the World Cup? a) Brazil b) Brazil c) Brazil d) Brazil e) I don't know, but i guess it is Brazil Question #2 Who is the King of Soccer? a) Pelé b) George W. Bush c) Ariel S

RE: Sharing session beetwen HTTP and HTTPS

2004-06-18 Thread David Friedman
SSLExt: http://sslext.sourceforge.net -Original Message- From: Jose Ramon Diaz [mailto:[EMAIL PROTECTED] Sent: Friday, June 18, 2004 2:33 AM To: 'Struts Users Mailing List' Subject: Sharing session beetwen HTTP and HTTPS Hi all, We are triying to switch application state from HT

RE: Theoretical debate

2004-06-18 Thread Pilgrim, Peter
> -Original Message- > From: Hookom, Jacob [mailto:[EMAIL PROTECTED] > Sent: 17 June 2004 20:58 > To: 'Struts Users Mailing List' > Subject: RE: Theoretical debate > > > I completely agree with what Crysalis is trying to push, also > a framework > called VRaptor (vraptor.org) also pushes

RE: [OT] Soccer portal released goal.com

2004-06-18 Thread Pilgrim, Peter
Hi Simone I tried your site last night on my new Dell Inspiron at home. It was rendering very slowly ("I mean ssslllooo"). I think Internet Explorer 6.0 SP 1 as delivered by DELL OEM has some current issues with it when you are using large BITMAP BLITTING operations. I think IE was

RE: problem with jsession id

2004-06-18 Thread Andrew Hill
Well for a start you should not use html:link for javascript links! (only for real links!) html:link's (primary) purpose is to ensure that the jsessionid is added to a href url if cookies are disabled (or on the first page). Obviously that functionality is hardly applicable for a javascript link wh

RE: problem with jsession id

2004-06-18 Thread Daniel Perry
There is no need for you to use a taglib to render a link! The easiest solution: Login > -Original Message- > From: Dhruv Trivedi [mailto:[EMAIL PROTECTED] > Sent: 18 June 2004 12:45 > To: Struts Users Mailing List > Subject: Re: problem with jsession id > > > Hi Niko and all other guys,

Re: problem with jsession id

2004-06-18 Thread Dhruv Trivedi
Hi Niko and all other guys, is there any way in struts to avoid this URL rewriting. Actually jsessionid is also appended with the link with which i am submitting the form. have a look on code: Original code is: Login But when i run application(first time): Login How can i get rid of this thi

RE: How to handle a table with an unknown number of rows

2004-06-18 Thread DGraham
The form could have many thousands of rows and my real problem was determining which cell had been edited.  I'm not sure if it's correct, but I solved this by doing the following: 1. Each editable textfield in the HTML form has a dynamically constructed name.  This field also has an "onChange" ha

RE: Integrating displaytag with struts

2004-06-18 Thread Matthias Wessendorf
Hari, i have an action.clazz that "loads" a collection and adds the coll to request under key "myCollection" after that it forwards to a jsp here is my *simple* jsp.file <%@ taglib uri="/WEB-INF/displaytag-12.tld" prefix="display" %> note, you are now albe (with requestURI) to stor

Re: problem with jsession id

2004-06-18 Thread Nicolas De Loof
On first request, a session is created. Tomcat (or any other servlet container) wan use two mecanism to handle sessions : cookies or URL rewriting (add a ";jsessionid=..."). Preference is for cookies, because it doesn't need to change URLs in pages, but on first request, Tomcat has no way to kn

RE: problem with jsession id

2004-06-18 Thread Daniel Perry
That would be jsp adding the session id. Not really a problem, so do you really need to get rid of it? I think it wont appear on further pages, becuase it will use a session cookie (if i understand correctly, the first time it adds that just in case session cookie doesn't work). You should be ab

problem with jsession id

2004-06-18 Thread Asim Ghosh
hello guys, when i open the login form of my struts application, for the very first time a jession id is appended with the value of action attribute example above value is shown in the source code of the displayed page. can any one tell me why it happens and how can i solve this probl

RE: Theoretical debate

2004-06-18 Thread Daniel Perry
I personally think struts is spot on. I think it does follow Java & OO principles, and many J2EE patterns. My struts apps generally consist of DAOs which handle simple methods, and some services which handle more complex operations. These interact with beans which are persisted using OJB. The a

RE: How to handle a table with an unknown number of rows

2004-06-18 Thread Ravi
Hello, U can try this.Most probably this will work. U can store the data in the Arraylist map this list to form level Arraylist. use logic:iterate tag to display data from the form Level ArrayList with id and property as the form level list. tell me whether @ runtime r u going to add any row

help change message when no key found

2004-06-18 Thread [EMAIL PROTECTED]
Hi, sorry if this may be a stupid questionbut i 'm tring to change the message visualization (i don't want to show the user a message like '???foo???') when the key of the message is not present in my ApplicationResources files. how can i do ? The only solution i found is to modify the meth

Re: case insensitive action mapping ?

2004-06-18 Thread Navjot Singh
i am not sure about any config that can help but all you need to is + override processPath method in RequestProcessor to check for case-insenstive path. + override ActionConfig class to keep path saved in lowercase/uppercase. list, am i missing anything? navjot Albrecht Berger wrote: Hello, at le

R: Displaying image data from the database

2004-06-18 Thread Amleto Di Salle
Hi, Which Tomcat version are you using? The problem seems to be a Tomcat problem with the body content and the Pooling of the Tag. Anyway in the Tomcat 5.0.25 this bug is solved. Try to do the following: In the tags, don't use the empty element tag (i.e. with / at the end of the tag) but use (

RE: prob in database connectivity

2004-06-18 Thread Rajat Pandit, Gurgaon
Hehehe!! Thanks!! No internet access at work :( -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED] Sent: Friday, June 18, 2004 2:27 PM To: Struts Users Mailing List Subject: RE: prob in database connectivity Actually I think this is the link you mean: http://www.catb.org/~esr

RE: prob in database connectivity

2004-06-18 Thread Andrew Hill
Actually I think this is the link you mean: http://www.catb.org/~esr/faqs/smart-questions.html -Original Message- From: Rajat Pandit, Gurgaon [mailto:[EMAIL PROTECTED] Sent: Friday, 18 June 2004 16:58 To: 'Struts Users Mailing List' Subject: RE: prob in database connectivity Hello Gitanj

RE: How to handle a table with an unknown number of rows

2004-06-18 Thread Rajat Pandit, Gurgaon
Not sure about the version issue, but you might want to look at indexed properties. Search for "miniHOW" in the archives and you might find one of the posts which deals with this. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, June 17, 2004 10:26 PM

RE: prob in database connectivity

2004-06-18 Thread Rajat Pandit, Gurgaon
Hello Gitanjali, Please ask a proper question, mention the database you are trying to connect to, also give the tag that you have used? Maybe then someone might be interested in providing you any kind of support. Read the article on asking smart questions on http://jakarta.apache.org Regards raj

RE: [OT] Soccer portal released goal.com

2004-06-18 Thread Michel Van Asten
Hi, I found this experience really interresting and I would like to know how you manage the flow of your application... Regards, Michel Van Asten -Message d'origine- De : Simone - Dev [mailto:[EMAIL PROTECTED] Envoye : jeudi 17 juin 2004 14:25 A : 'Struts Users Mailing List' Objet : [O

RE: [OT] Soccer portal released goal.com / Friday

2004-06-18 Thread Marco Mistroni
Hey, Maybe it's coz in Europe Brazil doesn't rock :-) (remember France 98?) But, I guess that site covers some European Ronaldo (Cristiano, from Portugal :-) Have a good Friday marco -Original Message- From: Daniel H. F. e Silva [mailto:[EMAIL PROTECTED] Sent: 17 June 2

case insensitive action mapping ?

2004-06-18 Thread Albrecht Berger
Hello, at least one search-engine that is crawling my sites is trying to access the controllers with a to lower case converted urls. For example the action "displayContent.do" is called "displaycontent.do", which couldn't be found by RequestProcessor. Is there any configuration that is able to ha

[OT]Struts vs C#/.NET

2004-06-18 Thread Simone-dev
Yesterday I wrote an email about my goal.com and the impessions I had about the differences between Struts and ASP.NET. Does anybody had the same experiences? What do you think about it? Simone - To unsubscribe, e-mail: [EMAIL PR

  1   2   >