newbie question from expierenced user

2002-11-26 Thread Marcus Biel
Hi there, I working with Struts 1.02 quite a while now, and did a very complicated application using Struts, but the more I know, the more I realize that I don't exactly know the basics: What exactly is the difference between the different scopes & which scopes are there, besides request, sessio

RE: Commons-logging and JDK 1.4 Logger

2002-11-26 Thread Wendy Cameron
So let me get this straight: I sought of got it to work however as usuall its coming out in the console and not where I want it to go and at a level INFO. I want to have one log file for the whole application at the moment. I also want the same level of detail for all classes. At the moment I

Re: Managing a workflow with Struts-workflow.

2002-11-26 Thread Matthias Bauer
Hi Olivier. Let me first say this: The workflow extension is not meant to help you manage session data and dispatch actions depending on that session data. Instead it can force the user to follow a sequence of actions that he is not allowed to leave. For example think of modal dialogs that are

Clear chosen value from form bean

2002-11-26 Thread Mohan Radhakrishnan
Hello, Problem : Is there a way to clear the chosen value from the String[] in the form ? We have the same form for many screens. After the user chooses from the drop-down and submits, the chosen value is highlighted. But the user should be seeing a clean drop-down everytime.

RE: Commons-logging and JDK 1.4 Logger

2002-11-26 Thread Craig R. McClanahan
On Wed, 27 Nov 2002, Wendy Cameron wrote: > Date: Wed, 27 Nov 2002 15:09:19 +1000 > From: Wendy Cameron <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: Struts Users Mailing List <[EMAIL PROTECTED]> > Subject: RE: Commons-logging and JDK 1.4 Logger > > Well act

RE: Commons-logging and JDK 1.4 Logger

2002-11-26 Thread Wendy Cameron
Well actually a few more stupid questions cause it doesnt work yet :) I have created properties file with the following: org.apache.commons.logging.LogFactory=org.apache.commons.logging.impl.Jdk14Logger org.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger Placed it in WEB-I

RE: Commons-logging and JDK 1.4 Logger

2002-11-26 Thread Wendy Cameron
Okay one more stupid question, How do you switch debug on using the properties file in WEB-INF directory Regards Wendy > -Original Message- > From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, November 27, 2002 2:14 PM > To: Struts Users Mailing List > Subject: RE: C

RE: invokes processActionForward twice when submit????

2002-11-26 Thread James Mitchell
Have you searched the mail archives? That exact question gets asked about once a week here. Here's 4 message from past discussions. -- James Mitchell Software Engineer/Struts Evangelist http://www.open-tools.org "If you were plowing a field, which would you rather use? Two strong oxen or 1024 c

RE: Commons-logging and JDK 1.4 Logger

2002-11-26 Thread Craig R. McClanahan
On Wed, 27 Nov 2002, Wendy Cameron wrote: > Date: Wed, 27 Nov 2002 12:06:35 +1000 > From: Wendy Cameron <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: Struts Users Mailing List <[EMAIL PROTECTED]> > Subject: RE: Commons-logging and JDK 1.4 Logger > > Sorry fo

RE: Is Struts (or browser based applications in general) useable to build maintenance-applications?

2002-11-26 Thread Edgar Dollin
Quite correct, I (and somewhat reluctantly the user base) have accepted the limitations of the back button. There is no risk to the database however. I give users as many of those links you describe as possible but only to informational pages, and with container managed security (or filter based

RE: Is Struts (or browser based applications in general) useable to build maintenance-applications?

2002-11-26 Thread Andrew Hill
Ive a quite lot of links that look like "thingAction.do?method=edit&uid=1234". As I go along Im rather coming to the view that I should just try and use POST for everything and eliminate GETs altogether. The browser just takes far too many liberties with them... The sequencer idea has merit (seems

invokes processActionForward twice when submit????

2002-11-26 Thread Tuan H. Le
Hi, I have noticed that when we submit an HTML form to a Struts action servlet, it called processActionForward twice. Is it possible? If so, how do we prevent it? Thanks, Tuan <>-- To unsubscribe, e-mail: For additional commands, e-mail:

RE: Commons-logging and JDK 1.4 Logger

2002-11-26 Thread Wendy Cameron
Sorry for a late response to this topic, But I have just put my commons-logging.properties file in place and now I scratch my head and wonder: 1) How to I create a logger variable in all my classes? 2) How do I then log messages to the log file etc? Regards Wendy > -Original Message- >

