Re: how to check if html:errors will display anything

2004-06-09 Thread James Neville
Funny you bring this up, as our gfx guy here would like the same thing. It did in fact confuse me for ages why on earth errors wern't being displayed, until I realised that logic:messagesPresent tag only checked for messages (obvious I suppose). It seems to me that the abscence of an

Re: Connection Pooling

2004-06-09 Thread Masashi Nakane
I'm using Oracle and when I meet that situation, i check the DB session (v$session) and operate GUI . When number of DB sessions increase, that is the timing . And Some other guy says the set the max number of connectons to 1. hope this help At 22:49 04/06/08 -0700, you wrote: This may seem to

RE: Single ActionForm accross multiple Actions

2004-06-09 Thread Enrique Medina
I've been reading this thread of discussion and one question arises in my mind that you probably has not taken into consideration. Is there any limit with session management in your application server? I mean, Websphere, for example, warns you about storing more than 16K in session. To bypass

RE: wahtd does it means ? envCtx = (Context) initCtx.lookup(jav a:comp/env);

2004-06-09 Thread birendar . waldiya
thanks a lot Birendar Singh Waldiya Avinash Gangadharan [EMAIL PROTECTED] 09-06-04 12:28 AM Please respond to Struts Users Mailing List [EMAIL PROTECTED] To 'Struts Users Mailing List' [EMAIL PROTECTED] cc Subject RE: wahtd does it means ? envCtx = (Context)

Re: Connection PoolingOT?

2004-06-09 Thread Shailender Jain
Thanks for your attention. Abandand connection management can you give more details on how to do this. Masashi Nakane wrote: And if you have a chance to try DBCP , Abandand connection management function will tell you exactly where the unclosed connections are . You will love this.

Re: Connection PoolingOT?

2004-06-09 Thread Masashi Nakane
Check http://jakarta.apache.org/commons/dbcp/configuration.html 's abandanded something parameters. I am not sure about how to apply this to Struts Datasource. I've just replaced Struts Datasouce with tomcat JNDI datasource with DBCP. to decouple Struts and DAOs. Masashi At 12:55 04/06/09

Re: html form : purpose?

2004-06-09 Thread Niall Pemberton
http://jakarta.apache.org/struts/userGuide/struts-html.html#html http://jakarta.apache.org/struts/userGuide/struts-html.html#form - Original Message - From: Frank Zammetti [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 02, 2004 2:47 PM Subject: html form : purpose?

Re: validating indexed properties

2004-06-09 Thread Niall Pemberton
No there isn't, but I think it would be a good idea to add indexed attribute to the errors/messages tags. Why not create an enhancment request in bugzilla and even better, post a patch. http://issues.apache.org/bugzilla/ Niall - Original Message - From: Michael Muller [EMAIL

Re: Override form action URL

