Re: Validor has a problem with negative expressions -- disregard these posts

2004-11-04 Thread jeichels
The solution was elsewhere. negative regular expressions are fine. Sorry for the spam. - Original Message - From: [EMAIL PROTECTED] Date: Thursday, November 4, 2004 2:31 am Subject: Re: Validor has a problem with negative expressions By the way in this I use the expanded forms of g

RE: html:text in logic:iterate

2004-11-04 Thread Girish Kumar K. P.
Hi, What I understood was like this: You have a logic:iterate tag Inside that you have the text field tag. Corresponding to the Logic:iterate you must be having a for loop inside the form population method in your action. There you will be populating the value from the said bean (in the bean

Remotely restart Tomcat.

2004-11-04 Thread dumm y
Hi all Is there a way to hit the admin or something so that I can restart Tomcat remotely? I am using Struts and the only way I know to get things going again after changing the struts-config.xml file is to restart Tomcat. Can't just restart my web app. Help!

Struts and Cewolf integration

2004-11-04 Thread Andrew Stepanenko
Hello all! I have a webapp done with struts and I want to add some charts to it via Cewolf and JFreeChart. But to render images with cewolf you need to define a cewolf servlet in web.xml. How can this be done with struts if there is already the only servlet (ActionServlet) defined in web.xml for

RE: html:text in logic:iterate

2004-11-04 Thread Sebastian Ho
Hi Thanks all for the suggestion. This way works and I am going with it. input type=text value=bean:write name=mymobilephaseloadings property=percentage/ size=10 name=percentage/ Sebastian On Thu, 2004-11-04 at 16:37, Girish Kumar K. P. wrote: Hi, What I understood was like this: You

RE: Struts and Cewolf integration

2004-11-04 Thread Jesse Alexander (KBSA 21)
Hi int the web.xml you are allowed to define thousands of servlets, so no problem there. In the image-tag that you generate using the struts-fw you can then specify an url which will be routed to the cewolf servlet instead of the struts-servlet... Check out the URL-pattern that you have to

Re: Struts and Cewolf integration [SOLVED]

2004-11-04 Thread Andrew Stepanenko
Hi, Jesse! Thanks for your answer. I din't notice that actually only *.do requests go to the ActionServlet, but it were various filters in my web.xml which had url-pattern like /*. I defined CewolfServlet and a mapping for it and now it works, I can see my charts! Thank you. Andrew. Jesse

Struts Best Practices

2004-11-04 Thread Tushar Agrawal
Hi Folks, I am handling a web project and using struts framework. Can any one tell me where to find stuff on Struts Best Practices or Desgin and Coding Standards for a struts Application. I request to please share your experinces on Struts Application Design Guidelines. Million Thanks in

Struts Best Practices

2004-11-04 Thread Tushar Agrawal
Hi Folks, I am handling a web project and using struts framework. Can any one tell me where to find stuff on Struts Best Practices or Desgin and Coding Standards for a struts Application. I request to please share your experinces on Struts Application Design Guidelines. Million Thanks in

Re: Struts and Cewolf integration

2004-11-04 Thread matsuhashi
(BI am looking at Struts + Cewolf combination as well. I have successfully (Bbuild a sample app. (B (BIn my sample, I have both of Struts' ActionServlet and the Cewolf Servlet (Btogether. See my following web.xml fragment: (B- (Bweb-app (B!-- Action Servlet

Re: Struts Best Practices

2004-11-04 Thread Duncan Mills
Ted Husted has a good set of resources and hints (http://www.husted.com/struts/) though these may be too specific? You should also check out the StrutsCatalog in the Wiki (http://wiki.apache.org/struts/StrutsCatalog) Regards Duncan Mills www.groundside.com/blog Tushar Agrawal wrote: Hi

Re: Remotely restart Tomcat.

2004-11-04 Thread Peng Tuck
There's a ant task for this kind of things :P http://jakarta.apache.org/tomcat/tomcat-5.5-doc/deployer-howto.html#Deploying%20on%20a%20running%20Tomcat%20server Should work for you. dumm y wrote: Hi all Is there a way to hit the admin or something so that I can restart Tomcat

How does the RT Expr work for form, select, option

2004-11-04 Thread Philip DONAGHY
Good day, I have got a dynabean using a property of type java.util.ArrayList and I want to use it with an html:select and html:option. I am getting an exception saying that $ArincFormBean.fileList can not be resolved. html:select property=arincfile size=4 style=width:200px; html:options

Re: Remotely restart Tomcat.

2004-11-04 Thread Philip DONAGHY
You may also be interested in the manager which can start or stop specific web applications. http://jakarta.apache.org/tomcat/tomcat-5.5-doc/manager-howto.html You have to edit $CATALINA_HOME/conf/tomcat-users.xml and add a user to use it. Donaghy dumm y a écrit : Hi all Is

Re: PageFlow

2004-11-04 Thread James Mitchell
Why would you ask that here? -- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc. 678.910.8017 AIM: jmitchtx - Original Message - From: Ben [EMAIL PROTECTED] To: Struts [EMAIL PROTECTED] Sent: Thursday, November 04, 2004 1:18 AM Subject: PageFlow Hi What is the

RE: PageFlow

2004-11-04 Thread Y, Rajagopal
Hi Ben, i too didn't get and the link takes me to some directory structure. Can u pls let us know what's u'r Intent Cheeers!!! RAJA GOPAL Y PerotSystems TSI (India) Ltd Ph: 91-80-8413000 - 9 Extn: 2033 Fax: +91 80 28412857 -Original Message- From: James Mitchell [mailto:[EMAIL

Re: Remotely restart Tomcat.

2004-11-04 Thread Christoph Kutzinski
AFAIk this is generally disrecommended in production environments since there are some memory leaks in Tomcat/Struts (which are seemingly very hard or impossible to fix) regarding webapp restart. The recommended way is to shut down and restart tomcat. For a develop environment webapp restart is

RE: Remotely restart Tomcat.

2004-11-04 Thread Daniel Perry
What OS are you using? I use ssh to log into our linux servers and restart tomcat that way. Can also be done using telnet into windows. Daniel. -Original Message- From: Philip DONAGHY [mailto:[EMAIL PROTECTED] Sent: 04 November 2004 11:32 To: Struts Users Mailing List Subject: Re:

Re: PageFlow

2004-11-04 Thread Ben
That's the only link I found for PageFlow on Google and since it's in Struts CVS I thought it was reasonable to ask that here. I would like to know whether it is stable enough to use. Thanks, Ben On Thu, 4 Nov 2004 17:10:58 +0530, Y, Rajagopal [EMAIL PROTECTED] wrote: Hi Ben, i too

Re: How does the RT Expr work for form, select, option

2004-11-04 Thread Adam Hardy
Phil, try using ${arincFormBean} On 11/04/2004 11:23 AM Philip DONAGHY wrote: Good day, I have got a dynabean using a property of type java.util.ArrayList and I want to use it with an html:select and html:option. I am getting an exception saying that $ArincFormBean.fileList can not be resolved.

RE: PageFlow

2004-11-04 Thread Y, Rajagopal
as of i know the PageFlow concept is under Apache Beehieve Project, i don't think u can use it readily. PageFlow is a Concept Which is developed on Struts. But if u really want to know what is PageFlow How that works.. Pls Refer Weblogic Workshop 8.1 Docs. Cheers !!! ..Raja

[OT] Can I distribute tools.jar with my application?

2004-11-04 Thread Tuncay Baskan
I heard some rumor that with Java 5 this is possible.. Does anyone know any pointer about this? -- /tb. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Struts Best Practices

2004-11-04 Thread Gabriel França Campolina
I sugest some pratice: Use plugin validador Extends TilesRequestProcessor Use DynaForm Use Tiles Use ExceptionHandler Use Designer Partnner I think that this, If any folk has more comments, please go shared. Sory my english, I'm braziliam Gabriel F Campolina SCJP On Thu, 04 Nov 2004

RE: Struts Best Practices

2004-11-04 Thread Y, Rajagopal
Can any one let me know what's the advantage of using DynaForm rather than ActionForm or FormBean. -Original Message- From: Gabriel França Campolina [mailto:[EMAIL PROTECTED] Sent: Thursday, November 04, 2004 6:47 PM To: Struts Users Mailing List Subject: Re: Struts Best Practices I

Re: Struts Best Practices

2004-11-04 Thread Nishant
Once you've been using Struts for a while, you'll begin to notice that you spend a lot of time creating ActionForm classes. While these classes are critical to the MVC architecture of Struts (as they implement the view portion), they are usually simply a collection of bean properties and a

RE: Struts Best Practices

2004-11-04 Thread Zhang, Larry \(L.\)
Then can you give me an example of dynamic view? -Original Message- From: Nishant [mailto:[EMAIL PROTECTED] Sent: Thursday, November 04, 2004 8:26 AM To: Struts Users Mailing List Subject: Re: Struts Best Practices Once you've been using Struts for a while, you'll begin to notice

Re: Struts Best Practices

2004-11-04 Thread Gabriel França Campolina
Hi rajagopal, When you use the DynaForm or DynaValidatorForm you create less code in you system, and is more easy you And i remember more one best pratice, Use the LookUpDispachAction On Thu, 4 Nov 2004 18:48:10 +0530, Y, Rajagopal [EMAIL PROTECTED] wrote: Can any one let me know what's the

Re: Struts Best Practices

2004-11-04 Thread Nishant
goto site http://www.developer.com/java/web/article.php/2214681 will find example of Dynaform compared with ActionForm Nishant Patil Software Engineer Cybage Software Pvt. Ltd. (A CMM Level 3 Company) West Avenue , Kalyani Nagar, Pune - 411 006 Tel: 91-20-4041700 -355 Email: [EMAIL PROTECTED]

Example about DynaForm extends other and referencing other DynaForm

2004-11-04 Thread Gabriel França Campolina
Hi, SomeOne Know if I can do it? And How work with java.sql.Date in DynaForm?Please post any example with action and struts config, I need more this ??? -- -- Gabriel França Campolina Sun Certified Programmer for the Java 2

LookUpDispatchAction weakness?

2004-11-04 Thread Vclavk Radek
Hi, I wanted to follow best practices and thus using LUDA, but I found the following weekness: I have to rewrite code common to all of the actions in every action method. When using JavaScript to set e.g. the action attribute, I can do some common stuff in the execute method and then decide (if)

RE: LookUpDispatchAction weakness?

2004-11-04 Thread Paul McCulloch
I've come round to Michael McGrady's way of thinking. LUDA is far more complex than it needs to be. See http://wiki.apache.org/struts/StrutsCatalogVariousButtonSolutions Paul -Original Message- From: Vaclavik Radek [mailto:[EMAIL PROTECTED] Sent: Thursday, November 04, 2004 1:47 PM

Help with connection pool

2004-11-04 Thread Milson Fredy Cardona Echeverri
hi friends I'm working with the POOL OF TOMCAT, but I have problems with him. I'm trying to develop my own POOL OF CONNECTIONS, but also I have problems. I want to know if you can give me a POOL developed, that i can test and implement in my applications. thanks in advance

Re: Help with connection pool

2004-11-04 Thread Peng Tuck
If you can describe your problem with tomcat's connection pool, maybe the people on the list can better help you out. Do you have problems with configuration or such ? Milson Fredy Cardona Echeverri wrote: hi friends I'm working with the POOL OF TOMCAT, but I have problems with him. I'm trying

[OT] Re: Help with connection pool

2004-11-04 Thread James Mitchell
What's wrong with Tomcat's connection pooling? What (specifically) problem are you having? -- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc. 678.910.8017 AIM: jmitchtx - Original Message - From: Milson Fredy Cardona Echeverri [EMAIL PROTECTED] To: [EMAIL

Re: LookUpDispatchAction weakness?

2004-11-04 Thread Jeff Beal
You can override the execute method in your action and do your common stuff, then just call super.execute() to let LUDA do it's thing (which will include dispatching to your action-specific methods, of course). -- Jeff Vclavk Radek wrote: Hi, I wanted to follow best practices and thus using

Re: Why can't I do html:form action= or html:form with no explicit action

2004-11-04 Thread Dakota Jack
First, as you describe the problem, the problem is not with the action but with the forwarding. That is, on the first example you want the action for C to forward to D but in the second example you want the action for C to forward to E. Right? That's what it says anyway. Second, no matter

Tiles Security?

2004-11-04 Thread Steven Leija
Hey All, I'm currenly using tomcat's security realm for my authentication and authorization and running into an issue with tiles and security. I have a directory called secure and in a tiles element, I have a page referenced to one of the pages in the secure directory. I assumed that tomcat

Re: LookUpDispatchAction weakness?

2004-11-04 Thread Dakota Jack
LUDA is just too complex and too outmoded, as Paul says. However, since you want to use LUDA, I don't get what your problem is. Can you provide the code? Here is what I understand: A. you are using javascript to set the action. B. then you have separate methods for each action. You need to

Re: Recursive navitation on beans

2004-11-04 Thread Hubert Rabago
Take a look at the nested taglibs. On Thu, 04 Nov 2004 14:20:27 -0200, Vinicius Carvalho [EMAIL PROTECTED] wrote: Hi there! I have a bean, that is recursively created it has a child attribute that maps to a collection of its childs. I'd like to know if is there a taglib to display it.

Validator requiredif throws java.lang.reflect.InvocationTargetException

2004-11-04 Thread Mark Benussi
Afternoon. Have the following problem which is throwing an invocation exception which I assume means that a Null Pointer Exception occurred. WOuld appreciate some assistance as its doing my nut Properties. errors.requiredif = Please enter the {0} here or another required field.

Help me with connection pool of tomcat

2004-11-04 Thread Milson Fredy Cardona Echeverri
hi my problem with the Connection Pool of Tomcat is that when entering several users to system (2 or 3), unexpectedly falls the connection pool and I must reinitiate the service of tomcat. I have tested several configurations in the SERVER.XML file and I could't solve the problem. I'm trying

Re: Help me with connection pool of tomcat

2004-11-04 Thread klute
take a look at http://www.stanford.edu/group/coursework/stanfordoki/javaexchange/com.javaexchange.dbConnectionBroker.DbConnectionBroker.html not sure where it can be downloaded though. look around. james --- Milson Fredy Cardona Echeverri [EMAIL PROTECTED] wrote: hi my problem with the

Re: Help me with connection pool of tomcat

2004-11-04 Thread klute
dbConnectionBroker can be downloaded from http://www.javaexchange.com/ --- klute [EMAIL PROTECTED] wrote: take a look at http://www.stanford.edu/group/coursework/stanfordoki/javaexchange/com.javaexchange.dbConnectionBroker.DbConnectionBroker.html not sure where it can be downloaded though.

anon cvs pserver

2004-11-04 Thread Seetamraju, Uday
This will be my first attempt to directly add to an FOSS project. Even tho' I am very comfortable with CVS command line (and eclipse/gcvs too) I wanted to know whether I can do the following :- use anon pserver login to checkout the latest src. Try something. If it works, request non-anon

Re: anon cvs pserver

2004-11-04 Thread James Mitchell
Could you please rephrase your question? Struts is no longer using cvs, it now resides in an svn (Subversion) repository. You will not be allowed to check in code unless you are a committer. To get your changes added, submit a patch in diff -u format (svn diff) to a bugzilla ticket. -- James

Re: Example about DynaForm extends other and referencing other DynaForm

2004-11-04 Thread Adam Hardy
Hi Gabriel, normally what you would do is make the field String type, and then set a struts validation to ensure it is of Date type before casting it. hth Adam On 11/04/2004 01:45 PM Gabriel França Campolina wrote: Hi, SomeOne Know if I can do it? And How work with java.sql.Date in

Re: anon cvs pserver

2004-11-04 Thread Matt Bathje
Seetamraju, Uday wrote: This will be my first attempt to directly add to an FOSS project. Even tho' I am very comfortable with CVS command line (and eclipse/gcvs too) I wanted to know whether I can do the following :- use anon pserver login to checkout the latest src. Try something. If it

Map-backed form property and multi-select

2004-11-04 Thread Radu Badita
Hi, I'm using a map-backed property to get the data from a run-time generated form. If one of the controls in the form is a multi-select, I only get the first selected option. The form definition: form-bean name=myForm type=test.MyForm form-property name=paramValue type=java.util.Map/

RE: Need an alternative to bean:define

2004-11-04 Thread Janice
I should point out that it isn't my company that has the restrictions. My employer would quite happily move to the bleeding edge of any technology if there were any benefit to do so. In this case the client has very definite parameters we need to work within. Their servers are set up in a

Independent: What framework to use write up preview of ApacheCon

2004-11-04 Thread Vic Cekvenich
http://raibledesigns.com/page/rd?anchor=comparing_web_frameworks_presentation .V - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Map-backed form property and multi-select

2004-11-04 Thread Salvador Morant
Not if it will be useful to you but when I generate dynamic forms I do the following thing: The form definition: form-bean name=myForm type=test.MyForm form-property name=paramValue type=java.lang.String[]/ ... /form-bean And then The select: html:select property=paramValue

how to get back where I came form?

2004-11-04 Thread Johannes Wolfgang Woger
Hi, I have jsp page (say pageA) that can be reached form two other pages. A success message should be send back to the page which invoked pageA, when some work was successfully done. How can the user get back to the right page, from which he initially forwarded to pageA ? Wolfgang

Re: Why can't I do html:form action= or html:form with no explicit action

2004-11-04 Thread Mark
Thanks Erik, That's exactly what I am asking. There MUST be some standard struts bean that I can access that has the current action the page flow is in. I can see the taglib to look up a set of action forwards based on a URL. What I want is the the action part of the current URL

Re: how to get back where I came form?

2004-11-04 Thread Vic Cekvenich
http://www.jguru.com/faq/view.jsp?EID=446592 Johannes Wolfgang Woger wrote: Hi, I have jsp page (say pageA) that can be reached form two other pages. A success message should be send back to the page which invoked pageA, when some work was successfully done. How can the user get back to the right

Re: how to get back where I came form?

2004-11-04 Thread Wendy Smoak
From: Johannes Wolfgang Woger [EMAIL PROTECTED] I have jsp page (say pageA) that can be reached form two other pages. A success message should be send back to the page which invoked pageA, when some work was successfully done. How can the user get back to the right page, from which he

Help: BeanUtils.populate Exception

2004-11-04 Thread Christian Weber
Hello, i have a great problem. I am in a project with struts 1.2.4. I can only use 50 action-mappings. Everything works fine, but when I add a new action-mapping, i can not use it! I got this error all the time, but only for the new action-mapping: type Exception report message description The

Re: BeanUtils.populate Exception

2004-11-04 Thread Wendy Smoak
From: Christian Weber [EMAIL PROTECTED] i have a great problem. I am in a project with struts 1.2.4. I can only use 50 action-mappings. Everything works fine, but when I add a new action-mapping, i can not use it! It would be helpful to see the action tag that's causing the problem. My bet is

Re: Why can't I do html:form action= or html:form with no explicit action

2004-11-04 Thread Dakota Jack
If you will excuse me, Mark, I wonder why you would want your response object to determine the flow by injecting a dynamic action? You sure that is what you want? You sure you don't want to determine what the response object is based on the flow rather than on what the request object says based

Strange problem with null-value

2004-11-04 Thread Joakim Olsson
Hi all, I have a strange problem that I just stumbled across that I don't really understand. I populate a bean with information from the database with iBatis, I then use BeanUtils.copyProperties to get the information to the action form (Niall Pembertons LazyValidatorForm) and then forward to

RE: [****] Including a Struts action in a JSP - IllegalStateException / truncated response issue

2004-11-04 Thread Parke Jeff
I'm still having trouble including a Struts action into a JSP (c:import url=/someAction.do /). I've tried using absolute URLs, passing the jsessionid to ensure that the session is not lost, but the request context is different between the JSP and the included action, so this not suitable for

Using Tiles outside of an ActionServlet

2004-11-04 Thread William Ferguson
I'm trying to create a WebApp with 2 sections. Section1 consists of Struts Actions managed by an ActionServlet and using Tiles for consistent layout. The incoming requests will always be '*.do'. Section2 is a bunch of generated html fragments (each is a page's worth) that I would like to embed

Re: PageFlow

2004-11-04 Thread Eddie Bush
Perhaps you meant to be looking at : http://struts.sourceforge.net/struts-flow/ I guess Google likes me more than it does you :-) - Original Message - From: Ben [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, November 04, 2004 6:24 AM Subject: Re:

RE: Install Question

2004-11-04 Thread David G. Friedman
My win32 system variable for JAVA_HOME does NOT include the \bin. Try removing that then rebooting. The path is correct and should have the bin, but not the JAVA_HOME. Regards, David -Original Message- From: Us Mn [mailto:[EMAIL PROTECTED] Sent: Thursday, November 04, 2004 10:36 AM To:

Connection Pooling With Struts

2004-11-04 Thread Tushar Agrawal
Hi Freinds, I am using struts-config default connection pooling with mysql. In future we may migrate to Oracle or SQL Server 2000 . Can you please tell me the best way of implementing connection pooling in struts with database as MySQL and Oracle 9i. Thanks Tushar Agrawal

RE: Connection Pooling With Struts

2004-11-04 Thread David G. Friedman
Hibernate (it has a Struts plugIn) can set those up automatically for you and connect to both using the same API. http://www.hibernate.org Regards, David -Original Message- From: Tushar Agrawal [mailto:[EMAIL PROTECTED] Sent: Thursday, November 04, 2004 11:08 PM To: Struts Mailing List

javax.servlet.ServletException:BeanUtils.populate

2004-11-04 Thread Koushik
Hi All I am using DynaAction from struts 1.1 in building a form dynamically. Say I have a purchase order form where there are multiple line items and which are being added dynamically. I have added couple of line items and then after a brief period when i try to add more line items I get the above

Re: Need an alternative to bean:define

2004-11-04 Thread Eddie Bush
My condolences :-( I now see your rock and hard spot. It's not about bleeding edge though. Of course, what counts in that regard is your clients' opinion of what bleeding edge is. Best of luck! Eddie - Original Message - From: Janice [EMAIL PROTECTED] To: 'Struts Users Mailing List'

RE: Using Tiles outside of an ActionServlet

2004-11-04 Thread David G. Friedman
William, For Section 2, IF you are using the same webapp, you can make a tile show up in a JSP without using the Actionservlet (you just need to have the Struts plugIn initialize the tiles from the tiles xml configuration. Try creating a JSP with this type of syntax: %@ taglib

RE: Struts Best Practices

2004-11-04 Thread Y, Rajagopal
Is there any other Advantage ? Do u find any disadvantage of using the DynaActionForm Regds Rajagoapl -Original Message- From: Gabriel França Campolina [mailto:[EMAIL PROTECTED] Sent: Thursday, November 04, 2004 7:05 PM To: Struts Users Mailing List Subject: Re: Struts Best Practices

Re: Struts Best Practices

2004-11-04 Thread Koushik
With the help of DynaActionForm u can create your form dynamically. for example if u r building a Purchase Order form where there are multiple line items,the above is best suitable to dynamically generate your form - Original Message - From: Y, Rajagopal [EMAIL PROTECTED] To: 'Struts

Multiple forms in JSP using struts

2004-11-04 Thread Asim Ghosh
hello all, how can i manage multiple forms in on jsp using struts. In struts-config.xml can I mention two form names in action. If no how can this be achieved ? Regards, Asim - ALL-NEW Yahoo! Messenger - all new features - even more fun!

Re: Multiple forms in JSP using struts

2004-11-04 Thread Koushik
U can use multiple forms in ur jsp and for each action in ur form,i.e. when u r posting it, u need to have a separate set of mappings in the struts-config.xml. - Original Message - From: Asim Ghosh [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, November 05, 2004 12:45 PM Subject: