Struts 1.1 prepareStatement woes

2003-07-20 Thread Joel Hainley
I have been trying to get this working for a few hours and am going to beg and plead for help.. 8-) I am getting the error.. "java.lang.AbstractMethodError: org.apache.struts.legacy.GenericConnection.prepareStatement(Ljava/lang/Strin g;I)Ljava/sql/PreparedStatement;" ...while using the strut

FW: Redirect to home page on logon

2003-07-20 Thread Tarek M. Nabil
Hi everyone, I really need help with this. I also want to add that the same behavior happens with WebSphere 5. Thanks, Tarek Nabil -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Thursday, July 17, 2003 10:49 PM To: Tomcat Users List Subject: Re: Redirect to home page

Re: search results display

2003-07-20 Thread Sakis Chatzinikolaou
Hi all, I have a template in which I include 4 jsp The header, the menu, the display and the footer I use Tomcat 4.1.24. In the display.jsp I have a html:select with some options When the display.jsp is rendered the html:select is OK but its options are writen again in the footer.jsp as text Th

error in generating page content

2003-07-20 Thread Sakis Chatzinikolaou
Sorry for the wrong reply before. > Hi all, > > I have a template in which I include 4 jsp > The header, the menu, the display and the footer > > I use Tomcat 4.1.24. > In the display.jsp I have a html:select with some options > > When the display.jsp is rendered the html:select is OK but > its

Re: FW: Redirect to home page on logon

2003-07-20 Thread Rick Reumann
On Sun, Jul 20,'03 (01:44 PM GMT+0300), Tarek wrote: > >>I have an application that uses beans stored in the session context. > >If the user's session times out, he's asked to re-login on his next > >request. For this, I'm using J2EE security; I'm not doing it > >myself.>After the user is finish

Map-backed form property and multiselect

2003-07-20 Thread Jacek Żoch
Does it work to combine map-backed form property and multiselect. My code : public void setValue( String key, String[] val ) public String[] getValue(String key) does not work. Is there any other way to do it ? Thanks for your help. Jacek

RE: Action Under a Tile?

2003-07-20 Thread Holman, Cal
Aaron>> Let's see - First question TilesAction does subclass Action - it is in the struts api. It adds the tiles context to the execute method. Then I extended the TilesAction to add a few items I needed - mainly some logging set up. TilesAction can be found in the org.apache.struts.tiles.ac

Error in generated html

2003-07-20 Thread Sakis Chatzinikolaou
Hi all, I have a template in which I include 4 jsp The header, the menu, the display and the footer I use Tomcat 4.1.24. In the display.jsp I have a html:select with some options When the display.jsp is rendered the html:select is OK but its options are writen again in the footer.jsp as text Th

Re: OTP-Dynamically building an SQL Query from ActionForm inputs

2003-07-20 Thread David Graham
--- Curtney Jacobs <[EMAIL PROTECTED]> wrote: > Greetings David. > > I understood everything up to the point where I have to read in a > properties > file. If it is not to much of a problem., can you please elaborate from > that > point downwards. Regardless of whether or not you store SQL in a

Re: File Upload with Mac IE

2003-07-20 Thread otsuka
I found that the cause is tag. (BI replaced with , then (Bfile uploading with Mac IE 5 worked fine. (BBut I don't know why. (B (B (B- (BTo unsubscribe, e-mail: [EMAIL PROTECTED] (BFor additional commands, e-mail: [EMAIL P

paramId in html-el:link tag - Referenceing a Constant

2003-07-20 Thread Mike Duffy
The "struts-example\registration.jsp" contains the following code: Switching this to an html-el:link tag is easy. The value "username" is a key, so it might be better to reference a constant value: "Constants.USER_NAME_KEY". My question is, how do I do this (without using sriplets)?

question re. war files and customization

2003-07-20 Thread sundar
Hi, This may not really be a struts related question, but I wonder what people are doing wrt. distributing war files. If I have to distribute a struts based package to multiple sites, each of which requires it's own logos etc. currently we are using a combination of application specific message

Re: paramId in html-el:link tag - Referenceing a Constant

2003-07-20 Thread David M. Karr
> "Mike" == Mike Duffy <[EMAIL PROTECTED]> writes: Mike> The "struts-example\registration.jsp" contains the following code: Mike> paramName="registrationForm" paramProperty="username"> Mike> Mike> Mike> Switching this to an html-el:link tag is easy. Mike> para

Re: Struts in iPlanet/Sun ONE Web Server 6.0 SP5 throws exception- getClassLoader() behaves erratically

2003-07-20 Thread thirumalai . veeraswamy
Vicky, When I was debugging the code and verifying the log. I found the code snippet mentioned below is behaving erratically in iPlanet/Sun ONE Web Server. I have no idea what is the purpose of the following code and why it should behave differently in two different web servers. PropertyMe

FW: Migrating from Struts 1.0.2 to 1.1

2003-07-20 Thread Gopalakrishnan, Jyothikumar
Hi All, While migrating from Struts 1.0.2 to Struts 1.1 (on Weblogic 6.1SP3, Solaris 6), I am stuck with this problem. This mailing list is now my last resort. Here is my struts-config.xml http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd";>

RE: html:optionsCollection bug

2003-07-20 Thread Swaroop George
Hi all, I have a confirm page which displays the confirmation message after adding a new record. When I click on the done button I need to go to the next page with the record id as a parameter. I am able to do this with or Following is the code this saves me from submitting the form once

Problem in validation?

2003-07-20 Thread Sriman Venkatasubbu , Tidel Park - Chennai
I am very new to struts... In my jsp page i am creating dynamic form elements.I want to validate those form elements by using validator.xml. Is it possible to validate dynamic text boxes(form elements) ?If it is possible ,how can i configure in validator.xml. Thanks Sriman

Re: FW: Migrating from Struts 1.0.2 to 1.1

2003-07-20 Thread Koni Roth
is missing! Gopalakrishnan, Jyothikumar wrote: Hi All, While migrating from Struts 1.0.2 to Struts 1.1 (on Weblogic 6.1SP3, Solaris 6), I am stuck with this problem. This mailing list is now my last resort. Here is my struts-config.xml "-//Apache Software Foundation//DTD

Re: Problem in validation?

2003-07-20 Thread Siva
This can be validated using the basic validators provided by the struts framework itself. just specify the validators you want (like required, minLength, maxLength etc) in the validatior-rules.xml and associate this with your form using the validation.xml file. "Sriman Venkatasubbu , Tidel Park -

RE: FW: Migrating from Struts 1.0.2 to 1.1

2003-07-20 Thread Gopalakrishnan, Jyothikumar
Thanks for the effort. I am properly closing tag in my struts-config.xml.(It is placed after closing all the action tags and before tag) but mistakenly I missed out when I copied that from structs-config.xml to mail. Jyothikumar. -Original Message- From: Koni Roth [mailto:[EMAIL P

Struts modules does not work with Tiles, is there a tiles plugin problem?

2003-07-20 Thread Ionel D Condor
Hi ! I have two web applications developed with Struts that are linked together using the struts modules. The pages worked well but after we have passed to Tiles when we try to do the integration via the same procedure, i mean the struts modules, seems that the tiles plugin is never called as t