RE: Formatting form data inside the *view* (JSP's)

2003-08-27 Thread Steve Raeburn
The Struts tag offers a format attribute (or formatKey if you want to use a resource file). But JSTL would be a better option if you can use it in your environment. Steve http://www.ninsky.com/struts/ > -Original Message- > From: Sasha Borodin [mailto:[EMAIL PROTECTED] > Sent: August

RE: J2EE IDE

2003-08-27 Thread Paul Jackson
Sounds like you need to upgrade your machine. I have a standard PC (2 years old) and eclipse works fine on this... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, 27 August 2003 7:30 PM To: Struts Users Mailing List Subject: Re: J2EE IDE OfCourse, I

[OT] RE: J2EE IDE

2003-08-27 Thread Shane Mingins
IntelliJ provide a document on supporting & developing web apps with IntelliJ IDEA http://www.intellij.com/docs/html/webAppl.html http://www.intellij.com/docs/WebApps.pdf -Original Message- From: Paul Thomas [mailto:[EMAIL PROTECTED] Sent: Thursday, 28 August 2003 11:15 a.m. To:

Re: J2EE IDE

2003-08-27 Thread Paul Thomas
On 27/08/2003 07:46 [EMAIL PROTECTED] wrote: Can someone please suggest me a free J2EE IDE suitable for development of webapps using STRUTS. I know of some IDE's like the FORTE, ECLIPSE, NETBEANS. However I wanted to ckeckout if anyone has already evaluated any of these since I am not sure which on

[OT[ voice enable Java IDE

2003-08-27 Thread Raj Naboti
I find this IDE most rewarding. Compared to crowd it shines with highest regard! Understands language you speak to it! so I get most productivity advantages. Open source also!: http://www.originalicons.com/smile -- Raj _ STOP MORE

ContextConfig.tldScanJar leads to native exception in Tomcat on Linux but not Solaris

2003-08-27 Thread kosh.podder
Hi, I am getting the following error with Tomcat 4.1.24, with the struts-example webapp, when running on Linux but not Solaris - I am using the same Sun JDK 1.3.1_04, same build of Tomcat and the webapp. -- Starting service Tomcat-Standalone Apache Tomcat/4.1 An unexpected exception ha

RE: Problem converting from Struts tags to JSTL

2003-08-27 Thread Karr, David
> -Original Message- > From: Kevin A. Palfreyman [mailto:[EMAIL PROTECTED] > > Thanks for the pointer to the user guide, but unfortunately it doesn't > help. > > I tried: > > > > And > > > > And > > > > But those didn't work either. > > I think the problem is with the nested ev

Re: Tiles not generating page properly

2003-08-27 Thread Carl-Eric Menzel
On Wed, 27 Aug 2003 19:52:33 +0200, Carl-Eric Menzel wrote: > My app is running on a Debian woody system, using Java 1.3.1 > (Blackdown-1.3.1-02b-FCS) and the Debian-packaged Tomcat 4.0.4-4. > > The Struts and Tiles files are the ones right out of the > jakarta-struts-1.1.zip on the Jakarta sit

RE: [OT] RE: J2EE IDE

2003-08-27 Thread Mark Galbreath
I disagree - all the professional literature I read inclined me to that opinion - including reviews on Amazon. Don't get me wrong - I believe Fowler's "Refactoring: Improving the Design of Existing Code" (Addison-Wesley 1999) is an essential work ( with a forward by Gamma). My criticism is that h

Re: keys of MessageResources

2003-08-27 Thread Sasha Borodin
Well, I do use the ResourceBundle mechanism to load the properties file. I think what Panchasheel was looking for is a method of *MessageResources* that returns a collection of keys. That way those properties files can be declared in struts-config and there's only one copy of them loaded at start

[OT] RE: J2EE IDE

2003-08-27 Thread Shane Mingins
Well then most of the world are obviously a Fowler groupies. Metsker gets 4 stars on Amazon whilst Fowler gets 4 1/2. I have not read Metsker but the TOC suggests that these two books are quite different. From what I have browsed of PoEA it is not a "design patterns explained" typed book writte

RE: J2EE IDE

2003-08-27 Thread Brandon Goodin
I'm glad you are enjoying the kool-aid. Drink up. :-p Brandon Goodin > -Original Message- > From: Yansheng Lin [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 27, 2003 3:24 PM > To: 'Struts Users Mailing List' > Subject: RE: J2EE IDE > > > I have to take the opposite point of view. >

RE: keys of MessageResources

2003-08-27 Thread Shane Mingins
Huh? Why not just do: // my file is called resources.properties ResourceBundle myResources = ResourceBundle.getBundle("resources", Locale.getDefault()); Enumeration enum = myResources.getKeys(); while (enum.hasMoreElements()) { String key = (String) enum.nextElement(); System.out.println("ke

Re: one page, multiple forward to's - how do I do that?

2003-08-27 Thread Bryce Fischer
> This has probably been asked a million times. > > I have several pages where the user can click to go to a login page. I want to use > the same page for the login. > > How can I set it so that after the login it goes back to the page it came from? One way is to add the url to the session. He

RE: J2EE IDE

2003-08-27 Thread Mark Galbreath
You are obviously a Fowler groupie. Try Metsker, "Design Patterns Jave Workbook" ( Addison-Wesley 2002) -Original Message- From: David Graham [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 27, 2003 4:47 PM To: Struts Users Mailing List Subject: RE: J2EE IDE --- Mark Galbreath <[EMAI

Re: J2EE IDE -> patterns creator runt -> back to struts

2003-08-27 Thread Emerson Cargnin
ok, I like them both, Kent beck, martin fowler, gama, all them have credits, let's talk about struts? isn't what this list is for? James Childers wrote: Gotta disagree with you there, little buckaroo. Only the second half of the book is a GoF-style collection of patterns. The first half is a desc

RE: How to get a String object from request scope.

2003-08-27 Thread Hue Holleran
struts-bean: or JSTL: > -Original Message- > From: Fumitada Hattori [mailto:[EMAIL PROTECTED] > Sent: 27 August 2003 17:02 > To: [EMAIL PROTECTED] > Subject: How to get a String object from request scope. > > > Hi gurus. > > I got one Action servlet class and one js

RE: tile definition name in the action class

2003-08-27 Thread Hue Holleran
mapping.findForward("found").getPath() > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: 27 August 2003 14:30 > To: Struts Users Mailing List > Subject: tile definition name in the action class > > > > Is it possible to get the tiles-definition name inside

RE: Problem converting from Struts tags to JSTL

2003-08-27 Thread Hue Holleran
Ah good - glad it's sorted. BTW, as a matter of interest - I tend to use DynaActionForm as a nested bean in a DynaActionForm. This allows the properties of the Dyna to be defined in struts-config (may not suit you of course, just thought I'd mention it in case it's of use): // Get referen

RE: one page, multiple forward to's - how do I do that?

2003-08-27 Thread Pady Srinivasan
Request to Main.jsp --> call login.jsp ( pass the url to forward as a parameter ) --> getServletContext().getRequestDispatcher(url).forward(request, response) Thanks -- pady [EMAIL PROTECTED] -Original Message- From: David Thielen [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 2

RE: J2EE IDE

2003-08-27 Thread Yansheng Lin
I have to take the opposite point of view. They are all good. It's your own programming skill that matters the most. -Original Message- From: Brandon Goodin [mailto:[EMAIL PROTECTED] Sent: August 27, 2003 2:36 PM To: Struts Users Mailing List Subject: RE: J2EE IDE THEY ALL SUCK! Jus

Re: keys of MessageResources

2003-08-27 Thread Sasha Borodin
There are no public methods that return a collection view of keys (I think this is what you want to get at). If you subclass PropertyMessageResources, you can write your own method to return the keys from the implementing HashMap. Then you'd need to write a new Factory for your PropertyMessageRes

[OT] RE: J2EE IDE

2003-08-27 Thread Mark Galbreath
That's what I told my sister about boys Mark -Original Message- From: Brandon Goodin [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 27, 2003 4:36 PM To: Struts Users Mailing List Subject: RE: J2EE IDE THEY ALL SUCK! Just pick the one that causes YOU the least pain. Brandon Good

Tile controllers threadsafe?

2003-08-27 Thread Hrishi Dixit
This may be a somewhat inane question, but are tile controllers required to be threadsafe, i.e. are they shared across sessions? Is it a good idea to store session data as attributes of a controller class (even temporarily)? Thanks. ..Hrishi -- __ Hrishi Dixit F

RE: J2EE IDE

2003-08-27 Thread James Childers
Gotta disagree with you there, little buckaroo. Only the second half of the book is a GoF-style collection of patterns. The first half is a description of how they are meant to fit together. Besides, the GoF was technically just a collection of patterns done separately by previous authors. And

RE: J2EE IDE

2003-08-27 Thread David Graham
--- Mark Galbreath <[EMAIL PROTECTED]> wrote: > Martin Fowler ripped all the patterns in that book from previous > authors. It's completely irrelevant who came up with the patterns and he doesn't claim to have thought of all of them. What is important is that he published a well written and insig

action-mapping forward - how do I use it?

2003-08-27 Thread David Thielen
Hi; I have a case where, when the user clicks on a button, I want the action to be to go to a new page. No ActionServlet or ActionForm because the only thing in the form is the button. But I would like to use the action-mapping to determine where to go. I tried to do this with: But if I

RE: J2EE IDE

2003-08-27 Thread Brandon Goodin
I like flowers while i code. Brandon Goodin > -Original Message- > From: Mark Galbreath [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 27, 2003 2:16 PM > To: 'Struts Users Mailing List' > Subject: RE: J2EE IDE > > > Martin Fowler ripped all the patterns in that book from previous

Re: Another missing attribute in html-el

2003-08-27 Thread Jason Lea
Slattery, Tim - BLS wrote: The tag does not have an "accesskey" attribute. I tried adding the attribute to the struts-html-el.tld file, and got this error message: Error in using tag library uri='/WEB-INF/struts-html-el.tld' prefix='html-el': The Tag class 'org.apache.strutsel.taglib.html.ELSelect

keys of MessageResources

2003-08-27 Thread Gandle, Panchasheel
How to get keys of MessageResources of the properties file in the action class Panchasheel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

one page, multiple forward to's - how do I do that?

2003-08-27 Thread David Thielen
Hi; This has probably been asked a million times. I have several pages where the user can click to go to a login page. I want to use the same page for the login. How can I set it so that after the login it goes back to the page it came from? thanks - dave

Re: Not able to Retain Values in Screens in case of Error - WEBSPHERE

2003-08-27 Thread Susan Bradeen
On 08/27/2003 07:57:01 AM "Chawla, Yogesh" wrote: > Hi !! > > We are facing a major problem using Struts in WEBSPHERE. > > Whenever we have any validation error, then the errors are shown to the user > using tag. > > This is working well in Tomcat but NOT in WEBSPHERE. > > Whenever this scre

RE: J2EE IDE

2003-08-27 Thread Brandon Goodin
THEY ALL SUCK! Just pick the one that causes YOU the least pain. Brandon Goodin Avid Eclipse user (1yr) Post Netbeans User (2yr) IDEA (1mo) > -Original Message- > From: Gandle, Panchasheel [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 27, 2003 8:37 AM > To: 'Struts Users Mailing Lis

RE: J2EE IDE

2003-08-27 Thread Mark Galbreath
Martin Fowler ripped all the patterns in that book from previous authors. It isn't worth the money. -Original Message- From: Emerson Cargnin [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 27, 2003 3:14 PM To: Struts Users Mailing List Subject: Re: J2EE IDE Erich Gamma is one for ecli

RE: J2EE IDE

2003-08-27 Thread Gandle, Panchasheel
+1 for IDEA, its simply great tool, everything in it leads to productivity, Panchasheel -Original Message- From: Vijay Pawar [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 27, 2003 10:24 AM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: J2EE IDE Dear All, I am using

RE: filesystem path

2003-08-27 Thread Cameron Hickey
Thanks! -Original Message- From: Pady Srinivasan [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 27, 2003 10:37 PM To: Struts Users Mailing List Subject: RE: filesystem path getServletContext().getResource(path) --> returns an URL or getServletContext().getRealPath(relativePath)

Re: newbie question

2003-08-27 Thread Bryce Fischer
> Now I want to call sicpage1.jsp directly without first calling > sicpage0.jsp. > > But sicpage1.jsp is not getting populated with data since the action > class is not getting called. create a global forward to the action, and call the forward. -- Bryce Fischer <[EMAIL PROTECTED]> ---

RE: filesystem path

2003-08-27 Thread Pady Srinivasan
getServletContext().getResource(path) --> returns an URL or getServletContext().getRealPath(relativePath) --> returns a String Thanks -- pady [EMAIL PROTECTED] -Original Message- From: Cameron Hickey [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 27, 2003 3:25 PM To: 'S

Re: Struts and Jetspeed

2003-08-27 Thread BaTien Duong
Vic: I like your practical approaches as well, and share part of it. Keep express yourself freely. We need many *frank* discussions to keep things moving in a proper perspective. Best regards BaTien DBGROUPS Vic Cekvenich wrote: BaTien Duong wrote: Craig R. McClanahan wrote: SNIP There is

[OT] [Way OT] RE: J2EE IDE

2003-08-27 Thread James Childers
Smelly heretic! Don't you dare oppress me! The Fowlerians shall smite the wicked Gammalons for all eternity! -= J > -Original Message- > From: Emerson Cargnin [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 27, 2003 2:14 PM > To: Struts Users Mailing List > Subject: Re: J2EE IDE >

filesystem path

2003-08-27 Thread Cameron Hickey
What is the simplest way to return the value of the path on the file system where a web app is located? I am building a file upload component and I need to make it usable on numerous systems without changing any properties files. I imagine it is something simple, but I am new to JSP/STRUTS develo

Re: J2EE IDE

2003-08-27 Thread Emerson Cargnin
Erich Gamma is one for eclipse leaders, does this means anything for you. James Childers wrote: Here, friends and neighbors, is an example of the "appeal to authority" fallacy: In "Patterns of Enterprise Application Architecture", Martin Fowler specifically commends IDEA. If he uses it, so should

JSP not displaying data when in Edit Mode

2003-08-27 Thread Srinivas Gunturu
All, I am trying to get my JSP to display data from my form when in Edit mode. I am new to Struts and using Struts 1.1 I am not sure what I am doing wrong. Any help or pointers at resources would be appreciated. I have included my struts-config, my jsp, my action class and my form class.

Re: Cannot find ActionMappings or ActionFormBeans collection

2003-08-27 Thread Emerson Cargnin
I think you are tring to access access struts tags before it was initialized. I think that html:form does this initialization for you, I had this error too. dummu wrote: Hi , I am getting the following exception can you please help me out as you have faced the same exception. Exception Report:

RE: [OT] RE: J2EE IDE

2003-08-27 Thread Thompson, Mike (ETW)
I use vi emulation inside both Idea IntelliJ and Eclipse and have been very pleased. The best of both worlds. -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 27, 2003 11:04 AM To: 'Struts Users Mailing List' Subject: [OT] RE: J2EE IDE That's good

RE: HibernatePlugIn for struts (a few questions)

2003-08-27 Thread Bill Chmura
All makes wonderful sense to me! Thanks for the feedback... Bill > -Original Message- > From: David Friedman [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 27, 2003 11:45 AM > To: Struts Users Mailing List > Subject: RE: HibernatePlugIn for struts (a few questions) >

RE: HibernatePlugIn for struts (a few questions)

2003-08-27 Thread Bill Chmura
Hmmm, Are you sure? I had problems with teds. I actually assumed they were from the same person they were so similar! If one had documentation I would have chosen that over the other. If that's the only difference I will stick with yours (they one I got working). * disclaimer * I am not saying

RE: Validator and DispatchAction

2003-08-27 Thread Venkat Jambulingam
The solution is to use LookupDispatchAction instead of DispatchAction as the former does not depend on javascript. The problem: I had three buttons on my page — save, next and previous. When a user clicks a button, I set a variable called dispatch to corresponsing value using javascript. For sav

Re: Resource Bundle Inheritance - please vote!

2003-08-27 Thread Sgarlata Matt
Craig R. McClanahan wrote: On Wed, 27 Aug 2003, Sgarlata Matt wrote: Two quick comments on this general topic. - You'll have a lot better chance influencing whether this actually happens to Struts by raising it in an enhancement request http://nagoya.apache.org/bugzilla/ and talking abou

RE: Another missing attribute in html-el

2003-08-27 Thread Slattery, Tim - BLS
> When I try adding it, I get a JSP compiler error - "Attribute > accesskey invalid according to the specified TLD." > I can only suggest that you still have an old copy of > struts.jar. Try starting with a fresh copy of > struts-blank.war from the Struts 1.1 distribution and try that. Struts

form submit - nested property problem

2003-08-27 Thread Heather Buch
I am trying to figure out what happens to the value of my nested checkbox when I submit my form. I have a bean: public class FagDTO { with setter/getter methods for a boolean: //for fagtypeform public void setEkstraTekst ( boolean ekstra_tekst ){ logger.info("setting

[OT] RE: J2EE IDE

2003-08-27 Thread Melissa L Kelley
On Wed, 27 Aug 2003, William T Hansley wrote: > External Editor - integrates emacs (XEmacs) and vi (Vim) with NetBeans. > More editors can be integrated as well although the external editor team > is currently focusing on the above two editors. > > I've never tried the vi support, but I am a happy

RE: Validator and DispatchAction

2003-08-27 Thread Yee, Richard K,,DMDCWEST
Venkat, What was the solution? -R -Original Message- From: Venkat Jambulingam [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 27, 2003 11:06 AM To: [EMAIL PROTECTED] Subject: RE: Validator and DispatchAction It works now. Thank you everyone for helping me. >>> [EMAIL PROTECTED] 08/27

RE: Validator and DispatchAction

2003-08-27 Thread Venkat Jambulingam
Hi Steve, I just saw your message now. You are correct. I disabled javascript which is used to set the value of dispatch1 to something other than the default value (errror). Your insight really helped me pinpoint the bug. Thank you so much. I was about to drop the idea of using validators... Thank

Re: Is singleton DAO acceptable? -- Best Practices

2003-08-27 Thread Vic Cekvenich
I use a simple (and therefore powerful) DAO pattern like http://ibatis.com as a "best" practice. .V Richard Tomlinson wrote: I've experienced loss of singleton's under heavy load. We used an object preserver as detailed by Mark Grand in 'Patterns in Java' to register the singleton with a perman

Re: Tiles not generating page properly

2003-08-27 Thread Carl-Eric Menzel
> Can you post some more info on the version of struts and the container. Sure: My app is running on a Debian woody system, using Java 1.3.1 (Blackdown-1.3.1-02b-FCS) and the Debian-packaged Tomcat 4.0.4-4. The Struts and Tiles files are the ones right out of the jakarta-struts-1.1.zip on th

Re: Resource Bundle Inheritance - please vote!

2003-08-27 Thread Craig R. McClanahan
On Wed, 27 Aug 2003, Sgarlata Matt wrote: Two quick comments on this general topic. - You'll have a lot better chance influencing whether this actually happens to Struts by raising it in an enhancement request http://nagoya.apache.org/bugzilla/ and talking about it on the STRUTS-DEV list.

RE: Validator and DispatchAction

2003-08-27 Thread Venkat Jambulingam
It works now. Thank you everyone for helping me. >>> [EMAIL PROTECTED] 08/27/03 12:58PM >>> Hi Steve, I don't have a method named "error" in my action class. I don't need one. Why is it looking for such a method in my action class? Help me please. I have to decide soon whether to go with validato

RE: Validator and DispatchAction

2003-08-27 Thread Venkat Jambulingam
It works now... Thank you for all the help. >>> [EMAIL PROTECTED] 08/27/03 12:58PM >>> Hi Steve, I don't have a method named "error" in my action class. I don't need one. Why is it looking for such a method in my action class? Help me please. I have to decide soon whether to go with validator fr

[OT] RE: J2EE IDE

2003-08-27 Thread Mark Galbreath
That's good to know - thanks for sharing. -Original Message- From: William T Hansley [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 27, 2003 1:44 PM To: Struts Users Mailing List Subject: RE: J2EE IDE NetBeans has experimental support available for external editors. From their featu

RE: Another missing attribute in html-el

2003-08-27 Thread Steve Raeburn
When I try adding it, I get a JSP compiler error - "Attribute accesskey invalid according to the specified TLD." I can only suggest that you still have an old copy of struts.jar. Try starting with a fresh copy of struts-blank.war from the Struts 1.1 distribution and try that. Steve http://www.nin

RE: HibernatePlugIn for struts (a few questions)

2003-08-27 Thread Bradley Handy
There are two versions of the HibernatePlugIn for Struts. One is written by Ted Husted and is available in the "Struts Hibernate" sourceforge project. The other was written by myself, and the source is posted on the Hibernate site in their wiki. It's kind of funny how the design is somewhat simi

RE: J2EE IDE

2003-08-27 Thread William T Hansley
NetBeans has experimental support available for external editors. From their feature list: External Editor - integrates emacs (XEmacs) and vi (Vim) with NetBeans. More editors can be integrated as well although the external editor team is currently focusing on the above two editors. I've neve

Re: Struts and Jetspeed

2003-08-27 Thread Vic Cekvenich
BaTien Duong wrote: Craig R. McClanahan wrote: SNIP There is also an implicit non-goal that I should state explicitly -- I'm totally uninterested in building in (to Struts) support for non-JSR 168 based portal servers -- be they open source ones like Jetspeed or commercial ones (BEA, IBM, Oracl

RE: Validator and DispatchAction

2003-08-27 Thread Steve Raeburn
The error message you are receiving indicates that DispatchAction is trying to find a method named 'error' in your class and it can't find one. There's really only two reasons that could be: 1. There should be a method named 'error' and there isn't one. 2. There isn't supposed to be one but so

Re: J2EE IDE

2003-08-27 Thread Mark Lowe
IDE's aren't really my bag but there is a plugin for borland that gives you vi inside the IDE. Think I saw it on source forge.. On Wednesday, August 27, 2003, at 06:37 PM, Witt, Mike (OH35) wrote: If I could get an IDE to emulate vi in its editor ... I'd really be happy. I said that through m

RE: HibernatePlugIn for struts (a few questions)

2003-08-27 Thread David Friedman
Bill, You're probably best off using the PlugIn style of Hibernate/Struts where it keeps one session factory and manages it for you on startup and shutdown, plus provides a simple, central way to obtain it via the servlet's getAttribute: > SessionFactory sessionFactory = (SessionFactory) > getSe

Re: login test in a jsp page - any suggestions

2003-08-27 Thread Emerson Cargnin
put your pages inside /WEB-INF/ and do an foward to there... I'm not sure if you have to create an foward at strtus-config or not David Thielen wrote: How can I set things up so people can't get to a jsp page? I can set it up so a jsp page is never in the url - but if someone knows the file name

RE: J2EE IDE

2003-08-27 Thread Witt, Mike (OH35)
If I could get an IDE to emulate vi in its editor ... I'd really be happy. I said that through my Visual C++ and Visual Basic days (you should of seen some of the looks I got from the cradle Visual Studio users) and I still say it during my Java days. -Original Message- From: Mark Galbreat

RE: J2EE IDE

2003-08-27 Thread Brian Lee
IntelliJ costs $500 now. When I bought it was $200. That given I would still spend $500 on this tool as it is the only ide I've ever used (was always a textpad & macro kind of guy). If you're a contractor it will pay for itself in the first month by time saved. It's about the only software tool

RE: login test in a jsp page - any suggestions

2003-08-27 Thread Yee, Richard K,,DMDCWEST
Dave, If you put your JSP pages under your WEB-INF directory in your web app, they will be protected from direct access by your users. If you use the action forwards in Struts and only forward to the next page once you validate the current page, you shouldn't have a problem. Use the POST method on

Re: struts and flash

2003-08-27 Thread Vic Cekvenich
I like this approach: http://www.macromedia.com/devnet/mx/flash/articles/firefly_components.html In essence, Struts as implementation of MVC allows for separation of presentation from data (so you could unit test each module for example). So if DAO or Beans run on server, and you access them fr

RE: Another missing attribute in html-el

2003-08-27 Thread Slattery, Tim - BLS
One last word on accesskey in . My application currently has a page that uses three tags that have an "accesskey" attribute. These all work just fine. Then there are four tags, then a . Inside the iterate loop are six tags, then , , , . The first in the loop had an accesskey attribute. I chan

[OT] RE: J2EE IDE

2003-08-27 Thread Mark Galbreath
Well, this topic comes up here quite often, but is usually tagged OT way sooner. Mark "Not all .lengths were created equal" -Original Message- From: Steve Raeburn [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 27, 2003 12:55 PM To: Struts Users List Subject: RE: J2EE IDE There's a w

RE: J2EE IDE

2003-08-27 Thread Mark Galbreath
All in all, vi or VIM remains the Real Programmer's editor! Mark -Original Message- From: Michael Korolyov [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 27, 2003 1:01 PM To: Struts Users Mailing List Subject: RE: J2EE IDE Just IMHO: 1. Eclipse and JDeveloper are FREE 2. IDEA is be

Not able to Retain Values in Screens in case of Error - WEBSPHERE

2003-08-27 Thread Chawla, Yogesh
Hi !! We are facing a major problem using Struts in WEBSPHERE. Whenever we have any validation error, then the errors are shown to the user using tag. This is working well in Tomcat but NOT in WEBSPHERE. Whenever this screen comes up in Websphere, the values entered by the user dissappear. In

RE: tile definition name in the action class

2003-08-27 Thread Hue Holleran
mapping.findForwardConfig("found").getPath() > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: 27 August 2003 14:30 > To: Struts Users Mailing List > Subject: tile definition name in the action class > > > > Is it possible to get the tiles-definition name

RE: Validator and DispatchAction

2003-08-27 Thread Venkat Jambulingam
Hi Steve, I don't have a method named "error" in my action class. I don't need one. Why is it looking for such a method in my action class? Help me please. I have to decide soon whether to go with validator framework or not. Thank you very much, Venkat >>> [EMAIL PROTECTED] 08/27/03 12:05PM >>>

RE: J2EE IDE

2003-08-27 Thread Michael Korolyov
Just IMHO: 1. Eclipse and JDeveloper are FREE 2. IDEA is better - their speeds up you're coding a lot VS. Eclipse and JDeveloper Setup Eclipse may take long time - all plug-ins, etc If you (a company) have money - I'll go with IDEA But who has money now? Best Regards. Michael. -Original M

RE: J2EE IDE

2003-08-27 Thread Steve Raeburn
There's a wiki page for this topic that might be a better place to post IDE reviews that on the mailing list. http://nagoya.apache.org/wiki/apachewiki.cgi?MyFavoriteIDEAndWhy (I sent this already but it didn't make it to the list. The original may show up in a few hours, so sorry if this is a dupl

Re: Validator and DispatchAction

2003-08-27 Thread Venkat Jambulingam
oops.. I did not understand your question about defining parameter for the action mapping. In my struts-config.xml, I have defined the parameters for the actions as given below: Plea

RE: J2EE IDE

2003-08-27 Thread David Friedman
Raj, I had slow Eclipse load times (no crashes and no refresh issues) but my excuse was that I ran it on a dual CPU PII/266 MHz setup w/512 MB RAM (5 years old), not something modern. When I tried it in the office on an AMD 1300+ processor w/512 MB RAM, it loaded much faster and ran a somewhat fa

[OT} RE: Small request...

2003-08-27 Thread Mainguy, Mike
I have had this problem too. I'm not sure why this happens, but, at home I very often get messages that are far into the future (or past). I'm thinking it's an Evolution problem because I don't have the same problem under outlook. -Original Message- From: Keith Pemberton [mailto:[EMAIL P

RE: Validator and DispatchAction

2003-08-27 Thread Yansheng Lin
Isn't it weird that there is no name for the action: ...DispatchAction --Action[/... > [ERROR] DispatchAction - -Action[/tr518page1] does not contain method > named error error>java.lang.NoSuchMethodException: error -Original Message- From: Steve Raeburn [mailto:[EMAIL PROTECTE

RE: Simple Request...

2003-08-27 Thread Keith Pemberton
Hey well what do you know, I've got a sort by received column under evolution. Learn something new everyday. Have no idea why that is not the default under Evolution. Now maybe I can keep the order right of subjects and REs that follow the subjects. This has been an other episode of screwing yo

RE: Small request...

2003-08-27 Thread Keith Pemberton
Well, I am using Evolution (you know, under linux) to read email and I sort all the messages by date. Whether that date is sent date or received date I am not entirely positive, but I assume that it is received date. You know, I hate it when ppl freak out over someone just making a request like t

RE: how to handle unknown exceptions/errors

2003-08-27 Thread Brian McSweeney
Hi Dave, That's all I wanted to know. :-) thanks, Brian -Original Message- From: David Tobey [mailto:[EMAIL PROTECTED] Sent: 27 August 2003 15:56 To: Brian McSweeney; 'Struts Users Mailing List' Subject: RE: how to handle unknown exceptions/errors Brian: The below code is exactly ho

Repost Wrong Date, Design Question (Keeping filters in the jsp)

2003-08-27 Thread Konstadinis Euaggelos
Sorry for the reposting, Hi to all, Suppose we have a tabular jsp, which shows data in the table. Also in this tabular jsp, we implement a searching mechanism applying some filters. Suppose that from that jsp we go with links or action in some others (depth 3-4), and i want to go back fro

RE: struts and flash

2003-08-27 Thread Adrian Roston
The quantum leap forward for flash as a front end for J2ee apps came with flash remoting. Check out the open source version at openamf.org . You can basically send Java objects back and forth via calling methods in any class on the server. Good stuff. Adrian Roston Software Engineer Integrate

RE: How to get a String object from request scope.

2003-08-27 Thread Steve Raeburn
Just reference your string by its name. e.g. Will display the value of the String. Steve http://www.ninsky.com/struts/ > -Original Message- > From: Fumitada Hattori [mailto:[EMAIL PROTECTED] > Sent: August 27, 2003 9:02 AM > To: [EMAIL PROTECTED] > Subject: How to get a String obj

Forwarding to normal servlet

2003-08-27 Thread Manuel Lenz
Hi to all, I´d like to call an existing servlet which is saved into the JavaSource - Folder. If the servlet is called, it gets a individuell value from the ActionForm-Bean. How can I do that? Greetings, Manuel - To unsubscrib

RE: Validator and DispatchAction

2003-08-27 Thread Steve Raeburn
This is the relevant part of the message: "Action[/tr518page1] does not contain method named error" Does your DispatchAction class, com.ewd.biztax.actions.Tr518page1Action, contain a method named "error"? Steve http://www.ninsky.com/struts/ > -Original Message- > From: Venkat Jambuling

check posible username (was: Re: tiles: condition in tile definition)

2003-08-27 Thread Jiri Chaloupka
Hallo, I thinking about registration form yet. first form will contain username and password. Validation framework will chceck if it is filled, if it has minimal length atc. after it I must check if tehere is no other user who has this username, of course. So I thinking if to do it in validator

RE: how to handle unknown exceptions/errors

2003-08-27 Thread David Tobey
Brian: The below code is exactly how I do and it works peachy for me. You're just telling Struts to handle any exceptions thrown from an Action by forwarding the request to /appError.jsp, and using the system.error message for the page. Good way to handle generic errors that aren't caught somewhe

Re: Validator and DispatchAction

2003-08-27 Thread Venkat Jambulingam
Hi Nagi, Below is the action class code: public class Tr518page1Action extends DispatchAction { //String businessNum = null; /** * Constructor */ public Tr518page1Action() { super(); } public ActionForward creat

RE: Nested Tags

2003-08-27 Thread Tarek M. Nabil
Any solution then? I tried Kumar's solution, but apparently it's not for Struts 1.0.2 because I got an error message saying the tag must be empty. -Original Message- From: Slattery, Tim - BLS [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 27, 2003 5:52 PM To: 'Struts Users Mailing Lis

RE: J2EE IDE - IDEA - Freeware ?

2003-08-27 Thread José Fortunato H. Tomás
Yes! Is true! What's good is good! If you look at the site you can see something about 500$ for seat licence. http://www.intellij.com/ > Hi folks, > > Just wanted to know weather idea is a freeware as eclipse or we have to > shell out few dollars for it ? > > Regards > Vijay > > "Gandle, Panchash

How to get a String object from request scope.

2003-08-27 Thread Fumitada Hattori
Hi gurus. I got one Action servlet class and one jsp. If the action servlet is successfully processed, it's forwarded to the jsp. In the Action servlet, there's a following statement. String my_name = "JACK"; request.setAttributte("MY_NAME",my_name); return (

Re: Validator and DispatchAction

2003-08-27 Thread Venkat Jambulingam
Hi Nagi, Here is the error I'm getting while using validator with DispatchAction: [ERROR] DispatchAction - -Action[/tr518page1] does not contain method named error java.lang.NoSuchMethodException: error at java.lang.Class.getMethod0(Native Method) at java.lang.Class.getMethod(Clas

Formatting form data inside the *view* (JSP's)

2003-08-27 Thread Sasha Borodin
Thought I'd throw this out in the middle of the week again... Kind of a conceptual question: how do you format Dates, Numbers, Currencies, etc. for *form fields* inside the JSP? I know I could do in in the ActionForm getters, but: 1. I don't know the locate of the user at that point 2.

  1   2   3   >