html:messages Design issue: mixing data and presentation!!!!

2002-02-07 Thread JC
Hi, A great thing with Struts is the error validation capabilities. However, the use of html:errors/, or lately html:messages, poses a problem that I found not to be a very good design (though it is slightly better in the messages tag). What I don't like is, in order to get any presentation

Re: Boost Struts with XSLT and XML - JavaWorld.com

2002-02-07 Thread Thorbjørn Ravn Andersen
mandag februar 4 2002 kl. 06:43 PM skrev Dustin Aleksiuk: The most common way to generate HTML forms is through the Struts HTML tag library, which is not XML compliant and therefore unusable in conjunction with XSLT. Does this mean that Struts generates HTML and not XHTML? If so, then

Re: urgent!!!! HELP!!!! I have application to go... Dynamic Property.

2002-02-07 Thread Patrick Refondini
I am new to using mailing lists but I guess you'll find a reason for the silence following your question by having a look at : http://www.tuxedo.org/~esr/faqs/smart-questions.html Hereafter a short part of it : (...) Use meaningful, specific subject headers On mailing lists or newsgroups,

RE: urgent!!!! HELP!!!! I have application to go... Dynamic Property.

2002-02-07 Thread Mikkel Bruun
nice point... And, the original posters problem may be urgent...but that doesnt mean that every reader will throw aside whatever stuff they are doing just to help a gu solve his URGENT problem...the effect is usually the contrary... In Software Development you usually dont have URGENT

Problem with UTF encoding with Action Form

2002-02-07 Thread Antony Stace
Hi I have a jsp page in UTF-8 format with a form in it a user fills out, this form is a session scope Action Form. The user then submits the request and the same page gets returned with the form values from the previous submit on this screen. I did not change the values anyway of the Action

RE: speed of struts

2002-02-07 Thread Christopher Cheng
I think it is a bad to have so many things on one single JSP page, but it is the decision of the management to have the online form to be exactly the same as the paper copy. Anyway, I followed what Lee suggested, got the IBM JDK installed and the page is almost as fast as static HTML. Thanks

Re: Multiple Forms on one JSP...

2002-02-07 Thread Jay Sissom
Maybe this code snippet is not complete, but there is only one FORM on this page. Everything between html:form and /html:form is a single form. There may be multiple html:submit tags, but there is only one FORM. I don't believe struts will work with multiple-forms, but I'm not sure. Multiple

Re: urgent!!!! HELP!!!! I have application to go... Dynamic Property.

2002-02-07 Thread Ted Husted
Personally, I'm never quite sure what people mean by dynamic forms. Are these being used with a dynamic database that creates fields on the fly? Given all the scriptlets, it's hard to tell what's wrong with your code. Most often Struts pages are written using custom tags, with the occaisonal

Re: html:messages Design issue: mixing data and presentation!!!!

2002-02-07 Thread Ted Husted
That was true with the html:errors tag, but not with the newer html:messages tag. With the messages, tag the errors.header and .footer are optional, so can do things like this: logic:messagesPresent TABLE width=100% TRTD class=message UL html:messages id=error LIbean:write

Re: Long term Session attributes [ was RE: Wizard Interface question ]

2002-02-07 Thread Peter Pilgrim
I made a mistake with the method names, perhaps this is much clearer public interface SessionLeaseable { public void updateLastAccessTime(); public long getLastAccessTime() ; } Clearly every `SessionLeasable' will call its `updateLastAccessTime()' method to refresh the internal

Dynamic Property - can I do it at 1.01 release somehow?

2002-02-07 Thread Arik Levin ( Tikal )
Hi If anyone can answer this question: As I was saying at my last mail I'm trying to get some Dynamic Property. Is there any way to do it at the current release? And If not my is my alternative ?

RE: Dynamic Property.