RE: delay user input validate....

2002-11-26 Thread Vipul Sanghi
I think you can achieve this by doing the following: 1. The Form bean has to have elements of all the parameters of the User registration (screen 1 and screen2). This formbean has to be of session scope that is how you can delay the validation of the input till the second screen. 2. The action

Tiles - definition="main.Layout" What does this means?

2002-11-26 Thread aps olute
I just started with the Tiles tutorial and got stuck at this definition="doc.mainLayout" on the index.jsp, what does it mean? I see similar definition="mainLayout" under tutorial/index.jsp. I looked in the tiles-tutorial-defs.xml and found a definition for mainLayout but none for doc.mainLayout

struts-1.1-b2 nested tags don't work with tag handler pooling(tomcat-4.1.12)

2002-11-26 Thread Lenny Marks
The struts-nested tags from struts-1.1-b2 don't work when tag handler pooling is used. Tomcat 4.1.12 has pooling turned on by default. This can be demonstrated by deploying the 'MonkeyTree war (milestone two)' from the Tree Structures tutorial by Arron Bates into tomcat-4.1.12. Tutorial at: http

Re: request to struts action not being routed to J2EE containersecurity

2002-11-26 Thread Craig R. McClanahan
On Tue, 26 Nov 2002, Michael Lee wrote: > Date: Tue, 26 Nov 2002 17:40:51 -0500 > From: Michael Lee <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: Struts Users Mailing List <[EMAIL PROTECTED]> > Subject: request to struts action not being routed to J2EE conta

RE: Easy Question

2002-11-26 Thread Craig R. McClanahan
On Tue, 26 Nov 2002, John Mattos wrote: > Date: Tue, 26 Nov 2002 15:27:20 -0800 (PST) > From: John Mattos <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>, > [EMAIL PROTECTED] > To: Struts Users Mailing List <[EMAIL PROTECTED]> > Subject: RE: Easy Question > > >

Re: setting debug level for digester, sax, beanUtils...

2002-11-26 Thread Craig R. McClanahan
On Tue, 26 Nov 2002 [EMAIL PROTECTED] wrote: > Date: Tue, 26 Nov 2002 16:05:46 -0500 > From: [EMAIL PROTECTED] > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: setting debug level for digester, sax, beanUtils... > > > Hi, > > I am trying to turn off lo

Re: [OT]: Finding memory leaks

2002-11-26 Thread Alberto Corona
You can use HPROF to profile your JVM. Take a look at this article whcih explains how to diagnose memory leak problems using hprof http://www.javaworld.com/javaworld/jw-12-2001/jw-1207-hprof.html Alberto Corona VP Of Consulting Services ObjectWave Corp. 312-269-0111x129 David Graham wrote: Sea

Re: Communication Between WebApps

2002-11-26 Thread micael
You can send them to a different machine, url, etc. But, sounds as if you are looking for the sort of thing that Struts 1.1 does so well, and is outlined in Struts in Action, a new book. At 11:19 PM 11/26/2002 +, you wrote: I'm trying to develop a Struts feasibility example for my project a

Re: request to struts action not being routed to J2EE container security

2002-11-26 Thread Michael Lee
This worked too! No redirect code except in the struts-config.xml forward! thanks everyone, Mike - Original Message - From: "Eddie Bush" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Tuesday, November 26, 2002 7:13 PM Subject: Re: request to struts action no

RE: Easy Question

2002-11-26 Thread Karr, David
It appears you have an exception handler for HTTP error code 500 which is hiding the stack trace. Check your server logs to see if it got logged somewhere, or try to remove the error code exception handler. The "root cause" of the exception is probably important. I would guess this application is

Re: Communication Between WebApps

2002-11-26 Thread Eddie Bush
... looked into container-managed authentication yet? Tomcat (and others, I believe) will let you do single sign-on among different apps. With CMA you don't have to worry about how the authentication gets invoked ... the container takes care of that. Jonathan Holloway wrote: I'm trying to dev

RE: Easy Question

2002-11-26 Thread John Mattos
Yes, exactly. The app doesn't put out a stack trace at this point, but there are other points it fails. Here's a stack trace from another point in the app. java.lang.NoClassDefFoundError: javax/ejb/ObjectNotFoundException at com.thoughtworks.clearinghouse.web.servlet.MaintainMappingActio

RE: Easy Question

2002-11-26 Thread Karr, David
So the "indemand" web application has this struts-config.xml file and all your relevant libs and classes? Does the error show an exception stack trace? If so, what is the "root cause" stack trace? > -Original Message- > From: John Mattos [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, Novemb

Communication Between WebApps

2002-11-26 Thread Jonathan Holloway
I'm trying to develop a Struts feasibility example for my project and I've come across a small problem. I really want to have three web applications where the first web application is used for authentication and authorization. Is it possible once I've authorized a user to forward them to another

Re: request to struts action not being routed to J2EE containersecurity

2002-11-26 Thread Eddie Bush
What he said :-) You are most welcome, sir ;-) David Graham wrote: Instead of using the sendRedirect method you should just define the forward element in struts-config with redirect="true". That way you can still use the logical names and not code b.do in your action. Struts will redirect

RE: Easy Question

2002-11-26 Thread John Mattos
Hey The jar file, called iNDemandCH.jar lives in this directory. C:\Tomcat\webapps\indemand\WEB-INF\lib the weird thing about this is that some .do actions work, and others don't. Do you think it might be that it can't see the class files? "Karr, David" <[EMAIL PROTECTED]> wrote:What do you me

Re: request to struts action not being routed to J2EE container security

2002-11-26 Thread David Graham
Instead of using the sendRedirect method you should just define the forward element in struts-config with redirect="true". That way you can still use the logical names and not code b.do in your action. Struts will redirect for you when it sees that attribute set to true. David From: "Mi

Re: request to struts action not being routed to J2EE container security

2002-11-26 Thread Michael Lee
That worked like a champ. I did not know that forwards were not redirected through the user. Here is the code; if(user == null) // no user was found in the session or authenticated request.getUserPrincipal() { response.sendRedirect("/webapp/consumer/b.do");

RE: Easy Question

2002-11-26 Thread Karr, David
What do you mean by "inside a jar file that is referenced in the classpath explicitly"? Aren't you putting your application classes in the "WEB-INF/classes" or "WEB-INF/lib" directory? You will always get into trouble if you try to externally control the CLASSPATH. > -Original Message- >

RE: Easy Question

