Re: How to keep ActionForm in session from being reset?

2001-08-20 Thread Wilhelm Fitzpatrick
From: [EMAIL PROTECTED] One way of resolving this is to have a hidden field in your forms which specifies which step is being performed. Then in your reset() method, you can check which step you are at, and reset (or not) fields as appropriate. I'm trying to use form beans as suggested in

including other actions

2001-08-20 Thread Andreas Leitner
Hi, From within Action.perform, I can return an ActionForward. This way I can subsequentially go from one action to the other. That's fine, but how can I include other actions. I would like to activate several other actions from within one action, and at the end return a final forward to a jsp.

RE: Validating a form

2001-08-20 Thread DUPRAT Alexandre
Hi agian, Excuse me for being late in my response but i'm currently between too projects... Craig, when you say : Note that you *must* specify an input attribute on your Action, so that Struts knows where to send the user back to. What do i need to do, what is the name of this input attribute?

Re: How to keep ActionForm in session from being reset?

2001-08-20 Thread Gregor Rayman
Wilhelm Fitzpatrick [EMAIL PROTECTED] wrote: It seems to me that struts *shouldn't* reset form beans that are stored with session scope. Or am I misunderstanding something? -wilhelm No, the reset has to be done, otherwise the checkboxes would not work. -- gR

RE: What is Titles? and what gonna happens to template tag in thefurture?

2001-08-20 Thread Trieu, Danny
Ted, Thank you for answering my question. I found Tiles to be very interesting. However, I have a few question regarding Tiles, that I hope you can help me with or point me to some sources that I can get my answer from. My question is I wrote a simple Tiles jsp, and verything work fine till

patterns

2001-08-20 Thread Rakesh
Are there any regular Patterns you can make use in Struts ? Rakesh Ayilliath(Software Engineer) Synergy IT Innovations Pvt Ltd,#196, 1st Floor, 9th Cross,HMT Layout, RT NagarBangalore 560032 [EMAIL PROTECTED]

Re: Validating a form

2001-08-20 Thread Guus Holshuijsen
Alexandre, The input attribute must be added to the action mapping as follows: action path=/requete type=com.sopra.etudestruts.jdbcstandard.RequeteAction name=requeteForm scope=request input=/requete.jsp validate=true forward

Generating Dynamic Urls with html:link

2001-08-20 Thread jigerjava
Hi all, This my first mail to the list. I am just learning Struts. I got stuck at a problem hope I will get some help reg. this. Problem: I am displaying a list of orders with links at the end like Modify Order, View Order etc. Ok now these links point to specific directories in the

RE: Validating a form

2001-08-20 Thread DUPRAT Alexandre
Yes! It works fine. I thank you very much for help, Guus. I was not able to find that in doc for the moment. -Message d'origine- De: Guus Holshuijsen [mailto:[EMAIL PROTECTED]] Date: lundi 20 août 2001 11:39 À: [EMAIL PROTECTED] Objet: Re: Validating a form Alexandre, The input

struts light bug ?

2001-08-20 Thread juraj Lenharcik
hi all, does anyone have experience with struts light from jean noel ribette ? i have a problem with his menu tag. i have implemented a wonderfull deep search and want to create a tree-menu with the results now. i have created the necessary code, but this could not be correctly realized. the

Re: method reflection in action classes

2001-08-20 Thread Ted Husted
A very good example of coding this sort of thing is the DispatchAction class in the Struts Action package. http://jakarta.apache.org/struts/api/org/apache/struts/actions/DispatchAction.html If you are worried about performance, it would be very easy to use DispatchAction to combine several of

problems while trying to initialize a Connectionpool

2001-08-20 Thread Marc Weber \(H2Opilot\)
Hello ! i am encountering problems by trying to initialize a Database Connnectionpool. in struts-config.xml I got the entries: data-sources data-source autoCommit=false description=H2O DATENBANKTEST

Re: bean:message tag

2001-08-20 Thread Matt Raible
Tom - it seems that you are correct, my html does show up correctly. The reason I have html in my properties file is because I want to display certain images with my messages. Let's take the following key for example: error.password.mismatch=trtd class=feedback height=20nbsp;nbsp;img

Re: AW: MS SQL JDBC Drivers?

2001-08-20 Thread Matt Raible
Mikkel - just to let you know - Merant are the only SQL Server JDBC drivers that will work on iPlanet. Matt --- Nimphy, Thomas [EMAIL PROTECTED] wrote: I like the JDBC-Drivers from http://www.inetsoftware.de/ Thomas -Ursprüngliche Nachricht- Von: Mikkel Bruun [mailto:[EMAIL

Re: session ids

2001-08-20 Thread Guus Holshuijsen
You can retrieve the current user's session id from the HttpSessionBindingEvent e using e.getSession().getId(). Use this value to look up an entry in your hastable and remove it. The HttpSessionBindingEvent is generated when the session is invalidated (valueUnbound()) or created (valueBound()).

Unsubscribe me!

2001-08-20 Thread Gurvits, Alexander
Automated Unsubscribe does not work!!! Alex Gurvits Brinson Advisors Application Developer 212 882-5035

Error 500 : No action instance could be created

2001-08-20 Thread Marion Schwarz
Hello everybody, since I have already searched the archives for any posting concerning my problem, I only need a confirmation now: Am I right, assuming that I cannot use action mapping when coming from a URL like http://.../thisandthat.do?param1=value and only wanting to dislpay a

RE: unsubsribe

2001-08-20 Thread Lu, Jennifer
Title: RE: unsubsribe Unsubscribe me

Re: bean:message tag

2001-08-20 Thread Thomas Quas
Matt, what I'm currently doing is something like this: In, say, x.jsp I write ... trtd class=feedback bean:message key=login.error.1 img... strongbean:message key=login.error.2/strong /tr whereas in AppRes.properties I have login.error.1=... login.error.2=... Yeah,

RE: Unsubscribe me!

2001-08-20 Thread Rehana Sheikh (Contractor)
Me too...and it doesn't work?!? -Original Message- From: Gurvits, Alexander [mailto:[EMAIL PROTECTED]] Sent: 20 August 2001 13:48 To: [EMAIL PROTECTED] Subject: Unsubscribe me! Automated Unsubscribe does not work!!! Alex Gurvits Brinson Advisors Application Developer 212 882-5035

Re: Error 500 : No action instance could be created

2001-08-20 Thread Jon Crater
you should be able to do what you're trying to do without a problem. do you have an action class which extends org.apache.struts.action.Action and which is called com.servlets.thisandthat_action? if not, that's the beginning of your problem. if so, inside that action class, you should have

Expresso integration with Struts now available - v4.0ea Released

2001-08-20 Thread Flying Cloud
I wanted to let your guys know that Early access (ea) Expresso 4.0 release is now available for download - which is fully integrated with Apache Jakarta Struts. Expresso 4.0 is a big jump forward from 3.11, as the version number indicates, it includes a number of substantial changes to the core

Unsubscribe me, please!

2001-08-20 Thread Kwang-Shi Shu
Shu, Kwang-shi | Tel 732-460-7848 Village Networks, Inc. | Fax 732-460-9851 246 Industrial Way West | Eatontown, NJ 078724| email: [EMAIL PROTECTED]

Re: Generating Dynamic Urls with html:link

2001-08-20 Thread Bill Clinton
Hello, I don't believe you will be able to do this with the struts link tag. But it should be fairly easy to make your own custom tag that would do this. Take a look inside the source code for the link tag. Bill jigerjava wrote: Hi all, This my first mail to the list. I am

Antw: Re: Error 500 : No action instance could be created

2001-08-20 Thread Marion Schwarz
Hi Jon, my action class look just as you described. But I looked closer at the error message and discovered that it goes like this: 500 R /thisandthat.do + null No action instance... So it seems like the parameters don't go through ! Still my action class doesn't even do a system.out.println,

RE: Expresso integration with Struts now available - v4.0ea Released

2001-08-20 Thread Chuong Huynh
hi, I can't access www.jcorporate.com site - it said i don't have permission... Do I need to do something? Thanks, - Chuong = HUYNH, N. CHUONG TMA Software Solutions, Vietnam Tel: (84-8) 990 3848 - Ext: 5272 Email: [EMAIL PROTECTED] =

Re: patterns

2001-08-20 Thread Ted Husted
Well, now that you mention it ;-), I just put together a catalog of Struts design patterns and strategies as a followup to a code review. The first blush is available at http://husted.com/about/struts/resources.htm#new -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~

AW: Antw: Re: Error 500 : No action instance could be created

2001-08-20 Thread Bernhard J. Hirschmann
Hi Marion, it sounds like you missed to declare your action in struts-config.xml. But in your first posting you've written that you did the mapping... Maybe you have the wrong package name and/or class name in struts-config.xml ? You should check this. actionpath=/thisandthat

RE: AW: MS SQL JDBC Drivers?

2001-08-20 Thread Robert Taylor
Matt, I'm not sure if your statement refers to iPlanet app server or web server, but we have used the JTurbo SQL Server Type 4 JDBC driver on iPlanet web server running on Win2k without any issues. robert -Original Message- From: Matt Raible [mailto:[EMAIL PROTECTED]] Sent: Monday,

AW: SilverStream behind firewall

2001-08-20 Thread Stuber Urs
Thank you for your input! Unfortunately I still get the message resolveEntity('null', 'file:///C:/WIN32APP/SilverStream37/bin/struts-config_1_0.dtd') Not registered, use system identifier after copy and paste your suggestion, and my app still doesn't work as soon as I select something related

Re: Can't find message Resources or DatabaseServlet

2001-08-20 Thread chuck amadi
Hi all , I have a MyApplicationResources at the following level . wardens/WEB-INF/classes/org/breconbeacons/wardens/MyApplicationResources wardens/WEB-INF/src/org/breconbeacons/wardens/MyApplicationResources I have also declared the above path in my web.xml.and consructed a DatabaseServlet in

Re: Validator::validate() reflection - null

2001-08-20 Thread David Winterfeldt
I didn't think it would cause a problem. I'll look over it again. If a field is of type int, you don't need to validate to see if it is an int. Also if you have a field defined as an int, then you don't know if someone entered something bad because you will always get the default value of the

Re: bean:message tag

2001-08-20 Thread Matt Raible
The problem is that my image changes depending on the error message - so I need a way of determining which image to display. Oh well, I do everything from the design to the Action servlets, and stop before the EJBs - so I guess it's only really a concern if someone else was doing the design.

Back Button in Struts

2001-08-20 Thread Larry Maturo
How do you implement a generic back button in struts such that it hits the Action Class? When you use something like: A HREF=javascript:history.back()Back/A You go back to the jsp, but miss the Action Class, which is often a bad thing. -- Larry Maturo

RE: Unsubscribe me!

2001-08-20 Thread Mills, Theo
you realize this is the struts-user list, and not the struts-dev list? maybe [EMAIL PROTECTED] would work? dunno if that's your problem or not. :) -Original Message- From: Vince Davis [mailto:[EMAIL PROTECTED]] Sent: Monday, August 20, 2001 11:12 AM To: '[EMAIL PROTECTED]' Subject:

RE: Unsubscribe me!

2001-08-20 Thread Vince Davis
Sorry. I cut and pasted the wrong email address. Yes, I've used the [EMAIL PROTECTED]. Any other suggestions? -Original Message- From: Mills, Theo [mailto:[EMAIL PROTECTED]] Sent: Monday, August 20, 2001 9:12 AM To: '[EMAIL PROTECTED]' Subject: RE: Unsubscribe me! you realize this is

RE: Back Button in Struts

2001-08-20 Thread Kyle Robinson
You can't really use the javascript:history.back() function to hit the Action class as the history.back does not even hit the webserver. It is an internal client operation, like most javascript is. One solution you might want to try is to create a stack object for each session to track what

RE: Unsubscribe me!

2001-08-20 Thread Craig R. McClanahan
On Mon, 20 Aug 2001, Vince Davis wrote: Ditto. Does the email administrator ever read this list ever??? And yes, I followed the instructions! ([EMAIL PROTECTED]).Doesn't work. This works for the STRUTS-DEV list ... it is [EMAIL PROTECTED] for the user list. The most common

Tiles Struts

2001-08-20 Thread Trieu, Danny
Craig, I found Tiles to be very interesting. However, I have a few question regarding Tiles, that I hope you can help me with or point me to some sources that I can get my answer from. My question is I wrote a simple Tiles jsp, and verything work fine till I introduced the Definition feature

need help with struts installation

