Re: problem with arraylist and iterate

2002-04-04 Thread Arron Bates
There's a jar of the tags on the site for your older Struts. Many people are using it, and it works great. It's up to the latest code which is in the Struts CVS version, so you're not missing out on anything. Other than that, you'll have to slog it out with iterate tag and setting the indexed

Preventing Caching of all pages

2002-04-04 Thread Antony Stace
Hi Folks I want to prevent caching of all pages in my webapp. What is the easiest way for me to append a dummy variable onto all the addresses which appear in the users browsers address bar, ie http://localhost/testWebApp?rand=7A98SDF7ASD9YFBA9D8S7FBASDBFASBFASDFSADFASD I don't want to rely

Re: How to create the map for multiple parameters withhtml:link?

2002-04-04 Thread Markus Neifer
Alex, thanks for your answer. I was hoping there's a standard tag for this. Maybe in Jakarta Taglibs. Looks like that is not the case. I'll take your suggestion and create a custom tag. Have a nice day. Regards, Markus - Original Message - From: Alex Paransky [EMAIL PROTECTED] Date:

Re: Problem with logic:equal tag

2002-04-04 Thread Chuck Cavaness
One time I had this problem. Double check to make sure that you have the %@ taglib uri=/WEB-INF/struts-logic.tld prefix=logic % at the top of the page. Chuck At 11:41 AM 4/4/2002 +0900, you wrote: I have some code in a jsp page logic:equal name=pageBean property=picExists value=false/

Re: Where can I do some application initialize work?

2002-04-04 Thread Chuck Cavaness
If you're using 1.1, you can setup a plugin for it. If you're using a 2.3 container and don't need to support 2.2, you can setup a event listener on the servlet context creation for the application. Or you could just put initialize it in the init() method of the ActionServlet. Chuck At

Re: Where can I do some application initialize work?

2002-04-04 Thread Max Cooper
Annie, Write a servlet with an init() method that initializes Torque, and specify that this servlet should load at startup in your web.xml file. Perhaps you could turn your existing DataModel class into a servlet for this purpose. See the ActionServlet stuff in web.xml for how to make a servlet

Connection pool behaviour

2002-04-04 Thread @Basebeans.com
Subject: Connection pool behaviour From: Johannes Wolfgang Woger [EMAIL PROTECTED] === Hi, I notized that both PoolMan and struts-DataSource do not refresh their output from an SELECT * FROM MYTABLE if mytable was changed by an other application. Struts-DataSource does refresh when Tomcat is

logic:equal ... AND ...

2002-04-04 Thread @Basebeans.com
Subject: logic:equal ... AND ... From: mikastav [EMAIL PROTECTED] === have you a other solution for : (example with AND) logic:equal name=produitparameter value=01 action A /logic:equal logic:equal name=produitparameter value=02 action A /logic:equal logic:equal name=produitparameter

Beta 1 bugs in struts-exercise-taglib examples

2002-04-04 Thread Jing Zhou
There are two possible bugs related to the exampe pages index.jsp and html-link.jsp in the struts-exercise-taglib in struts beta 1 release. The first one appeard in 04/03 nightly build. When clicking the link in the index.jsp that is pointing to the html-link.jsp, an exception is thrown for a

Re: Editor aware of Struts

2002-04-04 Thread @Basebeans.com
Subject: Re: Editor aware of Struts From: Pim [EMAIL PROTECTED] === Hi Yanhui, Good question, I'm struggeling with the same problem. I hope that a plugin for Eclipse will be written. Keep us informed if you find a solution. Pim Yu, Yanhui [EMAIL PROTECTED] wrote in message news:[EMAIL

Problem with Struts and 2.3 Filters

2002-04-04 Thread chris . stephens
Content-Transfer-Encoding: 7bit Hi folks, I am currently endeavouring to add Servlet 2.3 filtering (SiteMesh 1.3, in fact) to a Struts 1.0.2 application - but having no luck. I have searched the mailing list archives and can find no reference to this combination. I have set up inside one

Re: parser.jar

