RE: Logic:iterate property

2004-06-09 Thread Satish Kataria
You can do it through bean:define or jsp:usebean custom tags Thanks, Satish -Original Message- From: Srilatha Ravuri [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 09, 2004 7:33 PM To: [EMAIL PROTECTED] Subject: Logic:iterate property Hi all, I have a question about the logic:iterate

RE: J2EE design help needed!

2004-06-09 Thread Jesse Alexander (KXT)
Hi I would propose to split the application in Struts-modules. This allows the developers to develop undisturbed their modules. Instantiate a common CVS-server and create a build-process (based on ant) that checks out all the needed modules compiles, packages and deploys them. That's a one-time

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

2004-06-09 Thread David Friedman
Caroline, I learned Struts a little over the web before buying a Struts book (Struts in Action). That book had a section on Artimus but I found it very confusing. I was better served using lighter frameworks. I only got complicated once I started using Hibernate for my data access (DAO). I wond

RE: html:img Tag Problem

2004-06-09 Thread David Friedman
I don't see your closing backslash greater than, />, to end the tag such as: Regards, David -Original Message- From: Caroline Jen [mailto:[EMAIL PROTECTED] Sent: Thursday, June 10, 2004 1:09 AM To: [EMAIL PROTECTED] Subject: html:img Tag Problem In my JSP, I have a html:img tag: and

Re:

2004-06-09 Thread nikhil walvekar
Hi, if your collection contains only options which are to be shown not blank option something like this. option[0]="option0"; option[1]="option1"; option[2]="option2"; Then always first option will be selected. now if you want some another option to be selected then you have to provide value at

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 additional

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 und

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

2004-06-09 Thread Caroline Jen
I see what you mean now. Let me do all the checkings accordingly. Thank you. BTW, would you tell me what you think of the Artimus? I am new to Struts and I follow the Artimus example to learn Struts. Any comments on the Artimus will help me a whole lot. Regards, Caroline --- David Friedman <[

RE: [OT] EJB/Struts Design Question

2004-06-09 Thread Navjot Singh
Hi, > >Hi Navjot > >I am late at answering this but still I thought I should. >I agree with the design you have provided, but I wonder why >are you using the ProductDelegate here. > >Is your application too big, or do you have too many type of clients ? Judge by this - I have more than 100 interm

html:img Tag Problem

2004-06-09 Thread Caroline Jen
In my JSP, I have a html:img tag: and the above statement gives me the error message: 'According to TLD, tag html:img must be empty, but is not' I am very confused by the error message. I should have an empty html:img tag? Please advise. Thank you. __

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 tri

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: sorted by in order View Messages Then, in my struts-config.xml, I have: and .thread.Form is a tile. Regards, Car

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

Re:

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 b

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

2004-06-09 Thread Caroline Jen
I have successfully displayed many JSPs using tiles in my application. This path=".thread.Form" is the only one gives me this problem. Therefore, I think the tiles plugin is set up properly in my struts-config.xml. Regards, Caroline --- David Friedman <[EMAIL PROTECTED]> wrote: > Do you have the

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

2004-06-09 Thread David Friedman
Do you have the tiles plugin setup properly in your struts-config.xml file? Or, if you are using a version earlier than V1.1, did you change the controller to a Tiles controller? Regards, David -Original Message- From: Caroline Jen [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 09, 2004

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

2004-06-09 Thread Caroline Jen
I am using "tile". When I try to display a JSP page, I got an error message: java.lang.IllegalArgumentException: Path .thread.Form does not start with a "/" character I have no idea where to find this "/" character. I would appreciate if anybody could provide me with some leads. In my tile

Help required

2004-06-09 Thread Rakeesh_Shringi
Can any one help me with this exception. org.apache.commons.fileupload.FileUploadException: Processing of multipart/form-data request failed. EOF after reading only: '0' of: '7314' promised bytes, out of which at least: '0' were already buffered at org.apache.commons.fileupload.FileUploadB

RE:

2004-06-09 Thread Ram Venkataswamy
Include value="Search String" inside html:select tag - the option value matching this will be marked as selected V.K.Ram www.m7.com NitroX for Struts -Original Message- From: Caroline Jen [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 09, 2004 5:29 PM To: Struts Users Mailing List

RE:

2004-06-09 Thread David Friedman
I think Ram means add a 'value="Last Post Date"' or other text key to match. I also suppose that using Struts-EL (Expression Language), you could pull that value from a bean so you could change the value on the fly or based upon some other data. Not that I use Struts-EL. Regards, David -Orig

RE:

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: W

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 para

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, 2004

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:

2004-06-09 Thread Ram Venkataswamy
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, June 09, 2004 3:52 PM To: Struts Users Mailing List Subject: RE: It is not exactly what

RE:

2004-06-09 Thread Caroline Jen
It is not exactly what I am looking for. The drop down list I have now is: The collection "SORT" has the following options: Last Post Date First Post Date Sender Name Replies Views I want the "Last Post Date" to be the default selection. If we use HTML, we do the following: Last Post Date

RE: html:link with multiple parameters

2004-06-09 Thread Ram Venkataswamy
However, there are two ways you can append one or more dynamically defined query parameters to the hyperlink -- specify a single parameter with the paramId attribute (and its associated attributes to select the value), or specify the name (and optional property) attributes to select a java.util.M

html:link with multiple parameters

2004-06-09 Thread tomansley
Hi all, I have a question regarding using the html:link tag where I want to have multiple parameters added to the link url dynamically. What I have tried to do is have a bean that I am using on the page context have a method that returns a Map object that contains all the keys and values for t

Formatting and Validating a Date depending on the locale

2004-06-09 Thread user_struts
Hi, i want to format a date with the message ressources bundle depending on the locale. Is there a possibilty to do that? I found something like this app_de.properties welcome.message=bla {0] blub {1,date,mm:HH dd.MM.} app_en.properties welcome.message=bla {0] blub {1,date,HH:mm dd-MM-}

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 populate

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' <[E

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 w

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 f

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

J2EE design help needed!

2004-06-09 Thread Brian Styles
Hi all, I'm trying to develop an extensible architecuture to add new services to my existing website. I want this to be similar to www.salesforce.com, where each service is accessed via a main tab, and each service is essentially a mini-application in itself. I have an existing struts app which

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]

Tiles exception : tag.getAsString : component context is not defined.

2004-06-09 Thread Shiva Narayanan
Hi All, I have been getting the following exception. However the application works fine. But it is annoying to see this message in the console. Would appreciate if someone could tell me how to solve this issue. EXCEPTION == 6/9/04 15:22:36:836 CDT] 6e033535 WebGroup E SRVE0026E: [Se

Re: html:link and map of request parameters

2004-06-09 Thread Ron Grabowski
> Date: Wed, 9 Jun 2004 10:12:08 -0400 > From: Kris Schneider <[EMAIL PROTECTED]> > To: Struts Users Mailing List > <[EMAIL PROTECTED]> > Subject: Re: html:link and map of request parameters > There's really not much difference between using: > > Map results = new HashMap(map); > > and: > > Ma

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! I'

[SOLVED] [Semi-OT] Incompatible object argument for function call

2004-06-09 Thread Henrique VIECILI
Finally i solved this problem: The ServerException encapsulated a VerifyError that means there was some linkage error executing my compiled bytecode. In fact, this bean was compiled with an old version of Xerces and the container (Tomcat) loads at init time another version of Xerces, and when i

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: 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: 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 clas

RE: Single ActionForm accross multiple Actions

2004-06-09 Thread Frank Zammetti
Thanks a ton Ken, that worked like a charm! I've already added it to my generic helper class that I reuse in most of my webapps, I just added a static getSessionSize() method instead of doing it in the JSP so I can call it from anywhere, as long as I pass it a valid session. This definitely s

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, w

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): ==

Hoe to store objects in request scope

2004-06-09 Thread PADALA, SANDHYA (SBCSI)
Hi All, I have a question on how to save the objects into request scope. In my Form class I have an array of objects of type Product. My Product class has productId and productName as the variables with getter setter methods. On my JSP I use logic-iterate tag to iterate through the array and

RE: Single ActionForm accross multiple Actions

2004-06-09 Thread Frank Zammetti
Any chance you could pass that JSP along? Sounds like something I could write in a few minutes, but better to only take a few seconds if you can send it to me :) Frank From: "Linck, Ken" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: 'Struts Users Mailing Lis

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 js

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 Messa

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 appr

Re: Logic:iterate property

2004-06-09 Thread Srilatha Ravuri
Thanks a lot for the reply. I could solve the problem Thanks Srilatha >>> [EMAIL PROTECTED] 06/09/04 12:39PM >>> 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 explici

RE: Single ActionForm accross multiple Actions

2004-06-09 Thread Frank Zammetti
I had that thought too, but I don't know enough about WebSphere to know if it does that all the time... I know that I just installed 5.0 on a test box and didn't have to set up a database or anything, so unless it (a) set one up itself and is using it "under the hood", or (b) is persisting to th

Tool(s) to find missing properties

2004-06-09 Thread Stunger, Kevin J
Hello! I'm searching for a tool or tool(s), either command-line or graphical that can help find missing properties. I'd like to be able to quickly track down form properties that are defined in struts-config.xml, but not defined in validation.xml. I'd also like to know which jsp contains the pro

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' at

[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: then i set some properties using and then in scriplet: <% myBean.executeSomething();%> but a ServletException is thrown with this message: (class: my/pkg/MyBean, method: executeSomething signature: ()V) Incompatible object argu

RE: Single ActionForm accross multiple Actions

2004-06-09 Thread DGraham
http://www.redbooks.ibm.com/redbooks/pdfs/sg246176.pdf I'm not 100% sure, but it seems that the recommendation for session size being < 4-5K is targeted to the scenario where the server has to serialize the session for persistence. Dennis "Frank Zammetti" <[EMAIL PROTECTED]> 06/09/2004 0

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"

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 ob

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 U

Re: logic:iterate beans and el

2004-06-09 Thread pls
thanks for the reality check rick "Rick Reumann" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > 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 str

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 a

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 mailto:[EMAIL PROTECTED] Sent: Wednesday, June 09, 2004 11:01 AM To: 'Struts Users Mailing List' Subject: RE: HTML pages conv

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 can'

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: 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 question

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: [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] 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:

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: 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 s

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: [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 -

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 [mailto:

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: Single ActionForm accross multiple Actions

2004-06-09 Thread Enrique Medina
I am sure about this problem, believe me. See http://www-3.ibm.com/software/webservers/appserv/ws_bestpractices.pdf From: "Frank Zammetti" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: RE: Single ActionForm accross multiple Actions Dat

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: [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, and

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: Tu

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 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 width i

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 co

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

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: , but I catch the following java.lang.IllegalStateException: Response has already been committed Any suggestion? I think they just created a work around

Re: Logic:iterate

2004-06-09 Thread Lucas Gonzalez
Logic:iterate < bean : write name="navigationPage" property="title" />   - Original Message - From: Naresh Sharma To: Struts Users Mailing List Sent: Tuesday, June 08, 2004 1:39 PM Subject: Logic:iterate Hi, I am setting a bean from my action class, this bean class has

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 M

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: Wed

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 -

Re: form validation, assigning context

2004-06-09 Thread Niall Pemberton
No is the short answer, but theres nothing to stop you storing them in the request under your own key as well in your ActionForm's validate method. Niall - Original Message - From: "Bullard, James" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 08, 2004 9:26 PM Subject:

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 probl

Re: [OT] EJB/Struts Design Question

2004-06-09 Thread Harjot Narula
Hi Navjot I am late at answering this but still I thought I should. I agree with the design you have provided, but I wonder why are you using the ProductDelegate here. Is your application too big, or do you have too many type of clients ? Are you using some caching mechanism in business delegate

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: 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. response.sendRedirect(response

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 -

Precompile JSP error with html:messages

2004-06-09 Thread J Jones
I have the following JSP: <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> test When I deploy an ear file into either WSAD or WebSphere admin console and check the precompile JSP

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 p

Re: How can i avoid the use of & 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 & in a drop down

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

RE:

2004-06-09 Thread Guillermo Meyer
Also you can set the "sort" value before forwarding to the JSP (ie in the previous action) 1) Action prepares the SORT collection and sets it in the request 2) Action sets default value to "sort" attribute only if "sort" has no value (so setting the default) 3) Action forwards to JSP 4) JSP renders

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 PROTE

Re: & : 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: & : purpose? > He

  1   2   >