Set DynaActionForm to see values in textfields...(form-page)

2004-05-24 Thread johannes Schwarz
Hello, I have created more than one form-pages with struts. After validation i can read the values in the Action with: - HttpSession session = httpServletRequest.getSession(); DynaActionForm PageA = (DynaActionForm) session_automatic.getAttribute("PageA"); //This is a DynaActionForm-Objec

Problem with debuging in IDEA 4.0.3

2004-05-24 Thread Paraman
Hi all, When I tried to debug my web application in IDEA 4.0.3 with Tomcat 5.0.24, I got the following exception: Fatal: Parse error in default web.xml java.io.UTFDataFormatException: Invalid byte 2 of 2-byte UTF-8 sequence. at org.apache.xerces.impl.io.UTF8Reader.invalidByte(Unknown Source) a

DynaValidatorForm property is not updated with values that the user inputs

2004-05-24 Thread Andy Leonardo
All, I create a dynamic form using DynaValidatorForm. The form has a property which is an array of a QuoteItem bean. I have managed to get the form pre-populated from the database. After the form is displayed, users can then update the qty field and then submit the form. The problem I have is t

RE: Design Issue - Unchanged data getting submitted

2004-05-24 Thread Prasad, Kamakshya
Hi, We had a similar kind of issues in our last project and we thought about a methodology also. Please let me know if there are any issue with this or somewhere it needs correction or is a performance bottle neck etc etc. I will explain it with an example. We had a screen called Asset Detai

RE: Design Issue - Unchanged data getting submitted

2004-05-24 Thread Milind Kulkarni
Hi, Update record problem: I assume that you have a Header record and multiple child records for this header. To ensure that only the changed records are saved you will have to mark them as "Changed" from the UI. And pass only the changed ones to Business Layer so that only changed ones are saved

Browsing for a directory

2004-05-24 Thread praveen kulkarni
Hi Leon, I understood that cannot search from server, thanks. I have to provide an user interface which allows to browse only directories how can i do this? Thanks in advance Praveen. Yahoo! India Matrimony: Find your partner online.

RE: Tomcat startup error using struts.

2004-05-24 Thread Joe Germuska
At 8:53 AM +1000 5/25/04, BARBEY Stuart R wrote: Thanks to everyone who replied. My problem was: INFO: Initializing, config='org.apache.struts.action.ActionResources',returnNull=true 24/05/2004 14:05:55 org.apache.commons.digester.Digester error SEVERE: Parse Error at line 18 column 19: The conten

RE: Wizards, multiboxes, and hidden forms, oh my!

2004-05-24 Thread DGraham
I've decided to go the route of a session scoped form bean but now I have the interesting problem of myForm.reset() being called with each submission. So, I'm curious.  What's the use of a session scoped bean if it gets reset before it's passed to an action?  Or, am I missing something? Thanks,

Re: struts and pluto

2004-05-24 Thread Dan Tran
checkout liferay portal, they are using struts to write portlet. Good luck -Dan - Original Message - From: "Jing Chen" <[EMAIL PROTECTED]> To: "Struts Users Mailing List (E-mail)" <[EMAIL PROTECTED]> Sent: Monday, May 24, 2004 1:59 PM Subject: struts and pluto > Hi There, > > I have a

RE: Tomcat startup error using struts.

2004-05-24 Thread BARBEY Stuart R
Thanks to everyone who replied. My problem was: INFO: Initializing, config='org.apache.struts.action.ActionResources',returnNull=true 24/05/2004 14:05:55 org.apache.commons.digester.Digester error SEVERE: Parse Error at line 18 column 19: The content of element type "set-property" must match "EMP

RE: Multi-page form: DynaValidatorForm.setPage(..) not called?

2004-05-24 Thread Stunger, Kevin J
I used and have also tried plain html like . Here's a copy from my jsp: Enter Information First Name --Kevin -Original Message- From: David Fri

RE: Multi-page form: DynaValidatorForm.setPage(..) not called?

2004-05-24 Thread David Friedman
Kevin, How is the "page" a hidden variable in your jsp? Do you use (with or without value="someActualPageNumber") OR do you use a regular html (not JSP) tag, which, of course, would never be populated? Since I use different JSP's in my multi-page validations (one for each screen), I recommend y

