RE: Tokens - a simple explanation wanted

2002-12-09 Thread Naeem Ally
The basic idea for the use of token is to deny duplicate request submissions. How do we use it? When the user goes to a form for the first time, the saveToken methods needs to be called, this will create a token in the user's session and a matching request token in the request object which will

Re: Xdoclet and Struts

2002-12-09 Thread Slava_L
Could u plz describe wut exactly u generate Do u have to manualy edit somethin' after generation ? coz' if u do, then it is worthless - Original Message - From: Emil Korladinov [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, December 06, 2002 5:36 PM

RE: How is property field used in errors.add

2002-12-09 Thread shirishchandra . sakhare
The property can be used if you want to display the error message next to a specific field on the jsp page. So after the form adds the errors, on the resulting jsp, if u have something like html:errors property=CG_Branch html:text blah blah.. wil make the error to be displayed next to the

RE: Question about adding ActionErrors

2002-12-09 Thread shirishchandra . sakhare
I think the errors are saved in session not in form. -Original Message- From: MohanR [mailto:[EMAIL PROTECTED]] Sent: Monday, December 09, 2002 7:27 AM To: struts-user Cc: MohanR Subject: RE: Question about adding ActionErrors Hi, We are validating against the database in the

RE: Question about adding ActionErrors

2002-12-09 Thread Andrew Hill
I thought it was normally request scope? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, December 09, 2002 17:44 To: [EMAIL PROTECTED] Subject: RE: Question about adding ActionErrors I think the errors are saved in session not in form. -Original

RE: Re: Best Practices for Logging?

2002-12-09 Thread shirishchandra . sakhare
Just some addition to this logging discussion. If u are using log4j , then in any case,there wil be 1 instance per class and not per object.BEcause logger instances are named entities and they are cached.So if u ask for the same logger again(same class name I mean), u will retrieve same

Access/Manage client's file system

2002-12-09 Thread Heligon Sandra
Sorry not to have answered earlier but I did not work Friday. By 'local' I mean the client's machine not the server. First, the server offers templates to the client. Example of JSP: Name = Toto; Type = Data; Value = 12; etc Save

Lists, actions and links

2002-12-09 Thread Mark
Hello I've having trouble working out which is the best way of iterating though a result set , I can and have done this is several ways. 1. Imagine i have a class that querys a db and returns a result set. I pass the result set as a datastructure to my action class and all is well .. But I have

RE: Access/Manage client's file system

2002-12-09 Thread Andrew Hill
Well, if you can make do with something thats rather user unfriendly you can use the standard html stuff: For the files to be saved on the users machine you could provide a link - clicking the link will allow the user to download the file which they can save on their machine. For the server to

Re: Lists, actions and links

2002-12-09 Thread vellosa
The way I would do this would be to have a Data Access Object (DAO) class that does your database access. The method would return a collection of Value Object. This collection can be passed back to your page, then you can use the iterator tag to work through the list. from:Mark

Re: Access/Manage client's file system

2002-12-09 Thread Frederico Schuh
I don't think storing this on the client is a good approach to doing it... if you choose to do this, then you're breaking one of the Web's main advantages, which is client independency (you will most likely lock the user to a single browser that supports a specific plugin, 95% chance that it will

Multiple Submit Buttons + Internationalisation

2002-12-09 Thread Pat Quinn
Multiple Submit Buttons + Internationalisation I have a jsp with three submit buttons (update, delete etc..) each with a value as loaded from the resource bundle: input type=submit name=Submit value=bean:message key='label.update'/ In my action class i do the following to identify which

Re: Xdoclet and Struts

2002-12-09 Thread tek1
no. check out xdoclet at: http://xdoclet.sourceforge.net/ http://sourceforge.net/projects/xdoclet At 17:00 02/12/09 +0800, you wrote: Could u plz describe wut exactly u generate Do u have to manualy edit somethin' after generation ? coz' if u do, then it is worthless -- To unsubscribe,

html:file Problems

2002-12-09 Thread Mouratidis, Georg
Greetings, i have a html:file tag. When i cklick to submit the form the following error appears: snippet type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException:

EJB's and Collections of Objects

2002-12-09 Thread Jordan Thomas
Hi, I have a finder method associated with an EJB that returns a collection of objects. I don't want to call the get Methods in my struts action class, in my JSP's or in form classes as I would like to keep everything in the same transaction. So what I was going to do was use a session bean which

Re: Xdoclet and Struts

2002-12-09 Thread Slava_L
well is seems that u generate xml from another xml i thinl xDoclet very usefull for EJB code generation - Original Message - From: tek1 [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, December 09, 2002 7:38 PM Subject: Re: Xdoclet and Struts no. check

Re: html:file Problems

2002-12-09 Thread Gemes Tibor
2002. december 9. 12:51 dátummal Mouratidis, Georg ezt írtad: Greetings, i have a html:file tag. When i cklick to submit the form the following error appears: What do you have in the ActionForm? Is the corresponding property's type FormFile? Hth, Tib -- To unsubscribe, e-mail:

Re: EJB's and Collections of Objects

2002-12-09 Thread Gemes Tibor
2002. december 9. 12:52 dátummal Jordan Thomas ezt írtad: Is there a standard or better way to get my objects out into my struts application? I think that it is rather straightforward and clean. Is it working for you? Is it fast enough? Does it suit your needs? If yes, there is no problem.

RE: html:file Problems

2002-12-09 Thread Mouratidis, Georg
No i have String. i changed it into FormFile and it works. i also inserted import org.apache.struts.upload.FormFile; thank you -Original Message- From: Gemes Tibor [mailto:[EMAIL PROTECTED]] Sent: Montag, 9. Dezember 2002 13:10 To: Struts Users Mailing List Subject: Re: html:file

Re: Multiple Submit Buttons + Internationalisation

2002-12-09 Thread John D Hume
You could probably compare pRequest.getParameter(Submit) against the internationalized string, though it might be better to go a way that won't make you dependent on those labels. You could flip it around and decide based on the Name of the submit button. Something like: if (

Re: Multiple Submit Buttons + Internationalisation

2002-12-09 Thread Gemes Tibor
2002. december 9. 13:48 dátummal John D Hume ezt írtad: You could probably compare pRequest.getParameter(Submit) against the internationalized string, though it might be better to go a way that won't make you dependent on those labels. You could flip it around and decide based on the Name of

No bean found under attribute key - any config problem?

2002-12-09 Thread Satyanarayana M
Greetings, I am new to Struts list I am getting an exception with the message No bean found under attribute key customerForm when I am accessing the JSP where in which I am using the logic:equal tag. I am using this tag to check whether a formbean variable (called action) value is equal to new

RE: No bean found under attribute key - any config problem?

2002-12-09 Thread shirishchandra . sakhare
What do u mean by executing the jsp? The way u have done configuration, there will not be any problem if u are calling the CustomerAction and the CustomerAction action is doing a forward to the jsp. BEcause then only the form bean will be available. How u are executing the jsp? -Original

Re: Multiple Submit Buttons + Internationalisation

2002-12-09 Thread V. Cekvenich
+1 Gemes Tibor wrote: 2002. december 9. 13:48 dátummal John D Hume ezt írtad: You could probably compare pRequest.getParameter(Submit) against the internationalized string, though it might be better to go a way that won't make you dependent on those labels. You could flip it around and decide

Re: No bean found under attribute key - any config problem?

2002-12-09 Thread Satyanarayana M
Hi, I am using Tomcat 4.1.1 I didn't configured any action forwards.. I think the main problem is with logic:equal usage I think the bean is not getting instantiated. Its working fine without any logic:equal tags in my JSP... but to add extra functionality, I have to use logic:equal tag

RE: Re: No bean found under attribute key - any config problem?

2002-12-09 Thread shirishchandra . sakhare
No.U are not getting it right. U should understand the flow of struts for this. For the bean to get instantiated, it has to associated with some action. And from u r config file, it looks that u have mapped the form to /customer action.So if u call this customer action first, then in the action

RE: No bean found under attribute key - any config problem?

2002-12-09 Thread Justin Ashworth
Hi Satya, From what you've included of your JSP file, it looks like the problem is that the page has no reference to the customrForm bean by the time you go to use it. The html:form.../ tag makes this bean available, but since you are using the logic tags inside your header rather than within an

RE: Multiple Submit Buttons + Internationalisation

2002-12-09 Thread Edgar P. Dollin
LookupDispatchAction is not for everyone in every situation. Understanding the mechanism can help you really solve your issues. Edgar -Original Message- From: Gemes Tibor [mailto:[EMAIL PROTECTED]] Sent: Monday, December 09, 2002 7:53 AM To: Struts Users Mailing List Subject: Re:

AW: Multiple Submit Buttons + Internationalisation

2002-12-09 Thread Clauss, Arne
Hello! Just try out this little Javascript Function: function submitAndUpdate (action) { document.forms.fromName.action=action; document.forms.fromName.submit(); } formName have to be the name of your form. Kind regards, Arne Clauß gedas

RE: Multiple Submit Buttons + Internationalisation

2002-12-09 Thread Justin Ashworth
On a related topic...does the HTTP standard specify that for a set of submit buttons with the same name, only the one that's pressed will be sent with the request? I seem to remember in earlier days that this wasn't always guaranteed, and therefore I generally make a rule to avoid it. Is my

Re: Multiple Submit Buttons + Internationalisation

2002-12-09 Thread Gemes Tibor
2002. december 9. 14:55 dátummal Edgar P. Dollin ezt írtad: LookupDispatchAction is not for everyone in every situation. Understanding the mechanism can help you really solve your issues. Yes, you're right. But the details he provided us about his problem were exactly the same

Re: Multiple Submit Buttons + Internationalisation

2002-12-09 Thread Gemes Tibor
2002. december 9. 14:53 dátummal Justin Ashworth ezt írtad: On a related topic...does the HTTP standard specify that for a set of submit buttons with the same name, only the one that's pressed will be sent with the request? It is html not http. Check the successsful controls in html:

RE: Multiple Submit Buttons + Internationalisation

2002-12-09 Thread Justin Ashworth
Thank you - that clears it all up. Thanks for the correction too. :) -Original Message- From: Gemes Tibor [mailto:[EMAIL PROTECTED]] Sent: Monday, December 09, 2002 9:08 AM To: Struts Users Mailing List Subject: Re: Multiple Submit Buttons + Internationalisation 2002. december

Validation Message Order

2002-12-09 Thread Jordan Thomas
Hi, When using the validator, how do I change the order of the messages. Currently, the error messages returned are Password Username This doesn't correspond with how the fields are layed out in the form. I would like the JavaScript error to read Username Password Is there any way to do this?

does ActionForm support inheritance field

2002-12-09 Thread Denis Wang
Hello, Sorry to send the question again. But I didn't see the message appearing on the mailing list for some reasons. Besides the previous message has a wrong return email address. I have an ActionForm, which includes a field/getter/setter of subclass. The subclass inherits the description

RE: does ActionForm support inheritance field

2002-12-09 Thread shirishchandra . sakhare
if u cans end sample code(the form classs relavent code and jsp), may be somebody can help u... But there is no reason for struts to impose any such restriction .. -Original Message- From: dwang [mailto:[EMAIL PROTECTED]] Sent: Monday, December 09, 2002 3:28 PM To: struts-user Cc: dwang

newbie question - tags in JSTL vs Struts

2002-12-09 Thread Anuj Agrawal
I'm enjoying using Struts very much. :) I'm trying to figure out how to decide when to use a JSTL tag and when to use a Struts tag - more so when the tags have similar functionality (e.g. for looping and for conditional statements). How do you folks decide when to use one over the other? Are

RE: newbie question - tags in JSTL vs Struts

2002-12-09 Thread shirishchandra . sakhare
I think u should use struts tags only when there is no corresponding jstl tag.. reason being jstl is THE STANDARD tag library...SO stick to it as far as possible ... -Original Message- From: agrawalanuj [mailto:[EMAIL PROTECTED]] Sent: Monday, December 09, 2002 3:29 PM To: struts-user

Re: newbie question - tags in JSTL vs Struts

2002-12-09 Thread David Graham
I always use JSTL over Struts when possible. I only import the Struts html taglib and use the JSTL for everything else. David From: Anuj Agrawal [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: Struts User Mailing List [EMAIL PROTECTED] Subject: newbie question - tags in JSTL vs Struts

query parameters

2002-12-09 Thread Anuj Agrawal
In order to understand the correct flow of Struts, i'm trying to create a simple form that has 2 fields and a Next and Previous button/link. As i click the buttons/links, i want the form fields to be filled with data from a database (1 record at a time). This appears easy enough to do - i could

Help needed for a struts beginner!

2002-12-09 Thread David Rothschadl
Hi, I am a Java/JSP/struts beginner. Have never used them before (I have worked strictly on the mainframe), but need to know them now in order to put together some web pages for the company where I am consulting. Is there any place that I can find a good step-by-step tutorial on the web that

Re: Multiple Submit Buttons + Internationalisation

2002-12-09 Thread Pat Quinn
Cheers guys for all the feedback I used the LookupDispatchAction approach. Personally i don't like using JavaScript so i try to stay well clear of it as much as i can. Cheers, Pat From: Gemes Tibor [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts

RE: newbie question - tags in JSTL vs Struts

2002-12-09 Thread Anuj Agrawal
Wow! Thanks Shirish and David! This mailing list is GREAT! :) I figured i would get answers like that. So the follow-up question is will Struts ever phase out some of these 'duplicated' tag functionality? :) Thanks. Anuj. -Original Message- From: David Graham [mailto:[EMAIL

begginer help

2002-12-09 Thread David Rothschadl
An addition to my help for a beginner question..A complete example of an index.jsp used within the struts framework would be so helpful to me and my colleagues. It seems that all that I have been able to find so far are snippets of code Remember: Peace, Love Understanding Always

RE: newbie question - tags in JSTL vs Struts

2002-12-09 Thread shirishchandra . sakhare
there are some posts in the mailing list archive on struts:el tags which discuss the same.. -Original Message- From: agrawalanuj [mailto:[EMAIL PROTECTED]] Sent: Monday, December 09, 2002 3:45 PM To: struts-user Cc: agrawalanuj Subject: RE: newbie question - tags in JSTL vs Struts

related code RE: does ActionForm support inheritance field

2002-12-09 Thread Denis Wang
JSP: nested:form action='/myquestion' nested:nest property='scheduleVO' nested:text property='description' size=30/ ... ActionForm: ... private ScheduleVO scheduleVO; public ScheduleVO getScheduleVO() { return this.scheduleVO; } public void setScheduleVO(ScheduleVO

Re: begginer help

2002-12-09 Thread Pat Quinn
Check out the Admin Module of Tomcat 4.1 download the src version. Its developed using Struts. I found it a good reference to work from when i started out. From: David Rothschadl [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: Struts User Mailing List [EMAIL PROTECTED] Subject: begginer

Re: Help needed for a struts beginner!

2002-12-09 Thread Gemes Tibor
2002. december 9. 15:43 dátummal David Rothschadl ezt írtad: Hi, I am a Java/JSP/struts beginner. Have never used them before (I have worked strictly on the mainframe), but need to know them now in order to put together some web pages for the company where I am consulting. Is there any place

validation

2002-12-09 Thread Dmitry Vasilenko
Dear, I am newcomer. Please answer why (java-script)validation does not work in the struts-example. //-- %@ page contentType=text/html;charset=UTF-8 language=java % %@ taglib uri=/WEB-INF/struts-bean.tld prefix=bean % %@ taglib uri=/WEB-INF/struts-html.tld prefix=html %

Re: query parameters

2002-12-09 Thread David Graham
You would have an id query parameter telling the page which record to display. The previous/next links would need to point to the next id not just a general previous command. You can cache the results in the session so you can find the next id in the list. David From: Anuj Agrawal

Re: begginer help

2002-12-09 Thread David Graham
Download Struts 1.1b2 or a recent nightly build and run the stuts-example webapp. This has good examples of struts coding. David From: David Rothschadl [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: Struts User Mailing List [EMAIL PROTECTED] Subject: begginer help Date: Mon, 9 Dec 2002

RE: Using nested:link tag

2002-12-09 Thread Sri Sankaran
For this nested:link is no different from html:link. Please see http://jakarta.apache.org/struts/userGuide/struts-html.html#link. In particular look at the usage of the property attribute. It allows you to specify a Map of parameters. Sri -Original Message- From: A Stephen

Re: EJB's and Collections of Objects

2002-12-09 Thread Michael Lee
There's a pattern called value objects (or view objects) you may want to check out. Mike Lee - Original Message - From: Gemes Tibor [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, December 09, 2002 7:13 AM Subject: Re: EJB's and Collections of Objects

RE: query parameters

2002-12-09 Thread Anuj Agrawal
Well, i understand what you are suggesting. Let me re-state my question in a different way. How can i set it up so that when a user goes to http://some.domain.name.here/simpleapp/view.jsp?id=5, it would automatically load the form and display results from the database pertaining to record with

RE: Multiple Submit Buttons + Internationalisation

2002-12-09 Thread Edgar P. Dollin
If you want creater control of the button or if you want to use anchors or you have subclassed other classes to get where you are going. The list is pretty large. Edgar -Original Message- From: Gemes Tibor [mailto:[EMAIL PROTECTED]] Sent: Monday, December 09, 2002 8:57 AM To: Struts

RE: query parameters

2002-12-09 Thread Nelson, Laird
-Original Message- From: Anuj Agrawal [mailto:[EMAIL PROTECTED]] I know (i think) how to do this directly in the JSP (using JSTL's db-querying tags), but i thought that only the servlet should access the database and obtain the record, so how would my JSP page invoke the servlet

Re: tiles-documentation causing a Digester error -plug-in mustbe declared?

2002-12-09 Thread Cedric Dumoulin
Are you sure you are checking the right file ? Cedric aps olute wrote: I am getting this error in the log, and since not all the links under the menu of this http://localhost:8080/tiles-documentation/examples/index.jsp is working, I will pressume those are related to the error. 27

RE: query parameters

2002-12-09 Thread Anuj Agrawal
Thanks for the response Laird. That's exactly the way i understood it so your response helped validate my understanding (and yes, that's precisely why i'm trying to use Struts - to separate business logic from presentation logic). However, after (2) takes place, i would have arrived at the JSP

SV: query parameters

2002-12-09 Thread Marcus Andersson
Example to help clarify: You should create an action mapping that looks something like: action type=yourpack.ShowRecordAction path=/viewrecord forward name=success path=/view.jsp / forward name=fail path=/error.jsp/ /action ShowRecordAction looks something like: package

Re: How to extend tiles SimpleMenuItem?

2002-12-09 Thread Cedric Dumoulin
Zsolt Koppany wrote: Hi Cedric, where should I insert parserValidate=false? In the plugin declaration: plug-in className=org.apache.struts.tiles.TilesPlugin set-property property=parserValidate value=false/ ... Where should I use the bean tag? In which file and which block? In

RE: query parameters

2002-12-09 Thread Nelson, Laird
-Original Message- From: Anuj Agrawal [mailto:[EMAIL PROTECTED]] Thanks for the response Laird. That's exactly the way i understood it so your response helped validate my understanding (and yes, that's precisely why i'm trying to use Struts - to separate business logic from

html:options encoded property

2002-12-09 Thread Nathalie Foures
Hi! I wrote a JSP page with the following lines : ... html:select property=selectedProxies size=10 multiple=true html:options collection=proxies property=url labelProperty=name/ /html:select ... where name and url are the String attributes of a bean named Proxy. This code displays a box, with

RE: newbie question - tags in JSTL vs Struts

2002-12-09 Thread Justin Ashworth
Here is a link to something Craig McClanahan wrote up about Struts, JSF, and JSTL... http://jakarta.apache.org/struts/proposals/struts-faces.html The portion relevent to this thread would be: The Struts tag libraries have had a tremendous positive impact on the development of the standard Java

RE: query parameters

2002-12-09 Thread Anuj Agrawal
Marcus - Well, i certainly hope you are not wrong, cos this was the path i was going down. :) The only thing is when i use http://your.url.com/do/viewrecord?id=someIdToData (or http://your.url.com/viewrecord.do?id=someIdToData), it will then forward to http://your.url.com/view.jsp with the

RE: Access/Manage client's file system

2002-12-09 Thread micael
But Andrew, this would involve the client putting information on the server, then downloading it to the client. That is just a tad inefficient, wouldn't you say? At 06:36 PM 12/9/2002 +0800, you wrote: Well, if you can make do with something thats rather user unfriendly you can use the

Help with reset() method in an subclass class of DynaValidatorForm

2002-12-09 Thread Srinivas Bhagavathula
Hi, I am using html:checkbox with a property of deleted which is defined as an array String in Struts-config.xml file form-bean name=CreateProductsForAllForm dynamic=true type=com.f.M.G.w.ProductDynaValidatorForm form-property name=deleted initial= type=java.lang.String[]/ /form-bean

RE: query parameters

2002-12-09 Thread Anuj Agrawal
Laird - Yeap! Thanks for your patience in helping me. I understand your (pure) JSP+Servlet example. However, even in that example, when the requestDispatcher.forward(...) is executed, doesn't the browser display the URL that the requestDispatcher forwarded to (which would be the JSP page)? So

Re: Access/Manage client's file system

2002-12-09 Thread micael
If nothing else, you could have a web app that zips up the files and sends them as one. The other thing is that you could have a refresh on the response (request) that will activate when a file download finishes, starting the next one until you are done. But, zip is best, I think. Why use

RE: newbie question - tags in JSTL vs Struts

2002-12-09 Thread Anuj Agrawal
Thanks Justin! That helps! Anuj. -Original Message- From: Justin Ashworth [mailto:[EMAIL PROTECTED]] Here is a link to something Craig McClanahan wrote up about Struts, JSF, and JSTL... http://jakarta.apache.org/struts/proposals/struts-faces.html The portion relevent to this

RE: query parameters

2002-12-09 Thread Nelson, Laird
-Original Message- From: Anuj Agrawal [mailto:[EMAIL PROTECTED]] However, even in that example, when the requestDispatcher.forward(...) is executed, doesn't the browser display the URL that the requestDispatcher forwarded to (which would be the JSP page)? Nope. So when the user

Re: Help needed for a struts beginner!

2002-12-09 Thread micael
The point of struts in great part is to allow you to make the HTML page (response I assume you mean) simpler, not more complex. If it is going to become more complex, don't use Struts. Struts is an application FRAMEWORK that takes functionality off the page. But, if you are using fairly

RE: query parameters

2002-12-09 Thread Anuj Agrawal
Aha! Thanks Laird! That's where i was mistaken (somehow i recall, mistakenly, having a web app that used requestDispatcher.forward(...) and the URL was changed, must have done something differently i guess). In any case, i can move forward now. :) Thanks So Much! :) Anuj. -Original

RE: query parameters

2002-12-09 Thread Nelson, Laird
-Original Message- From: Anuj Agrawal [mailto:[EMAIL PROTECTED]] Aha! Thanks Laird! That's where i was mistaken (somehow i recall, mistakenly, having a web app that used requestDispatcher.forward(...) and the URL was changed, must have done something differently i guess). In

RE: query parameters

2002-12-09 Thread Anuj Agrawal
Thanks for the additional note Laird. This could be solved by using appropriate logging in the servlet though, right? Anuj. -Original Message- From: Nelson, Laird [mailto:[EMAIL PROTECTED]] No problem. Note as well that it follows from all this that if you ever wanted to forward to

SSL with Struts/Tomcat

2002-12-09 Thread Tuan H. Le
Hi, Sorry, I think this question is more related to Tomcat and F5 load balancer instead of Struts related topic. But, I'm hoping that some one on this group has done/configured a similar environment like we have and point me to a direction on how to solve our problem with HTTPS. We are using

RE: query parameters

2002-12-09 Thread Nelson, Laird
-Original Message- From: Anuj Agrawal [mailto:[EMAIL PROTECTED]] Thanks for the additional note Laird. This could be solved by using appropriate logging in the servlet though, right? Yes, and that's the proper way to do it. Unless, of course, purely hypothetically speaking :-), you

Query on modular applications

2002-12-09 Thread Michael Cunningham
Hello, We are looking for some help building a modular application. We are using Struts 1.1B2. We have had issues with not finding our message resources. Here is snippets of our struts-config and web.xml files. web.xml

query on modular applications

2002-12-09 Thread Michael Cunningham
Hello, We are looking for some help building a modular application. We are using Struts 1.1B2. We have had issues with not finding our message resources. Here is snippets of our struts-config and web.xml files. web.xml

Re: Query on modular applications

2002-12-09 Thread David Graham
You should first try using the latest nightly build because there have been several important bug fixes related to modules since beta 2. David From: Michael Cunningham [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Query on modular

Pluggable Validation Not Being called, any ideas?

2002-12-09 Thread Ryan Cornia
I'm using Struts 1.1B2, and have tried to create a pluggable validator similar to the example on Davids site. In my validation-rules.xml I have - validator name=twofields classname=us.ut.state.dced.filmrg.StrutsValidator method=validateTwoFieldsEqual

bean:include

2002-12-09 Thread LUCERO,DENNIS (HP-Boise,ex1)
If this is not the correct forum for tag-lib questions someone let me know. Does anyone know of issues when using the bean:include tag with https The call: bean:include id = myInclude page = /includeTest.jsp / the error: Cannot create include URL: java.net.MalformedURLException: unknown

RE: bean:include

2002-12-09 Thread Anuj Agrawal
There's probably a more appropriate list for JSTL. However, the error message you are getting is probably cos you don't have jsse.jar, jcert.jar etc. in your classpath. HTH. Anuj. -Original Message- From: LUCERO,DENNIS (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] If this is not the

Design Question regarding navigation menu

2002-12-09 Thread Mark Conlin
Design question regarding navigation menu. (I am using tiles) Suppose I have a navigation menu with several choices/sections, I would like to highlight the choice/section the user is currently in. Example: choice A, choice B, choice C Which is the proper approach? Create a separate menu

RE: bean:include

2002-12-09 Thread Anuj Agrawal
Additionally see: http://www.javaworld.com/javaworld/javatips/jw-javatip96.html and http://forum.java.sun.com/thread.jsp?forum=45thread=225211 -Original Message- From: LUCERO,DENNIS (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] If this is not the correct forum for tag-lib questions

RE: Help! Need Struts-El Library Compatible With Struts 1.1 B2

2002-12-09 Thread Hohlen, John
I guess I need a CVS lesson. Does anyone know how to do what Craig has suggested below? I surfed around the CVS site, but couldn't figure out how to issue the following command: cvs -d :pserver:[EMAIL PROTECTED]:/home/cvspublic update \ -D 11/07/2002 jakarta-struts Thanks, JOHN

[ANNOUNCE] Easy Struts 0.6.2 for Eclipse is out

2002-12-09 Thread Emmanuel Boudrant
Easy Strut 0.6.2 for Eclipse just released, changes : Check project nature before launching wizards (only javanature) Detect web project on WSAD (root is '/Web Content') Generate XDoclet comment for action and form bean classes (work on progress) Fix bue in form creation under

Re: Design Question regarding navigation menu

2002-12-09 Thread V. Cekvenich
I could not follow your question. A good practices that I use is to have centralized navigation in XML, using Struts menu from sf.net. .V Mark Conlin wrote: Design question regarding navigation menu. (I am using tiles) Suppose I have a navigation menu with several choices/sections, I would

RE: Help! Need Struts-El Library Compatible With Struts 1.1 B2

2002-12-09 Thread Hohlen, John
I guess I need a CVS lesson. Does anyone know how to do what Craig has suggested below? I surfed around the CVS site, but couldn't figure out how to issue the following command: cvs -d :pserver:[EMAIL PROTECTED]:/home/cvspublic update \ -D 11/07/2002 jakarta-struts Thanks, JOHN

RE: Help! Need Struts-El Library Compatible With Struts 1.1 B2

2002-12-09 Thread Karr, David
Do you have cvs installed on your local box? Go to a shell prompt and type cvs --version. If it reports the version of the Concurrent Versions System, then you should be able to type that entire command line at your prompt. If you don't get that output, then you should install a version of

RE: Re: Best Practices for Logging?

2002-12-09 Thread Michael Rimov
At 10:49 AM 12/9/2002 +0100, you wrote: Just some addition to this logging discussion. If u are using log4j , then in any case,there wil be 1 instance per class and not per object.BEcause logger instances are named entities and they are cached.So if u ask for the same logger again(same class name

set-property on forward

2002-12-09 Thread Etienne Labont
Hi, I would like to parameterize some forwards I have defined in struts-config.xml. The DTD specifies I can nest set-property elements inside forward elements. That would be fine, the values are static. But then, how do I access these properties from inside my Action class? Are they just appended

Re: Modules and Tiles: Problem

2002-12-09 Thread Cedric Dumoulin
Hi, Is there any errors regarding Tiles in the Tomcat console (you may need to enable logging for Tiles) ? Cedric Andrew Kuzmin wrote: I have two modules: A) struts-config.xml: plug-in className=org.apache.struts.tiles.TilesPlugin set-property property=definitions-config

Re: Lists, actions and links

2002-12-09 Thread Mark
Can i just check my understanding... I'd get my result set as one would expect do i feed it to an action and have a listmystuff action or use a bean and instansiate the bean in the jsp, no action just a normal link? The more I think about it the first option appears the puppy, no useBean in the

Re: Access/Manage client's file system

2002-12-09 Thread Mark
Micael who responded to this message says he's working on something similar. To be honest I don't know any nice, cross browser way of doing this. I'd have thought the money you save on disk space would swallowed up by extra development time. However if I had to do this i'd be reading stuff about

RE: beginner help

2002-12-09 Thread Jeff Born
I've been working on a Struts tutorial for my office for a couple of months now. I assume programming knowledge, but no Struts knowledge. Basic idea is to move a JSP based web site to a Struts based web site, and then give step by step instructions on how to get there. Use the following link to

Validator javascript and various browsers

2002-12-09 Thread David Graham
I've posted this before but no one replyed, hopefully more luck this time... I have this tag on my jsp: html:javascript formName=searchUserAccountsForm staticJavascript=false/ that should generate the javascript for the form validation. The js only shows in the source for IE, not Opera or

How to switch debug off?

2002-12-09 Thread Zsolt Koppany
After I start tomcat with struts, I see a lot of log messages. How can I switch that off? I mean messages such as: 2002-12-09 21:41:55,536 DEBUG digester.Digester.sax - startElement(,display-name,display-name) [main] 2002-12-09 21:41:55,537 DEBUG commons.digester.Digester - Pushing

getDataSource() compile problem

2002-12-09 Thread Patrick Beagan
Hi. I am trying to connect to an Oracle database for a simple prove-out. I have copied the sample code in the Strut's user guide but am getting compile time errors. Any Ideas? Is there a better resource for Struts example code or DBCP commons examples? I think the list archive search is

RE: How to switch debug off?

2002-12-09 Thread Edgar P. Dollin
Look in web.xml under the init-params for struts. There is a debug level. It is described in the manual. Edgar -Original Message- From: Zsolt Koppany [mailto:[EMAIL PROTECTED]] Sent: Monday, December 09, 2002 3:45 PM To: 'Struts Users Mailing List' Subject: How to switch debug off?

Problem with plug-in tag for tiles in struts-config.xml. Wrong version of struts-config_1_X.dtd ??

2002-12-09 Thread Rémy Giard
Hello, When i query a page for the first time since the server started, i got two errors : 9-Dec-2002 1:44:29 PM org.apache.commons.digester.Digester error SEVERE: Parse Error at line 60 column 60: Element type plug-in must be declared. ... and ... 9-Dec-2002 1:44:29 PM

  1   2   >