2001-08-20 Thread Chuck Carroll
Hi, I am a new user of the struts package and am using Tomcat 3.2.3 on Windows 2000 Professional with service pack 1. I have tried to follow the directions on the installation of Tomcat, as well as that for struts. Normal servlets and JSPs work just fine, so I think Tomcat is okay. The

RE: Back Button in Struts

2001-08-20 Thread Pete Gordon
You can also look at putting in the Expires HTTP Header parameter to force the client to hit the server each time. This forces the back button to go back to the webserver. //These Response Headers prevent Client side cache of web pages //response.setHeader(Cache-Control,

RE: referring to hashmap elements with struts...

2001-08-20 Thread Rey Francois
Have a look at the following messages which discuss the addition of such feature. In this message you'll find some source code that can help you until hopefully this gets into the commons. http://www.mail-archive.com/struts-dev@jakarta.apache.org/msg02804.html Fr.

Re: Tiles Struts

2001-08-20 Thread Matt Raible
This error is caused because you are calling the wrong ActionServlet, in web.xml, replace servlet-class with the one below, and add the init-params. You will also need to make sure that all the commons*.jar packages are in your WEB-INF lib directory. After doing this, the only error I am

RE: Tiles Struts

2001-08-20 Thread nicolas bonvin
I had the same problem until I started from scratch with a clean tomcat + jaxp configuration. I think there was an XML parsing problem using an appropriate version of jaxp. let's try this: 1) unpack tomcat4.0b07 into a $TOMCAT_HOME 2) copy $TOMCAT_HOME/jasper/jaxp.jar and

Re: default action and templates

2001-08-20 Thread Marcelo Vanzin
Gordon Reynolds wrote: I might misunderstand your intention, but could you implement your 'default' code as a scriptlet in a template that you reuse for the display of your web pages? Actually all the options suggested would solve my doubt. :-) Thanks guys! I think I'll go

RE: Tiles Struts

2001-08-20 Thread Trieu, Danny
nick, you are rock:) thanks you so much ... it's works for me now ... I am rock danny -Original Message- From: nicolas bonvin [mailto:[EMAIL PROTECTED]] Sent: Monday, August 20, 2001 10:53 AM To: [EMAIL PROTECTED] Subject: RE: Tiles Struts I had the same problem until I started

Interate - ideas?

2001-08-20 Thread Rodrigo Zerlotti
Sorry if it is too basic, but i am new on struts... I have an interate: logic:iterate id=mcity name=cityReview property=multiCity offset=0 length=6 do something /logic:iterate multiCity is a vector... Suppose I want to display on a table only 2 at the time, I make offset=0 and lenght=2,

Dynamic form generation.

2001-08-20 Thread Sastry Varanasi
I am trying to use dynamically generated forms with Struts. Since the form is dynamic I will not know the form fields until runtime. How do I define my FormActionbean in this case? Is there a way to circumvent the requirement of having a Bean for holding the form data? Can anyone help me out

bluestone trail 4

2001-08-20 Thread Tamanaei, ITS PersWi C500, DA
I tried bluestone tutorial. the jsp is simple: %@ page language=java % %@ taglib uri=/WEB-INF/struts-form.tld prefix=form % form:form action=custom.do form:submit value=Display Group / /form:form I got the following exception: javax.servlet.ServletException: Cannot find ActionMappings

RE: Displaying a hashmap through html:options

2001-08-20 Thread Rey Francois
Have a look at the following messages which discuss the addition of such feature. In this message you'll find some source code that can help you until hopefully this gets into the commons. http://www.mail-archive.com/struts-dev@jakarta.apache.org/msg02804.html Fr.

Reuse of JSPs

2001-08-20 Thread JEWeaver
I have a few JSPs for the app I am working on that are virtually identical. Boilerplate on them changes based on how you got to that screen. I was thinking that I could have a single JSP in these cases, and determine which boilerplate is to be displayed by some kind of custom tag that evaluates

cannot find the datasource in struts?

2001-08-20 Thread Manish Pandya
a newbie in using struts... kindly let me know what i should be doing to define a datasource.. i have the struts-config.xml file where i defined the datasource parameters... and now i m trying to run the example provided in the struts but it is throwing error javax.sql.DataSource not found...

RE: Reuse of JSPs

