RE: Antwort: RE: VA 3.5.2

2001-05-16 Thread Noel Sebastien
Thank but I was asking for a way to say it under WAS Gui (admin console). Because I am not sure to understand : WAS can't read the web.xml file, can it ? Instead I must register the servlet into the admin console. I have done with it. But now, how can I specify the automatic redirection ? Am I

RE: Caching Problem

2001-05-16 Thread Dinesh Chaturvedi
Hi David You got the problem right well i have tried using only the last line of your code response.addDateHeader(Expires, 1); in my code it does not work maybe this will solve the problem. Hi Dinesh, Not sure if this is what you mean, but here goes: If you set the following

Re: java script struts + scriptlet

2001-05-16 Thread Laurent Cornelis
html:button property=btnInform onclick=return informInventoryLack('%= orderItemData.getId() %\')bean:message key=button.order//html:button Maybe could you try this (without the / at the end of the scriplet) : html:button property=btnInform onclick=return

XBrowser Hide And Show Problem

2001-05-16 Thread Dinesh Chaturvedi
Hello Everybody I am using a div tag in my html page and trying to hide and show a text field at run time this works fine while using IE but when i am using Netscape 4.x.it gives me problem accessing document.forms[0].divName i have found that in netscape div is not a part of

RE: connection pool problem (with Beta release)

2001-05-16 Thread Johan Compagner
Debug through it and look what kind of rows are really selected from the db the first time. I have seen this behaviour many times but it was always a caching problem at the browser site. Because the selected data was right the first time. johan -Original Message- From: Gogineni,

problem with attribute

2001-05-16 Thread Ward Niall
Hi I'm a newbie to Struts so I'm sorry if this is a basic error but I can't figure out what I'm doing wrong. I want to pass an attribute to a tag library I wrote as follows: app:linkCreateProcess page=/createprocess.do? templateid=1006 This is the snippet from my app.tld: tag

National characters don't reach Action class correctly

2001-05-16 Thread Turgay Zengin
Hi, I need help on this: Problem is, I can see national characters on jsp pages correctly, but when I post data to an Action, the string gets messed up. I couldn't find related info in the archive. Related lines on my jsp page: %@ page contentType=text/html; charset=ISO-8859-9 % html:html

FormTag-problem, bug or a feature?

2001-05-16 Thread Erik Eriksson
I have a problem with the form-tag action-attribute when I use newer builds of struts. Is it a bug or a feature? maybe a buggy feature... Before, the action-attribute was not touched i.e. what one wrote in the .jsp-file was the same that came out after the taglibs rendering. Now the taglib tries

Re: struts-template and MVC

2001-05-16 Thread Cedric Dumoulin
Hi Dan, Struts 'actions' do a forward at the end. This forbid to insert an action in a template, because you can't do a forward once you have start to write the request response. A solution to your problem is, using Components implementation, to replace tag template:get name='body' / with

RE: struts-template and MVC

2001-05-16 Thread Danail Grigorov
h, that's very strange. i'm using the following: template:insert template='/shared/chapterTemplate.jsp' template:put name='header' content='/shared/header.jsp' / template:put name='features' content='/eForum/forumListLoad.do?forward=topForums' / /template:insert and i don't have

Re: Radio Button question

2001-05-16 Thread Shane Warne
Amar, I was looking for a similar solution too. I was wondering how do i disable a radio button/ check box when the page to be displayed is just read only.. I can use the normal form elements to get the job done but is it possible using Struts??? Shane..

Problem Combining Struts And Homegrown Taglibs

2001-05-16 Thread Michael Duffy
We're having a problem using custom JSP tags with Struts that we're hoping someone can help with. We have two JSP pages: one that uses a Struts taglib and another that uses both Struts taglibs and a home-grown taglib. When we enter erroneous data into the page that only uses the Struts taglib,

RE: Comparing two dynamic values

2001-05-16 Thread Tony Karas
thank you - will give that a go. From: [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: Comparing two dynamic values Date: Tue, 15 May 2001 12:12:57 -0400 Tony, You could make the href point to an action path, and that way you will go through the action

RE: Radio Button question

2001-05-16 Thread Nanduri, Amarnath
Hi Shane , you can doa small hack . Have a Radio Button / Checkbox image. In your iterate tag use the logic:equal tag to find out if it is read only. If read only flag is true, show the image else show the Radio Button. Hope this helps. cheers, Amar.. -Original Message- From:

RE: XBrowser Hide And Show Problem

2001-05-16 Thread GU,JAMES (HP-Corvallis,ex1)
in netscape it is document.layers that contains all the div tags. And it it also helpful to realize that in netscape every layer itself is a DOM. You can probably find details in a not-out-of-date Javascript book. Good luck! -Original Message- From: Dinesh Chaturvedi [mailto:[EMAIL

Re: Design Suggestion

2001-05-16 Thread Cedric Dumoulin
This question has already been debated in struts-dev in Nov; 2000. Unfortunately, online archive is not available for this thread. I join a copy of Craig McClanahan response. Cedric Craig R. McClanahan wrote: Cedric Dumoulin wrote: I would like to know why Struts uses base

page flow control

2001-05-16 Thread Nathan Coast
Hi, In the site I'm developing, there are sections that have forms on consecutive pages, I want to guarantee that pages are navigated: page1 - page2 - pageN. At the same time allowing back and forward navigation to change values entered on previous pages. After the last submit, the only

Problem

2001-05-16 Thread jean michel legrand
I have the exact same problem as one of the user that described it previously in the user list: org.apache.jasper.JasperException: Unable to open taglibrary /WEB-INF/struts-bean.tld : Parse Error in the tag library descriptor: Character conversion error: Unconvertible

Struts/Turbine

2001-05-16 Thread jean michel legrand
We are a team of software engineers working on the implementation of a collaborative tool as a web-based application. How Struts would be better as an implementation framework as opposed to Turbine to implement such features for our future product: extensibility like adding add-on

Re: National characters don't reach Action class correctly

2001-05-16 Thread Peiqiang Han
Turgay, If you use Tomcat 4.0 (servlet spec 2.3), you can just wirte: request.setCharacterEncoding(ISO-8895-9); System.out.println(request.getParameter(filename)); If you use Tomcat 3.2 (Servlet spec 2.2), String data = request.getParameter(filename); byte[] raw = data.getBytes(ISO-8859-1);

Iterate and Radio tags

2001-05-16 Thread Nanduri, Amarnath
Hi All, I am using a Radio Button in an Iterate Tag. I would like to give a unique id value to each and every radio button. The name of the button will be the same but the value will be different. So if a user clicks ona particular radio button, i will know which value is he looking for ? Is

RE: page flow control

2001-05-16 Thread Nanduri, Amarnath
Write a flow controller which does this. Look at the pet-store example app for inspiration. cheers, Amar.. -Original Message- From: Nathan Coast [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 16, 2001 10:09 AM To: struts-user Subject: page flow control Hi, In the site I'm

Re: page flow control

2001-05-16 Thread Jeff Trent
Do search for Wizard in mail-archive.com under struts-user. You'll find a few examples. - jeff - Original Message - From: Nathan Coast [EMAIL PROTECTED] To: struts-user [EMAIL PROTECTED] Sent: Wednesday, May 16, 2001 10:09 AM Subject: page flow control Hi, In the site I'm

Populating HTML text field value property with a Bean property.

2001-05-16 Thread Mohan_Venkataraman
Hi, I am a new Struts user and am not sure as to how to populate a struts HTML text field's value property with the property of a bean without manipulating it in ActionForm. For example i need to initialize the value with a bean's property. html:text property=emp_id size=10 value= maxlength=10/

Cannot get request dispatcher for path http://cnn.com ?

2001-05-16 Thread Peter Smith
Hi, I have a wizard-style app that I've configured in my struts-config.xml as below. Not sure I like it yet, but I have my Action class send the user to the next JSP page each time the user hits the 'Next' button (design swiped from msg in this group). When they're finished, I wish to send

RE: page flow control

2001-05-16 Thread Laurent Delvaux
Some one has ever post a set a class than enable a sort of flow control. You can find it on the malling list archive, the subject is Re: Struts questions for evaluation - Struts framework enhancement. He uses the previous action path, as a identifier... I personnaly think that previous action is

Re: page flow control

2001-05-16 Thread Robert Leland
Lets work out a diagram that explains the flow, Tokens should be able to do this.. if there is both a SaveXXXAction and EditXXXAction for all JSP accessed, Action JSP Page EditPage1Set Token

NT authentication

2001-05-16 Thread Abraham Kang
Hi, I know WebLogic and JRun support integration with an NT Realm. I haven't used tomcat so I can't help you there much. I also tried looking on the Internet but could find anything specific. You might have better luck talking to a MS developer. --Abraham

Iterate some values per page ...

2001-05-16 Thread Laurent Cornelis
Hello, I want to iterate a collection only few rows per page. I have an offset parameter in my request that give the offset. !-- Definition of the offset parameter -- bean:parameter id=offset name=offset value=0/ !-- Iteration -- logic:iterate id=faq length=2 name=faqList offset=% new

RE: Iterate and Radio tags

2001-05-16 Thread Sheikh, Jawwad
Amar I had a situation where I was using a 'for' loop instead of the iterate tag. So to assign a unique value, this what I did. html:radio property=radiobutton value=%= String.valueOf(i) % / where 'i' is the loop counter. Hope this helps. Jawwad -Original Message- From:

RE: Cannot get request dispatcher for path http://cnn.com ?

2001-05-16 Thread Howard Moore
Try changing step 5 to the following; forward name=step5 path=http://cnn.com/; redirect=true/ The javadoc for the ActionForward class says the path should be the Context-relative URI to which control should be forwarded, or an absolute or relative URI to which control should be redirected.

RE: struts-template and MVC

2001-05-16 Thread Perez, Bill
HOW THE HELL DO I UNSUBSCRIBE FROM THIS LIST -Original Message- From: Mark Simms [SMTP:[EMAIL PROTECTED]] Sent: Tuesday, May 15, 2001 6:50 PM To: [EMAIL PROTECTED] Subject: Re: struts-template and MVC Sounds greatgo for it Dan, but try to get more info on the

ActionForm Instantiation

2001-05-16 Thread Anthony Martin
I am using instances of my ActionForm for showing a list prior to showing the detail. I do this because I don't want to duplicate the data structures. To better explain, I have an ActionForm called ProfileForm. I have a jsp that uses ProfileForm to display and edit in the struts fashion. To

RE: pager tag , iterate tag and displaying data as rows in a table

2001-05-16 Thread Nanduri, Amarnath
Never mind. figured it out myself and it works just fine cheers, Amar.. -Original Message- From: Nanduri, Amarnath [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 16, 2001 2:30 PM To: '[EMAIL PROTECTED]' Subject: pager tag , iterate tag and displaying data as rows in a table Hi

Can a Multibox be wired to use Vectors instead of String[]

2001-05-16 Thread Jeff Trent
I'd like my getters and setters on the form use Vectors instead of string arrays. Can this be accomplished? When I tried I got the following exception: Error: 500 Location: /csr/admin/seq_participant.doInternal Servlet Error:javax.servlet.ServletException: BeanUtils.populate at

RE: Radio Button question

2001-05-16 Thread Shane Warne
Amar, The idea's good. But the radio button values have to be set. Like the dbase would hold the values for the radio button or the check box and i have display the disabled radio or checkbox depending on what value is coming from the dbase. html:checkbox property=checkmate disabled=true / We

RE: Iterate and Radio tags

2001-05-16 Thread Nanduri, Amarnath
Hi Mani, Try this. It works for meIt is a hack i need to implement in my ActionForm also. logic:iterate id=groupsList name=statesBean property=states html:radio name=statesBean property=selectedIndex value=%= statesBean.getIndexedValue() % / /logic:iterate public class

RE: Forwarding to a specific target frame

2001-05-16 Thread Pawel
Hi, I believe that what you are asking for cannot be done by the server. This is because the server cannot push anything without the browser requesting it. It is the browser's decisions to output the data (html page, ...) in a particular frame (the server has no control over this). You usually

Trouble setting properties of an ActionForm bean

2001-05-16 Thread Peter Smith
I'm hoping this issue is me just not understanding the JavaBeans spec! When I make the getter method of my ActionForm property a non-String type, the 'set' method for that property is not called when a request is made. I traced this to BeanUtils.java which gets a 'null' returned by

OQL = SQL library???

2001-05-16 Thread struts
i searched the web without much luck. i was wondering if anyone here has had experience using any kind of a programmatic SQL builder library/class. i would like to dynamically generate some of the multitude of SQL strings that i currently simply write in as strings in my code to pass on to JDBC

RE: pager tag , iterate tag and displaying data as rows in a table

2001-05-16 Thread Sheikh, Jawwad
so how did you do it? -Original Message- From: Nanduri, Amarnath [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 16, 2001 3:58 PM To: '[EMAIL PROTECTED]' Subject: RE: pager tag , iterate tag and displaying data as rows in a table Never mind. figured it out myself and it works just

RE: Radio Button question

2001-05-16 Thread Nanduri, Amarnath
Shane, It works for me. The value in the Radio Button is dynamic. I am at present setting an index for each Radio Button. When the user submits information back, i know what index it is based on the value selected in the Radio Button. I then lookup in the ArrayList on this index and get

RE: Radio Button question

2001-05-16 Thread Nanduri, Amarnath
Also see an other posting i made in struts mailing list.. Iterate and Radio tags and follow the thread. It is self explanatory. cheers, Amar.. -Original Message- From: Shane Warne [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 16, 2001 4:08 PM To: [EMAIL PROTECTED] Subject: RE: Radio

Re: Trouble setting properties of an ActionForm bean

2001-05-16 Thread Eric Rasmussen
As far as I know, the value passed into the setter method must match the value returned by the getter method. It will not work otherwise. Could you return 'true' or 'false' as a String? If you are setting a value of a field, it should work. - eric - Original Message - From: Peter

RE: pager tag , iterate tag and displaying data as rows in a tabl e

2001-05-16 Thread Nanduri, Amarnath
Look at my other posting Iterate and Radio tags. You should find it in the mailing list . cheers, Amar.. -Original Message- From: Sheikh, Jawwad [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 16, 2001 5:27 PM To: '[EMAIL PROTECTED]' Subject: RE: pager tag , iterate tag and displaying

RE: pager tag , iterate tag and displaying data as rows in a tabl e

2001-05-16 Thread Nanduri, Amarnath
You might want to look at Radio Button question discussion thread also.. -Original Message- From: Sheikh, Jawwad [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 16, 2001 5:27 PM To: '[EMAIL PROTECTED]' Subject: RE: pager tag , iterate tag and displaying data as rows in a tabl e so how

Re: bean:cookie tag problem

2001-05-16 Thread Martin Cooper
The bean:cookie tag defines a bean of type javax.servlet.http.Cookie (or an array of them if the 'multiple' attribute is specified). You'll need to access the 'value' property, as you are doing in the scriptlet code. Also, you need to use different quote characters to avoid conflicts. Try this:

Re: page flow control

2001-05-16 Thread Tharwat Abdul-Malik
Search the archives for implementing Wizard style interfaces. There have been several posts on how to accomplish it. - Original Message - From: Nathan Coast [EMAIL PROTECTED] To: struts-user [EMAIL PROTECTED] Sent: Wednesday, May 16, 2001 10:09 AM Subject: page flow control Hi, In

»¶Ó­µÇ½ºÃÉÌÎñÆóÒµÍø

2001-05-16 Thread ¡°ºÃÉÌÎñ¡±ÆóÒµÍø
Title: »¶Ó­µÇ½ »¶Ó­µÇ½¡°ºÃÉÌÎñ¡±ÆóÒµÍøÕ¾(www.good35.com) ×ð¾´µÄÅóÓÑ£º ÄúºÃ£¡

»¶Ó­µÇ½ºÃÉÌÎñÆóÒµÍø

2001-05-16 Thread ¡°ºÃÉÌÎñ¡±ÆóÒµÍø
Title: »¶Ó­µÇ½ »¶Ó­µÇ½¡°ºÃÉÌÎñ¡±ÆóÒµÍøÕ¾(www.good35.com) ×ð¾´µÄÅóÓÑ£º ÄúºÃ£¡

Re: National characters don't reach Action class correctly

2001-05-16 Thread Turgay Zengin
Hi! Yes, that really helps, thank you. I also found the same thing at a message in java-apache-users archive at http://www.geocrawler.com/archives/3/440/2000/2/0/3373820 The interesting thing is, this doesn't happen if the Struts html:form tag is used - then I get the correct characters. I am