2004-06-09 Thread Niall Pemberton
Assuming you could do this, how then does struts know when you submit to /test/a/ what action to run and for what reason would like to avoid exposing the action URL? Niall - Original Message - From: Eric Jain [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, June 03, 2004 11:25 AM

Re: How can i avoid the use of amp in a drop down box ?

2004-06-09 Thread Niall Pemberton
How about posting your jsp source to show how you are doing your options. Niall - Original Message - From: John Antonakos [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, June 04, 2004 9:14 AM Subject: Re: How can i avoid the use of amp in a drop down box

Re: problem with struts-tiles

2004-06-09 Thread Niall Pemberton
Have you configured the Tiles Plugin? Niall - Original Message - From: SASIDHAR BUDAMPATI [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, June 03, 2004 1:31 PM Subject: problem with struts-tiles hi, When working with struts-tiles i have been encountered with the problem as

Re: Override form action URL

2004-06-09 Thread Niall Pemberton
Its context relative...from the user guide... action - Use the value of this attribute as the name of a Action to be looked up, and use the module-relative or context-relative URI found there. http://jakarta.apache.org/struts/userGuide/struts-html.html#link Niall - Original Message -

Re: Action Forward

2004-06-09 Thread Harjot Narula
Hi Brati Well, as far as I can understand, you don't wanna use struts-config for your forward path cause it is being generated at runtime. I think this will be helpful Just before returning from execute of the Action class, you can redirect the control to any JSP.

RE: Action Forward

2004-06-09 Thread Andrew Hill
Harjots way should work (and you return null from the Action) but there is another more popular way which is to create an ActionForward instance in your action and return it: ActionForward fwd = new ActionForward(/FetchNextPage.jsp,true); return fwd; (where the boolean specifies whether its a

RE: Single ActionForm accross multiple Actions

2004-06-09 Thread Frank Zammetti
Do you know the rational behind that WebSphere warning? I mean, the obvious answer is it uses up server resources and will use more as load increases, but is there another reason you know of? I ask because I have an application where we store quite considerably more than 16K without any

Re: Hi

2004-06-09 Thread Harjot Narula
Geeta is right There was a post on this list sometime ago and if I remember it correctly you will find the solution to this at http://www.scioworks.net/camino_doc/manual/strutsIntro/struts1_0.html just look at saveToken in this article. You have this saveToken method in Action class. Harjot

Fw: design security issue

2004-06-09 Thread Harjot Narula
To implement a similar behaviour struts provides with the saveToken functionlaity. Look at it here http://www.scioworks.net/camino_doc/manual/strutsIntro/struts1_0.html Harjot - Original Message - From: Frank Zammetti [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday,

RE: Fw: design security issue

2004-06-09 Thread Frank Zammetti
Yep, I suspected Struts had something already for this. I would have written and submitted such an extension myself it is wasn't there! Thanks for point is out Harjot! Frank From: Harjot Narula [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing

Re: Logic:iterate

2004-06-09 Thread Lucas Gonzalez
Logic:iteratelogic:iterate id=navigationPage name=navigationBar indexId=index property=pages bean : write name=navigationPage property=title / /logic:iteratenbsp; - Original Message - From: Naresh Sharma To: Struts Users Mailing List Sent: Tuesday, June 08, 2004 1:39 PM

Re: sitemesh include problem

2004-06-09 Thread Rick Reumann
Marco Rossi wrote: I try to use sitemesh instead of tiles; in my decorator template page I need to include a struts action. I try to do this: jsp:include page=/menu.do flush=true /, but I catch the following java.lang.IllegalStateException: Response has already been committed Any suggestion? I

Re: design security issue

2004-06-09 Thread Harjot Narula
To implement a similar behaviour struts provides with the saveToken functionlaity. Look at it here http://www.scioworks.net/camino_doc/manual/strutsIntro/struts1_0.html Harjot - Original Message - From: Frank Zammetti [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 09,

Logic:iterate property

2004-06-09 Thread Srilatha Ravuri
Hi all, I have a question about the logic:iterate tag. I have the following in my jsp page. If I am not setting any attribute list like session.setAttribute(list, list) as I don't any action class forwarding to the jsp page. How do I grab the list into the jsp page if I have a class for

Re: [OT] thick client functionality in the browser

2004-06-09 Thread Rick Reumann
Frank Zammetti wrote: You know what I discovered about a month ago? Instead of using iFrames, you can get the same functionality with a span with style=overflow:scroll;. The problem with this, though, is when you when you want your table to be able to change in width. If you have a fixed

Re: html:link and map of request parameters

2004-06-09 Thread Kris Schneider
There's really not much difference between using: Map results = new HashMap(map); and: Map results = new HashMap(); results.putAll(map); Maybe I'm missing the point you're trying to make, but I don't see how that would solve the problem. Quoting Ron Grabowski [EMAIL PROTECTED]: Date: Tue,

Re: [OT] thick client functionality in the browser

2004-06-09 Thread Frank Zammetti
I believe the scrolling table body functionality is only currently supported in Netscape 7 and Mozilla anyway. If I'm wrong, if you can show me an example that works in IE, I would name my next child after you :) I've been trying for a while to find a way to have a header section stay put,

Re: logic:iterate beans and el

2004-06-09 Thread Rick Reumann
pls wrote: found out that in tomcat 4.1, el can ONLY be used inside of the jstl tags. downloading tomcat 5 right now.. Not sure what you mean by the above, but there are struts-el tags as well, which work with Tomcat4.x. -- Rick

Re: how to check if html:errors will display anything

2004-06-09 Thread Rick Reumann
James Neville wrote: Well, I was using this tag earlier in the week. (We've been trying to stay away from any Struts specific tags until recently too - we're locked in now anyway, so we might as well). Would this work for you with JSTL? You probably want to throw in a test for not empty also.

RE: [OT] thick client functionality in the browser

2004-06-09 Thread Hookom, Jacob
Look at http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/ref erence/objects.asp Click on one of the tag headings and the properties/attributes are in a table with scrolling... something kinda like you are describing. -Original Message- From: Frank Zammetti

RE: [OT] thick client functionality in the browser

2004-06-09 Thread Chappell, Simon P
-Original Message- From: Hookom, Jacob [mailto:[EMAIL PROTECTED] in Netscape 7 and Mozilla anyway. If I'm wrong, if you can show me an example that works in IE, I would name my next child after you :) next? You already have some? ;-) Simon

HTML pages convert to Struts/JSP pages

2004-06-09 Thread Heligon Sandra
Hi, I would like to shared basic HTML pages with an other web application which does not used Struts. Is it possible to convert HTM pages to Struts views automatically ? Is it an existing toolkit to do this ? Thanks a lot in advance

RE: Struts 1.1 J2EE level?

2004-06-09 Thread Chappell, Simon P
We are running a struts 1.1 application successfully in a J2EE 1.2 application server. Simon -Original Message- From: Yulin Zhao [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 08, 2004 3:35 PM To: Struts Users Mailing List Subject: Struts 1.1 J2EE level? Our app server only supports

struts embedded web application server

2004-06-09 Thread Heligon Sandra
Hi, I would like to know if someone has already made a Struts embedded web application server. I have a lot of questions about minimum space memory, tools to embed ? Thanks a lot in advance

RE: [OT] thick client functionality in the browser

2004-06-09 Thread Hookom, Jacob
I hope you weren't referring to me Simon? I'm still too young... and most of my money pours into recreational vehicles and booze ;-) -Original Message- From: Chappell, Simon P [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 09, 2004 10:02 AM To: Struts Users Mailing List Subject: RE:

Re: [OT] [SUCCESS] Struts Users in London / meet+greet / pub / netwo rking / BOF? / pre J1

2004-06-09 Thread mike
That's great, Peter. I will be looking forward to sitting in when in London. Michael At 05:34 AM 6/8/2004, Pilgrim, Peter wrote: Dear Global Struts Users I am writing to you all in order to report that we had a sucessful first meeting in London, last night. Monday 7th June 2004 19:15 GMT

RE: [OT] Expresso

2004-06-09 Thread Pilgrim, Peter
-Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED] Any Expresso users out there? Id be interested in hearing your comments and evaluation of this framework. It uses Struts as the basis for the presentation layer, Id be especially interested to know if it

Re: HTML pages convert to Struts/JSP pages

2004-06-09 Thread Rick Reumann
Heligon Sandra wrote: I would like to shared basic HTML pages with an other web application which does not used Struts. Is it possible to convert HTM pages to Struts views automatically ? Is it an existing toolkit to do this ? Not sure what you mean by these

RE: HTML pages convert to Struts/JSP pages

2004-06-09 Thread Heligon Sandra
In my Struts application I use JSP pages with DynaValidatorForm effectively I used Struts tags html:form, html:radio, bean:message, logic:equal etc.. I would like to use basic html pages (created for an other web application) and convert them to Struts pages in order to have all Struts facilities.

RE: Single ActionForm accross multiple Actions

2004-06-09 Thread Frank Zammetti
I wasn't doubting you, as that standard practice rule is fairly well-known outside WebSphere. I think I've generally heard 32K as a limit, but whatever, the point is keep session objects small. What I was asking was if there was some technical limitation in WebSphere I wasn't aware of. I

RE: HTML pages convert to Struts/JSP pages

2004-06-09 Thread Hookom, Jacob
Since a lot of this stuff matches up between html and struts, you could probably use something like Dreamweaver's search and replace functionality to go through and replace form with struts:form, etc. -Original Message- From: Heligon Sandra [mailto:[EMAIL PROTECTED] Sent: Wednesday, June

Re: HTML pages convert to Struts/JSP pages

2004-06-09 Thread Rick Reumann
Heligon Sandra wrote: In my Struts application I use JSP pages with DynaValidatorForm effectively I used Struts tags html:form, html:radio, bean:message, logic:equal etc.. I would like to use basic html pages (created for an other web application) and convert them to Struts pages in order to have

RE: [OT] thick client functionality in the browser

2004-06-09 Thread Chappell, Simon P
Well ... the combination of recreation vehicles and booze has been known to bring about such things. Just looking out for you. Internet Big Brother kind of thing. :-) -Original Message- From: Hookom, Jacob [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 09, 2004 10:07 AM To: 'Struts

RE: Single ActionForm accross multiple Actions

2004-06-09 Thread Yulin Zhao
Regarding WebSphere session performance, IBM redbook sg246176 chapter 15.10 has some details that might help you. We use WAS4 so that's for WAS4. Here is some note from it: In general the best performance will be realized with session objects that are less than 2 KB in size. Once the session

RE: Single ActionForm accross multiple Actions

2004-06-09 Thread Frank Zammetti
Very interesting (in a bad way for me!)... does anyone know if there is an easy way to see exactly how big the session object is at any given point in time? Preferably something not specific to WebSphere... is there a method of session I'm unaware of that might help? Frank From: Yulin Zhao

[Semi-OT] Incompatible object argument for function call

2004-06-09 Thread Henrique VIECILI
Hi All, I use a bean in the application scope doing like this: jsp:useBean id=myBean scope=application type=my.pkg.MyBean/ then i set some properties using jsp:setProperty and then in scriplet: % myBean.executeSomething();% but a ServletException is thrown with this message: (class:

Re: Logic:iterate property

2004-06-09 Thread Bill Siggelkow
Srilatha, By placing the 'list' in the session you can access it by name ... the Struts tags search the JSP scopes (page-request-session-application) if the scope is not explicitly specified ... the following link for the 'bean' taglib has a lot of info about how the 'name' and 'property'

URL connections

2004-06-09 Thread Lucero, Dennis M
I am having a strange problem. When I try and connect to a URL within the struts framework (within an action class) I get errors. Below is the code, this code works fine in a standalone java class (main) but in an action class I get an error when I try and Cast the connection, any help is

RE: URL connections

2004-06-09 Thread Stunger, Kevin J
This may have something to do with your app server (servlet container). I've run into issues with EAServer and SSL since it uses internal, proprietary classes to connect via https. Look into installing JSSE and using the Apache commons HttpClient. This worked for me. --Kevin -Original

RE: Single ActionForm accross multiple Actions

2004-06-09 Thread Linck, Ken
We didn't find anything automatic for showing whats in session. We created a JSP which iterated through the session attributes. For each object, determined if its serilizable and if so convert it into a byte array output stream. We get the size of the stream and also dumped the content to the

RE: Single ActionForm accross multiple Actions

2004-06-09 Thread Linck, Ken
We created a JSP and one utility class with a couple of methods. This probably could be improved but it gets the job done for us. I was copying and pasting the pertinent code. If I am missing something just holler back but hopefully this gets you started. JSP as follows(sess.jsp):

Change Tile on Error

2004-06-09 Thread Alan Weissman
Problem: If someone comes to our Struts/Tiles website and changes the GET parameters in the URL they may cause a page to crash. Desired Outcome: The user should never see a crashed page, they should instead be given a page which displays an error. Ideally,

RE: Single ActionForm accross multiple Actions

2004-06-09 Thread Linck, Ken
Welcome..=P -Original Message- From: Frank Zammetti [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 09, 2004 3:34 PM To: [EMAIL PROTECTED] Subject: RE: Single ActionForm accross multiple Actions Thanks a ton Ken, that worked like a charm! I've already added it to my generic helper

RE: Hoe to store objects in request scope

2004-06-09 Thread Ram Venkataswamy
Did u try providing scope attribute for bean:define -Original Message- From: PADALA, SANDHYA (SBCSI) [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 09, 2004 9:05 AM To: Struts Users Mailing List Cc: [EMAIL PROTECTED] Subject: Hoe to store objects in request scope Hi All, I have a

RE: Hoe to store objects in request scope

2004-06-09 Thread Ram Venkataswamy
I meant toScope -Original Message- From: Ram Venkataswamy Sent: Wednesday, June 09, 2004 1:19 PM To: Struts Users Mailing List Subject: RE: Hoe to store objects in request scope Did u try providing scope attribute for bean:define -Original Message- From: PADALA, SANDHYA (SBCSI)

RE: Tool(s) to find missing properties

2004-06-09 Thread Ram Venkataswamy
Check out NitroX for Struts www.m7.com - I am sure most of your problem are addressed -Original Message- From: Stunger, Kevin J [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 09, 2004 11:00 AM To: Struts Users Mailing List (E-mail) Subject: Tool(s) to find missing properties Hello!

Please Subscribe

2004-06-09 Thread Shiva Narayanan
Please Subscribe me to this mailing list - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

HTML pages convert to Struts/JSP pages

2004-06-09 Thread Heligon Sandra
Hi, I would like to shared basic HTML pages with an other web application which does not used Struts. Is it possible to convert HTM pages to Struts views automatically ? Is it an existing toolkit to do this ? Thanks a lot in advance Sandra

Re: Change Tile on Error

2004-06-09 Thread Adrien Tay Pamart
On Wed, Jun 09, 2004 at 03:09:06PM -0400, Alan Weissman wrote: I am trying to find a way to display a different tile if the tile in my page generates an error. Does anyone Assuming that no output has been commited to the response of the tile, there is a solution outlined in 'tiles advanced

Re: HTML pages convert to Struts/JSP pages

2004-06-09 Thread Mark Lowe
well you could start by grabbing your webapp with something like wget or curl. wget -r www.mysite.com/ This would give you the rendered html to then start working from, you'd still have to deal with the form input when the user submits it. I dont know if there' s a zero-cognition, abracadabra

RE: Struts 1.1 J2EE level?

2004-06-09 Thread Yulin Zhao
Thanks for all of you guys' repliles. Finally I found out with the development team that Struts1.x is based on J2EE1.2 (Servlet 2.2/JSP1.1). [EMAIL PROTECTED] on 06/08/2004 03:56:33 PM Please respond to Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL

Re: little help to young and newbie struts user

2004-06-09 Thread Ted Husted
In .NET, they have an idea called a code-behind page. This is a superclass for the page that you can use to obtain values from a database and bind them to controls. The server page then extends the code-behind page. When the ASP.NET framework calls a page load method, the controls are populated

RE: html:options ....

2004-06-09 Thread Caroline Jen
It is not exactly what I am looking for. The drop down list I have now is: html:select size=1 property=sort onchange=document.forms[4].elements[2].focus() html:options collection=SORT property=value labelProperty=label/ /html:select The collection SORT has the following options: Last Post Date

Redirect user to appropriate page after login?

2004-06-09 Thread VB
How to implement: - user fills out form, session times out, users submits form, user is shown login screen, user logs in, users form is processed or shown form with values populated (if validation errors, etc.) - user selects bookmarked page in my web app, user is shown login, user logs in, user

RE: HTML pages convert to Struts/JSP pages

2004-06-09 Thread Jason Long
JBuilderX will do the conversion. It is not perfect, but can help. Jason Long - CEO and Chief Software Engineer Supernova Software - supernovasoftware.com BS Physics, MS Chemical Engineering -Original Message- From: Heligon Sandra [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 09,

Re: html:link with multiple parameters

2004-06-09 Thread Tom Ansley
It doesn't help at all. I have done exactly as it asks but no parameters are written to the url This is shown by the code. Ram Venkataswamy wrote: However, there are two ways you can append one or more dynamically defined query parameters to the hyperlink -- specify a single parameter with the

RE: html:options ....

2004-06-09 Thread Caroline Jen
Huh? Sorry, I do not understand. --- Ram Venkataswamy [EMAIL PROTECTED] wrote: You can specify value= Last Post Date in html:select - The value to compare with for marking an option selected. -Original Message- From: Caroline Jen [mailto:[EMAIL PROTECTED] Sent: Wednesday,

Re: html:options ....

2004-06-09 Thread Shailender Jain
Hi All, If the someBean.getDefault() has some values which is not there in the collection SORT then the problem is that the select tag will display some value from the collection not the value from someBean.getDefault(). I faced this situation when i had to display a

RE: Error Message: Tile path=.thread.Form Does Not Start with a / Character

2004-06-09 Thread David Friedman
How are you trying to execute the forward in your action? -David -Original Message- From: Caroline Jen [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 09, 2004 11:50 PM To: Struts Users Mailing List Subject: RE: Error Message: Tile path=.thread.Form Does Not Start with a / Character I

RE: Error Message: Tile path=.thread.Form Does Not Start with a / Character

2004-06-09 Thread Caroline Jen
In my menu.jsp, I have: html:form action=/message/ListThreads TR TD sorted by html:select size=1 property=sort value=thread_last_post_date onchange=document.forms[4].elements[2].focus() html:options collection=SORT property=value labelProperty=label/ /html:select

RE: Error Message: Tile path=.thread.Form Does Not Start with a / Character

2004-06-09 Thread David Friedman
I wasn't actually asking for the JSP. I was saying that Struts can complain about slashes being missing if Tiles isn't configured or is invoked properly. I've seen something like your message once before and I had an improper tiles configuration setup (back in ver 1.0.X). I was curious how you

RE: J2EE design help needed!

2004-06-09 Thread Navjot Singh
hi, I see the following options: a) Application gets packaged as is, in a single ear containing a single war and jar. pros - simple build, current architecture cons - monolithic, not component based, not modular b) individual war file for each new service pros - modular, possibly more

Anyone can help? How do I know the URL of next page in javascript before leavening current page?

2004-06-09 Thread Sun Peng
Hi, If I choose one address from address bar, how can know that URL in programming (like JavaScript) before the pages is forwarded? Can anyone help? Regards Sun peng - To unsubscribe, e-mail: [EMAIL PROTECTED] For