[OT] getRequestURL

2005-02-04 Thread Nicolas De Loof
Hi all, I'm having troubles using the request.getRequestURL() in JSP tags In tomcat (4.1) it returns the URL I've got in my browser, and getRequestURI returns the Layout JSP URI. It sounds correct according to ServletAPI javadoc for getRequestURL Reconstructs the URL the client used to make the

Re: [ANN] Free JSP Editor for Eclipse

2005-02-04 Thread Cedric Levieux
I follow what you give me and the order id / serial id is not valid I don't want to give up but the tool wants me to ... Cedric - Original Message - From: Carlos Chang [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Friday, February 04, 2005 1:43 AM

Using Tiles and Modules

2005-02-04 Thread Christian Hesse
Hi Everybody! I have the following constellation: I am using the Tiles with one tiles-defs.xml-File in a project containing different modules. It is up and running without any problems. At the moment I am inserting into any struts-myMod-config.xml-File the full plug-in-Tag for the module and

RE: [ANN] Free JSP Editor for Eclipse

2005-02-04 Thread e-denton Java Programmer
Hi, The Nitrox JSP Editor installed okay, but now it insists I convert my Tomcat Projects into Web Application Projects. That's a lot to give up to get a nice JSP editor. And, when my license expires, how would I convert the projects back into Tomcat projects--not in one easy step! How long is

RE: [ANN] Free JSP Editor for Eclipse

2005-02-04 Thread e-denton Java Programmer
Hi, The Nitrox JSP Editor installed okay, but now it insists I convert my Tomcat Projects into Web Application Projects. That's a lot to give up to get a nice JSP editor. And, when my license expires, how would I convert the projects back into Tomcat projects--not in one easy step! How long is

[testing] Please ignore

2005-02-04 Thread Robert Taylor
Testing. Please ignore. I'm having some problems posting messages from work. /robert - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: [ANN] Free JSP Editor for Eclipse