2002-04-04 Thread kelly lan
Hi, If you need the jaxp1.0.1,you can direct to download the jaxp-1_0_1.zip from : http://www-pu.informatik.uni-tuebingen.de/ip/IP2000_2001/jaxp.html If you need other versions you can get it from: http://java.sun.com/xml There are any versions for jaxp. After the file is unzipped , the new

AW: Websphere 4 Tiles

2002-04-04 Thread Daemi, Anusch
Hello I've tracked the problem a little bit realised that the error occurs at getting the XMLReader. Do I have to add/update some libraries for websphere?!?! greetings Anusch Daemi Here is a snippet from the log: [02.04.04 10:42:40:168 GMT+02:00] 55fb881f ServletInstan X SRVE0100E: Nicht

AW: Websphere 4 Tiles

2002-04-04 Thread Daemi, Anusch
I've found the Error. Replace the xerces.jar in the lib directory with an new (1.4.4) one and all should work smooth. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

logic:iterate problem

2002-04-04 Thread Jerome Josephraj
Hi, My logic:iterate looks like this logic:iterate id=searchEmpRes name=employeeSearchForm property=lstEmployees !-- line 1 -- tr height=18 td class=tblDataTextbean:write name=searchEmpRes property=firstName/

Re: Tiles, definitions and roles

2002-04-04 Thread Cedric Dumoulin
Both definitions have the same name, so one override the other ;-(. Don't forget that definitions are stored with their names as the key. Cedric Struts Newsgroup (@Basebeans.com) wrote: Subject: Tiles, definitions and roles From: Matt Raible [EMAIL PROTECTED] === I have the

RE: How to Generate .xls file from struts app.

2002-04-04 Thread Gruner, Manfred
Hi, you don't have to generate csv-files take the html-Code itself, and change the mime type to application/vnd.ms-excel. This should work too. Manfred -Original Message- From: Jim Crossley [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 02, 2002 4:34 PM To: Struts Users Mailing List

bean message repost.

2002-04-04 Thread Ivan Siviero
Sorry for reposting but i had the date one year older. :) :) Hi. I have downloaded the latest struts stable version (1.0.2 ) and noticed the bean:message tag misses the attributes 'name' and 'property' which allow to get a message from ApplicationResources when the key is specified in a bean

Re: include tag

2002-04-04 Thread Cedric Dumoulin
You can't open a tag in a jsp, and close it in another. Both the start and the end of the tag should be in the same page. In a table example, you can have tableinclude header, include body, include footer/table, and in included files : tr ... /tr. Also, have you consider using Tiles to

Re: can TILES use existing jsp files ?

2002-04-04 Thread Cedric Dumoulin
Hello, Normally, you don't have to reimplement your jsp pages. You can use them as body with no modifications. However, I recommend to suppress all html head and body tags from tiles/body. In practice, you can left them, as html browsers don't complain too much if there is several time

Re: Template/flush problems

2002-04-04 Thread Cedric Dumoulin
You can try to use Tiles instead of Templates. You can do this simply by changing the referenced library for template in the web.xml file, and also adding the appropriate tiles.jar in your lib directory. Cedric Struts Newsgroup (@Basebeans.com) wrote: Subject: Template/flush problems

Re: Tiles, included pages, and taglibs

2002-04-04 Thread Cedric Dumoulin
Hello, Tiles simply use the RequestDispatcher.include(...) method, wich allow to include a servlet. Cedric Dave Dribin wrote: Dave Dribin wrote: Hi, This is more of an observation than a question. I started playing with the tiles and noticed that in included pages, you

Problem with IE5 not calling an Action

2002-04-04 Thread Antony Stace
Hi I have a jsp page. An action populates some beans in the page and the jsp uses those values to display the page. Also in this page is img src=html:rewrite page=/generateImage.do/ This action generates an image which is displayed on the page. The generateImage.do Action checks some bean

Re: Need example on using roles in struts-tiles

2002-04-04 Thread Cedric Dumoulin
In Tiles implementation, role attribute value is passed as is to the appropriate container method. If this method support multiple roles, so do Tiles. If not, this shouldn't be difficult to implement in a future version if needed. Cedric Struts Newsgroup (@Basebeans.com) wrote: Subject:

[OTish] BeanUtils and Booleans

