Re: How do I configure multiple struts-config files?

2003-06-24 Thread Richard Raquepo
you can have comma separated config file for struts. you specify it in your web.xml example: web-app servlet servlet-nameaction/servlet-name servlet-classorg.apache.struts.action.ActionServlet/servlet-class init-param param-namedebug/param-name param-value0/param-value

RE: How do I configure multiple struts-config files?

2003-06-24 Thread ashwani . kalra
Whatever I have read , its possible in struts 1.1 config/name where name is the name of the sub module and the value will be path of the other struts_config file in web.xml I have not tried this though. /Ashwani

Re: very strange errors (no collection found series)

2003-06-24 Thread Dirk Markert
Hallo Meissa, what version of tomcat are you using. Maybe you should also ask the tomcat list? Regards, Dirk *** mSanf I'm having a very strange behaviour of my application. mSanf It has been tested in pre-production environnement

Re: DTO vs. JVT

2003-06-24 Thread Laurent PETIT
you're welcome ;-) - Original Message - From: Rahul [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, June 23, 2003 10:57 PM Subject: Re: DTO vs. JVT That makes sense !! Thanks for the explanation Laurent cheers :-) - Original Message -

Newbie : How can i implement the navigator menu with Struts?

2003-06-24 Thread Paolo Razzi
I have this problem, I should implement in my application a navigator menu as kind, for help the user in the navigation : you are in homepage userpage otherpage ... anyone, could you help me? Best Regards Paolo Razzi -- Email.it, the professional e-mail, gratis per te:

Http:// line display

2003-06-24 Thread Simon Kelly
Hi all, Does anyone know of a conveniant way to stop the http:// line in the browsers from showing the *.do at the end of the site address? I'd like to just have the site url and nothing more showing, I've seen it done on other sites, but I'm not sure how they achieve it. Any help, as always,

Re: Http:// line display

2003-06-24 Thread Adam Hardy
Have a frameset with just one frame. Simon Kelly wrote: Hi all, Does anyone know of a conveniant way to stop the http:// line in the browsers from showing the *.do at the end of the site address? I'd like to just have the site url and nothing more showing, I've seen it done on other sites, but

Best way of goinig about uploading files?

2003-06-24 Thread Alen Ribic
Hi again Is there some elegant way of uploading a file on the server with it's original file name using Struts? (unless file already exist) Would I have to stream the data from the file from Form Bean into a file that I manually create on server or can Struts upload automatically create the disk

Re: Escaping ' and in bean:write output for javascript?

2003-06-24 Thread Gemes Tibor
Kruse, Matt rta: Simple question, When I want to use bean:write to print a value into a JSP, to be included as an argument in a javascript function, how can I escape the output in cases where it has ' and and newline characters? For example, addName('bean:write name=person

Re: Http:// line display

2003-06-24 Thread Simon Kelly
Have a frameset with just one frame. Thanks Adam, I sort of see how that would work. I'm not that hot on html though, I just do basic stuff, one thing one page type of thing. How would the calls to the struts controller behave in a frameset enviroment? And how would I need to designate the

[OT]Re: Escaping ' and in bean:write output for javascript?

2003-06-24 Thread Gemes Tibor
Kruse, Matt rta: Matt Kruse Are you the Matt Kruse who wrote that fancy javascript date input? Tib - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Http:// line display

2003-06-24 Thread Steve Raeburn
Do you mean have a URL like this http://localhost:8080/myapp/do/welcome ? This is controlled by the servlet mapping in web.xml servlet-mapping servlet-nameaction/servlet-name url-pattern/do/*/url-pattern /servlet-mapping You can make the url-pattern anything you like, so you could

Réf. : Re: very strange errors (no collectionfound series)

2003-06-24 Thread meissa . Sakho
Dirk, I'm using tomcat 4.1.18 and i have asked tomcat user list before. It seem like the problem is caused by a logic iterate tag ... But till now, I haven't found the real cause. Meissa Dirk Markert [EMAIL PROTECTED] 24/06/2003 08:45 Veuillez répondre à Struts Users Mailing List