2005-02-04 Thread Pilgrim, Peter
-Original Message- From: e-denton Java Programmer [mailto:[EMAIL PROTECTED] ==///== Hi, The Nitrox JSP Editor installed okay, but now it insists I convert my Tomcat Projects into Web Application Projects. That's a lot to give up to get a nice JSP editor. And, when my license

Re: ActionError / ActionMessage

2005-02-04 Thread Joe Germuska
In short, ActionError is totally deprecated and should never be used. ActionMessage is the preferred replacement for it. ActionErrors (a collection of ActionMessage objects) has not been deprecated yet because it is part of the public API of the ActionForm class (it is the return value from

Re: Want to know abt patterns in Struts.

2005-02-04 Thread Joe Germuska
At 1:15 PM +0530 2/4/05, Akshay Pandit wrote: Hi to all, I would like to know how many j2ee patterns does struts framework make use of. As far as I know, no one sat down with the book and said let's use this one. I'll leave cataloging any which are in there as the result of good design

RE: [OT] getRequestURL

2005-02-04 Thread Martin Gainty
Nicolas Did you check out the getRequestURL() documentation from IBM http://www.developer.ibm.com/tech/faq/individual?oid=2:25030 HTH, Martin Gainty __ (mobile) 617-852-7822 From: Nicolas De Loof [EMAIL PROTECTED] Reply-To: Struts Users Mailing List

Re: [OT] getRequestURL

2005-02-04 Thread Nicolas De Loof
Thnaks for link, This doesn't tell me why tomcat getRequestURL() returns original URL and Websphere impl return current request URL (!= from original after a forward) I've used a turnaround by addind a filter that stores (orinigal) requestURL in request scope. Thanks for help. Martin Gainty a

RE: Help with logic tags, and commas please.

2005-02-04 Thread Martin Gainty
make sure ApplicationResources.properties are in /WEB_INF/classes write a qd jsp page to print request, session and Message Resource bundle values code courtesy of Dom Tay %   // Print all attributes in the request object   out.println(All Attributes in request scope:);   Enumeration paramNames

Re: ActionError / ActionMessage

2005-02-04 Thread Tim Christopher
removing ActionError and ActionErrors, as they are the cause of way too much confusion. What sort of confusion? As far as I can tell they are basically the same as ActionMessages... On Fri, 4 Feb 2005 07:46:23 -0600, Joe Germuska [EMAIL PROTECTED] wrote: In short, ActionError is totally

Re: Want to know abt patterns in Struts.

2005-02-04 Thread listed
You can find an UML-Diagramm about Struts here: http://rollerjm.free.fr/pro/Struts11.html Greets Felixx Joe Germuska wrote: At 1:15 PM +0530 2/4/05, Akshay Pandit wrote: Hi to all, I would like to know how many j2ee patterns does struts framework make use of. As far as I know, no one sat down

Re: Want to know abt patterns in Struts.

2005-02-04 Thread listed
You can find an UML-Diagramm about Struts here: http://rollerjm.free.fr/pro/Struts11.html Greets Felixx Joe Germuska wrote: At 1:15 PM +0530 2/4/05, Akshay Pandit wrote: Hi to all, I would like to know how many j2ee patterns does struts framework make use of. As far as I know, no one sat down

Best practice for formbean scope and handling form validation errors

2005-02-04 Thread Adam Lipscombe
Folks, I have 2 actions which look (sort of) like this: action name=myActionForm path=/initAction scope=request type=com.xxx.yyy.myAction validate=false forward name=displayForm path=/Form1.jsp / /action action input=/Form1.jsp name=myActionForm path=/processAction scope=request

RE: Want to know abt patterns in Struts.

2005-02-04 Thread Barnett, Brian W.
Struts itself is an example of the Service to Worker Pattern, which is a macro pattern using a combination of a controller and dispatcher with views and helpers. -Original Message- From: Akshay Pandit [mailto:[EMAIL PROTECTED] Sent: Friday, February 04, 2005 12:45 AM To:

Re: Best practice for formbean scope and handling form validation errors

2005-02-04 Thread Jeff Beal
Adam Lipscombe wrote: snip But, if the scope of the myActionForm formbean is request a new instance of the formbean is constructed when Form1.jsp is re-displayed. Hence none of the data that it originally held in it is present and the form fails. The formBean was originally populated by

RE: Best practice for formbean scope and handling form validation errors

2005-02-04 Thread Adam Lipscombe
Thanks Jeff, your analysis is spot on. In this instance the problem is this: Form1 has a logic:iterate tag that iterates over a List held in myActionForm. The List is setup by the initAction.do action. How do I preserve the List between actionform instances? (It's not referenced in the JSP

RE: [ANN] Free JSP Editor for Eclipse

2005-02-04 Thread Carlos Chang
Hi Will, For the current offer in place today, the license does NOT expire and you will have access to updates for the JSP Editor free for 1 year. As for the project, I'm not familiar with this issue so I'll have to get back to you on this. Thanks, -Carlos -Original Message- From:

base href=... problems

2005-02-04 Thread Graham Reeds
I thought when I saw the html:base / tag I could drop the JScript that I used to set the domain to the root level (ie either it would set the localhost or the actual domain but would have to be hard coded for each app but just the once). However it sets the base href to the actual location of

RE: [ANN] Free JSP Editor for Eclipse

2005-02-04 Thread Carlos Chang
Cedric, I'm sorry for the inconvenience. That's bizarre. We've had thousands of downloads and activations... Forgive me for taking a couple of steps back and revisiting your steps. I don't mean to offend, just to clarify any potential missteps. 1. You downloaded NitroX JSP Editor from:

Re: Best practice for formbean scope and handling form validation errors

2005-02-04 Thread Jeff Beal
Adam Lipscombe wrote: In this instance the problem is this: Form1 has a logic:iterate tag that iterates over a List held in myActionForm. The List is setup by the initAction.do action. How do I preserve the List between actionform instances? (It's not referenced in the JSP other than the

RE: [ANN] Free JSP Editor for Eclipse

2005-02-04 Thread Carlos Chang
Hi Will, Regarding your question about Tomcat projects: By converting into Web application we do not modify any of the user files, we build a database with all the artifacts. And after expiration the project is same as what it was earlier. From our perspective, all we're looking for is a webinf

Re: [ANN] Free JSP Editor for Eclipse

2005-02-04 Thread Leon Rosenberg
Why would anyone have WEB-INF folder in his/her project ? Never heard about ant? snip And after expiration the project is same as what it was earlier. From our perspective, all we're looking for is a webinf folder and the web.xml file. Hope this helps. /snip Regards Leon

Re: [ANN] Free JSP Editor for Eclipse

2005-02-04 Thread Leon Rosenberg
Why would anyone have WEB-INF folder in his/her project ? Never heard about ant? snip And after expiration the project is same as what it was earlier. From our perspective, all we're looking for is a webinf folder and the web.xml file. Hope this helps. /snip Regards Leon

tiles newbie problem

2005-02-04 Thread Mathias Peters
Hi to all, I have a newbie problem and I would appreciate any help. Thanks in advance. I have the following constellation: web.xml: snip taglib taglib-uri/tags/struts-tiles/taglib-uri taglib-location/WEB-INF/struts-tiles.tld/taglib-location /taglib snap struts-config.xml: snip

Re: [ANN] Free JSP Editor for Eclipse

2005-02-04 Thread Bryce Fischer
Leon Rosenberg wrote: Why would anyone have WEB-INF folder in his/her project ? Never heard about ant? I do. It makes at least one less test/deployment step and is actually very easy to setup (in Eclipse at least). Plus, I like the idea of having all the files related to a project in the same

Re: [ANN] Free JSP Editor for Eclipse (Call jor Jack Dakota!) [FRIDAY]

2005-02-04 Thread Leon Rosenberg
This is actually the moment i expect Jack Dakota to jump out of the bushes :-) What do you do, if you habe more than one build target? How you separate the libs for the stand-alone application or scriplet from those you need only for taglibs? Tell me your jsps aren't packaged as the rest of

Re: [ANN] Free JSP Editor for Eclipse (Call jor Jack Dakota!) [FRIDAY]

2005-02-04 Thread Bryce Fischer
hehe... I wasn't trying to say it was the best way, just that it works for me. My projects tend to be small, self contained projects. Leon Rosenberg wrote: This is actually the moment i expect Jack Dakota to jump out of the bushes :-) What do you do, if you habe more than one build target? I

Re: [ANN] Free JSP Editor for Eclipse (Call jor Jack Dakota!) [FRIDAY]

2005-02-04 Thread Christian Bollmeyer
On Friday 04 February 2005 21:42, Leon Rosenberg wrote: Well, actually my IDE (Oracle JDev 10g) supports multiple kinds of projects within one WorkSpace, the web tier being just one of them. Taglibs may be another issue, business and backend tiers, too. All those are strictly seperate things. But

Re: [ANN] Free JSP Editor for Eclipse (Call jor Jack Dakota!) [FRIDAY]

2005-02-04 Thread Hubert Rabago
On Fri, 4 Feb 2005 21:42:21 +0100, Leon Rosenberg [EMAIL PROTECTED] wrote: This is actually the moment i expect Jack Dakota to jump out of the bushes :-) Oh didn't you get the memo? He's now Shey Rab Pawo. snip/ Forgive me, it's Friday... snip/ Regards Leon :) Hubert

newbie question

2005-02-04 Thread Soaring Eagle
Hello, I am trying to write my first Struts application. I keep getting SEVERE: Parsing error processing resource path /WEB-INF/struts-config.xml Feb 4, 2005 4:45:23 PM EST Error HTTP BEA-101216 Servlet: action failed to preload on startup in Web application: .

Struts Web Services (StrutsWS) Update

2005-02-04 Thread Frank W. Zammetti
Today I have released v1.0 beta 1 of the Struts Web Services Enablement Project (StrutsWS) on SourceForge. This is a MAJOR update! Anyone using a previous version is very much recommended to upgrade ASAP, and if you are new to the project, now might be the time to have a look. Here's the

Class not found error when action servlet starts up

2005-02-04 Thread Soaring Eagle
Hello Whenever I try to start my weblogic container, i keep getting a class not found excpetion when loading up the action servlet. I am not sure why... please help me resolve this. FINE: Fire begin() for FactoryCreateRule[className=null, attributeName=null, c [EMAIL PROTECTED] Feb 4, 2005

Re: newbie question

2005-02-04 Thread Erik Weber
Soaring Eagle wrote: Hello, I am trying to write my first Struts application. I keep getting Have you tried getting one of the example applications running first? This way, you can solve environment issues without having to worry about typos and bugs making things more complicated. Erik

Re: [ANN] Free JSP Editor for Eclipse

2005-02-04 Thread Vic
FYI, all I use is Eclipse 3.1 + XML buddy (it does all xml, html, jsp, etc files. or you can add colorer plug in). Why make your life more complex. .V e-denton Java Programmer wrote: Here's another problem. If I leave my app as a Sydeo Tomcat application, Nitrox still asks me every time I open a

RE: Class not found error when action servlet starts up

2005-02-04 Thread Sab
Definetly struts config has not been set up properly. Or check your build you may be using. Hope this helps -Original Message- From: Soaring Eagle [mailto:[EMAIL PROTECTED] Sent: Friday, February 04, 2005 2:32 PM To: user@struts.apache.org Subject: Class not found error when action

RE: newbie question

2005-02-04 Thread Sab
Check your xmlparser jar files you are using in your path. -Original Message- From: Soaring Eagle [mailto:[EMAIL PROTECTED] Sent: Friday, February 04, 2005 1:53 PM To: user@struts.apache.org Subject: newbie question Hello, I am trying to write my first Struts application. I keep

Create a jsp page with 1 button

2005-02-04 Thread Sab
1How to create a jsp page in struts with it's mappings in config, if it has 1 button and no fields. When user clicks on button it will go to another webpage or action defined. 2It's going to be a jsp page which brings in rows of data with checkbox added to it's front.