2002-02-07 Thread Arik Levin ( Tikal )
Yes, I mean buy "dynamic Property" that I'm getting the fields dynamic from my database, so how can I do it? Because at the current release I can't do it, so do u have some suggestions how to do it anyway? Thanx. -Original Message- From: Ted Husted [mailto:[EMAIL PROTECTED]] Sent:

Re: Design question about ActionForm's validate method

2002-02-07 Thread Ted Husted
Unfortunately, we don't have free reign on conventions, and are restricted to the patterns that the container will match. The container gets the request first, and then passes it along to Struts. For the best compatibility, a single, very simple pattern is best. One way to think about it is

Re: Dynamic Property.

2002-02-07 Thread Ted Husted
Populating the fields you plan to retrieve from the database is not a problem. The Action handles the retrieval, populates the ActionForm, and sends it along to the presentation page. The ActionForm properties correspond to columns in the result set. Arik Levin ( Tikal ) wrote: Yes, I

Re: Dynamic Property - can I do it at 1.01 release somehow?

2002-02-07 Thread Ted Husted
What might be most helpful would be if you stated that actual requirement you need to meet. What are the specific screen requirements? Going back to the first response in this thread, people most often volunteer to answer interesting, detailed questions, which make them feel like they are

RE: Dynamic Property.

2002-02-07 Thread Arik Levin ( Tikal )
Sorry, I think that I didn't make my self clear, Say I have two fields DB - Name - Value the values are my form fields so, how can I make a setter and getter form methods if I don't know what fields name I'm gonna get? -Original Message- From: Ted

RE: Dynamic Property.

2002-02-07 Thread Robert Taylor
Arik, The Action class perform method passes in the HttpServletRequest which provides access to all the parameters entered via the HTTP request (ie. a form POST) I believe one common technique would be to dynamically generate your form fields by giving them names like name.1, value.1, name.2,

Re: How to go about??