Re: Http:// line display

2003-06-24 Thread Simon Kelly
I believe the only limitation is that if you use multi-ple struts modules you have to use extension mapping (*.do) Thanks Steve. So by multiple modules do you mean more than one collection of Action classes, like cart/*, order/*, etc/* with different directory structures within the single

Re: Http:// line display

2003-06-24 Thread Gemes Tibor
Simon Kelly rta: I believe the only limitation is that if you use multi-ple struts modules you have to use extension mapping (*.do) Thanks Steve. So by multiple modules do you mean more than one collection of Action classes, like cart/*, order/*, etc/* with different directory structures

Re: Réf. : Re: very strange errors (no collection found series)

2003-06-24 Thread Dirk Markert
Hallo Meissa, can you send the part of your jsp with the iterate tag? This would help. Regards, Dirk *** mSanf Dirk, mSanf I'm using tomcat 4.1.18 and i have asked tomcat user list before. mSanf It seem like the problem is caused

Re: Http:// line display

2003-06-24 Thread Adam Hardy
The thing about framesets is that each frame in your frameset is a page of HTML. The page that you load and that displays your URL is your frameset, which should be set up as the welcome-file in your web.xml so that only the www.whatever.com shows, without any myside.jsp - the frameset page

Re: Newbie : How can i implement the navigator menu with Struts?

2003-06-24 Thread Affan Qureshi
Look at Struts-Layout. It has tags for breadcrumbs which can help you in this regard. - Original Message - From: Paolo Razzi [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, June 24, 2003 11:51 AM Subject: Newbie : How can i implement the navigator menu with Struts? I have this

Re: [tiles] programatically putting a definition into a layout

2003-06-24 Thread Cedric Dumoulin
Hi, There is an example on how to retrieve the tile context in org.apache.struts.webapp.tiles.test.TestActionTileAction. A tile context is created each time a tile is inserted. The tile context is hold in a ComponentContext object. Hope this help, Cedric William Salvucci wrote:

Re: A tiles controller is called for an unrelated tiles defintion.

2003-06-24 Thread Cedric Dumoulin
The log indicate that your .login definition is called by a way or another. It is hard to say why without knowledge of the workflow of your application. Is your /greeting action called when you hit a page issuing the log ? Cedric Rick Smith wrote: Have you tried to remove the associated

Réf. : Re: Réf. : Re: very strange errors(no collection found series)

2003-06-24 Thread meissa . Sakho
Dirk, here is the sensible extract of the jsp logic:iterate name=paramForm property=paramList id=paramView bean:define id=index name=paramView property=index type=java.lang.String/ bean:define id=codeParam name=paramView property=code

Re: Http:// line display

2003-06-24 Thread Simon Kelly
Thanks to all who have replyed. All helpful as usual. It's all going to have to go on the back-burner for a bit, as just now I have been told (not for the first time this year) that they have had a change in plan and all the tools are changing. I bleedin hate this research lark. Any body need a

400 Bad Request

2003-06-24 Thread Eric Jain
Would it be a bad idea to automatically response.setStatus(HttpServletResponse.SC_BAD_REQUEST) if any validation errors occur? Apart from being important for users who still refuse to use web services for automating certain tasks, this might simplify automatic testing with tools such as HttpUnit.

Re: Réf. : Re: Réf. : Re: very strange errors (no collection found series)

2003-06-24 Thread Dirk Markert
Hallo Meissa, what I found out is: The exception you get is raised in the iterate tag of struts (line 281, IterateTag.java). The reason is, as you can guess, that your property paramList from paramForm is null. So the question is, why is it null? Are there any circumstances possible under which

Réf. : Re: Réf. : Re: Réf. : Re: very strange errors (no collection found series)

2003-06-24 Thread meissa . Sakho
I'm trying to find out why the paramList attribute of my param could be null. Here is the execute method of my action. ActionForward forward = null; initUser(request); HttpSession session = request.getSession(false); UserView userView = (UserView)

ANN: JPlates 2.1 is available - great alternative to JSP for Struts

2003-06-24 Thread Dan Jacobs
I know you're all busy with your current projects, but maybe the next one will be much easier if you use JPlates. JPlates 2.1 is now available for licensed use and evaluation. JPlates is a fully object-oriented template-processing system that combines many of the best features of Java with great

[OT] Data Pooling system

2003-06-24 Thread Stephen Ting
Hi All, Sorry for this out topic post. I have try search the net and can't really find a frameworks/tools that really suit our project needs. Basically, what we are looking for is something similar to stock ticker. Currently we are developing a Plywood Manufacturing Process System that

Re: html:option - is there a selected option attribute?

2003-06-24 Thread Natalie D Rassmann
Steve, Thank you VERY much. I will be sure to take a look; half the battle is finding examples. Natalie Steve Raeburn wrote: Natalie, If it would help, I've put together an example application (http://www.ninsky.com/struts) that shows most of the basic tags in action. It actually came about

[OT] Mark Webcam

2003-06-24 Thread Mark Galbreath
Now you can see the face of the guy you love to hate! http://www.spotlife.com/users3/mgalbreath/webcam/?country=USAlanguage=EN Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Best practices - help

2003-06-24 Thread TopBid987654321
Is there a way to populate a bean on a Server's (I'm using Tomcat) start up in Struts? I have a Java bean, say X, which is called and a populated in an Action Servlet, say myAction. Whenever I start my application and call a JSP layer say, MyLayer.jsp, which is supposed to iterate this bean

Re: How do I configure multiple struts-config files?

2003-06-24 Thread TopBid987654321
check : http://jakarta.apache.org/struts/userGuide/configuration.html#dd_config_module s HTH

Re: [OT] Mark Webcam

2003-06-24 Thread TopBid987654321
Maybe providing a : 1. Username and 2. A password would be helpful. Or ?

Re: [OT] Data Pooling system

2003-06-24 Thread Adam Hardy
You mean you want a charting reporting package for java? I have used jfreecharts and found it very useful. http://www.jfree.org/jfreechart/index.html Stephen Ting wrote: Hi All, Sorry for this out topic post. I have try search the net and can't really find a frameworks/tools that really suit

Accessing indexed properties in DynaActionForm (1.1rc2)

2003-06-24 Thread Alexey N. Shananin
Hi! I found no answer in an archives, so I'm asking now. I've got an indexed property phone, which has fields num and pid(phone ID) the generated HTML is: trtd input type=hidden name=phone[1].pid value=528078 input type=text name=phone[1].num

Re: Réf. : Re: Réf. : Re: Réf. : Re: very strange errors (no collection found series)

2003-06-24 Thread Dirk Markert
Hallo Meissa, if the error occurs. Does it occur thereafter for all users, or only for the user who gets the error. If this user logs out and then logs in, does the error reappear? Is the only way to handle the error a restart of tomcat? Also, what is the scope of your paramForm? Regards, Dirk

RE: [OT] Mark Webcam

2003-06-24 Thread Mark Galbreath
sorry - mgalbreath;rocket01 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 24, 2003 6:37 AM To: [EMAIL PROTECTED] Subject: Re: [OT] Mark Webcam Maybe providing a : 1. Username and 2. A password would be helpful. Or ?

RE: Best practices - help

2003-06-24 Thread Steve Raeburn
You should not access the JSP directly. Always send requests to the Action which will return an ActionForward to the JSP. In your example you should always be accessing /myaction.do and never /MyLayer.jsp You seem to have it set up OK, but there's no need for your global forward to the JSP.

RE: reset of user inputs

2003-06-24 Thread raghu_c
Hi all, Fixed the thingy.. seems that only the action='' can be used in the html:form element any thing else and all my private, protected attribubtes are reset!!! Raghu -Original Message- From: raghu_c Sent: Monday, June 23, 2003 5:20 PM To: [EMAIL PROTECTED] Subject: reset of

RE: Accessing indexed properties in DynaActionForm (1.1rc2)

2003-06-24 Thread Steve Raeburn
Try phone[0] and phone[1] Steve -Original Message- From: Alexey N. Shananin [mailto:[EMAIL PROTECTED] Sent: June 24, 2003 3:26 AM To: Struts Users Mailing List Subject: Accessing indexed properties in DynaActionForm (1.1rc2) Hi! I found no answer in an archives, so I'm asking

bean:write filter=false

2003-06-24 Thread Vinay Mhapankar
Hi All, I need to display ---START--- Sometext input type=text / ---END--- on a JSP page. If I set filter=false in bean:write tag, br is interpreted as newline but then textbox is displayed. And if I set filter=true (default), then I can't insert newline. In short, I need partial

submit buttons

2003-06-24 Thread Filip Polsakiewicz
Hi, i have the following problem: i need a submit button that sets the command-property of my formbean to CH (Change) but the button's label should be: Change I tried html:submit property=command value=CHChange/html:submit html:submit property=command value=CH titleKey=submit.label/ does not

RE: bean:write filter=false

2003-06-24 Thread Filip Polsakiewicz
try writing input type=text / as lt;input type=quot;textquot; /gt; HTH Filip -Original Message- From: Vinay Mhapankar [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 24, 2003 12:52 PM To: [EMAIL PROTECTED] Subject: bean:write filter=false Hi All, I need to display

RE: submit buttons

2003-06-24 Thread Matthews, Brian
How about something along the lines of: html:hidden property=command/ html:submit onclick=this.command='CH';return trueChange/html:submit Brian -Original Message- From: Filip Polsakiewicz [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 24, 2003 11:55 AM To: Struts Users Mailinglist

RE: Best practices - help

2003-06-24 Thread Steve Raeburn
You should not access the JSP directly. Always send requests to the Action which will return an ActionForward to the JSP. In your example you should always be accessing /myaction.do and never /MyLayer.jsp You seem to have it set up OK, but there's no need for your global forward to the JSP.

Re: Accessing indexed properties in DynaActionForm (1.1rc2)

2003-06-24 Thread Alexey N. Shananin
Steve Raeburn wrote: Try phone[0] and phone[1] Steve No, Steve. This Exception is generated BEFORE the execute method call, as you can see in a stacktrace. Struts can't PARSE the parameters. [skip] -- Best regards, Alexey N. Shananin (mailto:[EMAIL PROTECTED]) Java Developer, PARK.RU

Re: Best practices - help

2003-06-24 Thread TopBid987654321
Hi Steve, The problem is that /MyLayer.jsp happens to be my welcome page. This page has to be displayed on start up.How do I get struts process my Action servlet,myAction, in order to give /MyLayer.jsp the content it needs? Thanks

Re: Accessing indexed properties in DynaActionForm (1.1rc2)

2003-06-24 Thread Gemes Tibor
Alexey N. Shananin rta: Hi! I found no answer in an archives, so I'm asking now. I've got an indexed property phone, which has fields num and pid(phone ID) the generated HTML is: form-bean name=EditRecordForm

RE: submit buttons

2003-06-24 Thread Filip Polsakiewicz
Hi thanks for that hint, i needed to change it a bit until it worked: html:hidden property=command/ html:submit onclick=getElementById('command').value='CH';return trueChange/html:submit html:submit onclick=getElementById('command').value='DI';return trueDisplay/html:submit thanks alot!

Re: submit buttons

2003-06-24 Thread Gemes Tibor
Filip Polsakiewicz rta: Hi, i have the following problem: i need a submit button that sets the command-property of my formbean to CH (Change) but the button's label should be: Change I tried html:submit property=command value=CHChange/html:submit html:submit property=command value=CH

Another Book with Struts coverage(In Korean)

2003-06-24 Thread suribada
Hi. Another book with Struts coverage has been published.in Korea IT Expert JSP by Yang Hoesuk, Heo Kwangnam, Noh Jaechun, Lee Sunjae (Hanbit Media) June 2003 - Chapter 11 covers overview of Struts RC1 and chapter 13 covers an Online Bookstore sample using Struts. You can find this book from the

Re: Best practices - help

2003-06-24 Thread Ted Husted
The simplest thing is to have a HTML page (index.html) redirect to a welcome action: html head META HTTP-EQUIV=Refresh CONTENT=0;URL=./Welcome.do /head body /body /html You can then have the welcome action forward to whatever you please. action path=/Welcome forward=/MyLayer.jsp /

Réf. : Re: Réf. : Re: Réf. : Re: Réf. : Re: very strange errors (no collectionfound series)

2003-06-24 Thread meissa . Sakho
Dirk, my paramForm scope is request. When the error occurs, it occurs for all users. And the only way to handle error is to restart tomcat, I'm modifying the code to have much more logs when errors occurs. I have one question. Do you thing better to go through ActionForm for sending objects to

RE: submit buttons

2003-06-24 Thread Steve Raeburn
You're limited to what the native HTML input control allows: input type=submit name=command value=Change/ So you can't return a different values without resorting to javascript. I'm not sure what you're trying to to do, but if you need to take different actions depending on which button is

RE: submit buttons

2003-06-24 Thread Filip Polsakiewicz
-Original Message- From: Steve Raeburn [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 24, 2003 1:25 PM To: Struts Users Mailing List Subject: RE: submit buttons You're limited to what the native HTML input control allows: input type=submit name=command value=Change/ So you

RE: Best practices - help

2003-06-24 Thread Steve Raeburn
have a welcome jsp page that redirects to your action: struts-config.xml: global-forwards forward name=welcome path=/myaction.do/ /global-forwards index.jsp: %@ taglib uri=http://jakarta.apache.org/struts/tags-logic; prefix=logic % logic:redirect forward=welcome/ (that's the whole

JPlates 2.1 is available - a great alternative to JSP for Struts

2003-06-24 Thread Dan Jacobs
Hi everybody, sorry for the resend - the first got garbled. I know you're all busy with your current projects, but maybe the next one will be much easier if you use JPlates. JPlates 2.1 is now available for licensed use and evaluation. JPlates is a fully object-oriented template-processing

Re: Réf. : Re: Réf. : Re: Réf. : Re: Réf. : Re: very strange errors (no collection found series)

2003-06-24 Thread Dirk Markert
Hallo Meissa, I don't consider it a problem or bad practice to use an ActionForm for what you are doing (I am using the same approach). I cannot see, that the direct way will change something. But why not give it a try. Is it possible that you have some race conditions in your execute method?

I8ln question

2003-06-24 Thread Brian McSweeney
Hi folks, In my application I have multiple category entries stored in a database table named categories. For each entry, I have a name and a description field. I want to internationalize the application with struts and have identified two possible approaches. 1) Set up a resource

Re: Newbie : How can i implement the navigator menu with Struts?

2003-06-24 Thread Paolo Razzi
- Original Message - From: Affan Qureshi [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, June 24, 2003 10:04 AM Subject: Re: Newbie : How can i implement the navigator menu with Struts? Look at Struts-Layout. It has tags for breadcrumbs which can help

Réf. : Re: Réf. : Re: Réf. : Re: Réf. : Re: Réf. : Re: very strange errors(no collection found series)

2003-06-24 Thread meissa . Sakho
In the current version, I'm forwarding to a page when a TechnicalException occurs. I've logged evrything. When the bugs occurs again(in ten days) I will tell you Meissa Dirk Markert [EMAIL PROTECTED] 24/06/2003 13:42 Veuillez répondre à Struts Users Mailing List Pour : Struts

Object-oriented encapsulation in Struts - merging Actions and ActionForms

2003-06-24 Thread Dan Jacobs
[ potentially controversial topic ] Hi all, I have noticed that most of my Struts applications end up being implemented like dismembered objects. I design the controller parts of my Struts applications using object-oriented design techniques, but then I have to transform my designs into an

el?

2003-06-24 Thread Filip Polsakiewicz
I stumbled over the abbreviation el for quite a few times now (e.g. struts-el). Can anybody tell me what el stands for? Thanks Filip Filip Polsakiewicz - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

RE: el?

2003-06-24 Thread Amjad Shahrour
Expression Language ${ } -Original Message- From: Filip Polsakiewicz [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 24, 2003 3:27 PM To: Struts Users Mailinglist Subject: el? I stumbled over the abbreviation el for quite a few times now (e.g. struts-el). Can anybody tell me what el

Re: html:option - is there a selected option attribute?

2003-06-24 Thread Chad Mathis
I noticed in your html:select attributes that you didn't specify multiple as an attribute. If it is just a single select, there is a value attribute that can be set that is a property of the html:select tag. If the property of value in the html:select tag matches the property of property in

RE: el?

2003-06-24 Thread Filip Polsakiewicz
What can i do with that. Are there any documents on this topic? -Original Message- From: Amjad Shahrour [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 24, 2003 2:32 PM To: 'Struts Users Mailing List' Subject: RE: el? Expression Language ${ } -Original Message-

Re: el?

2003-06-24 Thread BARAJAS Benoit
Sorry, I made un mistake ;-( bye Filip Polsakiewicz a écrit : What can i do with that. Are there any documents on this topic? -Original Message- From: Amjad Shahrour [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 24, 2003 2:32 PM To: 'Struts Users Mailing List' Subject: RE:

RE: el?

2003-06-24 Thread Amjad Shahrour
Check this out: http://jakarta.apache.org/commons/el.html -Original Message- From: Filip Polsakiewicz [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 24, 2003 3:38 PM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: el? What can i do with that. Are there any documents on

url-pattern

2003-06-24 Thread Huang, Andy
I want to map out all my action servlet in the web.xml file like this: servlet servlet-nameaction/servlet-name servlet-classorg.apache.struts.action.ActionServlet/servlet-class /servlet servlet-mapping servlet-nameaction/servlet-name url-pattern/Logon/url-pattern

\n 2 br

2003-06-24 Thread Franck Lefebure
Hi, Is there a way to perform nl2br conversion with struts taglibs ? Thanks -- Franck - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Best practices - help

2003-06-24 Thread Jerry Jalenak
This is something we do that works extremely well. The path on the global-forward/ can point to a set up action where you can initialize / populate all of those things that you application needs. The set up action would then forward to your first .JSP or tile definition. Jerry Jalenak Team

Re: url-pattern

2003-06-24 Thread Nicolas De Loof
Struts controller uses extra path info to know which Action to execute (action-mapping). If you map /logon to Struts ActionServlet, they're no extra path info when requesting http://server/Logon. You can map ActionServlet to /do and request /do/Logon. I think struts modules will not work using

character entities conversion

2003-06-24 Thread TopBid987654321
Has anyone any idea how to get character entities which are delivered to a Java Bean from a database converted or rendered to its normal characters in a JSP layer? E.g.. I have a database which is delivering amp;,#039; etc. instead of the characters , ' etc. in my JSP presentation layer. I

Re: character entities conversion

2003-06-24 Thread James Mitchell
On Tuesday 24 June 2003 08:56, [EMAIL PROTECTED] wrote: Has anyone any idea how to get character entities which are delivered to a Java Bean from a database converted or rendered to its normal characters in a JSP layer? E.g.. I have a database which is delivering amp;,#039; etc. instead of

[OT] HTTP Error Page? [was RE: Best practices - help]

2003-06-24 Thread Jerry Jalenak
Along these same lines, we also use an index.html file under Apache to redirect to our /webapp/index.jsp: html head script language=JavaScript function redirect() {

Re: Best practices - help

2003-06-24 Thread TopBid987654321
Thank you all for your useful suggestions. I have gotten it up working now with only something left which I wish it were not there: I have this '../myaction.do' trailling at the end of the URL which I wish it were not there. Preferable would have been /myaction.do after being called in the

Re: How do I configure multiple struts-config files?

2003-06-24 Thread James Mitchell
On Tuesday 24 June 2003 01:30, Bob Byron wrote: But, based on the scant documentation, it appears that you can use a comma seperated list, as I put in the web.xml file. But, it does not seem to be working for me. You do not need subapps to use multiple struts-config files. You can indeed (as

Re: character entities conversion

2003-06-24 Thread TopBid987654321
I am using the bean:write tag. Are suggesting that I write something like : bean:write name=MyBean property=engDescription filter=UTF-8 ?

Re: character entities conversion

2003-06-24 Thread James Mitchell
On Tuesday 24 June 2003 09:18, [EMAIL PROTECTED] wrote: I am using the bean:write tag. Are suggesting that I write something like : bean:write name=MyBean property=engDescription filter=UTF-8 ? You didn't look at the docs did you? -- James Mitchell Software Developer/Struts Evangelist

Re: character entities conversion

2003-06-24 Thread James Mitchell
On Tuesday 24 June 2003 09:18, [EMAIL PROTECTED] wrote: I am using the bean:write tag. Are suggesting that I write something like : bean:write name=MyBean property=engDescription filter=UTF-8 ? http://jakarta.apache.org/struts/userGuide/struts-bean.html#write -- James Mitchell Software

Re: character entities conversion

2003-06-24 Thread TopBid987654321
Hi James, I would very much like to. Please direct me to where I can get the needed info. in the docs. I have never had to use the filter attrib. in a bean:write tag. Any suggestions are welcome.

Re: \n 2 br

2003-06-24 Thread Gemes Tibor
Franck Lefebure rta: Hi, Is there a way to perform nl2br conversion with struts taglibs ? write a new taglib. If the taglib converts its body, you could use it over every other taglib eg app:nl2brbean:write ...//app:nl2br Hth, Tib

Re: using html:form from plain java code

2003-06-24 Thread Micha Drozd
Hi, On Tue, 2003-06-24 at 02:30, David Graham wrote: What is the best practice to generate html output equivalent to use html:form jsp tag. I need to use it in for example servlet (just example , in fact there is just plain java class that generates html output. It is very modular thing, so

Re: Object-oriented encapsulation in Struts - merging Actions and ActionForms

2003-06-24 Thread David Graham
Specifically, what would you change? David --- Dan Jacobs [EMAIL PROTECTED] wrote: [ potentially controversial topic ] Hi all, I have noticed that most of my Struts applications end up being implemented like dismembered objects. I design the controller parts of my Struts applications

Re: url-pattern

2003-06-24 Thread Eric Jain
Why don't you want to use standard .do servlet mapping ? I have the same issue with Struts. If you are maintaining a site that has been running since many years and there are thousands of external pages linking to it, naturally you want to avoid sprinkling technology of the day into your URLs.

New Jersey User Group meeting this Saturday - NJMVCOpenSource

2003-06-24 Thread Menke, John
The New Jersey Model View Controller / Open Source User group is having it's meeting this Saturday at 2:00pm at the Morris County Library in Whippany NJ just off rt. 287 See Our web site at: http://groups.yahoo.com/group/njmvcopensource/ Directions to the meeting:

Re: character entities conversion

2003-06-24 Thread TopBid987654321
Hi James, Thanks for the link to the docs. I got the ff. from the docs a short while ago : filter If this attribute is set to true, the rendered property value will be filtered for characters that are sensitive in HTML, and any such characters will be replaced by their entity equivalents. I

RE: Best practices - help

2003-06-24 Thread Chris Reeves
Something I do often is create a servlet that is loaded at app startup that loads and populates a variety of objects that I need for general use in its init method. If I can't guarantee that users will always use a single point of entry (never the case in a content-heavy site), I avoid depending

Re: character entities conversion

2003-06-24 Thread James Mitchell
On Tuesday 24 June 2003 09:52, [EMAIL PROTECTED] wrote: Hi James, Thanks for the link to the docs. I got the ff. from the docs a short while ago : filter If this attribute is set to true, the rendered property value will be filtered for characters that are sensitive in HTML, and any such

Re: Problem encountered after installing Struts 1.1 Release Candidate 2.

2003-06-24 Thread Susan Bradeen
On 06/23/2003 08:43:05 PM Poon, Johnny wrote: Hi, I'm using WSAD 5.0. I just downloaded the Struts 1.1 Release Candidate 2 binary from: http://apache.mirrorcentral.com/dist/jakarta/struts/binaries/jakarta-struts- 1.1-rc1.zip. I then deleted the files of Struts 1.1 RC1 from my WSAD.

logic:iterate using HashMap

2003-06-24 Thread O_Parthasarathy Kesavaraj
How to iterate thro HashMap using logic:iterate? Regards Partha - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Problem encountered after installing Struts 1.1 Release Candidate 2.

2003-06-24 Thread Poon, Johnny
Susan, Thanks for the reply. I discovered that somehow after copying the files to WSAD, my classpath was changed. Anyway, the problem has been solved. Thanks again. JP. -Original Message- From: Susan Bradeen [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 24, 2003 9:09 AM To: Struts

Re: logic:iterate using HashMap

2003-06-24 Thread Gemes Tibor
O_Parthasarathy Kesavaraj rta: How to iterate thro HashMap using logic:iterate? You did not look into the docs, did you? http://jakarta.apache.org/struts/userGuide/struts-logic.html#iterate Normally, each object exposed by the iterate tag is an element of the underlying collection you are

Re: character entities conversion

2003-06-24 Thread TopBid987654321
The output rendered perfectly when the filter attrib. was set to 'false'! Thanks once again James. Bob.

Question iterating over an array

2003-06-24 Thread trang_nguyen
Hi, I have an array of objects over which I would like to iterate. I am using the bean:write tag to pass the value of one object in the collection to another tag. However, the bean:write tag is always returning a null value. I've tried several combinations but can't get this to work. I would

Re: character entities conversion

2003-06-24 Thread James Mitchell
On Tuesday 24 June 2003 10:17, [EMAIL PROTECTED] wrote: The output rendered perfectly when the filter attrib. was set to 'false'! Thanks once again James. Bob. No problem, that's why we are here. -- James Mitchell Software Developer/Struts Evangelist http://www.struts-atlanta.org

OT: The Server Side Conference this weekend?

2003-06-24 Thread Vic Cekvenich
Just curios, is anyone going? Some very nice sessions, like Rich UI, etc. Great speaker list also -- Vic Cekvenich, - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Escaping ' and in bean:write output for javascript?

2003-06-24 Thread Kruse, Matt
From: Gemes Tibor [mailto:[EMAIL PROTECTED] addName('bean:write name=person property=lastname filter=true/'); This filters the html sensitive chars. Nope, that doesn't do the job (filter is true by default, btw). It creates output like this: addName('O#39;Reilly'); which causes

RE: logic:iterate using HashMap

2003-06-24 Thread O_Parthasarathy Kesavaraj
-- From: Gemes Tibor[SMTP:[EMAIL PROTECTED] Reply To: Struts Users Mailing List Sent: Tuesday, June 24, 2003 7:46 PM To: Struts Users Mailing List Subject: Re: logic:iterate using HashMap O_Parthasarathy Kesavaraj rta: Thanks Tib.I did look at

Unable to do search on struts-user list

2003-06-24 Thread Shah, Shrihas (OFT)
Hi : Did anybody is having problem with searching the struts-user list?. I just type any type of search and it tells me that Text search not available for this list Any idea what is wrong with the way I search. By the way I went to the address

redirect=true and error messages

2003-06-24 Thread Stefan Berger
Hi 1) I tried to find a way to keep all error-messages even when i set in the struts-config.xml in the action -- redirect=true. But i guess the error-tag does not support errors when redirect=true (I tried to put the error into the session, but the error-tag still dont care for the

  1   2   3   >