VALIDATION OF ARRAYS!!Urgent

2004-05-24 Thread Vinita Keswani
Hi All,   I have come across a complex scenario for validation. There is a JSP page with checkboxes and array of textboxes generated dynamically. So for eg: with one checkbox there could be 1 or 2 or 3 ..or n number of checkboxes associated. Now I have to validate that if the checkbox is checked

Multi-page form: DynaValidatorForm.setPage(..) not called?

2004-05-24 Thread Stunger, Kevin J
Hello! I'm having trouble getting Multi-page forms to work. I've set up the following: 1. Validation.xml with page numbers for each field 2. Struts-config.xml with all fields in the form-bean declaration *except* "page" and separate actions for each page (none of which have validation="false") 3

RE: struts.meetup.com (Re: [OT] Struts users in [my city, my country])

2004-05-24 Thread Joe Germuska
At 2:04 PM -0700 5/24/04, Wiebe de Jong wrote: Ok. I've signed up as the first user in Vancouver. Now I just have to wait for somebody else to signup... yes, at only 45 members, it's not really on-fire yet! Especially considering that a year ago, there were over 2700 subscribers to struts-user.

RE: Include common javascript file with relative path - reply

2004-05-24 Thread Kathy Zhou
Try in your common_header.jsp. Kathy -Original Message- From: Ding Lei [SMTP:[EMAIL PROTECTED] Sent: Thursday, May 20, 2004 9:48 PM To: Struts Users Mailing List Subject:Re: Include common javascript file with relative path Hi kathy, > request.getContextPath() could be

RE: struts.meetup.com (Re: [OT] Struts users in [my city, my country])

2004-05-24 Thread Wiebe de Jong
Ok. I've signed up as the first user in Vancouver. Now I just have to wait for somebody else to signup... -Original Message- From: Joe Germuska [mailto:[EMAIL PROTECTED] Sent: Monday, May 24, 2004 1:46 PM To: Struts Users Mailing List Subject: struts.meetup.com (Re: [OT] Struts users in [

struts and pluto

2004-05-24 Thread Jing Chen
Hi There, I have an existing web application developed using Struts framework. Now I am looking into the possibility to make the application as a Portalet so that it can run within Portals that are JSR-168 compliant. Can anybody give me some suggestions on how to start and what should be done fo

RE: REPOST: nested hierarchy property and javascript

2004-05-24 Thread ZCurtis
I understand what you are saying and the getElementsByName() is useful to know. An issue I still have is when writing the conditional javascript statement, I don't know where in the nested hierarchy I am in. What I am saying is that the conditional javascript statement needs to be coded once an

struts.meetup.com (Re: [OT] Struts users in [my city, my country])

2004-05-24 Thread Joe Germuska
Struts users interested in meeting other Struts users face-to-face might want to have a look at http://struts.meetup.com/ Joe -- Joe Germuska [EMAIL PROTECTED] http://blog.germuska.com "Imagine if every Thursday your shoes exploded if you tied them the usual way. This happens to us all th

Re: How to get length of an array(collection)

2004-05-24 Thread Joe Germuska
At 1:44 PM +0800 5/22/04, Ding Lei wrote: Hello all, There is an array(dsmccList) obtained by a self-defined tag, and I wanna to send the length of the array as an hidden property, as following: But this causes exception: javax.servlet.jsp.el.ELException: The "." operator was supplied with

and tags

2004-05-24 Thread PADALA, SANDHYA (SBCSI)
Hello All, I am using JSTL and html-el tags . I am new to the struts and the tags. May be I am doing something unacceptable in struts. Please help me. My ActionForm has something like this : public class TaskForm extends ActionForm { /** @modelguid {C47413FB-A87F-

Re: [OT] Struts users in Capital Federal, BA, Argentina

2004-05-24 Thread Lucas Gonzalez
Any Strut user from Argentina? - Original Message - From: "Wiebe de Jong" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Monday, May 24, 2004 3:34 PM Subject: [OT] Struts users in Vancouver, BC, Canada > Since we're on the topic of finding users, is the

Re: How to get length of an array(collection)

2004-05-24 Thread Henrique VIECILI
Hi Ding! You can try this: You may look into struts-bean API documentation to understand how this tag works. []´s Henrique Andrade Viecili - Original Message - From: Ding Lei To: [EMAIL PROTECTED] Sent: Saturday, May 22, 2004 2:44 AM Subject: How to get length of an array(

RE: Design Issue - Unchanged data getting submitted

2004-05-24 Thread Robert Taylor
I assume your using BMP for persistence. If so, then you could implement a Store Optimization (Dirty Marker) Strategy which would control which fields get updated. For CMP, the container should manage this. For more on this strategy: http://java.sun.com/blueprints/corej2eepatterns/Patterns/Compos

RE: Struts and Data/Presentation Separation

2004-05-24 Thread Josh Holtzman
Ludovic, Thank you for your helpful response. Best regards, Josh Holtzman AMERICAN DATA COMPANY Developing and Supporting your Online Applications [EMAIL PROTECTED] Voice: (310) 470-1257 Fax:(310) 362-8454 Sun Microsystems iForce Partner -Original Message- From

RE: How to get length of an array(collection)

2004-05-24 Thread Robert Taylor
robert > -Original Message- > From: Ding Lei [mailto:[EMAIL PROTECTED] > Sent: Saturday, May 22, 2004 1:45 AM > To: [EMAIL PROTECTED] > Subject: How to get length of an array(collection) > > > Hello all, > There is an array(dsmccList) obtained by a self-defined tag, and I wanna t

[OT] Struts users in Vancouver, BC, Canada

2004-05-24 Thread Wiebe de Jong
Since we're on the topic of finding users, is there anybody out there from the Vancouver, BC, Canada area?

Re: From bean into "for" loop

2004-05-24 Thread Andy Engle
Hi all, Thanks to all of you who responded to my question. I certainly should be able to solve the problem now. I appreciate your responses! Have a great day. Andy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

JSTL and tag

2004-05-24 Thread PADALA, SANDHYA (SBCSI)
> Hello All, > I am using JSTL and html-el tags . I am new to the struts > and the tags. May be I am doing something unacceptable in struts. > Please help me. > > My ActionForm has something like this : > > public class TaskForm extends ActionForm { > > > /** @modelgu

Re: Struts and Data/Presentation Separation

2004-05-24 Thread Ludovic Maitre
Hello, Have you looked at stxx.sourceforge.net ? It seems to be a good solution (it's that i want to use - or something similar - for my next project, which is a project for managing docbook files). You could also look at cocoon, but it's a HEAVY framework, so heavy for me, i stopped looking Co

RE: REPOST: nested hierarchy property and javascript

2004-05-24 Thread Slattery, Tim - BLS
> HTML output code: > > value="true" /> The value of the "name" attribute is just a character string to the DOM. So access the element like this: getElementsByName("myFirstArray[0].mySecondArray[0].myHidden")[0].value="new value"; "getElementsByName" returns an array of elements whose "name"

Design Issue - Unchanged data getting submitted

2004-05-24 Thread Viral_Thakkar
Dear all,   We have a application built using Struts.   Below is the architecture in brief :   JSP à Action Class à Business Delegate à Session Façade à Database   We are not using Action forms. We are using Value Objects (VO) to pass data between web tier and App tier (from action

content length problem

2004-05-24 Thread itsraghuveerhere
Hi, I have a requirement where I need to find out the content length of a body and set it in the response before I write that page. Requests to our portal gioes thru some other portal and reaches our application after authentication in the entry portal. But this entry portal has a content limi

Re: Include common javascript file with relative path

2004-05-24 Thread Ding Lei
Hi kathy, > request.getContextPath() could be a solution. I am including the JS file in common_header.jsp, so how do I use request.getContextPath()? Also, I tried the html:rewrite tag: And it rewrites the address to: However, The correct address should be: /dtvser

How to get length of an array(collection)

2004-05-24 Thread Ding Lei
Hello all, There is an array(dsmccList) obtained by a self-defined tag, and I wanna to send the length of the array as an hidden property, as following: But this causes exception: javax.servlet.jsp.el.ELException: The "." operator was supplied with an ind

Struts 1.1 bean:write problem

2004-05-24 Thread Arunkumar Sreedharan
Ref : msg71420 Hi, I suppose the proble is very simple, just add the following things to the web.xml and struts-config.xml In Web.xml application com.xyz.ApplicationResources add the above entry below action org.apache.struts.action.ActionServlet It is no

Application Resources via EJB's - Need some help plz

2004-05-24 Thread Johan Wasserman - BCX - Mngd Services
Title: Message Hi,   I'm trying to make Struts to use EJB's AND files to get the Resource propperties. For example, I'll have standard (static) App-resources files under (for instance) WEB-INF/classes/acme/Application.properties  and I'll have an EJB under (for example [jndiName]) "acme/App

Using javax.servlet.Filter to remove proxy's port

2004-05-24 Thread Quentin MacDougall
I have a webapp which uses Struts and runs fine on Jetty (port 8080). Im trying to use IISRelayJ so that I can have IIS running on port 80 and have the requsts redirected to Jetty, and keep port 8080 blocked. I tried creating a Filter to do this, but it doesnt seem to work. When I goto http://myh

[OT] Struts Users in London / meet+greet / pub / networking / BOF? / pre J1

2004-05-24 Thread Peter Pilgrim
Hi Are there any Struts user in or around London interested in meeting up one evening informally in a pub somewhere in central London (England of course) for a pint or two, talking about their web user interface experiences? I dont care if your experience is good or bad, beginner or expert, b

{0} when mapping an exception in struts-config.xml

2004-05-24 Thread klute
Hello All, Sorry about the previous email from me--pressed the wrong key before the email was even finished... Anyway, I have a question and was hoping someone can help: I have several Struts Action's whose exectute throw my app-specific ObjectNotFoundException. So basically what'd love to be ab

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

2004-05-24 Thread Niall Pemberton
Yes - Original Message - From: "Pilgrim, Peter" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Monday, May 24, 2004 9:15 AM Subject: [OT] Struts Users in London / meet+greet / pub / networking / BOF ? / pre J1 > Hi > > Are there any Struts user in or arou

RE: Tomcat startup error using struts.

2004-05-24 Thread klute
__ Do you Yahoo!? Yahoo! Domains – Claim yours for only $14.70/year http://smallbusiness.promotions.yahoo.com/offer - To unsubscribe, e-mail: [EMAIL PROTECTED] For add

Re: Struts and Data/Presentation Separation

2004-05-24 Thread Niall Pemberton
Isn't this what Cocoon does? http://cocoon.apache.org - Original Message - From: "Josh Holtzman" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Monday, May 24, 2004 6:16 AM Subject: RE: Struts and Data/Presentation Separation > Thank you KP, > > I shou

RE: [ot] testing 1 2 3 4

2004-05-24 Thread Chappell, Simon P
Sorry Pete, I can't accept that without a unit test. :-) >-Original Message- >From: Pilgrim, Peter [mailto:[EMAIL PROTECTED] >Sent: Monday, May 24, 2004 5:19 AM >To: Struts User Apache (E-mail) >Cc: Struts Dev Apache (E-mail) >Subject: [ot] testing 1 2 3 4 > > >testing 1 2 3 4 > >-- >Peter

Re: [ot] testing 1 2 3 4

2004-05-24 Thread Michael McGrady
Your messages are coming through, Peter. At 03:19 AM 5/24/2004, Pilgrim, Peter wrote: testing 1 2 3 4 -- Peter Pilgrim Operations/IT - Credit Suisse First Boston, 10 South Colonnade, London E14 4QJ, United Kingdom Tel: +44 (0)207 883 4447

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

2004-05-24 Thread Duncan Mills
Funny I was about to mail the group on the same topic - there must be some more of us in the UK...? Regards Duncan Mills Senior Principal Product Manager Oracle Application Development Tools Pilgrim, Peter wrote: Hi Are there any Struts user in or around London interested in meeting up one evenin

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

2004-05-24 Thread James Neville
Pilgrim, Peter wrote: Hi Are there any Struts user in or around London interested in meeting up one evening informally in a pub somewhere in central London (England of course) for a pint or two, talking about their web user interface experiences? Peter, If you get much interest, I may be persua

RE: [ot] testing 1 2 3 4

2004-05-24 Thread Daniel Perry
guess i'm not the only one whoose messages are taking half a day to appear :) Daniel. > -Original Message- > From: Pilgrim, Peter [mailto:[EMAIL PROTECTED] > Sent: 24 May 2004 11:19 > To: Struts User Apache (E-mail) > Cc: Struts Dev Apache (E-mail) > Subject: [ot] testing 1 2 3 4 > > > te

linking to specified FRAMES

2004-05-24 Thread Michael McGrady
At 10:47 PM 5/23/2004, Paresh Patel wrote: Dear Michael: 1. Pardon me for sending this mail to you, but I need a bit of help. 2. Saw that you have done work using frames. 3. I need to learn about using frames in Struts. This is what I would like to do: - have two frames in a page

R: JSP Tag Error

2004-05-24 Thread Amleto Di Salle
Hi, may be, you have selected an "empty" value for the attribute inside the related tag in the tld file, but you return "EVAL_BODY_INCLUDE" inside the doStartTag() method. BR /Amleto -Messaggio originale- Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Inviato: lunedì 24 maggio 2004 9

Re: Problem with Action Forms and

2004-05-24 Thread Richard Yee
Tom, The form bean is created both in the JSP page and when the page is submitted back to the server. Regards, Richard --- "Thomas T. Veldhouse" <[EMAIL PROTECTED]> wrote: > Thomas T. Veldhouse wrote: > > I am having a problem using Action forms because I > do not know what > > to call the attri

JSTL and tag

2004-05-24 Thread PADALA, SANDHYA (SBCSI)
Hello All, I am using JSTL and html-el tags . I am pretty new to the struts and the tags. May be I am doing something totally unacceptable in struts. Please help me. My ActionForm has something like this : public class TaskForm extends WorkFlowForm { /** @modelguid

Re: From bean into "for" loop

2004-05-24 Thread Nathan Maves
well you are on the right path ... You need to use jstl. I am not sure what you have in your bean. Do you have a collection of objects or a Integer of representing a count? Either way check out the forEach tag. Let me know if you need an example nathan On May 23, 2004, at 9:50 PM, Andy Engle w

Re: No getter Method for property

2004-05-24 Thread Irfandhy Franciscus
For me this is what I usually do: JSP: <% System.our.println("the current status in the loop is = " + currStatus); %> Basically i jsut define a bean currStatus that represents the current status, from the array list. Hope this help, -inoel- Satish Satish wrote: Hi, I have tried a lot of stuff

Re: URL Rewriting

2004-05-24 Thread Michael McGrady
Why don't you rewrite UrlRedirect to UrlForward? At 10:34 PM 5/23/2004, Morten wrote: Hi! We are using Struts 1.1 and Tomcat 4.1.x at our company. We are considering to separate our urls from our struts configuration. Instead of /news.do?articleid=43 we would like the url to look like this: /news/a

Re: Validator Framework, WHAT's UP !!!!

2004-05-24 Thread ksitron
Thanks for the reply mark. I finally solved the problem. There were two things. 1, I am using tiles defintitions. I had inadvertantly forgotten to place a closing in my base tile. For some reason this screwed everything up. 2) For some strange reason, the validation framework ONLY sees error m

Resin and Strange Tag Behaviour

2004-05-24 Thread Irfandhy Franciscus
Hi, I have been working on some struts - jsp pages. And I found some strange behaviour. In the JSP I specified some tag. BUT I never actually import the tag, <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> Then i tried to run my JSP. It either say: * Bean not define * There is no

R: From bean into "for" loop

2004-05-24 Thread Andrea M.
Hi Andy I'm afraid you are mixing jsp scriptlet with JSTL grammar You can use two approaches: If you want to use scriptlet (like you are doing now) You must of course declare it, e.g. like Then if tou want to use "someCount" property in you scriptlet you have to stick with usual java syntax: <

REPOST: nested hierarchy property and javascript

2004-05-24 Thread ZCurtis
I am struggling with using javascript to reference a nested property that is 2 levels deep. I didn't seem to find anything on this topic that helped me when searching the archive list. Here is an example of my code that is NOT working because document.forms[0].myHidden does not exist (it's in a

Re: From bean into "for" loop

2004-05-24 Thread Richard Yee
Andy, You are mixing JSP scriptlets and JSTL expressions. You can: 1) use the JSTL forEach tag which is in the core library 2) use the struts logic:iterate tag 3) (least preferable) use scriptlets and access productData.someCount directly rather than throug a JSTL expression. Regards, Richard At

Re: From bean into "for" loop

2004-05-24 Thread Joe Germuska
At 8:50 PM -0700 5/23/04, Andy Engle wrote: Hi all, I am trying to do something as simple as writing a FOR loop with some information that I have in a bean, but this is proving to be quite a bit more cumbersome and difficult than I thought it would be. For some reason, everything I try seems to fa

Using Struts Web app with application context....

2004-05-24 Thread Desai, Sunny
Hi there, Scenario:: I'm using struts in a web application (with other web application which is non struts). The application context for this new struts application is "myapplication" specified in web.xml). I'm facing following problems:: 1) I initially kept an empty struts-config.xml file (sinc

Re: Tomcat startup error using struts.

2004-05-24 Thread Joe Germuska
At 2:30 PM +1000 5/24/04, BARBEY Stuart R wrote: Has anyone seen the following error before? INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true 24/05/2004 14:05:55 org.apache.commons.digester.Digester error SEVERE: Parse Error at line 18 column 19: The content of

code won't work to avoid duplicate submit

2004-05-24 Thread Jignesh Patel
Hi All, Whenever I tried to use Non working Code instead of working code in struts-config.xml to take care of duplicate submit. I got the exception as shown. I don't understand what wrong I am doing? I am using struts1.1. Non working Code: Working code: Exception:

Re: Tomcat startup error using struts.

2004-05-24 Thread Thomas SMETS
May be posting the Struts-config.xml would make it possible to help you ? \T, > Has anyone seen the following error before? > > INFO: Initializing, config='org.apache.struts.action.ActionResources', > returnNull=true > 24/05/2004 14:05:55 org.apache.commons.digester.Digester error > SEVERE: Par

Re: From bean into "for" loop

2004-05-24 Thread Axel Seinsche
Andy Engle wrote: Hi all, I am trying to do something as simple as writing a FOR loop with some information that I have in a bean, but this is proving to be quite a bit more cumbersome and difficult than I thought it would be. For some reason, everything I try seems to fail. Here is a short examp

Set DynaActionForm to see values in textfields...(form-page)

2004-05-24 Thread johannes Schwarz
Hello, I have created more than one form-pages with struts. After validation i can read the values in the Action with: - HttpSession session = httpServletRequest.getSession(); DynaActionForm PageA = (DynaActionForm) session_automatic.getAttribute("PageA"); //This is a DynaActionForm-Objec

AW: Selecting a folder or directory

2004-05-24 Thread Rosenberg, Leon
Errm, I think you are misunderstanding a thing, html:file allows the user to select a file on _his_ computer, you can't search _his_ computer from the server. Regards Leon > -Ursprüngliche Nachricht- > Von: praveen kulkarni [mailto:[EMAIL PROTECTED] > Gesendet: Montag, 24. Mai 2004 06:54

[ot] testing 1 2 3 4

2004-05-24 Thread Pilgrim, Peter
testing 1 2 3 4 -- Peter Pilgrim Operations/IT - Credit Suisse First Boston, 10 South Colonnade, London E14 4QJ, United Kingdom Tel: +44 (0)207 883 4447 == This message is for the sole use of the intended recipient. If y

RE: Tomcat startup error using struts.

2004-05-24 Thread Daniel Perry
somewhere in struts config, you have a set-property element that isnt empty ie, it should end with /> and have no matched cose tag. Daniel. > -Original Message- > From: BARBEY Stuart R [mailto:[EMAIL PROTECTED] > Sent: 24 May 2004 05:31 > To: '[EMAIL PROTECTED]' > Subject: Tomcat startup

Re: From bean into "for" loop

2004-05-24 Thread Hani Naguib
The ${productData.someCount} is not valid Java, it is a JSP thing. There are a number of ways to do this. 1- <% // Retrieve Product data reference,assuming it is of type ProductData // and assuming it has been stored in the pageContext ProductData productData = (ProductData)(ageContext.get

[OT] Struts Users in London / meet+greet / pub / networking / BO F? / pre J1

2004-05-24 Thread Pilgrim, Peter
Hi Are there any Struts user in or around London interested in meeting up one evening informally in a pub somewhere in central London (England of course) for a pint or two, talking about their web user interface experiences? I dont care if your experience is good or bad, beginner or expert, b

[OT] Re: Oracle 10g Apps Dev Framework

2004-05-24 Thread Duncan Mills
If you are using an EJB session bean based data control there are no standard operations that ADF can assume, as you have total control over the APIs that the session bean exposes. This contrasts with a framework such as ADF Business Components which natively understands build-in database operat

Re: From bean into "for" loop

2004-05-24 Thread Duncan Mills
If you have an array in the bean that you are trying to iterate through, then a JSTL tag would seem ideal Regards Duncan Mills Senior Principal Product Manager Oracle Application Development Tools Andy Engle wrote: Hi all, I am trying to do something as simple as writing a FOR loop wi

R: From bean into "for" loop

2004-05-24 Thread Amleto Di Salle
Hi, you are using scriplets and EL together. If you want to use JSTL, the following code is: For JSTL1.1 <%@ taglib uri="http://java.sun.com/jsp/jstl/core"; prefix="c"%> For JSTl1.0 <%@ taglib uri="http://java.sun.com/jstl/core"; prefix="c"%> //write my text here using "productelement"

weblogic (slightly off topic)

2004-05-24 Thread Ajay
hi! I am moving my old application from jboss/mysql to weblogic/mysql. I cant however seem to configure the driver for mysql. I have put the mysql connector jar file in my comp classpath, edited startWebLogic.cmd (in bea/samples/domains/workshop) to add the path to the jar file but when i login in

RE: From bean into "for" loop

2004-05-24 Thread Janarthan Sathiamurthy
Andy, What error are u getting ? Regards, Janarthan S -Original Message- From: Andy Engle [mailto:[EMAIL PROTECTED] Sent: Monday, May 24, 2004 9:20 AM To: [EMAIL PROTECTED] Subject: From bean into "for" loop Hi all, I am trying to do something as simple as writing a FOR loop with some

[OT] Struts Users in London / meet+greet / pub / networking / BOF ? / pre J1

2004-05-24 Thread Pilgrim, Peter
Hi Are there any Struts user in or around London interested in meeting up one evening informally in a pub somewhere in central London (England of course) for a pint or two, talking about their web user interface experiences? I dont care if your experience is good or bad, beginner or expert, b

JSP Tag Error

2004-05-24 Thread Vijay.Nair
Hi All, Anyone encountered this error before? Its very strange// "javax.servlet.jsp.JspTagException: Invalid evaluated value EVAL_BODY_INCLUDE from class"

URL Rewriting

2004-05-24 Thread Morten
Hi! We are using Struts 1.1 and Tomcat 4.1.x at our company. We are considering to separate our urls from our struts configuration. Instead of /news.do?articleid=43 we would like the url to look like this: /news/article/43. Furthermore the generated html should contain urls of the form /news/artic

RE: Struts and Data/Presentation Separation

2004-05-24 Thread Josh Holtzman
Thank you KP, I should have stated earlier that we are actually quite familiar with the java XML parsers and XSLT transformation engines. We are considering writing a servlet or filter to handle the transformations. A caching mechanism would also need to be written. We are researching if there

Selecting a folder or directory

2004-05-24 Thread praveen kulkarni
hi all, we are doing an search engine kind of thing , for which i need to select a directory , where searching for a particular keyword is done. Problem with tag is that i can only select a file not a directory. Kindly give a clue to proceed, thanks in advance Praveen. Yahoo! India Matri

Tomcat startup error using struts.

2004-05-24 Thread BARBEY Stuart R
Has anyone seen the following error before? INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true 24/05/2004 14:05:55 org.apache.commons.digester.Digester error SEVERE: Parse Error at line 18 column 19: The content of element type "set-property" must match "EMPTY"

From bean into "for" loop

2004-05-24 Thread Andy Engle
Hi all, I am trying to do something as simple as writing a FOR loop with some information that I have in a bean, but this is proving to be quite a bit more cumbersome and difficult than I thought it would be. For some reason, everything I try seems to fail. Here is a short example of what I'm tr