forward problem with frames

2001-07-31 Thread Stefan Faist
Hi all, why have a frameset and open a link without this framset. Then I want to go back to the frameset with this forward. forward name=start_mitarbeiter path=/main.jsp/ the main.jsp is the page with the frameset. But this forward opens a new window? Why does it do that and how can I open this

Populating an HTML-Form

2001-07-31 Thread Maik Mrazovic
Hello, at a jsp-Page I want to populate the a form, the required data are in a bean. How do I populate it? I´m new at the struts framework and I didn´t find documentation for this. The Struts-Example-Webapplication is nonapparent for me. For Detail: The user has see a list as an dynamic

Re: Unit testing Actions

2001-07-31 Thread Vincent Massol
Hi John, If you don't get any answer on the struts-user mailing list please repost on the cactus-user list, I know for sure that several persons have done it and would be able to give you the code. Basically, there is no helper class for the time being, meaning that before calling your

struts and log4J

2001-07-31 Thread DUPRAT Alexandre
Hi all, I'm a newbie in struts. I'd like to use log4J with struts. I don't know where i must do the log4J configuration. In another servlet, i would do it in init method but i would like to use ActionServlet. Where can i put code like : BasicConfigurator.configure() . ? Thanks for help.

indexed properties problems ArrayIndexOutOfBoundsException

2001-07-31 Thread Nathan Coast
Hi, I've followed various threads (Long Story Short etc) about Dave Hays index tags enhancement and after much hair tearing! The suggested code for the form bean is: private ArrayList parameterList = new ArrayList(); public ArrayList getParameterList() {

RE: struts and log4J

2001-07-31 Thread Mark Schenk
Hi all, I'm a newbie in struts. I'd like to use log4J with struts. I don't know where i must do the log4J configuration. In another servlet, i would do it in init method but i would like to use ActionServlet. Where can i put code like : BasicConfigurator.configure() . ? Hello

RE: Re: Embedded bean/param values

2001-07-31 Thread devon . bowen
JSPTL allows you to do the following by using the Simplest Possible Expression Language (SPEL) provided with the reference implementation: tag attribute=$foo.bar.baz/ tag attribute=$param:paramName/ The above examples make things prettier but don't really add much functionality over

RE: struts and log4J

2001-07-31 Thread Heritier Arnaud
Why don't extends the Action servlet ??? You can create a MyActionServlet which extends ActionServlet and initialize log4J. Then you replace in the web xml the ActionServlet Class with the MyActionServlet Class. I didn't test it, but I think that it works. Arnaud H -Message

RE: struts and log4J

2001-07-31 Thread DUPRAT Alexandre
Thanks Mark and Arnaud for help. Both soluces are working. -Message d'origine- De: Heritier Arnaud [mailto:[EMAIL PROTECTED]] Date: mardi 31 juillet 2001 11:36 À: '[EMAIL PROTECTED]' Objet: RE: struts and log4J Why don't extends the Action servlet ??? You can create a MyActionServlet

Re: Returning to called page after loggin on...

2001-07-31 Thread Ted Husted
Craig's slides for BOF #1291, Approaches to User Authentication and Access Control in Web Applications is available for download at http://husted.com/about/struts/resources.htm#new True to the school, it's in Open Office format http://www.openoffice.org/ . Craig R. McClanahan wrote: I

Re: Are form tags tied to beans?!!!

2001-07-31 Thread Jonathan Asbell
I know. This is what I had and didnt like. So we are saying that we need to re-design the html form tags to handle this in an elegant way, right? - Original Message - From: Ted Husted [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, July 31, 2001 7:12 AM Subject: Re: Are form

RE: Using Struts in VisualAge for JAVA 3.5.3 WebSphere Test Environment

2001-07-31 Thread Maria Laura Velazquez
Hi, I have the same problem as Michael, trying the IBM employeelist example, and I don't know how to make it work. Has anybody have an idea about it? Regards. Maria Laura. -Mensaje original- De: Panayotou, Michael [mailto:[EMAIL PROTECTED]] Enviado el:

RE: Wrong ordering of rendered html elements when using templates under WAS 3.5.x

2001-07-31 Thread Assenza, Chris
Title: Wrong ordering of rendered html elements when using templates under WAS 3.5.x You need to use flush="true" on your template:get tags. :) WebSphere needs it's hand held to do the include properly. :-P (ex. template:get name="main" flush="true" / ) -Chris Christopher Assenza Phone:

action-mapping: why must the action-Attribute path be equivalent to the name of the jsp?