2002-04-04 Thread Tim Sawyer
Does BeanUtils support using is and set when dealing with booleans? If I do this: Map lMap = BeanUtils.describe(lBean); Set lSet = lMap.keySet(); Iterator lIterator = lSet.iterator(); while (lIterator.hasNext()) { Object lObject = lIterator.next(); String lTempValue = (String)lObject;

Re[2]: include tag

2002-04-04 Thread Ingo Bruell
Hi Struts, CD You can't open a tag in a jsp, and close it in another. Both the start and the end of the tag should be in the same CD page. CD In a table example, you can have tableinclude header, include body, include footer/table, and in included files CD : tr ... /tr. CD Also, have

html:option

2002-04-04 Thread @Basebeans.com
Subject: html:option From: David Bolsover [EMAIL PROTECTED] === Hi all I have a page that uses multiple ~30 html:option tags within an html:select tag. The problem is that the page loads very slowly from the servlet container (TC4.01). Has anyone else seen this problem / have any

No action instance for path

2002-04-04 Thread kelly lan
Hi, In my logon page ,I logon with user name and user password,when I submit I get the error: No action instance for path /verifyAction could be created This is my logon page: .. html:form action=/verifyAction focus=username table border=0 width=200 tr

I simply do not understand this

2002-04-04 Thread theron . kousek
I have a JTabbedPane similated application where I click back and forth between 2 tabs... In the process of going back and forth, I keep losing the data that I entered on my first tab. They're both sharing the same form object at session scope.I have verified that... When clicking from

RE: At wits end, questions JRun, Oracle9ias

2002-04-04 Thread Dimitar Stavrakov
Look in your JRun/lib/ext directory and check if you have jaxp.jar and parser.jar. Try removing them if you do. Also make sure that the struts jar and tlds are accessible to JRun. Regards, Dimitar -Original Message- From: Rick Reumann [mailto:[EMAIL

[StrutsTestCase Error] Request does not contain handler parameter named action

2002-04-04 Thread Matt Raible
Deryl, I'm trying to use StrutsTestCase 1.6 and CactusStrutsTestCase to test an Action that extends LookupDispatchAction. In my mind, the following test method should call the create method on my class. public void testCreate() { setRequestPathInfo(/assetEdit);

RE: At wits end, questions JRun, Oracle9ias

2002-04-04 Thread Galbreath, Mark
My short answer to you is, Shit-can JRun. My team is developing a very complex web-based B2B/B2C/Maintenance application for VoiceStream Wireless. We are using Struts (now) 1.1b-1 (and the migration from 1.0.2 was very problematic!), Apache webserver on Unix, and Oracle 8i as the integration

How do I use Struts tags in JSP and HTML tags?

2002-04-04 Thread snurre1000
Hi, I hop someone can help me with the following. I would like to do something like this: jsp:include page=../myPage.shtml?currentUseCase=login flush=true/ but I want to take the value from a bean, like this: jsp:include page=../myPage.shtml?currentUseCase=bean:write name=myPageForm

RE: [StrutsTestCase Error] Request does not contain handler parameter named action

2002-04-04 Thread Matt Raible
I get this same error using Mozilla 0.9.9, but not in IE. It might be an issue with Struts 1.1b1. Thanks, Matt -Original Message- From: Matt Raible [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 03, 2002 8:18 AM To: '[EMAIL PROTECTED]' Cc: '[EMAIL PROTECTED]' Subject:

Re: RES: JRun and struts problem worked out?

2002-04-04 Thread Rick Reumann
Thanks for trying to help. I'm still stumped. I don't point to the struts.jar anywhere within JRun, not on my system classpath, only place is in the actually applications WEB-INF/lib directory. I've stuck so much stuff in there now trying to get it to work with no luck. I'd appreciate any other

RE: RE: lost form data when validate returns errors

2002-04-04 Thread mtStruts
Larry, Thanks for your prompt reply :) I tried to implement your suggestion using the reset() method in the form bean which works, but ONLY when the form element is not trying to get the properties from a bean on the page. For instance if I'm presenting a form the user may be changing

Struts Websphere 3.5/4.0

2002-04-04 Thread Pruthee, Ranjan
Hello, Does anyone know if single servlet model - Struts can have security concerns in Websphere 3.5/4.0? We need to provide role based security using the URIs. What are the downsides of it? Thanks so much, -Ranjan

RE: No action instance for path

2002-04-04 Thread Zeltser, Mark
What is your servlet mappings? If you have standard *.do mapped to action servlet then you will need the following action=/verifyAction.do Mark. -Original Message- From: kelly lan [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 04, 2002 5:36 AM To: Struts User Subject: No action

RE: No action instance for path

2002-04-04 Thread Alex Paransky
I am not an expert in Struts, but in my development I have been using the .do extension when specifying any references to Struts actions from .jsp pages, so my code would look like: html:form action=/verifyAction.do focus=username If you are using the .do extension method, try this. -AP_

Re: [AM] Agile Modeling for web (Struts)

2002-04-04 Thread Neil Pitman
This is a thread that I started on ([EMAIL PROTECTED]) They know about modelling but don't seem to know much about Struts. maybe it will work better here. I am interested in modeling STruts in UML. -- Jon, I guess that if I knew the answers to your questions or even the right questions to

HTML and JSP tags with Struts tags

2002-04-04 Thread snurre1000
Hi, I hope someone can help me with the following: I would like to do something like this: jsp:include page=Menu.shtml?currentUseCase=login flush=true/ but I want to pick the parameter from a Struts tag like: jsp:include page=Menu.shtml?currentUseCase=bean:write name=myForm

Re: Perhaps OT, clearing history

2002-04-04 Thread Matt Raible
Like all Javascript - you might see some inconsistencies b/w browsers, BUT location.replace(url you want in history); [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... In working with the struts architecture, since there's an awful lot of actions which do JSP forwards, I

Urgent: xml with struts

2002-04-04 Thread Yugandhar_Reddy
Hi, Can anyone tell me how can we make use of xml with struts can we use struts for converting the xml to valueObjects(java class which hold the set and get methods for the each xml tag) and again valueObjects to xml?? Thanks in advance, Yug

Re: Re[2]: Struts Basic/Pooling DataSource Vs Poolman

2002-04-04 Thread Martin Samm
go to sourceforge.net and search for it On Thursday 04 Apr 2002 4:22 am, you wrote: On Tuesday, April 2, 2002, 7:42:27 PM, someone wrote: How is Poolman better than the database connection manager included with struts? Speed? Reliablity? I'm curious about this also. Also, where can I

Re: How to avoid a separate .jsp page for body definition when us ing Templates?

2002-04-04 Thread Jens Viebig
You don't need tiles for this issue Just use direct='true' in your template tag. template:insert template='/templates/template.jsp' template:put name='menu' content='/menu.jsp'/ template:put name='content' direct='true' body h1Your body goes here/h1 /body /template:put

[ANNOUNCE] struts-layout 0.4 released

2002-04-04 Thread jnribette
Hi, I'm proud to announce the release of struts-layout 0.4. Struts-layout is a specialized and open source taglib for struts that allows fast UI development by providing tags to insert usual components (form, fields, lists etc.) in a page. The tags deal with the layout and the developer don't

conditional iterate

2002-04-04 Thread Peter Cnops
Hi, I have two problems using Struts 1.0.2. First problem I use two beans on a html-page: an articlebean and a divisionbean. This is part of my page: select name=artdivid size=1 logic:iterate id=element name=divisionbean type=com.test.Division option value=bean:write name=element

how to add data into a form?

2002-04-04 Thread yanming lu
Here is what i'd like to do: page 1 has form with ID and NAME. The NAME field is hidden so it is blank. This form is configured as a java bean and set in the struts-config.xml file. when user click the 'save' button, the id of the form is carried to next page, page 2. But in the between, I

RE: Connection pool behaviour

2002-04-04 Thread Zeltser, Mark
Both datasources should reflect database change when tomcat restarted. You can configure poolman to automatically refresh cache by configuring the appropriate attributes in configuration file ( e.g. cacheEnable, cacheSize, cacheRefreshInterval) You can't configure struts Datasource for automatic

Re: Action Trouble : Servlet Error: Connection reset by peer: socket write error

2002-04-04 Thread Struts Developer
I believe I have discovered the reason for this error. It appears that an actionForm declaration in my struts-config.xml file was missing. At least when I added the missing form-bean to the configuration the error goes away. Thanks anyway Mark From: Struts Developer [EMAIL PROTECTED]

RE: No action instance for path

2002-04-04 Thread Dimitar Stavrakov
You forgot to put the .do at the end of the action : html:form action=/verifyAction.do focus=username Should do it. Regards, Dimitar -Original Message- From: kelly lan [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 04, 2002 4:36 AM To: Struts User

RE: lost form data when validate returns errors]

2002-04-04 Thread mtStruts
__ Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/ Get your own FREE, personal Netscape Mail account today at

RequestUtils.populate ( BeanUtils.populate)

2002-04-04 Thread Peter Pilgrim
In Struts 1.1 RequestUtils.populate ( BeanUtils.populate) does not seem to be populate my action forms which explicityly have a mapped attributes. I defined a bean like this public class DerivativesForm extends ActionForm { ... private Map mapItems = new TreeMap(); // Associate a

DynaValidatorActionForm and DynaValidatorForm

2002-04-04 Thread Phase Web and Multimedia
Can someone please give me a snippet of code that uses these classes properly. I have found no examples. Perhaps because it is new, maybe. But, I have tried to use it like the DynaActionForm in my form-bean declaration and I have tried to cast it from the ActionForm form in my Action class to

Tab update question again (this time more documentation)

2002-04-04 Thread theron . kousek
This is the Tabbed Pane portion of my application: table tr td valign=top html:link page =/UserActionPreload.do?method=tabChangetabname=DetailsDetails/html:link /td td valign=top html:link page =/UserActionPreload.do?method=tabChangetabname=LinkEmployeeLink to Employee/html:link

Re: DynaValidatorActionForm/DynaValidatorAction

2002-04-04 Thread David Winterfeldt
DynaValidatorForm just extends DynaActionForm and overrides the validate method. From a discussion on the dev list I was under the impression that it would work the same, but I didn't have time to test them or make examples. I was rushed to get them into the beta. If you can't just replace

RE: No action instance for path

2002-04-04 Thread Dimitar Stavrakov
You forgot to put the .do at the end of the action : html:form action=/verifyAction.do focus=username Should do it. Regards, Dimitar -Original Message- From: kelly lan [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 04, 2002 4:36 AM To: Struts User

Re: Preventing Caching of all pages

2002-04-04 Thread Jim Crossley
I wasn't aware of the init-param solution -- is that new with Struts 1.1? Regardless, we solve this problem by overriding the process method of the ActionServlet and setting some headers prior to calling super. Something like this: protected void process(HttpServletRequest request,

bean message and name property (1.0.2)

2002-04-04 Thread Ivan Siviero
Hi. I have downloaded the latest struts stable version (1.0.2 ) and noticed the bean:message tag misses the attributes 'name' and 'property' which allow to get a message from ApplicationResources when the key is specified in a bean property. i.e.: with strust 1.0 i was able to do the following

Re: Forward from one webapp to another

2002-04-04 Thread Sandeep Takhar
can you use cookies? Sandeep --- Arnaud Chiaberge [EMAIL PROTECTED] wrote: Hi all, I'm looking for a way to forward control from one webapp to another with passing some parameters. What I actually have is a webapp A, where a user first authenticate, and then does his job. Later, the

Re: How do I use Struts tags in JSP and HTML tags?

2002-04-04 Thread Louis Leung
the html tag one should be fine when using the jsp tag with struts tag, it won't work. What you need to do is something like this bean:define id=form name=classname type=classname scope=someScope/ % String currentUseCase = form.getCurrentUseCase(); % jsp:include

RE: Problem with Struts and 2.3 Filters

2002-04-04 Thread Arnaud Heritier
Do you have correctly ordered your tags in the web.xml The error informs you that you don't respect the dtd. You must write your web xml with the order : (icon?, display-name?, description?, distributable?, context-param*, filter*, filter-mapping*, listener*, servlet*, servlet-mapping*,

Re: Urgent: xml with struts

2002-04-04 Thread Louis Leung
you can do that in the action class Yugandhar_Reddy wrote: Hi,Can anyone tell me how can we make use of xml with strutscan we use struts for converting the xml to valueObjects(java class which hold the set and get methods for the each xml tag) and again valueObjects to xml??Thanks

connection pool not refreshing

2002-04-04 Thread Johannes Wolfgang Woger
Hi, I have a small struts application that writes into and reads from an InterBase Database via an interclient jdbc driver. I tried both PoolMan and the DataSource provided by ActionServlet itself. In both cases the real state of the database is not shown up in the application if the table was

DynaValidatorActionForm/DynaValidatorAction

2002-04-04 Thread Phase Web and Multimedia
Can someone please give me a snippet of code that uses these classes properly. I have found no examples. Perhaps because it is new, maybe. But, I have tried to use it like the DynaActionForm in my form-bean declaration and I have tried to cast it from the ActionForm form in my Action class to

RE: Struts html:link tag

2002-04-04 Thread Dimitar Stavrakov
In struts-config.xml For action userAdd.do enter a parameter validate=false . Something like this : action path=/user/userAdd type=... name=... validate=false

Re: At wits end, questions JRun, Oracle9ias

2002-04-04 Thread @Basebeans.com
Subject: Re: At wits end, questions JRun, Oracle9ias From: Vic Cekvenich [EMAIL PROTECTED] === I run OrionServer.com (Oracle is based on it) and it is cake. Vic Galbreath, Mark wrote: My short answer to you is, Shit-can JRun. My team is developing a very complex web-based

Re: How to Generate .xls file from struts app.

2002-04-04 Thread Ben Peter
Hi, I don't have the whole thread available, so I'm not sure whether this has been said: you can use jakarta poi to build native xls files. http://jakarta.apache.org/poi/index.html Cheers, Ben -- Benjamin Peter +49-69-96244395 Application Engineer

RE: Urgent: xml with struts

2002-04-04 Thread Greg.Reddin
If all you're trying to do is convert data between java objects and XML you might want to look at Castor or JAXB (the upcoming Java API for XML Binding). Struts does not have any built-in support for moving data between Java and XML, but you could certainly plug one of these packages in. Greg

RE: Problem with logic:equal tag

2002-04-04 Thread Jakkampudi, ChandraseKhar
Make sure you have included the logic taglib in your page %@ taglib uri="WEB-INF/struts-logic.tld" prefix="logic" % If you dont have this, the logic tags are just ignored and you will get the output you described. HTH, JC -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

forwarding problem

2002-04-04 Thread Bhaskar Gopalan
Hi, Inside a jsp I include a action (.do) file. I get this error when the forwarding tries to take place: Error Message: ERROR: Cannot forward. Writer or Stream already obtained. Error Code: 500 Target Servlet: null Any clues on how to fix this? Thnx, GB -- To unsubscribe, e-mail:

Re: conditional iterate

2002-04-04 Thread Marcelo Vanzin
Peter Cnops wrote: Instead of searchvalue I want to include the value of bean:write name=articlebean property=articledivisionid /, while the iterate is on the divisionbean. You can't do that directly in Struts (at least in 1.0.2, haven't looked more closely in 1.1b yet), you have to

Re: Connection pool behaviour

2002-04-04 Thread Johannes Wolfgang Woger
Thanks, but I cacheEnabled true and setting a cacheRefreshInterval the log file even tells me that poolman is refreshing, but simply does not. I use tomcat403 and poolman 2.1-b1 Wolfgang Zeltser, Mark schrieb: Both datasources should reflect database change when tomcat restarted. You can

Form tag to ActionForm field types relationships.

2002-04-04 Thread Bob Lee
Is there a complete list of what ActionForm field types corresponds to which HTML elements? I'm having trouble finding one. For example, if I have multiple hidden fields with the same name, can my ActionForm field be an array or a Collection? Or, if I have a checkbox, can my ActionForm field be

datasource config in struts-config.xml?

2002-04-04 Thread Mark Johnson
I have been unable to access a database as suggested in struts-example.war. I started with a working example that does not access a database, and made a single change: I added a datasource element to struts-config.xml. When I did that, the example at the first attempt to access the action

RE: Editor aware of Struts

2002-04-04 Thread Yu, Yanhui
Hi Pim, I will for sure post the solution if any one suggests a tool for us. Rajesh kindly suggested Dreamweaver UltraDev4 and CTLX extension, I was trying to download those, but so far unable to make the system work yet (it also asks for Tomcat, we don't use any of these here). Hope Rajesh

applicationresources.properties error

2002-04-04 Thread Galbreath, Mark
Has anyone had a problem with beta-1 not translating the error messages? Mark

RE: Re[2]: At wits end, questions JRun, Oracle9ias

2002-04-04 Thread Tim Sawyer
Oracle 9i is based on the Orion application server. I think Oracle bought the source and are developing it, like they did with JBuilder - JDeveloper. The orion application server is free for development, and $1500 per server for deployment. We're using it instead of paying Oracle ?20,000 or

Re: RequestUtils.populate ( BeanUtils.populate)

2002-04-04 Thread David M. Karr
Peter == Peter Pilgrim [EMAIL PROTECTED] writes: Peter In Struts 1.1 Peter RequestUtils.populate ( BeanUtils.populate) does not seem to be populate Peter my action forms which explicityly have a mapped attributes. Peter I defined a bean like this Peterpublic CcyItem

RE: No action instance for path

2002-04-04 Thread Wellie W. Chao
I don't think you actually need the .do extension when using the html:form tag. I don't have it in my forms and it works. I think the struts-html tag library searches through the actions and automatically appends the correct extension. If you were using standard HTML form tags, you'd have to

Accessing Hashtable / Map entries with bean library

2002-04-04 Thread Wellie W. Chao
Is there a way to access Hashtable (or Map) entries with the bean tag library? Normally I would use a regular bean and just do bean:write, but I want to have several derived values as well that are not in the bean, so I have to copy the bean properties to a Hashtable and add the derived values.

RE: Connection pool behaviour

2002-04-04 Thread Zeltser, Mark
Try to print out cached data to your log file just to make sure that it doesn't cached by the browser/tomcat/proxy if any. -Original Message- From: Johannes Wolfgang Woger [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 04, 2002 2:59 PM To: Struts Users Mailing List Subject: Re:

RE: Struts html:link tag

2002-04-04 Thread Tim Sawyer
You can turn off validation on a form bean for a particular ActionMapping by specifying validate=false in the action mapping. See http://jakarta.apache.org/struts/doc-1.0.2/api/index.html for more details. action path=/addUser type=strutstest1.SystemUserAction

Re: ApplicationResources Error

2002-04-04 Thread Galbreath, Mark
We get this: ???en_US.default.required.error.key??? When in ApplicationResources we say : default.required.error.key=Required. and in struts-config.xml we say: message-resourcesnull=false parameter=com.tessco.partner.vsb2c.web.ApplicationResources/ Mark -- To unsubscribe,

RE: RES: JRun and struts problem worked out?

2002-04-04 Thread Thinh Doan
you should only need struts.jar in app/WEB-INF/lib. Thinh -Original Message- From: Rick Reumann [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 04, 2002 8:30 AM To: Gilson Nascimento D Elrei Cc: Struts Users Mailing List Subject: Re: RES: JRun and struts problem worked out? Thanks

2 articles

2002-04-04 Thread @Basebeans.com
Subject: 2 articles From: Vic Cekvenich [EMAIL PROTECTED] === Also... http://www.fawcette.com/javapro/2002_04/magazine/features/tholloway/ Original Message Subject: [MVC-Programmers] [Struts Tips] #5 - Coarsed-Grained ActionForms (ON StrutsPlus.com) Date: Thu, 04 Apr 2002

Re: Preventing Caching of all pages

2002-04-04 Thread Antony Stace
Thanks for the reply. I want to try this out. But first a couple of questions. I have not extended ActionServlet in my webapp, so I want to ask some advice on how to do this and how to adjust the web.xml file. In regards to extending ActionServlet do I something like public final class

RE: Preventing Caching of all pages

2002-04-04 Thread Heath Chiavettone
If you are using a Servlet 2.3 compliant application server, you could write a filter that does this automatically for you and apply the filter to the action servlet. -Original Message- From: Antony Stace [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 04, 2002 6:07 PM To: Struts Users

RE: How to Generate .xls file from struts app.

2002-04-04 Thread Heath Chiavettone
We did this in our application and we found out just how limited Excel's HTML conversion capability is. It doesn't understand stylesheet styles, it sometimes blows up if images are referenced in the html, etc... We are looking into POI as a solution. -Original Message- From: Gruner,

Re: Preventing Caching of all pages

2002-04-04 Thread Antony Stace
If you are using a Servlet 2.3 compliant application server, you could write a filter that does this automatically for you and apply the filter to the action servlet. Which is the better to do you think. Extend the ActionServlet or use a filter? Whats the advantage of each approach?

RE: Preventing Caching of all pages

2002-04-04 Thread Heath Chiavettone
Are you using a Servlet 2.3 compliant server? If not then you can't use the filter approach. If you are, I would recommend using the filter as you don't have to mess around with the servlet. Plus, if you ever decide to use Tiles, you would have to extend a different servlet. -Original

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

2002-04-04 Thread @Basebeans.com
Subject: html taglib yields Cannot find message resources under key org.apache.struts.action.MESSAGE From: Bill Wohler [EMAIL PROTECTED] === I've got the following complicated page: %@ taglib uri=/WEB-INF/struts-html.tld prefix=html % html:img

hi

2002-04-04 Thread arul
Hi I am involved in developing a small application to get details abt struts. I have four screens thru which i get info from the user and thru the value object i transfer it to the EJB components. I hold all the details of the four screens in four different session beans. I accept a criteria

Re: Preventing Caching of all pages

2002-04-04 Thread Antony Stace
On Thu, 4 Apr 2002 18:13:31 -0800 Heath Chiavettone [EMAIL PROTECTED] wrote: If you are using a Servlet 2.3 compliant application server, you could write a filter that does this automatically for you and apply the filter to the action servlet. I have decided to take the filter approach.

Where is the roles attribute in struts-config_1_1.dtd?

2002-04-04 Thread struts-user
Anyone know why the DTD doesn't specify a roles attribute for the action mapping, but the processRoles() method in the RequestProcessor is checking the ActionMapping for every request to see if the roleNames field contains roles loaded from the struts-config? Is this a feature that's just not

Re: Problem with Struts and 2.3 Filters

2002-04-04 Thread stefan werner
Hello chris, did you try to place the elements exactly in the order they appear in the dtd. You can invoke the error you described f.e. by just crowding elements together. sorry about my english, but i hope it helps cheers stefan - Original Message - From: [EMAIL PROTECTED] To: [EMAIL

RE: Problem with IE5 not calling an Action

2002-04-04 Thread James Mitchell
Not sure if this was answered yet but are you setting the content-type to image/gif or image/jpeg depending on what you are serving up? JM -Original Message- From: Antony Stace [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 04, 2002 5:18 AM To: [EMAIL PROTECTED] Subject:

Re: Problem with IE5 not calling an Action

2002-04-04 Thread Antony Stace
Thanks James for the reply. On Fri, 5 Apr 2002 01:31:21 -0500 James Mitchell [EMAIL PROTECTED] wrote: Not sure if this was answered yet but are you setting the content-type to image/gif or image/jpeg depending on what you are serving up? Yup, still has problems with setting content-type to

RE: Problem with IE5 not calling an Action

2002-04-04 Thread James Mitchell
Yes, I use a similar concept. I use my own taglib within my header.jsp which is included site-wide. like so mytag:nocache/ JM -Original Message- From: Antony Stace [mailto:[EMAIL PROTECTED]] Sent: Friday, April 05, 2002 1:39 AM To: Struts Users Mailing List Subject: Re:

Struts tutorial in Spanish - Tutorial de struts en espaƱol

2002-04-04 Thread Pello Xabier Altadill Izura Pello Xabier Altadill Izura
Hi! This is an announcement of a new tutorial of Struts written in Spanish, with sample code. Saludos! Por si a alguien le interesa hay un nuevo tutorial sobre struts que se puede descargar de javahispano.org o de ciberia.ya.com/pxai. Contiene ejemplos de codigo que pueden ser utiles para

  1   2   >