RE: Netscape 4.7x slow with Tomcat/Struts combination!

2001-12-21 Thread Jeff Martin
You're close but not quite correct. As an optimization, Netscape 4.x busy-waits for the response from the web server. When the web server/servlets/JSPs/etc and Netscape are on the same box, Netscape's busy-waiting (as the foreground application) will suck up almost all available cpu time from

Problem using struts with weblogic6.1

2001-12-21 Thread Veerappan Saravanan
Does any one know why I am getting this error when weblogic is starting up? I am using weblogic 6.1 (no service pack) and Struts 1.0. This application works fine in weblogic 5.1, sp8 Thanks in advance. Van New org.apache.struts.action.ActionFormBean Set org.apache.struts.action.ActionFormBean

How to use SELECT tag inside iterate tag for String array

2001-12-21 Thread Steven
Hi, I want to create a table of html select elements, and I have a Form bean which has a 2D String array and a 1D String array: String[][] optionSelected; String[] options; I think the code in the jsp should be something like this: logic:iterate id=row name=selectOptionsForm

RE: Netscape 4.7x slow with Tomcat/Struts combination!

2001-12-21 Thread Jesse Alexander (KABS 11)
Hi, not quite... (comment aboutvm-tuning)... when we were finding the problem of double allocating we were talking about 1000's of concurrent users. The vm was tuned to use up to a GIG of memory and it still was able to crash. OK. the app also put quite some stuff into the session, but at the

[SOLVED] Re: Transaction Token: How can a html:form submit a forward

