Re: display property

2002-02-04 Thread Arnab Sengupta
Sophia, I guess u can use in the tag.Offcourse put the key value in the ApplicationResources.property file of struts before. like key="prompt.tablevalue"... and in the ApplicationResources file put prompt.tablevalue=Department A. Hope it works. Regards, Arnab. - Original Message - From:

Re: How to put useBean data in HTML attribute?

2002-02-04 Thread Richard Yee
Cody, You can't nest tags - you can't have one tag inside the <>'s of another tag. To do what you want, try this: <% String ref = "admin_userForm.jsp?user_id=" + currentUser; %> <%= currentUser %> -Richard > > <%= currentUser %> > At 11:37 PM 2/4/2002 -0600, you wrote: >Co

RE: form target to different frame leaves current frame busy

2002-02-04 Thread Barr, Scott [IBM GSA]
Hi Rob I've come across something similar before. I haven't got time to test this myself right now, but try returning true from your javascript function. I cant remember the details but this solved a similar problem once form me Scott > -Original Message- > From: Rob Breeds [SMTP:[EMAIL

How to put useBean data in HTML attribute?

2002-02-04 Thread cody.burleson
Could someone please shed some light on the following? What would be the solution for an attempt like this? Consider this code snippet that has an obviously incorrect syntax: I am trying to set a URL paramer with bean data (admin_userForm.jsp?user_id =), but because it is i

Re: display property

2002-02-04 Thread Matt Raible
HTH, Matt --- "Cheng, Sophia" <[EMAIL PROTECTED]> wrote: > Hi, > > > I can show data correctly in a table by using the following syntax, > > > > But, if I just want to display the data(property), instead of putting data > in a text field, say > > Department A > > Then, which tag sho

display property

2002-02-04 Thread Cheng, Sophia
Hi, I can show data correctly in a table by using the following syntax, But, if I just want to display the data(property), instead of putting data in a text field, say Department A Then, which tag should I use? Thanks, Sophia -- To unsubscribe, e-mail: Fo

Re: Struts and Borland jbuilder6

2002-02-04 Thread Jay Sissom
Make sure that the struts.jar file is in your web-inf/lib directory in your project. You do this by right clicking on the web root in the project pain, selecting properties, click on dependancies, then make sure the struts library is set to include all. When you do that, Jbuilder will automatica

Importing CSV and VCF files

2002-02-04 Thread Matt Raible
Does anyone know of any examples to import CSV files into a database using Java? Like Yahoo does with Addresses? What about importing a VCF file? Any links, suggestions are appreciated, Matt __ Do You Yahoo!? Great stuff seeking new owners in

Re: Struts runtime expression tag.

2002-02-04 Thread Matt Raible
Unfortunately, you cannot "nest" tags within each other. You best best is to put a global forward in your struts-config.xml, such as: And then write your as follows: Membership OR, I "think" you can do it this way: Membership Also, I think it's good practice to have all your "links" go to

Struts runtime expression tag.

2002-02-04 Thread Victor Hadianto
Hi list, I wonder if I'm doing something really wrong here, this is what I want to do: Membership Struts ignores the tag altogether. I have to use a normal tag for example: ">Membership to get this to work. Now the obvious problem is using the tag I have to include the context. Very annoy

Struts and Borland jbuilder6

2002-02-04 Thread Nick Torenvliet
Hi all, I'm in the process of trying to get a struts project to compile in jbuilder 6. I am new to both the products and I can't seem to get them to work. I imagine its operator error, but I've seen references to an open source tool that you need to use to get jb5 to work with struts- I am wonde

Re: Form fields submitted multiple times...

2002-02-04 Thread Ted Husted
If you are using the ValidatorForm, another good trick is to key off the page property it provides. In the reset function, put in a wrapper like this: if (getPage()==0) { setForward(null); setName(null); setTelephone(null); setNumber(null

Re: RE: [Fwd: Re: Hi....]]

2002-02-04 Thread Jay Sissom
I don't agree. If you need to use scriptlets in your JSPs and you use them over and over on many pages, the scriptlet should be a tag. The tag can be reused on many pages, the scriptlet can't. Please explain why "This is a bad habit. Only do it if you must." Should we only re-use code "if we

RE: Formatting Dates, Integers...

2002-02-04 Thread ltorrence
So is the answser to create global Format object and synchronize access? -Original Message- From: Jeff Martin [mailto:[EMAIL PROTECTED]] Sent: Monday, February 04, 2002 5:56 PM To: Struts Users Mailing List Subject: RE: Formatting Dates, Integers... Be very careful about using DateForma

Re: Questions from an Idiot who Longs to Understand Struts

2002-02-04 Thread cody.burleson
Sounds like a plan Richard. I shall try it! Thank you. - Cody Richard Yee <[EMAIL PROTECTED]> on 02/04/2002 02:31:53 PM Please respond to Struts Users Mailing List <[EMAIL PROTECTED]> To: Struts Users Mailing List <[EMAIL PROTECTED]> cc: Subject: Re: Questions from an Idiot who

Uploading files - determining content type and other attributes

2002-02-04 Thread Matt Raible
When using the Upload feature of Struts, is it possible to determine the content-type of the uploaded file? For instance, how do I figure out that themovie.mov is a video, or that it's really a jpeg with the wrong extension? Is this possible, or is it only possible to determine the content type

RE: Indexed html:radio is broken

2002-02-04 Thread Maturo, Larry
Dave Hay wrote: What if you want, say, ... On Off Deferred ... That way the buttons SHOULD all have the same name for each iteration, and different one for the next one etc.. That was the thinking behind it. Dave Will

RE: Formatting Dates, Integers...

2002-02-04 Thread Jeff Martin
Be very careful about using DateFormatter's that way. I learned a hard lesson in a previous project that DateFormater (and even just the format method) is not thread safe. Jeff -Original Message- From: Peter Pilgrim [mailto:[EMAIL PROTECTED]] Sent: Monday, February 04, 2002 7:23 AM To:

Tomcat - How will it recognise files placed elsewhere

2002-02-04 Thread Syed Niaz
Hi , I have installed Tomcat under Program Files/Apache . The jsp files run when placed under webapps/example . I want to execute a jsp file placed in C:/webapps/example/ . What and where should I change ,so that the Tomcat recognises the Jsp located elsewhere . Thanks Regards, Syed Nia

RE: Preselecting Radio Buttons

2002-02-04 Thread Maturo, Larry
Hi John, I ran into something similar with the select/options tag last week. The solution may be the same. The tag sets a variable in the form with the user's selection, and if you set the same variable in the form in your action class to what you want selected, it may use that as the initial

RE: Re: Extending Struts (was: Boost Struts with XSLT and XML - JavaWorld.com)

2002-02-04 Thread Kosh . Podder
Can someone please enlighten me as to the current thinking is on integrating Struts with Cocoon: - there seems to be certain amount of thought/discussion that points toward reinventing the wheel as far as Cocoon's outstanding XML functionality is concerned - Cocoon also seems somewhat to have

Re: form target to different frame leaves current frame busy

2002-02-04 Thread Rob Breeds
Hmmm, I created a frameset of html files using the generated html from the JSPs I was using as my two frame sources - and that works without the mouse cursor staying in 'busy' mode. Does that suggest this is a Struts/JSP/tags problem? I can't see how though because the browser never sees the JSP

Re: cannot find tag library

2002-02-04 Thread Elijah Jacobs
Thanks Max, that worked great. - ej - Original Message - From: "Max Cooper" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Monday, February 04, 2002 3:34 PM Subject: Re: cannot find tag library > Elijah, > > Try giving your tag handler class a proper pack

Re: cannot find tag library

2002-02-04 Thread Max Cooper
Elijah, Try giving your tag handler class a proper package name and put that in the app.tld file. -Max - Original Message - From: "Elijah Jacobs" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Monday, February 04, 2002 8:33 AM Subject: cannot find tag libr

Re: Questions from an Idiot who Longs to Understand Struts

2002-02-04 Thread Richard Yee
Cody, I'd suggest not using a custom tag to contain your list and instead just use a regular bean class. You can then use the jsp:usebean tag to instantiate the bean and then I think the iterate tags will be able to call the getUserList method from the class Regards, Richard At 12:17 PM 2/4/

form target to different frame leaves current frame busy

2002-02-04 Thread Rob Breeds
I've got a problem with forms and frames I hadn't noticed until now. Two frames - input form in one, which when submitted, the results appear in the second. Works functionally (results appear in target frame) but the mouse cursor remains with hourglass image when it is over the source frame. I a

Re: Extending Struts (was: Boost Struts with XSLT and XML - JavaWorld.com)

2002-02-04 Thread Ted Husted
"Couball, James" wrote: > > I have been lurking for a couple of months now and have seen many useful > extensions to the Struts framework. I am curious to understand what thought > has gone into better understand how Struts can be extended in common ways > such that: > > (1) Extensions are an a

Re: JSP/Struts question: Best way to loop through an array/list/enumeration on my JSP?

2002-02-04 Thread Thomas Paul
--- Michael Mehrle <[EMAIL PROTECTED]> wrote: > However, after giving > it a second thought I was pretty sure that this is a > common task and that > there must be something out there that allows me to > loop through an > array/list/enumeration or something. Do you mean like the logic:iterate tag

JSP/Struts question: Best way to loop through an array/list/enumeration on my JSP?

2002-02-04 Thread Michael Mehrle
Is there a struts-specific tag allowing me to loop through an array (list) of strings and have them be printed sequentially? I am currently populating a template JSP from the database - the way I retrieve the page content is by tagging a contentID to the end of the request, like this: http://myse

Off topic: My images are garbled again...

2002-02-04 Thread Craig Tataryn
http://www.computer-programmer.org/articles/struts/ppframe.htm I can't quite figure this one out. I even restarted Apache. Anyone else ever see this type of problem? Craig. Craig W. Tataryn Programmer/Analyst Compuware _ Send a

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

2002-02-04 Thread Matt Raible
Hmmm, I read everyone's posts, and they are somewhat inspiring. I'd like to see examples of using Xalan to get my struts message bundle, or other messag bundles. I'm sure I could spend an hour and figure this out, but if anyone has ready examples, links, send them my way! XForms - I'm excited

Re: Implementing HTTPS in Struts

2002-02-04 Thread Nick Torenvliet
- Original Message - From: "Rob Breeds" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Monday, February 04, 2002 1:12 PM Subject: RE: Implementing HTTPS in Struts > Steve > > That second link gets me the jar. The original link still stops loading at > same

Extending Struts (was: Boost Struts with XSLT and XML - JavaWorld.com)

2002-02-04 Thread Couball, James
I have been lurking for a couple of months now and have seen many useful extensions to the Struts framework. I am curious to understand what thought has gone into better understand how Struts can be extended in common ways such that: (1) Extensions are an add-on/plug-in rather than a rewrite of

RE: collecting parameters from a dynamic form

2002-02-04 Thread Jeff Oberlander
The issue is one of distinct element names when you use an iterator to create your form. I found the solution by way of the "indexed=true" property of html:text It produces a parameter name of "element[0].name" - where element is the name given to the iterator object and the bracket represents t

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

2002-02-04 Thread Chappell, Simon P
Ok. I've read the article now. 1. They point out, correctly in my humble opinion, that the internationalisation is best done during the creation of the XML document. This makes sense to me. 2. They do provide a couple of examples of XML/XSL/XSLT. 3. They do not really seem to much in the way o

RE: Implementing HTTPS in Struts

2002-02-04 Thread Rob Breeds
Steve That second link gets me the jar. The original link still stops loading at same point on my machine but now I've got access to a different machine and that's fine. So it was me! Sorry! Thanks Rob

Questions from an Idiot who Longs to Understand Struts

2002-02-04 Thread cody.burleson
OK - So, not long ago, having read about MVC and having been introduced to Struts by discovering it on the Jakarta site, I embarked upon my journey to learn it. Absolutely frustrated with the documentation (it appers to be written for people who happen to know a thing or two), and ffrustrated b

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

2002-02-04 Thread Ted Husted
The ActionForms are just JavaBeans in the standard request or session scope, and available to any servlet process in the Application. Most of the other Struts elements are just application scope objects, which are also avaialble to any servlet process in the application, or request attributes (e

Tiles Vs Templates

2002-02-04 Thread Sriram Nookala
I'm trying to get some information in order to make a choice between struts templates and Tiles for our UI design and templating. Where would you choose one over the other, and what does Tiles offer you that Templates doesn't? thanks, sriram -- To unsubscribe, e-mail:

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

2002-02-04 Thread Ted Husted
Vaughan Jackson wrote: > > A couple of naive questions. > > 1. Given that the authors of the article mention that the >Cocoon framework uses XML and XSLT to generate HTML >(among other formats), I assume their motivation >for using Struts is to gain the MVC framework. Is this >c

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

2002-02-04 Thread Vaughan Jackson
A couple of naive questions. 1. Given that the authors of the article mention that the Cocoon framework uses XML and XSLT to generate HTML (among other formats), I assume their motivation for using Struts is to gain the MVC framework. Is this correct? Does Velocity also have the sam

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

2002-02-04 Thread Dustin Aleksiuk
Matt Raible wrote: > I read this article and think that it is good - but there's a couple of things > that I think need to happen before this architecture is "embraced." One thing I don't understand, after reading the article, is how to keep the state of the form data displayed on the page. F

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

2002-02-04 Thread Chappell, Simon P
I'm in the process of reading the article ... so no comments on it yet, but I have done a little XSL/XSLT and am in the process of converting my personal website to use it. 1. I18N. Agreed. This is a problem. Having gotten used to I18N in my apps, I really have no desire to give it up. Accordi

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

2002-02-04 Thread Taylor Cowan
Matt, Those are very good points. Here is how I deal with each one: 1. You can internationalize using resource bundles with Xalan, because it allows Java extensions. Another thing on i18n, I've noted that when UI's are described in XML, you are combining question text, labels, instructions all

RE: Implementing HTTPS in Struts

2002-02-04 Thread Ditlinger, Steve
Hmmm. I just tried it again to be sure and it worked. Maybe it is just slow. Try this one, maybe you can reach it better. http://us.f1.yahoofs.com/users/aee2731f/bc/public/Struts+Security+Extension. jar?bcB4.X8AlFd_32Ts HTH, Steve -Original Message- From: Rob Breeds [mailt

artimus - cannot add article

2002-02-04 Thread John Menke
Does the artimus example work as far as adding articles. I can search but not add. I think it has something to do with the Article ID. It says NOT ASSIGNED before I try to save then error messages come back *Unable to transfer data *null Do I have something wrong with my configuration? -john

Possible to setup Hashmap to pass multi params in link without usingscriptlet?

2002-02-04 Thread Rob Breeds
Hi I'm currently using scriptlet to set up a Hashmap of params to pass in a . Works great. Is it possible to use tags to setup the Hashmap without scriptlets. Similarly (?) how do I invoke setter methods on a bean I've defined with the bean:define tag? Thank you Rob -- To unsubscribe, e-m

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

2002-02-04 Thread Jonathan Gibbons
Matt, nicely said. Pretty much what I feel, but could not describe. I guess it comes down to: ITS TOO EARLY. i.e use it for prototypes and dept projects. Don't start designing customer web sites with it until you have sorted out tools, maintenance, evolving xslt/xml specs and so on. Jon

Re: RE: [Fwd: Re: Hi....]]

2002-02-04 Thread Elijah Jacobs
Hi Vic, Could you elaborate a lilttle more on why you do not suggest a good number of custom tags in struts? I'll be buidling a software for a client that requires a lot of custom tags and am right now evaluating struts. any input would be helpful, thanks. - ej - - Original Message - F

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

2002-02-04 Thread Matt Raible
I read this article and think that it is good - but there's a couple of things that I think need to happen before this architecture is "embraced." 1. There needs to be mechanisms for getting internationalization into your XML or XSL. It seems difficult to use messages from a properties files fo

Re: Preselecting Radio Buttons

2002-02-04 Thread John M. Corro
For those interested, Ivan Siviero was kind enough to answer my question. Apparently, you preselect a radio button based on the incoming value from the form. So for set of radio buttons... you'd preselect the first radio button by having your "getPropertyName()" method in your ActionForm retur

Re: Preselecting Radio Buttons

2002-02-04 Thread Ted Husted
The html tags set checked on their own, based on the value of the property. The default radio button would be one that is not null. "John M. Corro" wrote: > > When it comes to form input tags, I tend to look at the straight html tags > as a last resortI prefer to use the struts taglib implem

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

2002-02-04 Thread Ted Husted
See also the Velocity/Struts toolset. http://husted.com/struts/resources/velstruts.zip and http://cvs.apache.org/viewcvs/jakarta-velocity-tools/ Same basic idea: expose the Struts API as an object that anybody can easily use, without having to know that Struts even exists. All the hooks are

Re: Preselecting Radio Buttons

2002-02-04 Thread John M. Corro
When it comes to form input tags, I tend to look at the straight html tags as a last resortI prefer to use the struts taglib implementation so that in case the user failed validation tests when submitting the form, the value they selected when first filling it out would stay selected. Thanks

cannot find tag library

2002-02-04 Thread Elijah Jacobs
Hi all, I am using Tomcat 4.01; Windows 2000 ; Struts v1.0 I created a tag which displays a message on the screen. I followed the basic layout of the example that came with struts. by "layout" I mean: 1. I created a tag under the /classes directory. this time I put it right under the /classe

[Fwd: RE: [Fwd: Re: Hi....]]

2002-02-04 Thread Vic Cekvenich
The thing on tags is do not use to many tags. Try to avoid writing tags. Somehow, the example app on struts has a custom tag and people like to learn how to write tags, and so there are lots of tags in Struts. This is a bad habit. Only do it if you must. Try to do as little code as possible

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

2002-02-04 Thread Knoll, Zach
This is really cool. I've been struggling with this for a while trying to convince myself that everything that comes from SUN must be good and beautiful and that those that were ragging on JSP were just fringe loonies. I thought the whole struts tag library and tag libraries in general would shut

Re: Preselecting Radio Buttons

2002-02-04 Thread MARK NICHOLS
Add the 'checked' parm to your default radio button, like so... What is your gender? Female Male _ /\/\ark /\/ichols Harris I, 2nd Floor 217.558.2919 "Ooo. They've got the Internet on computers now." - Homer Simpson >>> [EMAIL PROTECTED] 02/04/02 09:57AM >>>

collecting parameters from a dynamic form

2002-02-04 Thread Jeff Oberlander
I have a dynamic form that is built from an ArrayList of objects (see below (b) ). Building the form works great. I get multiple rows of widget names and values. However, I can't seem to collect the data in my Action. The HTML that is rendered just repeats the same named input fields (see belo

Preselecting Radio Buttons

2002-02-04 Thread John M. Corro
I would have thought this was a simple thing, but I must be missing something. Is there an attribute to the tag that sets it as selected? I want to have a group of radio buttons w/ 1 button being the default. I didn't see anything in the tag lib documentation and I tried coding in the defau

RE: Design advice.

2002-02-04 Thread Jon.Ridgway
Hi Bob, If you download the latest nightly build you will find an initial implementation of the Workflow proposal. Jon. -Original Message- From: Bob Williams [mailto:[EMAIL PROTECTED]] Sent: 04 February 2002 15:33 To: Struts Users Mailing List Subject: Re: Design advice. I am new to t

Re: Design advice.

2002-02-04 Thread Ted Husted
The work moved over to the Commons, http://cvs.apache.org/viewcvs/jakarta-commons-sandbox/workflow/ There is actually some code there, and I put together a quick "Rosetta Stone" demo here http://husted.com/struts/resources/struts-simple.zip (this really should be named struts-workflow.zip)

Re: Design advice.

2002-02-04 Thread Bob Williams
I am new to this list so I have some catching up to do, so forgive me if this is an "old" question. Mr. Husted refers to the "workflow proposal/objects" in his response. What is the status of the Workflow proposal and/or how do I track what is happening there? I have read the proposal, but have

Re: Design advice.

2002-02-04 Thread Ted Husted
An approach I've used successfully, which is looks like where you are going, is to (1) create a set of standard Actions that can act up a known type of object, or an object that implements a particular interface, and (2) pass the type of the bean to create to the standard Action as the parame

Re: Poolman benefits? (was Re: Connection Pooling)

2002-02-04 Thread Jason B Menard
Currently using Oracle 8.1.7 and Poolman 2.0.4. Like you, we also stay away from betas. - Original Message - From: "Mark Woon" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, February 01, 2002 4:12 PM Subject: Re: Poolman benefits? (was Re: Connecti

DynaActionForm questions

2002-02-04 Thread Dick Starr
It seems that letting DynaActionForm generate the form bean via info in struts-config may be the way to go if no extra code is needed in the form bean. I do have two questions, however. Does ValidatorForm work with DynaActionForm? Is DynaActionForm as efficient (system performance) as manually c

Design advice.

2002-02-04 Thread rob
This is a pretty lengthy post so if you're not that interested be warned not to continue. I'm trying to develop a struts application that has the ability to have new beans plugged into it after it's been deployed. The idea is someone will come along later and write a new set of component class f

Re: DTDS Required for Struts and Web Application.

2002-02-04 Thread Christian Bouessay
Sudhir S. Shetty wrote: > Hi All, > I have an Intranet application hosted on Weblogic Server , the > application is built on STRUTS, I need to know, whenever I start up > weblogic, the server downloads the DTD's for the application i.e. the struts > specific DTD's and the ones specific

Re: Struts Validator Load Failure

2002-02-04 Thread Patrick Refondini
Hi, I have had the same error : Digester.getParser: javax.xml.parsers.ParserConfigurationException: Namespace not supported by SAXParser (...) The digester (org.apache.commons.digester) namespace setup seems not supported by all versions of xml parsers. I had the same problem with both digester

Re: DTDS Required for Struts and Web Application.

2002-02-04 Thread Ted Husted
It's suppose to use the one's in the Struts JARs. Under some circumstances, from what people say, that doesn't seem to happen. There is a switch in the ActionServlet ("validating") that can turn the DTD validation off if it gets to be a problem. http://jakarta.apache.org/struts/api-1.0/org/apa

Re: AW: Formatting Dates, Integers...

2002-02-04 Thread Ted Husted
That sounds neat, Jonathan. I hope you will share your code when you are ready -:o) Right now, a lot of us are in FUD lock because of JSTL and JSF. Something to consider in proposing new tags is how they would fit in with the JSTL. The concern is that we don't want to lead people in a direction

error display

2002-02-04 Thread Henry Lu
WHen there is error in the validate() function, my jsp page only displays Why? How to let the page display the message specified in the validate() function? --- Henry Lu MCITphon

Re: AW: Formatting Dates, Integers...

2002-02-04 Thread Jonathan Gibbons
Hi, one thing I'm doing today is: a) Add formatting strings to the resource bundles b) Adding util classes which can apply the formatting, either in form object getter/setter or wherever. Step b could be done in one of your own tag libs, but I can't be bothered to do that. This means I can sp

Re: Formatting Dates, Integers...

2002-02-04 Thread Peter Pilgrim
Hiya I would also consider writing some custom tags to format numbers and dates. Subclass the Struts' own bean WriteTag . It is pretty easy to check for a java.lang.Number or java.lang.String, which you can attempt to parse into a double. The only problem is a creating large numbers of java.t

Re: Implementing HTTPS in Struts

2002-02-04 Thread Rob Breeds
Steve This link fails to load a complete page for me, and doesn't include a link! Perhaps it's just me? Rob "Ditlinger,

Email validator

2002-02-04 Thread Ivan Siviero
i'd like to change the regexp email validator from validator.xml file. Is it possible to do this ? Thanks Ivan.

Re: Scaffold+Artimus Documentation

2002-02-04 Thread Ted Husted
At this point, just the JavaDoc I'm afraid. Sorry about that. Scaffold is general extension to Struts. It's like a framework for writing things with the framework. There is a very simple approach to DBMS connectivity in Scaffold called ModelBeans. It works, but in practice it is a little bit to

Re: J2EE BluePrints and Struts

2002-02-04 Thread Ted Husted
This type of message can also be posted to the USER list, since it does not involve the present or future development of Struts. But anyway, the Blueprints are just that -- plans. Struts implements many of the patterns and strategies described in the BluePrints and in Core J2EE Patterns http:/

Re: AW: Formatting Dates, Integers...

2002-02-04 Thread Ted Husted
IMHO, localisation is part of the business tier too. With static messages that apply to all users, Struts provides a common resource and a common way to access that resource. But the message resource files are really part of the business tier; Struts is just provide a means to access them. (This i

Re: Using with multiple resource bundles

2002-02-04 Thread jwas
Rishi Hope this will help u <% // // Put a Locale object in the user's // session describing the Locale that // is specified by the browser's language preference (obtained via http header). // String lang = request.getHeader("Accept-Language"); boolean headerSuccess = false; i

Re: Hi....

2002-02-04 Thread Arun_Kumar_N
Hello, Hello, The content type for text is setContentType("text/plain"); It works fine in IE,but it is not working in Netscape. Will any one please look inot this Regards Arun -- To unsubscribe, e-mail: For additional commands, e-mail:

org.apache.jasper.JasperException: File "/bean" not found

2002-02-04 Thread Sunento Wu
Hi, I was trying to create a simple application by using struts, however it ends up with this error, any one knows what the problem is ? type Exception report message Internal Server Error description The server encountered an internal error (Internal Server Error) that prevented it from fulfi

Using with multiple resource bundles

2002-02-04 Thread Rishi Khanna
Can someone please give me an example of how to use tag for getting messages from multiple resource bundles. I know we could set the bundle attribute to point to a particular bundle but its not working. Please help. -Rishi -- To unsubscribe, e-mail: For additional c

AW: Formatting Dates, Integers...

2002-02-04 Thread Hudayioglu, Fehmi
thanks ted, we had done exactly what you've said. It works quite fine, and appears to be the most effortless choice we have. But still, in the deepness of my heart, I am not agree with the philosophy of business tier, I think it is a pure localization problem. But I must admit that adopting this s