2002-02-07 Thread Ted Husted
[EMAIL PROTECTED] wrote: (Natural, I guess.who's gonna sit and write good documentation anyway. This is almost as hard as writing good software!) It my experience it's harder (and doesn't pay as well) -:0) Projects are always desperate for better documentation, and we have had some great

Turbine style multiple method actions

2002-02-07 Thread Ken . Horn
I'm just trying to catch up with what's changed in struts 1.0.1 / 1.1 from the version I previously used (pre version numbers). Is there a facility to map a request to different methods / actions based on a request parameter? For example, if the request contains a parameter function, can I

Re: Turbine style multiple method actions

2002-02-07 Thread Ted Husted
See http://jakarta.apache.org/struts/api-1.0/org/apache/struts/actions/DispatchAction.html Really should mention this in the User Guide someplace =:0) -- Ted Husted, Husted dot Com, Fairport NY USA. -- Java Web Development with Struts. -- Tel +1 585 737-3463. -- Web

Migrating from another framework to struts ...

2002-02-07 Thread cool dude
Hi, We are currently migrating from another framework to struts. This has brought about a lot of queries doubts about how we can use struts to do things for us that the earlier framework provided. My main concerns are : 1. Does struts provide any build-in mechanism for session

AW: Migrating from another framework to struts ...

2002-02-07 Thread Oliver Refle
1. For one, what do you mean autmatic session management, you can put form beans into the session and work with them. So if you mean that with session support it supports it 2. You need getter and setter in your UserInfo form for the aggregated forms. Than struts can call them with the following

RE: Turbine style multiple method actions

2002-02-07 Thread Ken . Horn
Thanks, Ted. Spot on. -Original Message- From: husted Sent: 07 February 2002 10:52 To: struts-user Cc: husted Subject: Re: Turbine style multiple method actions See http://jakarta.apache.org/struts/api-1.0/org/apache/struts/actions/DispatchAction.html Really should mention this in

Re: Migrating from another framework to struts ...

2002-02-07 Thread Ted Husted
In furtherance of Oliver's response: cool dude wrote: 1. Does struts provide any build-in mechanism for session management? If not, then is there any guideline as to how struts can be used to provide that kindof support? For the most part, Struts relies on the Java Servlet container

Re: How to go about??

2002-02-07 Thread Ted Husted
What Steve said, and Sanjay Choudhary wrote: 2. Except for a HTML designer, most of the programmers are involved with backend programming. They have done very little HTML work. I was wondering if we will be able to create JSP's using Struts HTML tags and other tag libraries if a form is

Re: Problem: multiple browsers and session state

2002-02-07 Thread simon
Unfortunately, this does not solve my multiple browsers in single session problem. Being pragamatic, I don't actually think you can solve this insofar as come up with a one-size-fits all fix for these kind of issues. .s -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional

Login Authentication

2002-02-07 Thread Galbreath, Mark
What's the best way to authenticate users from a backend database in a system using Struts? Should the HTML form action go through the ActionServlet or should I write a small validation class that authenticates the login and forwards to the appropriate JSP? Thanks, Mark -- To unsubscribe,

RE: Bug in JBuilder 6.0 EE?

2002-02-07 Thread Galbreath, Mark
Speaking of JBuilder 6 EE, I've noticed some problems where the incorporated compiler (JDK 1.3 beta 4, I think) is missing required exceptions when compiling EJBs, most noticeably the CreateException thrown by finder methods. Compiling from the command line (JDK 1.3.1) catches these code

RE: Dynamic Property.

2002-02-07 Thread Ken . Horn
you can use either indexed or mapped properties in struts for this. Alternatively the standard request.getParameterNames/getParameterValues will supply all the data values. For the mapped properties, use something like: input type=text name=prop[%= rowNum %] or input

RE: Problem with UTF encoding with Action Form

2002-02-07 Thread Chris Birch
Hi, The following is taken from javax.servlet.ServletResponse: --- The charset for the MIME body response can be specified with setContentType(java.lang.String). For example, "text/html; charset=Shift_JIS". The charset can alternately be set using setLocale(java.util.Locale). If no charset is

RE: Dynamic Property.

2002-02-07 Thread Arik Levin ( Tikal )
Ken. Thanx a LOT ! haleluYa -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 07, 2002 2:25 PM To: [EMAIL PROTECTED] Subject: RE: Dynamic Property. you can use either indexed or mapped properties in struts for this. Alternatively

RE: urgent!!!! HELP!!!! I have application to go... Dynamic Property.

2002-02-07 Thread Galbreath, Mark
The message subjects are getting a bit shrill around here, aren't they? I look at my inbox and think someone is on fire or something :-) Mark -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: html:messages Design issue: mixing data and presentation!!!!

2002-02-07 Thread Julius
Why do you have to put the html in the resource file for header and footer? You can use include directive instead. - Original Message - From: JC [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, February 07, 2002 3:31 AM Subject: html:messages Design issue: mixing data and

Re: Problem with UTF encoding with Action Form

2002-02-07 Thread Antony Stace
Hi Chris Thanks for the reply. On Thu, 7 Feb 2002 12:32:27 - "Chris Birch" [EMAIL PROTECTED] wrote: Hi, The following is taken from javax.servlet.ServletResponse: --- The charset for the MIME body response can be specified with setContentType(java.lang.String). For example,

ActionForward usage.

2002-02-07 Thread rob
Regarding a post Ted made a couple of days ago. (Which a copy of follows this post) As well as some other general questions. I would like to pre-populate my form field values from a database datasource. I am using the following configuration which to be honest is giving me a bit of a headache

RE: Problem with UTF encoding with Action Form

2002-02-07 Thread Chris Birch
Hi, I've just looked in the JSP spec. and you're quite right, the "@page content ..." directive sets the encoding used by the Writer. You also correctly stated that you need: meta http-equiv="Content-Type" content="text/html; charset=UTF-8" as well. Hopefully that should do the trick.

Re: Problem with UTF encoding with Action Form

2002-02-07 Thread Antony Stace
Thanks Chris for the reply. I've just looked in the JSP spec. and you're quite right, the "@page content ..." directive sets the encoding used by the Writer. You also correctly stated that you need: meta http-equiv="Content-Type" content="text/html; charset=UTF-8" as well. Hopefully

RE: Problem with UTF encoding with Action Form

2002-02-07 Thread Chris Birch
Tony, Try sending your request to your server via a telnet connection. That way you will be able to see in the headers if the correct content type has been set and what the character values are that are returned. I'd suggest creating a file with the HTTP POST in and having telnet read it. Bit

Re: AW: ResultSet and ListObject - List Screens

2002-02-07 Thread Keith Bacon
Is it 16cm down this page? --- Dirk Storck [EMAIL PROTECTED] wrote: WHERE do I find that taglib? Thanks! -Ursprungliche Nachricht- Von: Matt Raible [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 31. Januar 2002 22:21 An: [EMAIL PROTECTED] Betreff: ResultSet and ListObject -

Re: Problem with UTF encoding with Action Form

2002-02-07 Thread Michael Baldwin
Try reading a really good resource on character set encoding. http://tagunov.newmail.ru/i18n/i18n.html It sounds to me like the request params aren't being decoded properly when they are being processed by the web container. I'd suggest looking at the section on Decoding request parameters

RE: Dynamic Property.

2002-02-07 Thread christian_weiler
Hi! This is exactly what I need but does anyone know where to find a reference implementation/example of BeanUtils respectively indexed props? Thanks in advance, Chris. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Tiles Vs Templates

2002-02-07 Thread Cedric Dumoulin
This prove that there is a need in such kind of frameworks ;-) At first glance, it looks like similar to Tiles. I will investigate more on it asap. Also, Tiles is open, and anyone can participate to improve it, bring new ideas, and why not starting its successor ;-) Cedric

Re: Dynamic tiles (attn: Cedric)

2002-02-07 Thread Cedric Dumoulin
Jim Crossley wrote: Thanks, Cedric. I got this to work in the perform method of my Action class: ComponentDefinition definition = DefinitionsUtil.getDefinition(mapping.findForward(success).getPath(), request,

Re: Multiple Forms on one JSP...

2002-02-07 Thread STEVE WILKINSON
Sounds like you need some debugging of you code. Hum, I don't see enough posted here to help. Normally, one would post more code or look at the code sample that was offered to compare and see what's wrong. I don't think I can help anymore. What I was trying to say with my prior posts

RE: Dynamic Property.

2002-02-07 Thread Arik Levin ( Tikal )
Hey Chris. This make the two of us. I'm trying it like this moment at J2EE env. , If u'll find an example later on tell me about it. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 07, 2002 3:50 PM To: Struts Users

Re: Dynamic tiles (attn: Cedric)

2002-02-07 Thread Jim Crossley
One more question... ComponentDefinition definition = DefinitionsUtil.getDefinition(mapping.findForward(success).getPath(), request, getServlet().getServletContext()); definition.putAttribute( title, Overloaded

Re: Dynamic tiles (attn: Cedric)

2002-02-07 Thread Cedric Dumoulin
If the actionForward contains a definition name, the definition is retrieved, and missing attributes are added to your definition. Otherwise, ActionForward has no effect, and I think you should be able to return null. Jim Crossley wrote: One more question... ComponentDefinition

RE: Multiple Forms on one JSP...

2002-02-07 Thread Rustad, Aaron
OK, I found a solution. Maybe some of you can shed some light on why this works. In my second html:form, I simply included type=com.class.name to signify the class that should be instantiated in the event that it doesn't locate one. However, Doesn't the ActionServlet look at the ActionMappings

Nightlies stability and 1.1

2002-02-07 Thread Ken . Horn
How stable are the current nightly builds? Is there a proposed timescale for when a 1.1 is likely? (approx weeks/months/years? :o) Ken Visit our website at http://www.ubswarburg.com This message contains confidential information and is intended only for the individual named. If you are

Derived tiles inherit controllerClass?

2002-02-07 Thread Jim Crossley
In the tiles definition file, when one definition extends another, the parent's controllerClass does not seem to be inherited by the child. Is that by design or a bug? Thanks. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Subject: configure the welcome page

2002-02-07 Thread @Basebeans.com
Subject: Subject: configure the welcome page 4856:From: Brian K. Buckley [EMAIL PROTECTED] === -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Derived tiles inherit controllerClass?

2002-02-07 Thread Cedric Dumoulin
It's a bug. Jim Crossley wrote: In the tiles definition file, when one definition extends another, the parent's controllerClass does not seem to be inherited by the child. Is that by design or a bug? Thanks. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional

Re: Antwort: How to go about??

2002-02-07 Thread STEVE WILKINSON
Chris, Thanks for the feedback on my chapter in Professional JSP. FYI, http://www.newparticles.com/struts contains updates and bug fixes to the chapter examples. In a few days they will post the latest edition that is built from a CVS snapshot of 12-15-2001. Steve - Original

Re: Multiple Forms on one JSP...

2002-02-07 Thread STEVE WILKINSON
Jay, You are correct in that the JSP snip was not complete. This is contained in an iterate tag. I mentioned that after the code snip. Multiple forms do work in struts. I have sample code that shows it. Sometimes while debugging a problem its easier to look at working code and see what

Re: Poolman Help?

2002-02-07 Thread Jason B Menard
Without examining your code it is hard to say exactly where the problem is, but basically it doesn't sounds like something is going on with your Connection object (reusing it when you shouldn't, goes out of scope, not closing it when you should, something along those lines). The reason it works

error implementing menus using tiles

2002-02-07 Thread Sriram Nookala
I'm trying to create a dynamic menu using the tiles tutorial, but I get the following error when I display the jsp: [ServletException in:/topnavbar.jsp] Cannot find bean links in scope page' What am I doing wrong? thanks, sriram My implementation is as follows: 1. I have a topnvabar.jsp

RE: How to go about??

2002-02-07 Thread John Menke
There is a book: Struts Fast Track (See Resources Section on Jakarta Site). It has helped me. Also, read the API javadocs and the User Guide. -Original Message- From: Arnab Sengupta [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 07, 2002 12:50 AM To: Struts Users Mailing List

SSL + URL rewriting problem

2002-02-07 Thread Nathan Anderson
Hello all, I've been trying to get my Apache 1.3.22 + Tomcat 4.0.1 [via mod_WebApp] installation to work with SSL. So far I've had some success, but there is one problem left that seems to only effect Struts applications. All my non-struts .JSP's and servlets work without any issues. But

Re: Migrating from another framework to struts ...

2002-02-07 Thread cool dude
Hi Ted and Oliver, First lemme thank you guyz for the quick response. Few of your suggestions have really helped me. But my problem with relative URL still remains. Maybe I didn't explain the problem in the right manner. Lemme tell you what the exact scenario is. I have a URL which looks like

InvokeAction (action chaining)

2002-02-07 Thread Jeff Oberlander
I am working with the 1/31/02 nightly build. The release notes show that the following was added: Add InvokeAction and CreateActionForm methods to allow direct chaining of Actions. Yet neither method shows in the javadoc or binaries. Does anyone know the status of these methods? Thanks

Re: Antwort: How to go about??

2002-02-07 Thread Sanjay Choudhary
Hi Steve, Is it possible for us to get a soft copy of chapter 21 of your book to start with. I will also purchase the book over the weekend. Can't wait anymore to get into it. -Sanjay --- STEVE WILKINSON [EMAIL PROTECTED] wrote: Chris, Thanks for the feedback on my chapter in

File upload produces modified files

2002-02-07 Thread Tingleff, Sam
Using Struts 1.0 with Tomcat 4.0.1 on Win 2k. FormFile uploads will consistently produce modified files with some large binary files. Is this a known bug? Is there a fix available for Struts 1.0? Thanks. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail:

Re: File upload produces modified files

2002-02-07 Thread John M. Corro
Very interesting, when you say large...how large we talking? - Original Message - From: Tingleff, Sam [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, February 07, 2002 11:24 AM Subject: File upload produces modified files Using Struts 1.0 with Tomcat 4.0.1 on Win 2k.

RE: File upload produces modified files

2002-02-07 Thread Jeff Martin
Well, how do the files compare to each other? Is one longer by a byte, a lot of bytes, did it do \n - \r\n conversions on you, or what? -Original Message- From: Tingleff, Sam [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 07, 2002 12:24 PM To: '[EMAIL PROTECTED]' Subject: File

Re: File upload produces modified files

2002-02-07 Thread Martin Cooper
There were a couple of bugs related to this that were fixed in Struts 1.0.1. You might want to try upgrading and see if the problem remains. -- Martin Cooper - Original Message - From: Tingleff, Sam [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, February 07, 2002 9:24 AM

Concatinating mutliple struts-config.xml files into one.

2002-02-07 Thread Ace
When working with a team on a struts web app it is best for each person to have his own piece of the struts-config.xml file and merge all on a build. What is the best way to do this? Can't find a cat command in ant? -- -- - Rick

RE: File upload produces modified files

2002-02-07 Thread Tingleff, Sam
Actually the file doesn't have to be too large. I can reproduce it with a 640k zip file. Here's a diff from od -c output. File size is always the same. $ diff ~/content_orig.txt ~/content_new.txt 38746c38746 2272620 g e / c l i e n t / E T r a n s ---

RE: File upload produces modified files

2002-02-07 Thread Tingleff, Sam
You're right, Struts 1.0.1 seems to have fixed this. Thanks! -Original Message- From: Martin Cooper [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 07, 2002 9:39 AM To: Struts Users Mailing List Subject: Re: File upload produces modified files There were a couple of bugs related

Re: ActionForm:reset() method

2002-02-07 Thread Keith Bacon
I think it's this simple:- (but experts please correct me if I'm wrong) When your action is invoked if it specifies a form bean struts will call reset on it before calling your perform method. This is true when the action is invoked from HTTP either when your form is

Re: Problem with validation

2002-02-07 Thread Keith Bacon
Not sure I understand but maybe this is your problem... Is this because you are letting struts call your form bean's validate() method? If your action is putting data in the request for your jsp to display it will be lost. Then you should set validate=false call validate from your action

RE: Login Authentication

2002-02-07 Thread Afshartous, Nick
From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 07, 2002 7:16 AM What's the best way to authenticate users from a backend database in a system using Struts? Should the HTML form action go through the ActionServlet or should I write a small validation class that

Re: File upload produces modified files

2002-02-07 Thread John M. Corro
Is anyone aware of the nature of the bug? That is does the bug only happen w/ files over a certain size, compressed, files of a certain type, etc? In the app I'm working on, there is an option to upload certain files whose data gets imported into the database. The largest file that has been

Re: feed-forward data

2002-02-07 Thread Keith Bacon
I need an answer to this in a hurry It's a big question - a hurried answer might be wrong. not had luck searching the archives. but there's lots of stuff there! Has anyone got this logic in a live system can comment from practical experience? --- Hidden fields are passed

Re: Design question about ActionForm's validate method

2002-02-07 Thread Sean Willson
RE: Design question about ActionForm's validate method The process we followed is very simular to what Ted suggested but depends on how you are approaching the construction of your actions. If you have the ability to write a collection of objects that handle storing and retreiving data

Re: MultipartRequestHandler Question

2002-02-07 Thread Sean Willson
RE: MultipartRequestHandler QuestionThanks for the reply ... as far as the first part of the question, do you know the answer? When a file is posted does the handler get notified immediatly as the file is transfering or only when the file has been downloaded completely? I don't want a 20MB file

Re: Are Vectors in a FormAction set to null after a user has submitted a form?

2002-02-07 Thread Rick Holland
Did you know that the ControllerServlet calls reset on a form before populating it from the request? If your form reset method clears the instvars it may be the problem. Antony Stace wrote: Hi Chuck I just tried having the first actions scope set to scope="session" and the second actions scope

validation form collection loss discussion

2002-02-07 Thread Dan Tanner
Has there been discussion on changing struts so that it doesn't lose collection and other non-String form information upon a validation failure in request scope? I've seen a lot of hacks (good and bad) on the userlist to get around this problem, but I think this is something that should be

Redirect to a jsp page

2002-02-07 Thread Joanna Chan
Hello How do I redirect to a jsp page in struts without allowing the user to press the back key in browser. I want to maintain transactional control so that the user cannot press back key to re-enter somethinig that is already submitted. Thanks Joanna -- To unsubscribe, e-mail:

redirect html:errors to popup window

2002-02-07 Thread jcanter
Any suggestions on how to redirect html:errors/ output to a popup window rather than the page that the form is located on? Thanks, Jim Canter -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Accessing the ActionForm bean from within JSP page

2002-02-07 Thread Richard Yee
Hi, I'm trying to access a field in the actionForm bean from within bean:message tag. Specifically, I want to use one of the attributes in the bean as a value for the attr0 attribute in the bean:message tag. So far, I've been able to use a scriptlet to set a page variable reference to the

HTML tags - WHY?

2002-02-07 Thread cody.burleson
Can someone help me understand why struts duplicates almost all standard HTML tags. In all of these cases, struts adds something special that is not already inherent in the tag? - Cody The information transmitted is intended

RE: HTML tags - WHY?

2002-02-07 Thread Krueger, Jeff
One thing is it will populate the tag with the value from your formBean. Jeff -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 07, 2002 3:00 PM To: Struts Users Mailing List Subject: HTML tags - WHY? Can someone help me understand why

Re: nesting struts tags

2002-02-07 Thread Pavel Nejedly
On Thu, Feb 07, 2002 at 03:41:06AM +1100, rob wrote: # What is the appropriate way to nest tags in struts? I've seen this posted # before but couldn't find a scriptlet free answer so I'm posting myself. # # I have a collection through which I'm iterating with the logic:iterate tag # each item

Re: Derived tiles inherit controllerClass?

2002-02-07 Thread Jim Crossley
I see. I had a look at the source and another question occurred to me. When a child overrides the controllerClass of the parent, would we expect only the child's to execute, or would all inherited controllers chain together? Cedric Dumoulin [EMAIL PROTECTED] writes: It's a bug. Jim

Re: Redirect to a jsp page

2002-02-07 Thread Bob Williams
There is a JavaScript command to reset the history list on the browser. I don't know what it is off hand. Just include this command in the page you send out as a response. Hope this points you in the right direction. bob - Original Message - From: Joanna Chan [EMAIL PROTECTED] To:

bean write tag's format

2002-02-07 Thread Louis Leung
Anyone used bean:write tag's format attribute before ?? I looked at the struts-bean.tld, and found that this attribute is not defined by the write tag. Furthermore, I downloaded struts source, and found that it is not even implemented. But this said is supported on Struts' homepage under

Re: HTML tags - WHY?

2002-02-07 Thread Jim Crossley
That is certainly the biggie. Coupla others: - Transparently inserts context path prefix. - Automatically encodes html-specific characters Krueger, Jeff [EMAIL PROTECTED] writes: One thing is it will populate the tag with the value from your formBean. Jeff -Original

RE: HTML tags - WHY?

2002-02-07 Thread cody.burleson
I understand that. But what is the use of all the tags that are not related to forms? - Cody Krueger, Jeff [EMAIL PROTECTED] on 02/07/2002 04:01:12 PM Please respond to Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] cc: Subject: RE:

RE: Redirect to a jsp page

2002-02-07 Thread Galbreath, Mark
You cannot keep a user from pressing the back button on the browser (without breaking the user's fingers), but you can prevent a resubmit by testing a session attribute flag you set at the first submit. Mark -Original Message- From: Joanna Chan [mailto:[EMAIL PROTECTED]] Sent: Thursday,

Re: HTML tags - WHY?

2002-02-07 Thread cody.burleson
Maybe I should rephrase the question. I understand what the tags are for when related to form items and even hyperlinks (allowing forwards), but what is the point of duplicating the others? - Cody Jim Crossley [EMAIL PROTECTED]@jimmy.ifleet.com on 02/07/2002 04:14:45 PM Please respond to

Re: Poolman Help?

2002-02-07 Thread Mark Woon
Jason B Menard wrote: Without examining your code it is hard to say exactly where the problem is, but basically it doesn't sounds like something is going on with your Connection object (reusing it when you shouldn't, goes out of scope, not closing it when you should, something along those

Re: HTML tags - WHY?

2002-02-07 Thread Jim Crossley
Care to give an example of a particularly pointless tag? [EMAIL PROTECTED] writes: Maybe I should rephrase the question. I understand what the tags are for when related to form items and even hyperlinks (allowing forwards), but what is the point of duplicating the others? -- To

Re: How to go about??

2002-02-07 Thread Sanjay Choudhary
thanks ted, Where can I get info. on tiles? Sanjay --- Ted Husted [EMAIL PROTECTED] wrote: What Steve said, and Sanjay Choudhary wrote: 2. Except for a HTML designer, most of the programmers are involved with backend programming. They have done very little HTML work. I was

Re: SSL + URL rewriting problem

2002-02-07 Thread Nathan Anderson
I have a bit more information if anyone is interested in helping me with this issue.. I found out that the HttpUtils.getRequestURL(). If I make a JSP with the following scriptlet: %= HttpUtils.getRequestURL(request) % I get this: http://hostname:443/webapp/page.jsp when the actual request

Re: SSL + URL rewriting problem

2002-02-07 Thread Dan Moore
Hi Nathan, On Feb 7, Nathan Anderson wrote: I have a bit more information if anyone is interested in helping me with this issue.. I found out that the HttpUtils.getRequestURL(). If I make a JSP with the following scriptlet: I assume you're talking about javax.servlet.http.HttpUtils here

Re: SSL + URL rewriting problem

2002-02-07 Thread Max Cooper
Nathan, I have noticed the behavior you describe on a Struts application that I worked on. However, I was not sure of why the :443 was added until your post. I was thinking that it was the web server, perhaps not. Anyway, one issue to watch out for is that Netscape considers these two URLs to

Re: SSL + URL rewriting problem

2002-02-07 Thread Nathan Anderson
Thanks for the info. You are correct that I was referring to javax.servlet.http.HttpUtils. So I tried it using the object [request.getRequestURL], and I got the exact same thing. I guess this is not a Struts issue, so I'll keep looking. Nathan Anderson -- Sent via jApache.org -- To

Re: Poolman Help?

2002-02-07 Thread Nathan Anderson
I have had this same problem with Poolman 2.1b1. In fact I documented with the author. Here is the e-mail I sent to him: BRIEF: PoolMan.PreparedStatement is returning null instead of a ResultSet object after the PoolSkimmer has removed all objects. DETAIL: This is part of a web based

Re: Announce: Struts hands on public training in NJ

2002-02-07 Thread Vic Cekvenich
I have 2 more seats. If you want to master Struts by March, the class is 2/20, in less than 2 weeks. Vic Vic Cekvenich wrote: in Atlantic City, NY on 2/20 or see. http://www.basebeans.com/students.jsp You have to register this week(on above page, we do not do last minute

Re: Antwort: How to go about??

2002-02-07 Thread STEVE WILKINSON
Sanjay, Sorry I don't have a soft copy of it. My only soft copy does not include the last edits from the editors at Wrox and has a bunch of comments and no images. Sorry, Steve - Original Message - From: Sanjay Choudhary Sent: Thursday, February 07, 2002 10:23 AM To: Struts Users

  1   2   >