2001-07-31 Thread Peter.Spiessbach
Hello, does anyone have an idea, how to use the same physical jsp page in different action mappings (with different actions). I do not see a way to describe that my action path should be a locigal path using a page, which does not fit to the pathname of the page. Example: JSP is

Branch too large, Internal restriction. (?!)

2001-07-31 Thread sbt
Having *a lot* of input fields (50+ hidden and non-) on my JSP appearently results in the exception below. Has anyone seen this one before? Is this due to WebSphere's outdated version of Jasper? At first I thought it was a limitation in the WTE only but WAS 3.5.3 throws the same exception.

RE: Branch too large, Internal restriction. (?!)

2001-07-31 Thread Assenza, Chris
This is an evil error but it's not really Struts' fault. Basically the error is the fact that a compiled JSP (servlet really) can't have a single method greater then 64k - but with all those tags being compiled in directly the size grows pretty large. I asked this a while back and Martin Cooper

Re: Are form tags tied to beans?!!!

2001-07-31 Thread Ted Husted
What elegant way did you have in mind? Personally, I'd either add a property to the bean to represent the flag, or send a second ActionForm bean down as a helper and specify that as the name attribute for the tag. If the value is dynamic, it has to be coming from somewhere, so why not an

RE: some comparision between JSP/struts and velocity

2001-07-31 Thread Assenza, Chris
I tend to agree with Tim here, but only in certain circumstances. If you place very specific HTML code in your tag library then that tag library has become very restricted in its use - basically it can only be used in the original context for which it was designed, otherwise the HTML will

Re: Returning to called page after loggin on...

2001-07-31 Thread Scott Ryan
This looks like a very useful paper but how do you open and read the paper if you only come equipped with the text tools from the microsoft monster? Scott Ryan Developer First Bank Data Corporation Work: (303) 235-1485 Cell:(303 263-3044 [EMAIL PROTECTED] 07/31/01 05:19AM Craig's slides

Re: struts and log4J

2001-07-31 Thread William Jaynes
The easiest way is to let the log4j static initializer work for you. Place log4j.jar in your WEB-INF/lib directory and your log4j.properties file in WEB-INF/classes. - Original Message - From: DUPRAT Alexandre [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, July 31, 2001 5:03 AM

Re: action-mapping: why must the action-Attribute path be equivalent to the name of the jsp?

2001-07-31 Thread Ted Husted
At this time, the current ActionMapping is not exposed to the JSP, so it really can't tell which ActionMapping was used to call it. (Though, it would be cool they could;-) You might want to route control first through an Action, and then to the JSP. This way you can put something in the request

Antigen found =*.vcf file

2001-07-31 Thread ANTIGEN_MG01
Antigen for Exchange found Taylor, Michael(LIT).vcf matching =*.vcf file filter. The file is currently Deleted. The message, HTTP Session Usage, was sent from Taylor, Michael(LIT) and was discovered in IMC Queues\Inbound located at IBC/PA1/MG01.

Re: Returning to called page after loggin on...

2001-07-31 Thread Ted Husted
Open Office is a free download, and available even to the monsters amongst us ;-) Scott Ryan wrote: This looks like a very useful paper but how do you open and read the paper if you only come equipped with the text tools from the microsoft monster? Scott Ryan Developer First Bank Data

Re: forward problem with frames

2001-07-31 Thread Peter Alfors
There is a target attribute in the html:FormTag Have you tried setting the target to _top ? HTH, Pete Stefan Faist wrote: Hi all, why have a frameset and open a link without this framset. Then I want to go back to the frameset with this forward. forward name=start_mitarbeiter

RE: Automatic Form Validation

2001-07-31 Thread Emaho, Ghoot
Thanks for the reply David. Yeah, 'action' checking is another way of determining wether or not to do the validation. I guess I was wondering if it was possible to configure the Form to prevent first time checking ? Would anyone else find this useful ? Given the recent discussions about

BUILDING A URL FOR A REFRESH META TAG

2001-07-31 Thread Dudley [EMAIL PROTECTED]
can anyone please helpi want to redirect the user to another page, after showing a page with a message, for a few seconds. This is what I have META HTTP-EQUIV=Refresh CONTENT=5; URL=/logon.jsp This URL doesn't work though!! Please help

Re: AW: action-mapping: why must the action-Attribute path be equivalent to the name of the jsp?

2001-07-31 Thread Ted Husted
The usual solution would be to design your forms to contain hidden fields that tell the Action which operation to perform with the next request. So typically, there would be one button with a hidden field that conveyed whether this was the FirstAction or the SecondAction. These would all go back

Included Actions

2001-07-31 Thread Gregor Rayman
Hi all, is it somehow possible to include the output of an action in one JSP? Now, when I try to include a *.do page, the server complains, it cannot forward to the action's jsp (of course, since I don't want to forward, I want to inlcude). The only solution I've found, is to len the Action's

