Re: element type null

2003-10-21 Thread hgosper
I don't know if that's right - I had a similar problem though until I put this in my web.xml But I assumed that your properties file is, like mine, in WEB-INF/classes/resources/ApplicationResources.properties sorry, I should have been more explicit in what I meant. init-param

Re: [ANNOUNCE] Struts Message Resource Doc

2003-10-21 Thread Adam Hardy
On 10/21/2003 03:28 AM Nick Heudecker wrote: You bring up a good point. There are many corner cases with ActionMessages. While I didn't try to cover all possible uses, I did try to cover the use cases that I experience 90% of the time. The specific use case that you point out would be a nice

Re: [Struts Workflow] Test application - why two actions for loop?

2003-10-21 Thread Matthias Bauer
Axel, your suggestion unforunately does not work as you would expect. The action definition you are suggesting defines nextState=2 and newState=2. This means, that after the action has been executed, the wf1 is in state 2. Thus, any action that does not change the state of wf1 can be executed

Re: element type null

2003-10-21 Thread ajay brar
hi! thanks for that. do i still need the declaration of ApplicationResources when i have defined it in struts-config.xml with message resources tag. if not, what else could be causing this problem thanks ajay From: [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To:

Presentation of the errors in the bottom of a page

2003-10-21 Thread Benoît Segaert
I am working on a page with a FORM in the end of the page (In the top description and in the bottom a booking form) The design is proposed by the client and I cann't change it. When I have an error, I want to display it in the top of the FORM table. But if I do that the client does not see

Re: element type null

2003-10-21 Thread Max Cooper
That seems like some kind of XML parsing error. I validated your web.xml and it passed (no errors). Perhaps there is an XML error in your struts-config.xml? The element type null thing makes me think there is a lone '' in the file somewhere with a space after it. The parser would read the '' and

Application hangup??

2003-10-21 Thread Nino Garbin
dear pros, i have a anoying problem with an application using the actual struts on tomcat 4.1.27 getting data from an mysql-db. my application works fine doing several requests to call some actions. the application is framed (navigation, content), each frame calls his own action. at no

application hangup without messages

2003-10-21 Thread Nino Garbin
dear pros, i have a anoying problem with an application using the actual struts on tomcat 4.1.27 getting data from an mysql-db. my application works fine doing several requests to call some actions. the application is framed (navigation, content), each frame calls his own action. at no

AW: Application hangup??

2003-10-21 Thread Otto, Frank
hi, In my case, the blank screen will occured, if struts didn't find the forward after execution an action. Regards, Frank -Ursprungliche Nachricht- Von: Nino Garbin [mailto:[EMAIL PROTECTED] Gesendet: Montag, 20. Oktober 2003 13:32 An: [EMAIL PROTECTED] Betreff: Application hangup??

Application hangup without messages

2003-10-21 Thread Nino Garbin
dear pros, i have a anoying problem with an application using the actual struts on tomcat 4.1.27 getting data from an mysql-db. my application works fine doing several requests to call some actions. the application is framed (navigation, content), each frame calls his own action. at no

Re: AW: Application hangup??

2003-10-21 Thread Nino Garbin
thank you for your answer. the problem is, that struts found the forwards several times before. so struts must know, how to find it. the main problem is, that the request is still running, but nothing happens ... P.S.: SORRY for posting the same article 3 times hi, In my case, the blank screen

AW: AW: Application hangup??

2003-10-21 Thread Otto, Frank
And do you use database transaction? Perhaps a commit or rollback is missing. -Ursprüngliche Nachricht- Von: Nino Garbin [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 21. Oktober 2003 10:08 An: [EMAIL PROTECTED] Betreff: Re: AW: Application hangup?? thank you for your answer. the

RE: Help with form bean [urgent]

2003-10-21 Thread Rajat Pandit
Hello john, I used to use this method, but the problem was that this way I am you unable to retain the state of the form in case of validate() method returning a false. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, October 20, 2003 12:23 PM To: [EMAIL

Re: AW: AW: Application hangup??

2003-10-21 Thread Nino Garbin
the databasequerys are set to autocommit ... And do you use database transaction? Perhaps a commit or rollback is missing. -Ursprüngliche Nachricht- Von: Nino Garbin [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 21. Oktober 2003 10:08 An: [EMAIL PROTECTED] Betreff: Re: AW: Application

FW: Iterating through map where a map is the element value

2003-10-21 Thread Fred Tsang
I didn't get response to this question, so I thought I'd try again. Could someone let me know if this is not possible, or maybe I am using the iterate call the wrong way, or maybe I should be writing my own taglib methods? any help is greatly appreciated. Fred -Original Message- From:

Re: Application hangup??

2003-10-21 Thread Max Cooper
It might be deadlock of a dining philosophers nature. Consider a request that takes 2 simultaneous database connections to process. You have a db connection pool with 5 connections in it. If 5 of these 2-connection-requiring requests come in at once, each request-handler thread might grab one

RE: html:frame Problem, very Urgent!

2003-10-21 Thread krishnamohan
Hi Andrew, we are trying to send objects instead of string variables,request.getParameter() fetch's only string variable. but my requirement is ,i need to retrieve ArrayList object from by using request.getAttribute().its possible by using html:frame??,i am using session.setAttribute() to pass

greaterThan tag

2003-10-21 Thread mucus snot
Hi, I am trying to use logic:greaterThan, but comparing a bean property to another bean property. The code that I am using is logic:greaterThan name=searchStats property=numHits value= When value is a constant, the code works. But when I define a bean bean:define id=theNumber

AW: greaterThan tag

2003-10-21 Thread Otto, Frank
Hi, you can directly compare: bean:define id=theNumber name=searchStats property=topHits scope=request/ logic:greaterThan name=bean_name property=property_name value=theNumber ... /logic:greaterThan Regards, Frank -Ursprungliche Nachricht- Von: mucus snot [mailto:[EMAIL

Re: Application hangup??

2003-10-21 Thread Max Cooper
I forgot to list one of the easy solutions: - If you know that your worst offender request takes 3 simultaneous db connections, and that you have 15 request handler threads, set the max size of your db connection pool to 3x15 = 45 connections. -Max - Original Message - From: Max Cooper

Re: Presentation of the errors in the bottom of a page

2003-10-21 Thread Philip Mark Donaghy
Benoit, It might be interesting for you to put more than one occurence of html:errors/. One at the top of the page and one at the bottom. The same messages will appear twice and your user is sure to get the point. Phil --- Benoît_Segaert [EMAIL PROTECTED] wrote: I am working on a page with a

Re: Indexed Properties examples?

2003-10-21 Thread hsc
i have same question as you , do you have get right answer? my resolve is like this : form bean - private ArrayList awards = new ArrayList (5); public void reset(ActionMapping actionMapping, HttpServletRequest httpServletRequest) { awards .add(0,new AwardMasView ()); awards .add(1,new

RE: Indexed Properties examples?

2003-10-21 Thread shirishchandra.sakhare
Search the user archive... This question has been answered many times(Use of lazy lists is one of the ways to manange the list runtime..) -Original Message- From: hsc [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 21, 2003 9:29 AM To: [EMAIL PROTECTED] Subject: Re: Indexed Properties

Ressource editor

2003-10-21 Thread Benoît Segaert
I am looking for a tool able to convert the ressource files with accents in HTML code. I currently use Netbeans but It converts accents in unicode \u in place of HTML code. I need also to convert the file from HTML to readable files before send them to the client, responsible spelling

RE: Indexed Properties examples?

2003-10-21 Thread Benz Lim
try looking at www.keyboardmonkey.com I believe the example on nested tag will help you... Best Regards, Benz Lim -Original Message- From: hsc [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 21, 2003 3:29 PM To: [EMAIL PROTECTED] Subject: Re: Indexed Properties examples? i have same

Re: element type null

2003-10-21 Thread Abhijeet Mahalkar
Hi All, Will Anybody explain me How RequestPRocessor and ActionServlet works ? I am not able to figure out the actual internal working of Webserver in the Struts Framework. Will anybody pls tell me how Webserver works which threads, Classes,tags etc it uses from request to response to the client

Request PRocessor

2003-10-21 Thread Abhijeet Mahalkar
Sorry for previous wrong Subject Line. abhijeet - Original Message - From: Abhijeet Mahalkar [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, October 21, 2003 2:39 PM Subject: Re: element type null Hi All, Will Anybody explain me How RequestPRocessor

Re: Indexed Properties examples?

2003-10-21 Thread Frederic Dernbach
OK, I faced the same problems you a few weeks ago (I was a total newbee with indexed properties and I spent 10 full days on the problem - I'm still hot on this one !). I haven't read the initial post and I hope my input will be useful to you. Regarding the form : 1/ I create an empty array list

not printing all ActionMessages

2003-10-21 Thread Marc Dugger
html:messages id='messages' message='true' header='messages.header' footer='messages.footer' bean:message name='msg' / /html:messages I'm only seeing one ActionMessage printed out. I thought html:messages would iterate, but apparently not. Can someone provide some guidance?

FW: not printing all ActionMessages (CORRECTED)

2003-10-21 Thread Marc Dugger
should read bean:message name='messages' / below -Original Message- From: Marc Dugger [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 21, 2003 6:37 AM To: [EMAIL PROTECTED] Subject: not printing all ActionMessages html:messages id='messages' message='true' header='messages.header'

RE: not printing all ActionMessages

2003-10-21 Thread Ravi Kulkarni
I think bean:message name='msg' / should be bean:message name='messages' / -Original Message- From: Marc Dugger [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 21, 2003 5:07 PM To: [EMAIL PROTECTED] Subject: not printing all ActionMessages html:messages id='messages' message='true'

Re: Application hangup??

2003-10-21 Thread Geeta Ramani
Hi Nino: Here's a small addendum to Max's detailed reply: check and make sure all your result sets and statemnts are closed and all connections are released back to the pool whne you are done with them. We came across wierd problems like the ones you describe because we had forgotten to close a

RE: not printing all ActionMessages

2003-10-21 Thread Marc Dugger
Yes, that was a typo on my part as a result of trying alternative attributes and valuesit reads bean:message name='messages' / when only printing 1 ActionMessage. Also, I'm sure I have more because I see the messages being added to the resource bundle in my logs. -Original Message-

RE: not printing all ActionMessages

2003-10-21 Thread Kris Schneider
html:messages id=msg ... bean:write name=msg/ /html:messages Quoting Marc Dugger [EMAIL PROTECTED]: Yes, that was a typo on my part as a result of trying alternative attributes and valuesit reads bean:message name='messages' / when only printing 1 ActionMessage. Also, I'm sure I have

Re: Off Topic: A suitable JVM could not be found

2003-10-21 Thread Martin Gainty
Steve- Thanks for the quick response. I found that you can obtain the IBM JDK,JRE by downloading IBM WebServices If IBM could state how their JDK,JRE is compatible with other environments (Ant specifically) then I would be more willing to replace the JAVA_HOME IBM like Microsoft doesnt offer any

Re: Off Topic: A suitable JVM could not be found

2003-10-21 Thread ian_d_stewart
Actually, providing technical support for open source products at a fee is a very common business model. Cygwin built its entire business around it. Companies such as RedHat, Mandrake and Progeny have similiar business models. Ian Ian D. Stewart Open Systems Engineer II Enterprise Midrange -

Re: Off Topic: A suitable JVM could not be found

2003-10-21 Thread Martin Gainty
Send an email to [EMAIL PROTECTED] and you will get 12 solutions to your Cygwin problem -Martin *In my next life I want to be Indian* - Original Message - From: [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, October 21, 2003 8:47 AM Subject: Re: Off

Logout Szenario

2003-10-21 Thread Manuel Lenz
Hi to all, this might be a simple question, but I didn´t find any good hints in the internet. I will do a logout szenario in my struts-web-application. I just did this: - Calling an ActionClass which creates a new LoginForm-Object - Replacing the existing LoginForm-Object in the session But

Re: Indexed Properties examples?

2003-10-21 Thread Mark Lowe
If you're using struts 1.1 you can define a form property as an arrayList to do the same thing.. form-property name=myproperty type=java.util.ArrayList / ... action name=myForm scope=session .. .. ArrayList myList = new ArrayList() theForm.set(myproperty,myList); .. logic:iterate id=foo

multiple struts-config.xml - multiple modules?

2003-10-21 Thread Michael Blair
I have a question regarding overall architecture. I am going to have a huge web app; well it will be a suite of web based tools. Lets say I will have one main menu, and from there possibly 5 separate modules (separate content areas). First, how hard is it to have a struts-config for each module (I

struts security

2003-10-21 Thread ajay brar
hi! i need to implement the following security features in my security application. authentication which is better - have a login page and keep some sort of bean in session on successful login and check for the ban in every action(and have no direct links)

Re: Off Topic: A suitable JVM could not be found

2003-10-21 Thread ian_d_stewart
My bad. I meant Cygnus, not Cygwin. See http://redhat.com/software/gnupro/ As far as I can tell, there is no e-mail address you can send support questions to. Ian Ian D. Stewart Open Systems Engineer II Enterprise Midrange - Bank One Infrastructure Operations [EMAIL PROTECTED] (614)

RE: Logout Szenario

2003-10-21 Thread Higdon, Brian [VIS-Non JJ]
Will this work for you: HttpSession.invalidate() Read the man pages here: http://java.sun.com/j2ee/sdk_1.3/techdocs/api/ -Original Message- From: Manuel Lenz [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 21, 2003 8:56 AM To: Struts Users Mailing List Subject: Logout Szenario

RE: Logout Szenario

2003-10-21 Thread Nicholson, Robb
Yup, we have a LogoffAction class with 2 lines of code (besides the logging stuff): // invalidate the session to log off user httpServletRequest.getSession().invalidate(); // forward to a page that says you've been logged off... return actionMapping.findForward(WebKeys.PG_LOGGED_OFF);

Antwort: RE: Logout Szenario

2003-10-21 Thread Manuel Lenz
Yep, thanks, that´s it! Manuel |-+- | | | | | | | | | | |Nicholson, Robb| | |[EMAIL PROTECTED]| |

Re: Application hangup?? SOLUTION

2003-10-21 Thread Nino Garbin
Thank you very much for your detailled help. now, after approx. 5 days bug-searching, we found the problem. it was a connection leak:-( the controller, who handles the connections, generated new connections and didn`t automaticly delete it. so if you didn`t close them manually in the ActionClass,

RE: Request PRocessor

2003-10-21 Thread Chen, Gin
That's a pretty broad question. Almost like saying How does Struts work? Have you looked through the User Guide online already? Have you perused the source yet? If you have done both and you have a specific question then please let us know. -Tim -Original Message- From: Abhijeet Mahalkar

Re: Ressource editor

2003-10-21 Thread ian_d_stewart
If you have access to a Perl installation, there is method called escapeHTML in the CGI.pm module which will do what you want. There is also a simple regexp in the Perl FAQ (perldoc -q encoding), which may or may not work. If you want a Java solution, you may want to take a look at

Re: Request PRocessor

2003-10-21 Thread Philip Mark Donaghy
Abhijeet, I have created Request PreProcessors. You create a class that extends RequestProcessor and overrides the method processPreprocess. You do whatever you want in that method (logging, security, and session validation is useful) and it will be executed before every action is executed. It

Re: struts security

2003-10-21 Thread Adam Hardy
On 10/21/2003 03:11 PM ajay brar wrote: hi! i need to implement the following security features in my security application. authentication which is better - have a login page and keep some sort of bean in session on successful login and check for the ban in

exception handler

2003-10-21 Thread Yan Zhu
could struts exception handler catch ServletExceptions thrown from a servlet? thx - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

greaterThan tag

2003-10-21 Thread mucus snot
I tried the direct comparison and the page compiles, but it makes the comparison against the string theNumber (incorrectly). Al Message-ID: [EMAIL PROTECTED] From: Otto, Frank [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: AW: greaterThan tag Date: Tue, 21 Oct 2003

AW: greaterThan tag

2003-10-21 Thread Otto, Frank
Sorry it's right, it compares only against a constant value. Can you write me your code? I think with %=theNumber% it must function. -Ursprungliche Nachricht- Von: mucus snot [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 21. Oktober 2003 16:35 An: [EMAIL PROTECTED] Betreff: greaterThan

RE: exception handler

2003-10-21 Thread Saul Q Yuan
Yes, if you mean the Struts declarative exception handling. Better yet, it can catch any kind of exception of type Exception and it's subclasses, because the execute method in an Action class now throws an exception of Type Exception. Saul -Original Message- From: Yan Zhu

Re: Off Topic: A suitable JVM could not be found

2003-10-21 Thread Doug
Martin Gainty wrote: Way off topic but I'm stumped Websphere 5 When attempting to do run any Java Process from Websphere I get A suitable JVM could not be found I know Websphere likes to install their own IBM JDK1.31 but I want to retain my SUN JDK 1.41 for obvious reasons Has anyone seen this

RE: application hangup without messages

2003-10-21 Thread Yee, Richard K,,DMDCWEST
Try turning on some of the logging if you are using log4j. What is the HTML that is returned on the blank screen? -Richard -Original Message- From: Nino Garbin [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 21, 2003 12:41 AM To: [EMAIL PROTECTED] Subject: application hangup without

Help with URL localization (continued)

2003-10-21 Thread Ruth, Brice
Greetings. As per my previous thread on the best way to create a URL structure like: http://domain/us/whatever http://domain/de/whatever etc. I've implemented the recommendations I received and now have a Filter listening to each request and setting the locale appropriately based on the

illegal character with struts-validator.war

2003-10-21 Thread dutrieux
I try the link "_javascript_ Type Form" in struts-validator.war with tomcat v3.3.1a : I get a error message in _javascript_ console with Mozilla (1.5) : illegal Character. If I check the source there are effectively some illegal characters. Then of course the _javascript_ control doesn't work.

RE: illegal character with struts-validator.war

2003-10-21 Thread James Mitchell
Title: Message What character do you consider to be invalid? --James MitchellSoftware Engineer / Struts Evangelisthttp://www.struts-atlanta.org678.910.8017AIM:jmitchtx -Original Message-From: dutrieux [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 21, 2003 11:46 AMTo:

Problem with redirecting to SSL connection after requesting only application directory

2003-10-21 Thread Honza Spurný
Hi there, I'm novice in struts and TomCat and I have following problem: 1.) I have web application (let's call it MyApp) that I would like to protect by SSL connection, it means, that everything that is in $TOMCAT_HOME$/webapps/MyApp/ I'd like to request on SSL secure connection. 2.) I can

RE: Help with URL localization (continued)

2003-10-21 Thread Carlos Sanchez
Maybe you can extend the request processor, see the url of the asked page, update it with the localized url and redirect the user to that page -Mensaje original- De: Ruth, Brice [mailto:[EMAIL PROTECTED] Enviado el: martes, 21 de octubre de 2003 17:41 Para: Struts Users Mailing List

Reset() and validate() using DynaActionForm

2003-10-21 Thread Shishir K. Singh
Hello, I am trying to use DynaActionForm. However, I would like to have the reset() and validate() functionality using DynaActionForm. Any pointers as to how to get around this without going back to ActionForm. TIA Shishir -

RE: Reset() and validate() using DynaActionForm

2003-10-21 Thread Chen, Gin
RTFM: http://jakarta.apache.org/struts/userGuide/building_controller.html#dyna_act ion_form_classes If need be, you can extend the DynaActionForm to add custom validate and reset methods you might need. Simply specify your subclass in the struts-config instead. However, you cannot mix

DynaForms and java.util.ArrayList

2003-10-21 Thread Barry Volpe
When I define this in my struts-config: form-property name=city type=java.util.ArrayList initial=/ I get this error: [ServletException in:/tiles/locationselection.jsp] Exception creating bean of class org.apache.struts.validator.DynaValidatorForm: {1}' Can I access city

html:rewrite doesn't rewrite action contrary to docs?

2003-10-21 Thread Ruth, Brice
The docs (http://jakarta.apache.org/struts/userGuide/struts-html.html#rewrite) indicate that html:rewrite will rewrite an action, forward, href, or page attribute - but the action attribute isn't in the TLD and in the source for org.apache.struts.taglib.html.RewriteTag the call to

Re: Off Topic: A suitable JVM could not be found

2003-10-21 Thread Kirk Wylie
Steve Raeburn wrote: I can't find the details right now, but I have a vague recollection that the IBM JDK includes an RMI-IIOP implementation that is a requirement for Websphere. So you won't be able to switch to a non-IBM JDK. There actually is a package that you can use for a Java client to

RE: html:rewrite doesn't rewrite action contrary to docs?

2003-10-21 Thread James Mitchell
It was added after 1.1 release. That's why it is in in the docs, but not available anywhere except in the nightlies. -- James Mitchell Software Engineer / Struts Evangelist http://www.struts-atlanta.org 678.910.8017 AIM:jmitchtx -Original Message- From: Ruth, Brice [mailto:[EMAIL

Re: Java Compiler Cannot Find the Required JAR File in the Classpath

2003-10-21 Thread Kirk Wylie
This might not solve your immediate problem, but someone responded to your original thread that you need to pull struts.jar out of the JDK's ext dir. Trust me, you really need to do this, at least if you're going to deploy multiple web applications using Struts in the same servlet container,

Re: exception handler

2003-10-21 Thread Yan Zhu
I tried to configure that in struts.config, but the exceptions thrown out by servelts still go to the container. :( Saul Q Yuan wrote: Yes, if you mean the Struts declarative exception handling. Better yet, it can catch any kind of exception of type Exception and it's subclasses, because the

RE: DynaForms and java.util.ArrayList

2003-10-21 Thread Chen, Gin
Remove initial= Then in your jsp do: c:forEach var=blah items=${myFormBean.map.city} c:out value=${blah}/ /c:forEach -Tim -Original Message- From: Barry Volpe [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 21, 2003 1:14 PM To: Struts Users Mailing List Subject: DynaForms and

Please Please Help! -- DataSource Error

2003-10-21 Thread Paul Idusogie
I have the following setup within my struts-config.xml file data-sources data-source key=myDB type=org.apache.commons.dbcp.BasicDataSource set-property property=description value=my Database/ set-property property=url

Re: html:rewrite doesn't rewrite action contrary to docs?

2003-10-21 Thread Ruth, Brice
I see. Well, I would prefer only to use stable release builds for this - so I can make do with adding .do on the end of my relative URLs and using page instead of action for now ... when will the next stable release come out? James Mitchell wrote: It was added after 1.1 release. That's why

RE: exception handler

2003-10-21 Thread Chen, Gin
Specify error-page in your web.xml instead -Tim -Original Message- From: Yan Zhu [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 21, 2003 1:41 PM To: Struts Users Mailing List Subject: Re: exception handler I tried to configure that in struts.config, but the exceptions thrown out by

Re: DynaForms and java.util.ArrayList

2003-10-21 Thread Barry Volpe
Tim, Thanks. The error is gone. Should have realized I couldn't initialize array with initial=. Barry - Original Message - From: Chen, Gin [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Tuesday, October 21, 2003 10:42 AM Subject: RE: DynaForms and

Dynamic creation of the input types on the form

2003-10-21 Thread Shishir K. Singh
Hello, Is there a way that I can create a form dynamically based on some XML configurable file. The configurable file will say what kind of input type it is. Eg text, checkbox etc and accordingly, I create the form input types and then display the fields. Eg My JSP looks like this right

RE: html:rewrite doesn't rewrite action contrary to docs?

2003-10-21 Thread James Mitchell
There are other ways to get around hard-coding .do anywhere in your app. What, specifically, are you rewriting? -- James Mitchell Software Engineer / Struts Evangelist http://www.struts-atlanta.org 678.910.8017 AIM:jmitchtx -Original Message- From: Ruth, Brice [mailto:[EMAIL

Re: Please Please Help! -- DataSource Error

2003-10-21 Thread Barry Volpe
Do you have the struts-legacy.jar in your WEB-INF/lib directory? - Original Message - From: Paul Idusogie [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, October 21, 2003 10:44 AM Subject: Please Please Help! -- DataSource Error I have the following setup within my

Role based action

2003-10-21 Thread Ramadoss Chinnakuzhandai
Hi, I need to load some jsp pages based on different level of access control who are accessing the site. for eg for userA I need to show some pages while userB can only view/access few pages. Thanks in advance, -Ram -

Access control in Struts

2003-10-21 Thread Ramadoss Chinnakuzhandai
Hi, I'm new to struts,I need to load some jsp pages based on different level of access control who are accessing the site. for eg for userA I need to show some pages while userB can only view/access few pages. Thanks in advance, -Ram -Original Message- From: Barry Volpe

Re: Please Please Help! -- DataSource Error

2003-10-21 Thread Geeta Ramani
Paul: This might occur if you have multiple copies (perhaps differnt versions?) of struts.jar in your classpath. Make sure you have one and only one struts-jar in your WEB-INF/lib directory and that you compile against *that* jar. (Remove all other extaneous ones.) Recompile your app (if

RE: Access control in Struts

2003-10-21 Thread James Mitchell
Lesson 1. - Don't hijack an existing thread, create your own. Lesson 2. - See lesson 1. -- James Mitchell Software Engineer / Struts Evangelist http://www.struts-atlanta.org 678.910.8017 AIM:jmitchtx -Original Message- From: Ramadoss Chinnakuzhandai [mailto:[EMAIL PROTECTED]

RE: Please Please Help! -- DataSource Error

2003-10-21 Thread Rajat Pandit
Hi there, this errors looks familiar to me as a one time struts newbie, you need to a file called struts-legacy.jar to help you. This is if ur using the generic data source. I still havent been able to figure out how to get org.apache.commons.dbcp.BasicDataSource to work fr me. Any pointers

Re: html:rewrite doesn't rewrite action contrary to docs?

2003-10-21 Thread Ruth, Brice
I have a drop-down select that jumps the user to a different country's site (e.g. from /US/whatever to /DE/index.do). For the select to work, I embed the link for the jump in the option's value attribute - so it looks like this: option value='html:rewrite page=/US/index.do'US/option The

Re: Please Please Help! -- DataSource Error

2003-10-21 Thread Barry Volpe
They way I got it working was including the struts-legacy.jar commons-dbcp.jar commons-pool.jar and it works. Barry - Original Message - From: Rajat Pandit [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, October 21, 2003 11:07 AM

RE: Please Please Help! -- DataSource Error

2003-10-21 Thread Paul Idusogie
Where do I find the struts legacy package? Sincerely, Paul Idusogie -Original Message- From: Barry Volpe [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 21, 2003 1:13 PM To: Struts Users Mailing List Subject: Re: Please Please Help! -- DataSource Error They way I got it working

Re: Please Please Help! -- DataSource Error

2003-10-21 Thread Barry Volpe
In the struts 1.1 Final release in the /lib directory Barry - Original Message - From: Paul Idusogie [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, October 21, 2003 11:17 AM Subject: RE: Please Please Help! -- DataSource Error Where do I find the

RE: Access control in Struts

2003-10-21 Thread Ramadoss Chinnakuzhandai
I just wanted to know how to achieve it using Struts. Any clue? -Ram -Original Message- From: Ramadoss Chinnakuzhandai Sent: Tuesday, October 21, 2003 1:54 PM To: Struts Users Mailing List Subject: Access control in Struts Hi, I'm new to struts,I need to load some jsp pages

RE: exception handler

2003-10-21 Thread Saul Q Yuan
How do you configure that, it'd help if you post your configuration here. Saul -Original Message- From: Yan Zhu [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 21, 2003 1:41 PM To: Struts Users Mailing List Subject: Re: exception handler I tried to configure that in

Re: DynaForms and java.util.ArrayList

2003-10-21 Thread Mark Lowe
I'm not sure if the forEach way works with indexed form properties. I tried and the html:text tags seems to be a tad oblivious to the fact they were nested in a loop. form-property name=cities type=java.util.ArrayList / .. //also you need to scope to session action path=/process-form

RE: Please Please Help! -- DataSource Error

2003-10-21 Thread Paul Idusogie
Thanks for your support, I was able to redeem a copy of the struts-legacy.jar. I have the following questions however: Does this datasource model still support connection pooling.? Now if this code is specified as legacy, are there better approaches to retrieving database data without using

Re: exception handler

2003-10-21 Thread Yan Zhu
tried it. I am not sure how it happens, but in Tomcat it starts to give me very strange errors about my bean definitions something like: org.apache.jasper.JasperException: File /WEB-INF/jsp/templates/struts-tiles not found at

Re: exception handler

2003-10-21 Thread Yan Zhu
something like this: ?xml version=1.0 encoding=ISO-8859-1 ? !DOCTYPE struts-config PUBLIC -//Apache Software Foundation//DTD Struts Configuration 1.1//EN http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd; struts-config !-- == Form Bean Definitions

Re: Please Please Help! -- DataSource Error

2003-10-21 Thread Barry Volpe
Read this: http://jakarta.apache.org/struts/faqs/database.html Also wanted to mention that I'm not sure if you are going to have problems if you are not using the struts.jar from release 1.1 The other item I had a problem with is: set-property property=validationQuery value=SELECT

Re: Please Please Help! -- DataSource Error

2003-10-21 Thread Craig R. McClanahan
Paul Idusogie wrote: Thanks for your support, I was able to redeem a copy of the struts-legacy.jar. I have the following questions however: Does this datasource model still support connection pooling.? Yes. Now if this code is specified as legacy, are there better approaches to retrieving

RE: html:rewrite doesn't rewrite action contrary to docs?

2003-10-21 Thread James Mitchell
Hmmm...that's a tough one. Perhaps you should reevaluate your Use Case. Q.Why are you submitting to a different URL depending on the selection of a drop down? Q.Why don't you just perform a different piece of code depending on what they picked? -- James Mitchell Software

RE: Form Question

2003-10-21 Thread Shane Mingins
Here are my thoughts --- It sounds like a wizard type interaction where each 'next' step does something until the final result is achieved. So I would probably have a session scope action form collecting the cumulative inputs. The action form could also then provide the state info to your jsp.

Re: Struts Studio, M7, etc...

2003-10-21 Thread Christian Bollmeyer
Am Dienstag, 21. Oktober 2003 07:27 schrieb Sergey Smirnov: . In this area, Struts Studio has to compete with several full-featured IDEs (including Eclipse, probably) being around, and unfortunately, it's not fit for serving as a replacement yet. Since version 5.0, Exadel Struts

RE: exception handler

2003-10-21 Thread Saul Q Yuan
Not sure what those exception handlers will do, but if you specify a path (pointing to a page) in the exception tags, you'll land in that page rather than an exception screen once an exception is caught. Another thought, I guess the order of those exceptions tag matters, the first one suppose to

Re: html:rewrite doesn't rewrite action contrary to docs?

2003-10-21 Thread Ruth, Brice
Its actually not quite that difficult to understand - the drop down form element was selected by the design agency as a means of navigating between the localizations of the site. So, the actual select doesn't submit a form (so no code to be executed on the server end) - it simply calls a bit

Struts App on iplanet 6.5 + Solaris

2003-10-21 Thread Xie, Zhaohui
Hi, We're running a struts-based application and another non-struts-based application on the same iplanet 6.5 instance. Whenever the non-struts-based application gets kicked off first (the url to the web application gets hit first) in a kjs, the struts-based application gets the following error

  1   2   >