Which version is the offcial and stable version?

2004-08-02 Thread Zsolt Koppany
Hi, I have been using struts-1.1 for a long time but consider to upgrade. Which is the current official and stable version? When comes the next stable version? Should I upgrade know or should I wait? Zsolt - To unsubscribe, e-

RE: How to render html embedded in a text-area?

2004-08-02 Thread Shilpa Vaidya
hey, May be too technical jargons are not needed in this issue. incase in the first run you are storing the value in text area in a database .Then y not append the the td and trs along with them using stringbuffer. i guess when u would require to prepoulate the same data .It would display the co

Re: How to render html embedded in a text-area?

2004-08-02 Thread brenmcguire
[EMAIL PROTECTED] wrote: > > > > >Looks like I went a bit over the top with the embedded html proposal. > >It seems the users would be content if whatever they'd keyed into a >text-area looked the same when >subsequently re-displayed as text in a document. > >ie just preserve the line-feeds, no ne

Re: Upgrading a Struts 1.1 app to 1.2.1: any 'gotchas' to watch for?

2004-08-02 Thread Curtis Taylor
Thanks for the detail, Niall; I quite look forward to the upgrade (never thought I'd hear myself say something like that ;-) And thank you, Nathan for the positive response. Curtis "Niall Pemberton" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > * jars - I guess its obvious to say

Re: How to render html embedded in a text-area?

2004-08-02 Thread Craig McClanahan
On Tue, 3 Aug 2004 14:23:40 +1200, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > Looks like I went a bit over the top with the embedded html proposal. > > It seems the users would be content if whatever they'd keyed into a > text-area looked the same when > subsequently re-displayed as text

Re: How to render html embedded in a text-area?

2004-08-02 Thread jthompson
Looks like I went a bit over the top with the embedded html proposal. It seems the users would be content if whatever they'd keyed into a text-area looked the same when subsequently re-displayed as text in a document. ie just preserve the line-feeds, no need for bolding etc. Any ideas?

Re: error with html:file

2004-08-02 Thread Hari Saptoadi
oops sorry for my stupidity...i use wrong data type in my form beanit's allready fix nowbut anyway thank you for your answer Erez - Original Message - From: "Erez Efrati" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Monday, August 02, 2004

Re: Brain fart - allowing user to download file

2004-08-02 Thread jthompson
The usual suspects are: 1) not granting public access to the file you're trying to download. 2) your http server not allowing access to the directory or file type specified. Just in case the obvious isn't so obvious today. Regards, John [EMAIL PROTECTED] Ph (09) 372-5010 |-+--

Brain fart - allowing user to download file

2004-08-02 Thread Jim Barrows
Okay.. this is something so simple I'll probably shoot myself for missing it. file and the user should be able to just click and the blasted thing will download... only problem is user clicks and gets a 404 error. Set the mime-type in the web.xml. Running on Websphere 5.1. What am I forget

RE: Data not being populated on edit in my jsp file...

2004-08-02 Thread Jim Barrows
> -Original Message- > From: Shilpa Nalgonda [mailto:[EMAIL PROTECTED] > Sent: Monday, August 02, 2004 4:08 PM > To: Struts Users Mailing List > Subject: RE: Data not being populated on edit in my jsp file... > > > Let me make it clear.. > > I have a jsp file called OrderSummary.jsp wh

Re: How to render html embedded in a text-area?

2004-08-02 Thread Craig McClanahan
On Tue, 3 Aug 2004 11:02:49 +1200, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > Hi All, > > I have a struts app that lets users input into text-areas. Whatever the > user entered will later be displayed as text. > To give users some control over presentation, I'd like to allow them to > en

RE: Data not being populated on edit in my jsp file...

2004-08-02 Thread Shilpa Nalgonda
Let me make it clear.. I have a jsp file called OrderSummary.jsp which has a link called "EDIT", which should take me to EditShipping.jsp file. User first enters his billing and shipping information in a session and finally comes to a order summary page from there he can go back to the EditShippi

How to render html embedded in a text-area?

2004-08-02 Thread jthompson
Hi All, I have a struts app that lets users input into text-areas. Whatever the user entered will later be displayed as text. To give users some control over presentation, I'd like to allow them to enter html directly into a text-area. Struts appears to convert all html to harmless displayabl

RE: Data not being populated on edit in my jsp file...

2004-08-02 Thread Jim Barrows
> -Original Message- > From: Shilpa Nalgonda [mailto:[EMAIL PROTECTED] > Sent: Monday, August 02, 2004 2:29 PM > To: Struts Users Mailing List > Subject: Data not being populated on edit in my jsp file... > > > I have a jsp fle which has a html link to EditShipping.jsp file. > All the a

Data not being populated on edit in my jsp file...

2004-08-02 Thread Shilpa Nalgonda
I have a jsp fle which has a html link to EditShipping.jsp file. All the attributes in EditShipping.jsp should be populated, but its not happening. CAn anyone help me out... below is my EditShipping.jsp file...Struts config file..and OrderSummary.jsp on which the hyperlink is displayed. ==

Hi

2004-08-02 Thread Shilpa Nalgonda
-Original Message- From: Research labs [mailto:[EMAIL PROTECTED] Sent: Monday, August 02, 2004 5:17 PM To: Struts Users Mailing List Subject: Re: DaTASOURCE CREATION AT USER LOGIN TIME...Newbie Craig, Thanks a lot. All points taken. In the light of what you and Jim have said, I will

Re: DaTASOURCE CREATION AT USER LOGIN TIME...Newbie

2004-08-02 Thread Research labs
Craig, Thanks a lot. All points taken. In the light of what you and Jim have said, I will re examine my plan of action I found out about you in one of my books "Struts in Action" by Ted Husted et al. If I may, I would like to keep this first email from you as some sort of autograph. Ola. -

RE: DaTASOURCE CREATION AT USER LOGIN TIME...Newbie

2004-08-02 Thread Research labs
I take your point. Thanks. --- Jim Barrows <[EMAIL PROTECTED]> wrote: > > -Original Message- > > From: Research labs > [mailto:[EMAIL PROTECTED] > > Sent: Monday, August 02, 2004 1:54 PM > > To: Struts Users Mailing List > > Subject: RE: DaTASOURCE CREATION AT USER LOGIN > TIME...Newbie

RE: DaTASOURCE CREATION AT USER LOGIN TIME...Newbie

2004-08-02 Thread Jim Barrows
> -Original Message- > From: Research labs [mailto:[EMAIL PROTECTED] > Sent: Monday, August 02, 2004 1:54 PM > To: Struts Users Mailing List > Subject: RE: DaTASOURCE CREATION AT USER LOGIN TIME...Newbie > > > Jim, > > Thanks a lot. Quite exhaustive. I will experiment > with your sugge

Re: DaTASOURCE CREATION AT USER LOGIN TIME...Newbie

2004-08-02 Thread Craig McClanahan
On Mon, 2 Aug 2004 21:23:05 +0100 (BST), Research labs <[EMAIL PROTECTED]> wrote: > Jim, > > Thanks for your response. > I want each user to login to the database(MySQL), via > a JSP. Once logged in, I want them to use their > database username (specified at log in time) for > communicating with

RE: Validation question. Disallow < > characters using regex mask

2004-08-02 Thread Kris Barnhoorn
Correction: ... ... -Oorspronkelijk bericht- Van: Kris Barnhoorn [mailto:[EMAIL PROTECTED] Verzonden: maandag 2 augustus 2004 22:42 Aan: 'Struts Users Mailing List' Onderwerp: RE: Validation question. Disallow < > characters using regex mask Had the same problem Solution: ... ... k

RE: DaTASOURCE CREATION AT USER LOGIN TIME...Newbie

2004-08-02 Thread Research labs
Jim, Thanks a lot. Quite exhaustive. I will experiment with your suggestion. Gosh! It is a lot of hard work; Oracle Forms takes care of things like this. I am tempted to go back to Oracle forms, but my clients cannot afford the cost. This is the first time I've really had to work hard. Regar

RE: Validation question. Disallow < > characters using regex mask

2004-08-02 Thread Kris Barnhoorn
Had the same problem Solution: ... ... kris -Oorspronkelijk bericht- Van: Eric Dahnke [mailto:[EMAIL PROTECTED] Verzonden: dinsdag 18 mei 2004 20:24 Aan: Struts Users Mailing List Onderwerp: Validation question. Disallow < > characters using regex mask Hello List, Validation works

RE: DaTASOURCE CREATION AT USER LOGIN TIME...Newbie

2004-08-02 Thread Jim Barrows
> -Original Message- > From: Research labs [mailto:[EMAIL PROTECTED] > Sent: Monday, August 02, 2004 1:23 PM > To: Struts Users Mailing List > Subject: RE: DaTASOURCE CREATION AT USER LOGIN TIME...Newbie > > > Jim, > > Thanks for your response. > I want each user to login to the datab

RE: DaTASOURCE CREATION AT USER LOGIN TIME...Newbie

2004-08-02 Thread Research labs
Jim, Thanks for your response. I want each user to login to the database(MySQL), via a JSP. Once logged in, I want them to use their database username (specified at log in time) for communicating with the database throught their session. To put it another way, if 4 users are currently logged in

RE: DaTASOURCE CREATION AT USER LOGIN TIME...Newbie

2004-08-02 Thread Jim Barrows
> -Original Message- > From: Research labs [mailto:[EMAIL PROTECTED] > Sent: Monday, August 02, 2004 12:15 PM > To: Struts Users Mailing List > Subject: DaTASOURCE CREATION AT USER LOGIN TIME...Newbie > > > Hello, > > Can anyone please tell me how to specify the username > and password

DaTASOURCE CREATION AT USER LOGIN TIME...Newbie

2004-08-02 Thread Research labs
Hello, Can anyone please tell me how to specify the username and password for " If this is not possible, can you please tell an alternative way of achieving this. Thanks. Ola. ___

RE: initialize a form in a tile

2004-08-02 Thread Jim Barrows
> -Original Message- > From: Erez Efrati [mailto:[EMAIL PROTECTED] > Sent: Monday, August 02, 2004 12:55 PM > To: 'Struts Users Mailing List' > Subject: RE: initialize a form in a tile > > > Jim, > > I just hope TileAction really provides the form and mapping parameters > along with t

RE: initialize a form in a tile

2004-08-02 Thread Erez Efrati
Jim, I just hope TileAction really provides the form and mapping parameters along with the Controller context. --Erez -Original Message- From: Jim Barrows [mailto:[EMAIL PROTECTED] Sent: Monday, August 02, 2004 8:50 PM To: Struts Users Mailing List Subject: RE: initialize a form in a t

RE: initialize a form in a tile

2004-08-02 Thread Erez Efrati
I'll try it and see if it works. Thanks, --Erez -Original Message- From: Jim Barrows [mailto:[EMAIL PROTECTED] Sent: Monday, August 02, 2004 7:35 PM To: Struts Users Mailing List Subject: RE: initialize a form in a tile > -Original Message- > From: Erez Efrati [mailto:[EMAIL

RE: initialize a form in a tile

2004-08-02 Thread Jim Barrows
> -Original Message- > From: Wendy Smoak [mailto:[EMAIL PROTECTED] > Sent: Monday, August 02, 2004 11:20 AM > To: Struts Users Mailing List > Subject: Re: initialize a form in a tile > > > From: "Jim Barrows" <[EMAIL PROTECTED]> > > > > I have nothing with .do in my tiles-defs.xml f

RE: initialize a form in a tile

2004-08-02 Thread Erez Efrati
Wendy, The beauty of tiles is that they can operate entirely as autonomous components. The case you are talking about is the simplest, one controller (=the Struts Action class) that forwards to a view which is composed of several small tile views where each tile contains JSP and has no action to e

Re: taglibs: how can i rewrite an action uri without rendering a html link tag?

2004-08-02 Thread Kris Schneider
Or, add it yourself: package com.dotech.servlet.taglibs; import java.net.MalformedURLException; import java.util.Map; import javax.servlet.jsp.JspException; import org.apache.struts.util.RequestUtils; import org.apache.struts.util.ResponseUtils; public class RewriteTag extends org.apache.stru

Re: initialize a form in a tile

2004-08-02 Thread Wendy Smoak
From: "Jim Barrows" <[EMAIL PROTECTED]> > I have nothing with .do in my tiles-defs.xml file. One of mine looks like: accountInquiry.jsp has the form in it, and the Action that forwards to 'account.inquiry.page' handles prepopulating the form if necessary. I don't think

Re: form tag and root context isssue

2004-08-02 Thread Ruth, Brice
This does not define a context to be the 'default' or "root" context, just as a piece of information. Paul Thomas wrote: On 29/07/2004 16:30 Claire Suttle wrote: Hi! I'm having the exact same problem as you! I know it's no help, but it's nice to know that someone else is having the same problem..

Re: taglibs: how can i rewrite an action uri without rendering a html link tag?

2004-08-02 Thread Ruth, Brice
hallelujah! Now I just need to migrate ... ugh Erik Weber wrote: If I'm not mistaken, the "action" attribute to html:rewrite is supported in 1.2. Erik Ruth, Brice wrote: alu, artifex wrote: i need to rewrite an action uri for use in a javascript function, something like this: -- functio

RE: initialize a form in a tile

2004-08-02 Thread Jim Barrows
> -Original Message- > From: Erez Efrati [mailto:[EMAIL PROTECTED] > Sent: Monday, August 02, 2004 11:32 AM > To: 'Struts Users Mailing List' > Subject: RE: initialize a form in a tile > > > Thanks Jim, > > > > The only disadvantage I can see is that setForm.do designated Action > cl

RE: initialize a form in a tile

2004-08-02 Thread Erez Efrati
Thanks Jim, The only disadvantage I can see is that setForm.do designated Action class will not be aware of the tile context. I think this is where Tiles and Struts are not really working together - they both keep their independence but we pay the price. Thanks again, Erez -Original Messa

RE: initialize a form in a tile

2004-08-02 Thread Jim Barrows
> -Original Message- > From: Erez Efrati [mailto:[EMAIL PROTECTED] > Sent: Monday, August 02, 2004 11:00 AM > To: 'Struts Users Mailing List' > Subject: RE: initialize a form in a tile > > > Can you give an example of the a tile definition? Are you using the > "controllerURL" attribute

RE: initialize a form in a tile

2004-08-02 Thread Erez Efrati
Can you give an example of the a tile definition? Are you using the "controllerURL" attribute and set it to one of your Struts actions? --Erez -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Monday, August 02, 2004 6:49 PM To: Struts Users Mailing List Subject: Re: i

RE: initialize a form in a tile

2004-08-02 Thread Erez Efrati
I had small but crucial typing mistake: Hi all, I have a tile that contains a form. Where is the best place to initialize it? In simple struts the action is called and the form Is created and the action can set the form values and forward to the view page. It's true that a tile can have a

Re: initialize a form in a tile

2004-08-02 Thread Wendy Smoak
From: "Erez Efrati" <[EMAIL PROTECTED]> > I have a tile that contains a form. > Where is the best place to initialize it? > > In simple struts the action is called and the form > Is created and the action can set the form values and forward to the > view page. It works exactly the same way with Ti

initialize a form in a tile

2004-08-02 Thread Erez Efrati
Hi all, I have a tile that contains a form. Where is the best place to initialize it? In simple struts the action is called and the form Is created and the action can set the form values and forward to the view page. It's true that a tile can have a controller but it does aware of the form t

RE: ActionServlet class loading problem

2004-08-02 Thread Brad Balmer
I used to have lots of issues with the JBoss classloader until I found out about how to turn it off and use the Tomcat one instead. Under the \jbossweb-tomcatXX.sar\META-INF is the jboss-service.xml. Look for the UseJBossWebLoader attribute (towards the top). This, by default is set to true. Tr

Re: ActionServlet class loading problem

2004-08-02 Thread Craig McClanahan
There is nothing an application (or an application framework) can really do to affect how servlet containers do application reloads. I've had lots of success on pure Tomcat 5 installations, but I have heard hearsay about problems with the JBoss class loader scheme (which completely replaces the st

Weaver Release Announcement (XML Programmed Servlet Controller Component)

2004-08-02 Thread Paul Harvey
Weaver is a pure-Java, XML programmed Controller component for developing Model View Controller (MVC) structured, servlet based, Web applications. Weaver takes a rather different approach to struts. Weaver exploits your existing knowledge of the JSP Expression Language (EL) and of JSTL via a

Re: Struts Live Sites

2004-08-02 Thread Vic Cekvenich
The 5 gaming magazines (EGM, Xbox, etc) 1up.com is the site. See friendster like example of deadkat.1up.com. Note how if you join, you have a subdomain of username.1up.com - this way you can have FOAF like functionality. Tiles and display tag and /do and tilesaction is all over. I urge struts dev

RE: Struts Live Sites

2004-08-02 Thread Chappell, Simon P
Vic, I took a look at pcmag.com, but it still looked like it was running ASP. Do you have any examples of actual Struts usage on their sites? Simon >-Original Message- >From: news [mailto:[EMAIL PROTECTED] Behalf Of Vic Cekvenich >Sent: Friday, July 30, 2004 8:12 AM >To: [EMAIL PROTECTE

Re: ActionServlet class loading problem

2004-08-02 Thread jacob skariah
Hi Mr Weber, I have also experienced the same problem with my applictaion. If more than one application deployed in Tomcat, this happens if we run one application after another. I couldnt yet find a better solution than deleting the work folder contents and reloading the application again.

Re: form tag and root context isssue

2004-08-02 Thread Paul Thomas
On 29/07/2004 16:30 Claire Suttle wrote: Hi! I'm having the exact same problem as you! I know it's no help, but it's nice to know that someone else is having the same problem... > In the context file you deploy to conf/Catalina/localhost, the path > should still be "", just as it was before. You no

RE: error with html:file

2004-08-02 Thread Erez Efrati
Make sure you have a Form Bean class with the following? ... FormFile getFoto () {} Void setFoto (FormFile file) {} .. --Erez -Original Message- From: Hari Saptoadi [mailto:[EMAIL PROTECTED] Sent: Monday, August 02, 2004 10:55 AM To: Struts Users Mailing List Subject: error with html:fi

Multiple Tiles Definitions Factories in a servlet context?

2004-08-02 Thread Alef Arendsen
Hi guys, A user on our list (Spring) has configured two servlets both including a Tiles Definitions Factory using Spring's integration code. The TilesUtilsImpl however specifies a static identifier (which we're using to bind the factory in the servlet context) for the factory, causing the first De

error with html:file

2004-08-02 Thread Hari Saptoadi
Hi all i've jsp form like this   and after i click submit i've got this massage 500 Internal Server Error java.lang.IllegalArgumentException: type mismatch java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) native code

Using Struts with Hibernate efficiently.

2004-08-02 Thread STDev
In my application I am using struts and hibernate together to edit the contents of a database. To load data from the database I am doing something like this in the action execute method: DbObject dbobject = (DbObject)session.load(DbObject.class, new Long(idObj)); org.apache.struts.valida