2001-08-20 Thread nicolas bonvin
if I understand correctly what you'd like to achieve, one way to do it would be to use the Templates or Tiles tag library: - you setup one template: /CarMenu.jsp with the reusable HTML code : %@ taglib uri=/WEB-INF/struts-template.tld prefix=template % html body

Weblogic 5.1 and struts 1.0

2001-08-20 Thread sbhujwa
Hi all, Has anyone faced problems deploying web app as expanded directory using Weblogic 5.1(sp10) and struts 1.0 When I deploy war file it works fine but when I try expanded directory I get the following message : ServletContext-General Root cause of ServletException

Is this a bug in STRUTS? or TOMCAT? Or Did I mis something? Please help.

2001-08-20 Thread BinhMinh Nguyen
hi all, I have a very interesting problem, and here how it occurs: my formJSP have two button: SUBMIT and EXIT. if the user is authenticated, when the Submit button is clicked, the form is submitted succesfully and the user is brought to another JSP page, let say Thank-you page. But let say, if

RE: Back Button in Struts

2001-08-20 Thread Pete Gordon
They need to be set on the HttpServletResponse object. Not being as familar with struts as most people on this list... I am going to take a stab at this... Somebody help me here In looking at the Controller Servlet (ActionServlet) I found that it has a nocache member variable on the

[Q] ActionServlet Forwarding

2001-08-20 Thread KenHoying
I have a class that extends the ActionServlet. I would like to be able to change the navigation in the perform method to forward to a different address in the even that certain conditions have been met. However, it is not clear to me how to forward from the ActionServlet. Any help would be

RE: Reuse of JSPs

2001-08-20 Thread JEWeaver
Thanks Nicolas and Larry.. Both the use of templates (although I need to check and see if that is available in 1.0 or not) and the parameter in the path of the forwarding seem like they should prevent JSP duplication. For this particular problem, I'm leaning towards the request parameters at

Re: WARN: email hoax

2001-08-20 Thread John Raley
WHAT?!? An insincere offer via unsolicited email? I'm shocked, appalled and chagrinned... Anthony Xin Chen wrote: Hello struts-user, If you have received a email claiming a great off from webhosting.com, it is a hoax.

RE: cannot find the datasource in struts?

2001-08-20 Thread Bradley Cowen
I can show you an example of what i'm using (MySQL): In struts-config.xml: data-sources data-source set-property property=autoCommit value=false/ set-property property=description value=MySQL/ set-property property=driverClass

WARN: email hoax

2001-08-20 Thread Anthony Xin Chen
Hello struts-user, If you have received a email claiming a great off from webhosting.com, it is a hoax. -- Best regards, Anthony

Re: more than one parameter in a forward attribute in struts_config.xml

2001-08-20 Thread Craig R. McClanahan
On Tue, 21 Aug 2001, Jonathan Yang wrote: Hi, Can it support target like these: forward name=new path=/.../ddd.do?caller=ddd target=_top / because I wanna it can forward to a page with frameset ... This is not going to be possible. Frames and Targets are a client-side thing. Servers

Re: need help with struts installation

2001-08-20 Thread Rakesh
see to it that struts.jar is not in your classpath while you start up tomcat. Rakesh Ayilliath [EMAIL PROTECTED] - Original Message - From: Chuck Carroll To: [EMAIL PROTECTED] Sent: Monday, August 20, 2001 10:30 PM Subject: need help with struts

Relative URL problem in action taglib processing

2001-08-20 Thread [EMAIL PROTECTED]
We have encountered a minor problem using Struts with our back end architecture at Fidelity Investments. Using Struts version 1.0, all action references always end up translated to absolute paths when the JSP is translated to HTML. For example, an action=foo.do in a JSP is later converted into

Re: Generating Dynamic Urls with html:link

2001-08-20 Thread martin . cooper
Something like this should work: bean:define id='urltoredirect' value='%= /admin/orders/ + ht2.get(productkey) + /ViewOrder.jsp %' / html:link href='GetOrderServlet' paramId='urltoredirect' paramName='urltoredirect' / blah blah.. /html:link -- Martin Cooper -

Re: Relative URL problem in action taglib processing

2001-08-20 Thread Robert Parker
- Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, August 21, 2001 3:49 PM Subject: Relative URL problem in action taglib processing Preliminary testing would indicate that this hack does seem to work, but I can't help but wonder: are we missing