RE: Automatic Form Validation

2001-07-31 Thread David Winterfeldt
--- Emaho, Ghoot [EMAIL PROTECTED] wrote: Thanks for the reply David. Yeah, 'action' checking is another way of determining wether or not to do the validation. I guess I was wondering if it was possible to configure the Form to prevent first time checking ? Would anyone else find

best way to create front end to web.xml

2001-07-31 Thread Alex Colic
Hi, I need to create a GUI front end to the web.xml file. This way the file can be configured from a web page. What I thought about doing was to create an admin screen, have the user log in, and check against a file etc. Then I was going to get the servletContext, open a stream and read the

Antigen found =*.vcf file

2001-07-31 Thread ANTIGEN_MG01
Antigen for Exchange found Alex Colic.vcf matching =*.vcf file filter. The file is currently Deleted. The message, best way to create front end to web.xml, was sent from Alex Colic and was discovered in IMC Queues\Inbound located at IBC/PA1/MG01.

Silly Question - Where is the notEmpty tag?

2001-07-31 Thread Assenza, Chris
It is on the web page's documentation but nowhere to be found in the source or TLD...I'm assuming it's been deprecated. It may be a good idea to take it off the page cause I was all excited about it until my JSP screamed at me. :P Chris

Re: Included Actions

2001-07-31 Thread Kumar Ramachandran
Hi All, I have just started with Structs and JSP. I would like to get an idea from the group if they know of a open-source/free IDE for Linux to develop JSP/Struts pages. I would like to have source level debugging etc with Tomcat support. Thanks for the recommendation in advance. Kumar

RE: Problem with Struts in VAJ 3.5.3 WTE

2001-07-31 Thread Maria Laura Velazquez
Hi!, I'm María Laura, and I have the problem mentioned here: the employeelist app index.jsp page throws the following error: Mensaje: Server caught unhandled exception from servlet [jsp]: Missing message for key index.title Firstly, I edited the ApplicationResourses.properties

Re: Stuts behind a firewall.

2001-07-31 Thread Bill Clinton
Craig, You say that you should be able to run with no problems, without trying to access the network. But it seems to me that the internal DTDs are used only after an attempt to access them via the network times out. Am I mistaken on this? It seems that when I start my server (either

Data Object and Calendar

2001-07-31 Thread Matt Raible
I have a Data Object (DO) that we use to throw b/w our EJBs and forms. 1. In one particular DO, I am using the Gregorian Calendar to set day, month and year. 2. I am using the validation framework to validate that day is b/w 1-31, that month is b/w 1-12 and year is b/w 2001 and 2100.

Any Comments on Layout tags

2001-07-31 Thread bill milbratz
Hello struts users, I followed up with olivierbazoud's post yesterday regarding the layout tags listed at http://struts.application-servers.com/ . I definitely liked the underlying motives for the tags and the efforts to simplify even further programming of standard maintenance screens:

Re: Data Object and Calendar

2001-07-31 Thread David Winterfeldt
Do you have setLenient(false) on the GregorianCalendar class? It should reject inappropriate dates then. I don't know why it doesn't default to this behavior. David --- Matt Raible [EMAIL PROTECTED] wrote: I have a Data Object (DO) that we use to throw b/w our EJBs and forms. 1. In

struts jsp in web-inf question

2001-07-31 Thread Davin M
Hi everyone, does anyone have problems referring to their jsp pages within the /WEB-INF dir? I tried to hide these jsp's so that users can't directly access them (without performing actions). I'm running this example: http://husted.com/about/struts/struts-stub.zip I'm trying it with

RE: Submission - Struts installation notes - JRun 3.0

2001-07-31 Thread Hilary Pagliughi
Hello All, I just went through the installation for JRun, and there is one more change that needs to be made, which I just wanted to post for anyone searching the archives. In logon.jsp, where: redisplay=false change it to: redisplay=%= false % Have fun! Hilary

Re: Silly Question - Where is the notEmpty tag?

2001-07-31 Thread Martin Cooper
The logic:empty and logic:notEmpty tags are part of Struts 1.1, and hence only available in the nightly builds at this time. If you're using Struts 1.0, that would explain the problem you are seeing. For documentation that accurately reflects the build you are using, your best bet is to use the