2001-12-21 Thread Peter Pilgrim
A night's decent sleep and I realize what the solution is. Find the action forward but dont save the name of the forward into the request scope. Save the forward's path instead! if ( !isTokenValid() ) { // transaction error saveErrors( ... ) ActionForward fwd =

java.io.FileNotFoundException: if i try tiles within Visual Age 4 Java

2001-12-21 Thread storck
[EmbeddedTomcatSX] Parse Fatal Error at line 5 column -1: org.apache.crimson.parser/P-082 http://jakarta.apache.org/struts/dtds/tiles-config.dtd [EmbeddedTomcatSX] java.io.FileNotFoundException: http://jakarta.apache.org/struts/dtds/tiles-config.dtd [EmbeddedTomcatSX]

RE: java.io.FileNotFoundException: if i try tiles within Visual Age 4 Java

2001-12-21 Thread Etienne, Ingo (Goetzfried AG)
Forbidden You don't have permission to access /struts/dtds/tiles-config.dtd on this server. Apache/2.0.28 Server at jakarta.apache.org Port 80 -Original Message- From: storck [mailto:[EMAIL PROTECTED]]

RE: Multichannel support with Struts

2001-12-21 Thread Salonen, Aki
This works fine with JSP-forwards like this: forward name=productInfoView path=/productInfo.jsp/ but when I use forwards to Actions like this: forward name=success path=/ViewMainMenu.do / prefix does not work. Struts seeks action with path /[client-prefix]/ViewMainMenu, but actual action

Re: Tool for editing resource files

2001-12-21 Thread James Holmes
Try this from IBM... http://www.alphaworks.ibm.com/tech/rbmanager There was also someone on this group that put something together. Try Ted Husted's resource listings for a link. http://www.husted.com/struts/ -james [EMAIL PROTECTED] http://www.jamesholmes.com/struts/ --- Rooms, Christoph

RE: strutshtml select tag initial value

2001-12-21 Thread Keith Bacon
Use struts option tag. That will cause a call to your form bean to get the value to be selected when page is displayed. --- Tom Watkins [EMAIL PROTECTED] wrote: I have a jsp using the strutshtml:select tag with nested option tags. I need to give the drop down list an initial value first

Transferring beans to tiles OR recursive loops

2001-12-21 Thread Tom Klaasen (TeleRelay)
Hi, I'm struggling with the following problem: I have a recursive collection of beans that I want to loop trough. So I have a collections that holds beans. Each of those beans again holds a collection of beans of the same sort. And so on, recursively. I was thinking as how to implement this in

Re: form beans bound to session

2001-12-21 Thread Keith Bacon
1 - Avoid putting stuff in the session or 2 - Name all your apps attrs with the same prefix. Have pages where the state of the session is known to be clean - in these clear everything with your prefix. I've got code for looping thru getting names/items in the session if you ask for it. (It's not

Re: Struts-JNDI lookups

2001-12-21 Thread c tang
tomcat4 starts its own JNDI service by default. To use your own in ejb, start tomcat as below, startup -nonaming ct --- Joanna Chan [EMAIL PROTECTED] wrote: Dear all, Could anyone help me with trying to configure a web application (tomcat-struts) so that it can communicate with the

Re: Struts and Expresso?

2001-12-21 Thread Pete Carapetyan
I've already written my own methods with straight SQL - and everything is working. However, I can see that much of the code will NOT be reuseable in a different DB schema. Is it worth my time to learn Expresso and integrate with my Struts app? 1. Expresso is not your only alternative.

Re: Struts and Expresso?

2001-12-21 Thread Luis M. Rosso
I haven't studied Expresso yet but, in order to develope reusable objects to manage data persistence (and a lot more!!!), and take full advantage of the J2EE framework, why don't you consider EJBs? And its open source implementation: JBoss (www.jboss.org)? Luis - Original Message -

Re: Fw: Using Swing Components as Visual Bean with struts

2001-12-21 Thread BONNET Francois-Xavier
I am afraid i have got no solution to your problem. Sorry. - Original Message - From: Vimal [EMAIL PROTECTED] Date: Friday, December 21, 2001 4:32 am Subject: Re: Fw: Using Swing Components as Visual Bean with struts Independently they are working fine in html. Now recent development

Message with properties

2001-12-21 Thread Felipe F. Palma Dias
I have two properties called: field.name=Name error.message={0} is required. I want that my message was: Name is required. What must I make this to happen? I am doing the following: errors.add(error , new ActionError(error,message, field.name)); and the following message is being shown:

java.lang.IllegalAccessError: org/apache/struts/action/AddDataSourceRule

2001-12-21 Thread Cutrell, George
Platform: Solaris 8 App Server: iAS 6.0 SP4. This is a newbie question. I'm simple trying to get a simple form and action example working and I get the following exception. My struts-config.xml and web.xml indicate nothing about configuring a datasource, so I'm not sure why I would get this.

IE making duplicate download request

2001-12-21 Thread Murali Srinivasan
I have a struts action that sends back files in different formats after setting the content-type header to application/octet-stream and Content-disposition header to attachment;filename=\foo.txt\. While this works fine in Netscape, IE appears to ignore the headers completely and tries to download

hidden fields

2001-12-21 Thread Kuntz Peter, NY
I have a problem with the html:hidden tag. I tried the following: html:form action=/AnnuityClientInformation method=post html:hidden property=Action value=Hallo/ /html:form I also implemented a FormBean which is associated with the jsp where this form is in. This bean has a getAction() and

How do I remove a formBean?

2001-12-21 Thread wbchmura
I have an app that shows a form which goes to an actionform object. If its all okay, it goes to a preview screen and then if you click okay it goes onto a save actionclass that saves the info. The problem is that I cannot get it to forget about the formbean when you go back through to do a

RE: hidden fields

2001-12-21 Thread Stephen Owens
Peter, Try this html:hidden property=action value=Hallo/ Those bean conversion rules get me every time... -Original Message- From: Kuntz Peter, NY [mailto:[EMAIL PROTECTED]] Sent: Friday, December 21, 2001 1:55 PM To: '[EMAIL PROTECTED]' Subject: hidden fields I have a problem with

Re: hidden fields

2001-12-21 Thread cahana
try html:hidden property=action value=Hallo/ - Original Message - From: Kuntz Peter, NY [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, December 21, 2001 8:55 AM Subject: hidden fields I have a problem with the html:hidden tag. I tried the following: html:form

No getter method for property (but it's there!)

2001-12-21 Thread Phillip Rhodes
I have an object type Scale that I am iterating over. There is just ONE property that I can not access. For example I run this fine: bean:write name=scalex property=scaleName filter=true/ bean:write name=scalex property=scaleDescription filter=true/ But if I have: bean:write name=scalex

How to use an expression in a logic tag?

2001-12-21 Thread T. Wheeler
Hello, I am using logic tags to implement paging through a recordset (like in a search engine). In order to determine whether or not to display the next page button (i.e. when the user is nearing the end of the recordset) it seems I need an expression in my logic:greaterEqual tag. I have a

Don't understand why?

2001-12-21 Thread Marcelo Caldas - CCSC
Hi guys! This is a question about javascripts only. Sorry bothering with questions outside Struts scope, but I'm a member of this list for quite a time and you have showed a good understanding on Java Script. That's why I took the liberty on sending this message. Here's the question: Why

RE: How to use an expression in a logic tag?

2001-12-21 Thread Siggelkow, Bill
Add a property on your bean that returns the value of maxRecords + rowPosition then refer to that property in the tag. -Original Message- From: T. Wheeler [mailto:[EMAIL PROTECTED]] Sent: Friday, December 21, 2001 3:19 PM To: [EMAIL PROTECTED] Subject: How to use an expression in a logic

Re: Don't understand why?

2001-12-21 Thread Ted Husted
By default, the Struts html:submit tag will name the button submit, which conflicts with the JavaScript function by the same name. If you are using the Javascript submit fuction, it is important to give the submit button another name. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom

Re: Programming Style, Custom Tags - Opinions?

2001-12-21 Thread Ted Husted
Personally, I would suggest that an Action should always be used to create whatever JavaBean helpers the view needs. The views only responsiblity should be to render the beans. Where these beans come-from or go-to is the controller's business. This puts all the business logic behind Actions,

How to access value of a form bean property inside a scriptlet?

2001-12-21 Thread T. Wheeler
I know that scriptlets are generally frowned upon, but can someone please say how to access the value of a property in a form bean inside a scriptlet? I need to be able to send the value of that property to a method call inside the scriptlet, like: % String fooTranslated =

RE: How to access value of a form bean property inside a scriptlet?

2001-12-21 Thread Taylor Cowan
I think the form bean is stored in the session or request scope by the name of the action. So it would be request.getAttribute or session.getAttribute. request/session option is specified in the actions config. Taylor -Original Message- From: T. Wheeler [mailto:[EMAIL PROTECTED]]

Cannot find message resources under key org.apache.struts.action.MESSAGE

2001-12-21 Thread troy
Hello, I am getting the following jsp exception in my struts app: Cannot find message resources under key org.apache.struts.action.MESSAGE. I have no idea what this means... Has anyone seen this and can shed some light on it for me? I have also posted the stack trace below. Thanks, Troy

Re: No getter method for property (but it's there!)

2001-12-21 Thread Vic Cekvenich
One guess is that sometimes you have to reset the container. If you use TomCat, clean the TomCat / work folder and restart the container. Other containers have a different temp folder. (OrionServer.com seems ok w/this) Vic Phillip Rhodes wrote: I have an object type Scale that I am

Form initialization and frames

2001-12-21 Thread mctwo
We have a jsp called search.jsp that looks something like this frameset ... frame name=header src=header.jsp noresize scrolling=no/ frameset ... frame name=criteria src=criteria.jsp noresize scrolling =no/ frame name=results src=results.jsp noresize scrolling

html:link tag bug???, Really need help!

2001-12-21 Thread @Basebeans.com
Subject: html:link tag bug???, Really need help! From: Nicolas Parisé [EMAIL PROTECTED] === Hi, I work in a project now where I need to use the html:link tag this way html:link page=/listProducts.do linkName=lnkLstProductsTHe link/html:link Every time the linkName param is present, the page

Struts-Layout Error: Need Help

2001-12-21 Thread L. Yeung
Hi I'm a newbie in Struts-Layout. I got this error when i deployed it in Tomcat-4.0 javax.servlet.ServletException: try to access method org.apache.struts.action.ActionForm.getServlet()Lorg/apache/struts/action/ActionServlet; from class fr.improve.struts.taglib.layout.FormTag Thanks in advance.

Re: Don't understand why?

2001-12-21 Thread Rakesh
Do you have a submit button in your form thats named submit ? if so, rename it to something else. This will solve your problem. --Rakesh [EMAIL PROTECTED] www.ayilliath.8m.com --- - Original Message - From: Marcelo Caldas - CCSC [EMAIL PROTECTED]

Resin 2.0.0 Struts 1.0 JDK1.4.0-beta3 BUG?

2001-12-21 Thread Lenharcik Juraj
Hi, I have tried to run a simple struts web-app with this configuration (above). I get then this exception: $ Resin 2.0.0 (built Fri Jun 8 12:04:24 PDT 2001) Copyright(c) 1998-2001 Caucho Technology. All rights reserved. Starting Resin on Sat, 22 Dec 2001 08:44:50 +0100 (CET) Begin event