2002-11-26 Thread John Mattos
Yes, here it is... and the class does exist inside a jar file that is referenced in the classpath explicitly "Karr, David" <[EMAIL PROTECTED]> wrote:Do you have a valid "action" element in your "struts-config.xml" file specifying the "editRecord.do" action (assuming you're using

Generating URL from HashMap

2002-11-26 Thread Sharma, Sanjay (LNG-DAY)
The tag takes a HashMap and generates a URL from it. Is there some Plain Old Java Class that will do the same thing? RequestUtils.computeURL seems to usable only in content of a JSP Page (PageContext is an input). Sanjay -- To unsubscribe, e-mail: For additional co

Re: request to struts action not being routed to J2EE containersecurity

2002-11-26 Thread Eddie Bush
Are you forwarding to /consumer/b.do? If so it won't make the user authenticate - you need to redirect. Your application is able to send the user anywhere - CMA only protects you from direct-access by the user (which is the situation you get by doing a redirect). If you're doing a redirect an

request to struts action not being routed to J2EE container security

2002-11-26 Thread Michael Lee
I have an action that, upon successful completion, calls another struts action. IE: /a.do success mapping to /consumer/b.do In the web.xml I lock the /consumer/ directory off to authorised users using J2EE form based container security (Weblogic RDBMS). Problem is a.do is calling b.do and no red

[OT]: Finding memory leaks

2002-11-26 Thread David Graham
Search google for profiling tools. You're probably holding onto old objects in a Collection so they never get garbage collected. You're probably not doing native calls so this is the most likely reason you run out of memory. David From: gus <[EMAIL PROTECTED]> Reply-To: "Struts Users Mai

Re: [OT] Updating CachedRowSet

2002-11-26 Thread V. Cekvenich
RowSet does not do Multi Table Updates! Neither does CommonsSQL as I saw it. That is why it's light weight, fast and scalable, since it does not deal with O/R, it is just relational data. For R/O, you can do joins, most data is R/O. Also, if you do use RowSet, do not use ResultSet, no need for

RE: Easy Question

2002-11-26 Thread Karr, David
Do you have a valid "action" element in your "struts-config.xml" file specifying the "editRecord.do" action (assuming you're using extension mapping)? > -Original Message- > From: John Mattos [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, November 26, 2002 2:29 PM > To: [EMAIL PROTECTED] > Su

Easy Question

2002-11-26 Thread John Mattos
Hey, I'm getting the following error which makes me think that it can't locate my classes, but the jar containing the classes is in the CLASSPATH. Does anything about this jump out at anybody?Apache Tomcat/4.0.6 - HTTP Status 500 - No action instance for path /editRecord could be created ---

OT: Finding memory leaks

2002-11-26 Thread gus
Hi! This is a little off topic: I just wrote a struts app (Tomcat 4.1.12, Struts 1.1b2, Tiles, JDK 1.4.0_01, Win2K) that unfortunately crashes Tomcat after a while with an OutOfMemory Exception. So I assume my app has a memory leak. Does anybody have a hint on how to find memory leaks in a web

RE: [tiles] More tiles questions

2002-11-26 Thread Wendy Smoak
I wrote: > Do I need an Action for the tab body that merely forwards to the appropriate > page? Something like: > If anyone is following along... my fix seems to have already been found. In tabsLayout.jsp, this appears: <% // compute href String href = request.getRequestURI() + "?"+parameter

[Nested Tags] Frustration..Should this work?

2002-11-26 Thread Jeff_Mychasiw
Greetings: All I am trying to do is display a a selected item form a list. - pageList is standard java.util.List of LabelValueBeans set in page scope. - cc is a String pulled out of the form bean and set to page scope. Using the nested tags my first approach was this:

RE: RE: [ANNOUNCE] O'Reilly Struts Book Now Available

2002-11-26 Thread Trieu, Danny
Chuck, I've got my copy from amazon yesterday. Well done Chuck ... -Original Message- From: Chuck Cavaness [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 26, 2002 1:40 PM To: Struts Users Mailing List Subject: Re: RE: [ANNOUNCE] O'Reilly Struts Book Now Available I'm sorry the copy

Re: RE: [ANNOUNCE] O'Reilly Struts Book Now Available

2002-11-26 Thread Chuck Cavaness
I'm sorry the copy hasn't been shipped by bookpool yet. I noticed they are still saying "not yet published" yesterday. If it's any consolation, I haven't got my copies yet either. I haven't even seen the finished product yet :( chuck > > From: "Paananen, Tero" <[EMAIL PROTECTED]> > Date: 2002

RE: ApplicationResources.properties not reloading added keys

2002-11-26 Thread Alvarado, Juan (c)
Thanks for your suggestions. -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 26, 2002 4:33 PM To: Struts Users Mailing List Subject: RE: ApplicationResources.properties not reloading added keys Yes, in these cases, it would probably be quicker t

RE: ApplicationResources.properties not reloading added keys

2002-11-26 Thread James Mitchell
Yes, in these cases, it would probably be quicker to manually check (from your source all the way to the deployed application) that the file exists and was updated. If all else fails, blow away JBoss' work directory: $JBOSS_HOME/server/default/tmp/deploy/server/default/deploy/{yourapp.war} Hope t

problem with commons-collections.jar in struts 1.1b2

2002-11-26 Thread Lloyd Meinholz
I am having problems with the struts webapps. There seems to be some kind of problem with the commons-collections.jar. I have built everything myself and I think it all built correctly. Here's my setup: gentoo Linux, Sun JDK 1.4.1-01, tomcat 4.1.12, struts-1.1-b2, most recent commons code, specifi

RE: ApplicationResources.properties not reloading added keys

2002-11-26 Thread Alvarado, Juan (c)
The way I'm working is as follows: We have an ant task that will build an ear file. What we then do is through some ant tasks, extract the ear file into the deploy folder of jboss. Another task then extracts the war file into the deploy folder also. So what I end up with is as follows: $JBOSS_DEP

RE: [OT] Updating CachedRowSet

2002-11-26 Thread John Bigboote
Hmm, I think that's implementation dependent. For example, the Oracle CachedRowSet implementation doesn't support updating joined tables. See: http://otn.oracle.com/docs/products/ias/doc_library/90200doc_otn/web.902/a90211/rowset.htm#628357 I don't know for sure, but I'll wager the RI doesn't,

RE: ApplicationResources.properties not reloading added keys

2002-11-26 Thread James Mitchell
Please describe how you are working a, b, c, or some other way: a) building .war and deploy/redeploy b) changing the files in place (I don't think this is possible) c) working right in the deploy directory If a, are you sure you are not adding it to the .properties that gets overwritten when

RE: Using Struts Tags To Retrieve Map Entry

2002-11-26 Thread Karr, David
If you define a "mapped property" in your ActionForm, your Struts tags can specify the "property" notation for a mapped property using the supplied key. > -Original Message- > From: Vinh Tran [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, November 26, 2002 12:44 PM > To: [EMAIL PROTECTED] >

setting debug level for digester, sax, beanUtils...

2002-11-26 Thread Roy . Stephan
Hi, I am trying to turn off logging for Struts and sub-components while keeping logging on for my own code. I have put the debug and detail init parameter to 0 in web.xml but I receive debug messages from digester, sax, beanUtils and others. Does anyone know how to confugure the struts-config or

ApplicationResources.properties not reloading added keys

2002-11-26 Thread Alvarado, Juan (c)
Hi: I am using jboss-3.03 with tomcat 4.05 and I cannot get my ApplicationResources.properties to display newly added keys. I have restarted jboss and still no luck. All I get is a message like this: ???en_US.prompt.application.url??? I know that the file ApplicationResources.properties is under

Re: Learning Struts

2002-11-26 Thread Johan
Eric, I'm facing the same problem. I just started a week ago and found a few pages on O'Reilly very usefull. As we speak I am one part 3 and building my first Strtuts application Check out the following urls http://www.oreillynet.com/pub/a/onjava/2001/09/11/jsp_servlets.html It's part one of a 3

RE: [ANNOUNCE] O'Reilly Struts Book Now Available

2002-11-26 Thread jbaker
Amazon is shipping. I received my pre-ordered copy yesterday. Joe Baker Director of Internet Communications Amnesty International USA 600 Pennsylvania Ave SE 5th Floor Washington, DC 20003 202-544-0200 x285 http://www.amnestyusa.org [EMAIL PROTECTED]

RE: [ANNOUNCE] O'Reilly Struts Book Now Available

2002-11-26 Thread Paananen, Tero
> I just wanted to let everyone know that my Struts book > published by O'Reilly is > now available and shipping. You can get it from Amazon, > Bookpool, etc. http://www.bookpool.com/.x/3ezbbr1tf4/sm/0596003285 "Not-Yet-Published" :( -TPP - patience is a virtue, I know, but I've had the

persistence errors in 1.1-b2

2002-11-26 Thread Jay Wright
I'm getting a persistent storage error that I've never seen before and it seems to be tied to the struts validator: 2002-11-25 15:13:10 StandardManager[/waf] Exception loading sessions from persistent storage Is there a way to turn this off? Or a reason it's happening? I don't want to persist

RE: [OT] Safari

2002-11-26 Thread Paananen, Tero
> Just seen this, interested by the safari site, whats the feedback on > it's usefulness? Sounds too good to be true! (if my company'd > pay for it too! ) My company did the 30-day (or whatever) trial subscription thingie and I was one of the people selected to evaluate the service. The selecti

Re: [OT] Updating CachedRowSet

2002-11-26 Thread V. Cekvenich
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/basicportal/basicportal_07/src/basicWebLib/org/commons/DAO/BasicDAOImpl.java Above has a working DAO implementation that uses RowSet. The idea is that you can have many implementations using DAO. (So, next to it is same DAO that uses SQL-Commons. I on

Using Struts Tags To Retrieve Map Entry

2002-11-26 Thread Vinh Tran
All: Is there a way, using the Struts tags, to retrieve a particular Entry from a Map by specifying a Key? I want to retrieve an entry of the Map based a key specified by the user. Is this possible? Vinh

Re: perform() or execute()?

2002-11-26 Thread Jim Bruno Goldberg
I try it again, from the beginning and now this works. I don know what I do before but I am happy now. Thanks for David and Patrice to help me. Now I have a new (and diferent) problem. I construct the follow validate() in a ActionForm class:  CODE BEGIN--

Re: J2EE-compliant class loading

2002-11-26 Thread Johan Eltes
This is going slightly OT :-) Maybe I should switch to J2EE-INTEREST... And I was responding to your statement on having multiple versions of the same library in the same ear (i.e. In different modules of an ear). I would say that the J2EE spec clearly advices component providers not to rely upon

RE: Tomcat Freezes when an Action or ActionForm is updated

2002-11-26 Thread Craig R. McClanahan
On Tue, 26 Nov 2002, edgar wrote: > Date: Tue, 26 Nov 2002 14:47:00 -0500 > From: edgar <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>, > [EMAIL PROTECTED] > To: 'Struts Users Mailing List' <[EMAIL PROTECTED]> > Subject: RE: Tomcat Freezes when an Action or Ac

RE: [OT] Updating CachedRowSet

2002-11-26 Thread Jerry Jalenak
My initial SQL SELECT statement that creates my ResultSet pulls data from several tables. I wasn't sure if the RowSetWriter implementation would be able to accommodate this scenario, so I've started using the CachedRowSet object as a means of passing data from DAO to business logic and back. I ha

Re: [OT] Updating CachedRowSet

2002-11-26 Thread John Bigboote
--- Jerry Jalenak <[EMAIL PROTECTED]> wrote: > [...snip...] > > > crs.updateString("userInfo", userInfo); > crs.updateRow(); > crs.setWriter(null); // kill default writer > crs.acceptChanges(); > Why are you setting the writer to null? It's the RowSetWriter that pr

Re: [OT] Updating CachedRowSet

2002-11-26 Thread David Graham
Sorry I don't know how to fix your problem but I do have some comments. It looks like your DAO class has a bunch of static methods. It's better to have your DAOs be singletons and be created with a DaoFactory. This allows various DAO implementations to be plugged in later. You lose this bene

Re: forwarding to Actions expecting ActionForm

2002-11-26 Thread Troy Hart
On Tue, 2002-11-26 at 02:28, Affan Qureshi wrote: > I want to forward the request from my Action to another action which expects an >ActionForm instance for processing. But my current Action does not have access to >that Form. Can I instantiate an ActionForm and store it in the request/session sc

RE: Tomcat Freezes when an Action or ActionForm is updated

2002-11-26 Thread edgar
Craig happened to point this out that Tomcat will reload automatically now: At the same time as 1.1 was being developed, work progressed on things like Tomcat's reload command via the Manager webapp (so you can have reload-on-demand, scriptable with an Ant task in 4.1, running pretty quickly, comp

[OT] Updating CachedRowSet

2002-11-26 Thread Jerry Jalenak
I'm stumped. In my DAO I return a disconnected CachedRowSet object back to my business logic level, do some processing, then update the CachedRowSet so I can send it back to my DAO and update my database. The code basically looks like this: CachedRowSet crs = new CachedR

Re: Action mappings

2002-11-26 Thread Gemes Tibor
2002-11-26, k keltezéssel Mark Minnie ezt írta: > This saves the customer phone number, but I get an error that the customer > bean is not found in the scope null. This is because the "success" forward > is forwarding to /CustomerView.do with NO GET PARAMETER. Since this get > parameter is dynami

RE: [tiles] More tiles questions

2002-11-26 Thread Wendy Smoak
James wrote: > Since you are using jsp under /WEB-INF, I would not use unless > you are sure that all client side references (images, css, js, etc) are > using to the correct url. I'm not using . The tabbed tiles code generated the URLs from this in tiles-defs.xml:

RE: [tiles] More tiles questions

2002-11-26 Thread James Mitchell
You probably already know this, but: 1. You cannot redirect if the jsp are under /WEB-INF, you ONLY forward 2. You must always go through an action (do not link from one jsp to another) 3. Make sure when you link or post to an action, that you do so with '/' as the first character for your act

Action mappings

2002-11-26 Thread Mark Minnie
Maybe I am missing something, but. I have a customer form (CustomerView.do) that takes a HTTP GET parameter to show a customer. (ie. CustomerView.do?customerid=4). On this customer form, there are links to JSP pages to modify the data of the customer. If I wanted to add a phone number, then

RE: Tomcat Freezes when an Action or ActionForm is updated

2002-11-26 Thread edgar
Normal behavior, worst part of this development cycle. Make as many changes as possible at once to minimize restarting time. I use Resin which will do an automatic restart when one of the loaded java classes is changed. Edgar -Original Message- From: Jorge Ruben Macias Lopez [mailto:[EM

Order of error messages

2002-11-26 Thread Jordan Thomas
Hi, How do I change the order of the error and javascript messages that are generated by the validation framework? Thanks Jordan -- To unsubscribe, e-mail: For additional commands, e-mail:

HELP with controller class please!!!!

2002-11-26 Thread Alvarado, Juan (c)
I've looked all over the archives and cannot find any help with the following and the tiles documentation...well there is really no documentation. I have a controller url class that does the following: public void perform(ComponentContext context, Ht

Re: J2EE-compliant class loading

2002-11-26 Thread Craig R. McClanahan
On Tue, 26 Nov 2002, Johan Eltes wrote: > Date: Tue, 26 Nov 2002 18:48:33 +0100 (CET) > From: Johan Eltes <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>, > Johan Eltes <[EMAIL PROTECTED]> > To: Struts Users Mailing List <[EMAIL PROTECTED]> > Subject: Re: J2EE-

[tiles] More tiles questions

2002-11-26 Thread Wendy Smoak
Finally! I have a tabbed tiles page working. Sort of... I go to http://host/dev/testAction.do and I see that URL with my brand new tabbed page with the first tab selected. Then I click the second tab, and it tries to go to this URL: http://host/dev/WEB-INF/jsp/tilesTest/tabsTest.jsp?selected

Tomcat Freezes when an Action or ActionForm is updated

2002-11-26 Thread Jorge Ruben Macias Lopez
Hello, I hope some of you guys has seen something like this and knows how to prevent it, I'm running struts 1.02 with tomcat 4.0.1 on Win2K Server. I'm using Eclipse for IDE and everytime I save one of my Action or ActionForm classes on Eclipse, I see in the tomcat console the message: WebappClass

Re: Struts-el strange behav.

2002-11-26 Thread kiuma
Thank you guys, As usual we problems are so strange, one has to see in the xml file. Now I think xml is a very good innovation, but sometimes it is the hell ;-P thx, kiuma Beeson, Ashley wrote: No you don't because they are form elements then the form to which they are associated is inferred

Re: J2EE-compliant class loading

2002-11-26 Thread Johan Eltes
My understanding of the J2EE spec is that it may add restrictions / requirements on top of the bundled specification. An application server (including its containers) must implement restrictions imposed by the J2EE spec to be compliant. It is not necessarily enough to fully implement all bundle

Re: perform() or execute()?

2002-11-26 Thread Patrice
- Original Message - From: "Jim Bruno Goldberg" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, November 26, 2002 6:27 PM Subject: perform() or execute()? > Hi, people! > > I am trying to develop a little system in struts for 3 weeks now and I > can't solve some (very basic) p

RE: Tiles and parameters...

2002-11-26 Thread Van Riper, Mike
Unless I'm missing something here, you simply use: request.getParameter("fieldid"); in scriptlet code in any of your leaf JSPs to access this request parameter. You can also use in conjunction with this to define a bean at the top of your page for use as a bean reference in other Struts tags

Re: perform() or execute()?

2002-11-26 Thread David Graham
The execute method was introduced in 1.1. Look at the struts-example webapp that comes with 1.1b2 for a clear example of how to do the things you described. David From: Jim Bruno Goldberg <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] S

Managing a workflow with Struts-workflow.

2002-11-26 Thread ROSSEL Olivier
I want to have a workflow which is MainPage.do -> FirstStep.do -> SecondStep.do -> ThirdStep.do -> Result.do -> MainPage.do (1.jsp) (2.jsp) (3.jsp) where each step is supposed to fill one part of a big ActionForm. I think each Step will test if the part

perform() or execute()?

2002-11-26 Thread Jim Bruno Goldberg
Hi, people! I am trying to develop a little system in struts for 3 weeks now and I can't solve some (very basic) problems. I try read the documentations, but some I can resolve anyway. Please, I need some help! My questions: 1. When I try to use the execute() in a

Re: J2EE-compliant class loading

2002-11-26 Thread Craig R. McClanahan
On Tue, 26 Nov 2002, Johan Eltes wrote: > Date: Tue, 26 Nov 2002 07:15:14 +0100 > From: Johan Eltes <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: Struts Users Mailing List <[EMAIL PROTECTED]> > Subject: Re: J2EE-compliant class loading > > Den 02-11-26 00.47

RE: RE: [ANNOUNCE] O'Reilly Struts Book Now Available

2002-11-26 Thread Andy Kriger
right on - just added it to my books i hope you get a decent cut of Safari subscriptions :) -Original Message- From: Chuck Cavaness [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 26, 2002 10:59 To: Struts Users Mailing List Subject: Re: RE: [ANNOUNCE] O'Reilly Struts Book Now Available

Controller class in tiles

2002-11-26 Thread Alvarado, Juan (c)
My definition looks as follows: my controller class extends TilesAction and implements Controller. The execute method is below: public ActionForward execute( ComponentContext context, ActionMapping mapping, ActionForm

RE: Struts-el strange behav.

2002-11-26 Thread Beeson, Ashley
No you don't because they are form elements then the form to which they are associated is inferred by the action path. An element will attempt to populate itself with the get method of the form. Make sure that you either declare the variable and give it a starting value (even if it just blank - an

RE: Struts-el strange behav.

2002-11-26 Thread Karr, David
You need to provide the name of your form bean in the "name" attribute. > -Original Message- > From: kiuma [mailto:[EMAIL PROTECTED]] > > hello, > I'm having the following problem (Furtunately I've found the > solution). > > if i use > > The container reply with an error > > WARNING:

RE: Struts-el strange behav.

2002-11-26 Thread Wendy Smoak
> if i use > > The container reply with an error > If I use this form > > No error is shown and I can access the page. I *think* that if you provide the "value" then the getter method is not called. So I don't think you've solved your problem, just masked it. I assume there's JavaScript somewh

Re: make a call to external applications

2002-11-26 Thread Patrice
You can use the tag: Best Regards Patrice - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, November 26, 2002 5:34 PM Subject: make a call to external applications > hi all, > > I have several struts applications that I would like to call

Error - tag useAttribute : no tiles context found.

2002-11-26 Thread Tumi Mathibedi
Hi Cedric, Please help with this error in the jsp file... Error - tag useAttribute : no tiles context found. thank in advanced -- To unsubscribe, e-mail: For additional commands, e-mail:

make a call to external applications

2002-11-26 Thread meissa . Sakho
hi all, I have several struts applications that I would like to call mainly from a portal that users can access after a successful login. I do do it like the fragment code below. li>http://localhost:8080/intranetMailAdmin/listMailsToSend.do"; > http://localhost:8080/intranetVL/listParamVL.do";>

RE: Include an Action in a page

2002-11-26 Thread shirishchandra . sakhare
I have not tried this but think this should work.. 1: In Action 1, after getting the data,U say return maping.findForward("success"); 2: success forward does a forward to u jsp1... In jsp1,U first display data given by action1. 3: thenm after that u do a jsp:inlude which calls action 2. 4:action

RE: Problem with struts-workflow distribution (0.9.2)

2002-11-26 Thread ROSSEL Olivier
It works fine. You should probably append those Struts1.1 instructions at the end of the INSTALL.TXT. I have no easy web access, only the archive. It was quite annoying. I was almost ready to think Workflow was a vaporware :-)) > -Message d'origine- > De: Matthias Bauer [mailto:[EMAIL PR

Re: Problem with struts-workflow distribution (0.9.2)

2002-11-26 Thread Matthias Bauer
Olivier, I guess you mean you are trying to build a war of the struts-workflow test application. Please refer to http://www.livinglogic.de/Struts/struts1_1.html for instruction how to modify the test application in order to get it working with struts 1.1. According to the stack trace, it looks

Réf. : RE: Does an html:link could use a titleparameter from a resource file??? (struts 1.0.2)

2002-11-26 Thread christophe . godel
it seems it's not available on 1.0.2 :) I will face every problem in the world as the courageous Struts newbies we are in the team lol Thanks for all your answers... Extranet [EMAIL PROTECTED] - 26/11/2002 17:00 Veuillez répondre à [EMAIL PROTECTED] Pour : struts-user cc : Objet : RE

  1   2   >