ActionForward bug and Struts 1.1-b2

2002-08-20 Thread Aymeric Alibert
Hi All, In my action class, when I create an ActionForward object using an absolute path, Struts does not forward to the proper page. The following code is working in Struts 1.1-b1: public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest req,

Re: validator plugin

2002-08-20 Thread Michael Delamere
Hi, unbelievable! I´ve just come back from a 4 day vacation and found an answer to my thread in the middle of over 260 new mails :-) ! Thanks for your reply. I will try it out later. Regards, Michael - Original Message - From: Van Riper, Mike [EMAIL PROTECTED] To: Struts Users

RE: ActionForward bug and Struts 1.1-b2

2002-08-20 Thread Galbreath, Mark
RedirectingActionForward redirect = new RedirectingActionForward(home.do); return redirect; ? Mark -Original Message- From: Aymeric Alibert [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 20, 2002 5:22 PM In my action class, when I create an ActionForward object using an absolute

Any idea why Weblogic throw this: java.lang.NoSuchMethodError .. On my ActionServlet?

2002-08-20 Thread Trieu, Danny
Aug 20, 2002 2:38:54 PM PDT Error HTTP 101018 [ServletContext(id=8303299,name=onlinebanking,context-path=/onlin ebanking)] Servlet failed with ServletException javax.servlet.ServletException: [ServletContext(id=8303299,name=onlinebanking,context-path=/onlinebanking)]: Servlet cla ss

RE: ActionForward bug and Struts 1.1-b2

2002-08-20 Thread Aymeric Alibert
Mark, In my case, I woud like to use the complete path to build the ActionForward. When a user access a part of the site that requires login, I first save the current page path in the session using something like: HomAction.java session.setAttribute(PAGE_MEMORY, + req.getRequestURL());

RE: Cookies in IE 4

2002-08-20 Thread Galbreath, Mark
I'm curious as to why you are using IE 4.x? Our recent deployment of the public ecommerce sites for VoiceStream/T-Mobile (using Struts) had an IE 4.x compatibility requirement and I refused to implement it. Are there really that many projects requiring compatibility with an obsolete browser?

RE: ActionForward bug and Struts 1.1-b2

2002-08-20 Thread Galbreath, Mark
Try this before redirecting: ForwardConfig forwardConfig = new ForwardConfig(); forwardConfig.setContextRelative( true); Mark -Original Message- From: Aymeric Alibert [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 20, 2002 5:40 PM Mark, In my case, I woud like to use the complete

RE: ActionForward bug and Struts 1.1-b2

2002-08-20 Thread Galbreath, Mark
actually, contextRelative should probably be false in your case. -Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 20, 2002 6:10 PM To: 'Struts Users Mailing List' Subject: RE: ActionForward bug and Struts 1.1-b2 Try this before redirecting:

Re: Beating the REFRESH button.

2002-08-20 Thread ajTreece
I tried this on my web app using Struts v1.1b with tiles, but I get the following error: [20/Aug/2002:17:24:06] warning (25350): for host 129.147.152.87 trying to GET /sunsentinel/home.page, send-file reports: can't find /sunsentinel/home.page (File not found) Here is the struts-config.xml

RE: Log4JCategoryLog does not implement Log after upgrade to St ruts 1.1-b2

2002-08-20 Thread Anthony Martin
Yep, that's what it was. Thanks. -Original Message- From: Holman, Cal [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 20, 2002 2:09 AM To: Struts Users Mailing List Subject: RE: Log4JCategoryLog does not implement Log after upgrade to St ruts 1.1-b2 Check the archives and the struts

Re: Servlet RequestDispatcher and browser URL refresh

2002-08-20 Thread Chris Wall
This is a greater issue then not. Servlet to servlet forwards are not recognized in the browser's address indicator. Not only is it confusing to the user, but a nightmare to program for. Most notable pain is that if the browser is refeshed/reloaded, the reload is not of the current view but of

Losing my sanity: 1.1b Validator problems

2002-08-20 Thread Andrew Shirk
I upgraded to Struts 1.1b last week (and to Tomcat 4.1.9 - which is great great stuff) and everything seemed to go fine. However, today, I was demonstrating my app to a friend when I noticed Validator validations were not being performed. I checked the logs and the validation configuration

RE: ActionForward bug and Struts 1.1-b2

2002-08-20 Thread Aymeric Alibert
Thanks Mark. I have it working by using : HomAction.java session.setAttribute(PAGE_MEMORY, req.getServletPath()); return mapping.findForward(logon); LogonAction.java if (lastPage != null) { session.removeAttribute(PAGE_MEMORY); RedirectingActionForward forwardConfig

RE: Why html:javascript failed?

2002-08-20 Thread Van Riper, Mike
I had this same symptom when trying to use client-side validation with deprecated form of plug-in specification for the Validator plug-in. If you are using separate property elements to specify multiple xml files for your validator plugin, you need to use a single set-property with plural

Re: Why html:javascript failed?

2002-08-20 Thread Rosdi bin Kasim
Thanks for sending word documents as attachment First of all, that message fits nicely in a text file, so you really dont need to send it in word format Second.. what makes you think everyone would be able to open that propietary formatted file?? Third, I am using 56K modem... guess how

Re: Problem with Proxy Pass

2002-08-20 Thread Adrian Brown
Hi Billy, This might not be optimal for you, but try altering the org.apache.struts.taglib.html.BaseTag to generate the altered server name, this is one way to get it to work. You might want to control it using a properties lookup of some sort. If you want more details, let me know. Adrian

RE: Cookies in IE 4

2002-08-20 Thread Andrew Hill
IE4. hehe I remember that one... Oh to be young again! -Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 21, 2002 01:52 To: 'A mailing list for discussion about Sun Microsystem's Java Servlet API Technology.' Cc: Struts (E-mail) Subject: RE:

RE: separating status messages and error messages-Getting the des ign right.

2002-08-20 Thread Andrew Hill
I rather view that as a positive reason to using it, but thats probably just cos Im a mean b*d ;-) Actually Id be far more inclined to write it as: err = (ae != null); I guess non programmers might have trouble with this, but to me it seems perfectly natural! ideological-rant subject=JSP is

newbie:way to avoid restarting tomcat

2002-08-20 Thread Lito Ang
Hi! I'm a struts newbie :) I find it very time-consuming to change my bean codes, recompile it and reload tomcat to test the changes... and go over the same process again and again. Does any of you have ideas on how to shorten this cycle? Or is there a way to avoid restarting tomcat

Struts Console as a Web Application

2002-08-20 Thread Jeff Caddel
Does anybody know of a web application with functionality similar to that of the Struts Console 2.1 James Holmes wrote? Basically a web interface for managing the various struts xml config files similar to the way the admin webapp manages the Tomcat server.xml file. TIA!!! -- To

Re: newbie:way to avoid restarting tomcat

2002-08-20 Thread John Yu
This may help: http://www.scioworks.net/devnews/strutsDistilled/topics/general.html#reload At 11:04 am 21-08-2002, you wrote: Hi! I'm a struts newbie :) I find it very time-consuming to change my bean codes, recompile it and reload tomcat to test the changes... and go over the same

Re: [ANN] Struts QA Distilled, Vol#1

2002-08-20 Thread Tiago Nodari
Thankx for the nice effort! At 02:54 PM 8/20/2002 +0800, you wrote: Struts QA Distilled is a catalogue of question-and-answers distilled from Struts mailing lists and other sources. The catalogue is organized in topics. New entries are added to the catalogue periodically in batches.

RE: newbie:way to avoid restarting tomcat

2002-08-20 Thread Lito Ang
Cool! This solves my problem perfectly since tomcat is on another machine. Thanks a lot! :) -Original Message- From: John Yu [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 21, 2002 3:51 PM To: Struts Users Mailing List Subject: Re: newbie:way to avoid restarting tomcat This may

Struts event cycle

2002-08-20 Thread vellosa
Hello everybody, I have a problem with the way in which one of my JSP pages is behaving and think that it is down to the way we have coded the Struts Form and Action classes. So I'm trying to sort out in my mind the sequence in which events happen when I submit a form. I think that it follows

RE: Struts Community is going crazy! :-))

2002-08-20 Thread Tiago Nodari
Me... I took a look at the current XML and the format is really easy to pick up, I was accuatly thinking the documentation was in DocBook Format... Drop me a message and lets divide the work :) At 11:59 PM 8/19/2002 -0600, you wrote: So who is officially chiming in to

<    1   2