AW: [JBoss-user] Struts Exception with beanutils HELP and JBoss 2.2.2Tomcat3.2.2

2001-12-11 Thread storck
That exception only happens if I copy the common-beanutil.jar from struts nighly build 04.11.2001 into the JBOSS/li/ext -Ursprungliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Im Auftrag von Sebastian Hauer Gesendet: Freitag, 7. Dezember 2001 17:06 Cc: Struts User

Re: html:link Tag

2001-12-11 Thread Krishnamoorthy
So what's your problem in this. Ravi Kharse wrote: Hi, I need to achieve some thing using struts tag library html:link page=/viewRequestApprovalDetails.do?Index=1 +bean:message key=Details//html:link html:link page=/viewRequestApprovalDetails.do?Index=2 +bean:message

Re: Servlet : Security

2001-12-11 Thread Krishnamoorthy
Yes its possible to do it. Shri wrote: Hi Struts folks, I know this is not the proper forum to ask this question, but I am tempted ask, as in my experience, I have not found a more active and helpful mailing list than Struts mailing list. I am trying to use Form based authentication

Struts with Jboss

2001-12-11 Thread Felipe F. Palma Dias
Hello. I am using Jboss and Struts. When I place mine .war file in the directory deploy, I obtain to have access mine normally struts, but when I place .war in the archives ear and I place .ear file in the directory deploy it appears the following error: Error: 500

Urgent - Displaying multiple JSP's for a single action without a frame

2001-12-11 Thread B Manikandan
Hi, In my application,the JSP has lot of fields.And when I try to execute the JSP,I get the following error. = java.lang.VerifyError: (class: jsp_servlet/_jsp/_groupsNew, method: _jspService signature: (Ljavax/servlet/http/HttpServ

html:select multiple=true

2001-12-11 Thread Antony
Can anyone tell me how to work correctly with this? If possible, also tell me how to write correspondent form bean. Please, I`m stuck... Regards, Antony

Re: Urgent - Displaying multiple JSP's for a single action without a frame

2001-12-11 Thread Sean Owen
How about making one JSP which includes two smaller halves via jsp:include? html ... jsp:include page=firsthalf.jsp/ jsp:include page=secondhalf.jsp/ ... /html Of course, all of the tags having to do with a form have to be in one of the JSPs; you can't break it across two independent JSPs.

Re: Urgent - Displaying multiple JSP's for a single action without a frame

2001-12-11 Thread Krishnamoorthy
Hi, I think this must have been happened, because of some problem with the .class or .jar files Also, just in case, you should never put resin.jar or a servlet.jar in a WEB-INF/lib. This VerifyError will be thrown when the verifier detects that a class file, though well formed, contains some

Re: Struts and dual forms help!

2001-12-11 Thread Brian Holzer
The mailing list archive is at http://www.mail-archive.com/ then enter struts as your search parameter. I haven't played with templates yet so I can't help with the second question. Brian [EMAIL PROTECTED] 12/11/01 08:15am I think my original questions were lost due to other asking

Re: Struts and dual forms help!

2001-12-11 Thread Keith Bacon
Hi John, http://jakarta.apache.org/struts/userGuide/resources.html has loads of info! find 'mail archive' specifically for that. Not experienced enough to answer your actual question. I'd suggest look at Tiles in the archive. hope this helps. Keith. --- Collard, John [EMAIL PROTECTED] wrote: I

Design question - option lists populated from db

2001-12-11 Thread Rob Parker
I need to create some select option lists that are populated from a database. The call to the database will pass in the current user's id to create customized option lists. Where is the best place to create these option lists? If I create the lists in the user form, how can I pass in the user id?

Re: Struts and dual forms help!

2001-12-11 Thread Krishnamoorthy
Hi, 1. Check this link: http://www.mail-archive.com/cgi-bin/htsearch?restrict=;exclude=;config=struts-user_jakarta_apache_org;method=and;format=short;words=Brian%20Holzer;page=1 2.Actually I couldn't understand your problem, but I will try to answer from what i have understood from your mail:

RE: Please Help! Passing variables with the html:link tag, how do I do this?

2001-12-11 Thread John Regan
Can someone answer this please, i'm stuck. thank you -Original Message- From: John Regan [mailto:[EMAIL PROTECTED]] Sent: Monday, December 10, 2001 1:13 PM To: 'Struts Users Mailing List' Subject: RE: Passing variables with the html:link tag, how do I do this? has anybody answered

Problem with Redirection

2001-12-11 Thread Alvin Kutttikkat Antony
Hello friends, I have a problem redirection Some part of our project they are not using Struts but they have to use the Login.do for validation what happens then after a successfull login it redirects to

access a Collection from JSP page

2001-12-11 Thread Maris Orbidans
hello all I need to pass a Collection from an Action class to JSP form. (to display search results) Which is the best way to do it ? Store a Collection in session ? Maris Orbidans -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL

Re: Design question - option lists populated from db

2001-12-11 Thread Keith Bacon
Rob, Hope this helps - it's from a 'working' system. Ask for more explanations - or better still beat your way thru the struts docs. No escaping it takes time to get your head around this stuff - but it's brill once you get the hang of it! Keith. PS - My code hasnon-standard msg logging the text

RE: Design question - option lists populated from db

2001-12-11 Thread Rob Parker
Thanks - I am doing almost exactly the same thing, but I am running into a problem. If form level validation fails, the action is not called and the lists go out of scope in the jsp page. Are you performing validation in the form? How do you get around this problem? Thanks for taking the time to

Files download

2001-12-11 Thread Thinh Doan
I've seen discussions and examples on file upload. They were very helpful. Thank you. And now for the return trip, are there any examples out there for files download? Appreciate any suggestions and examples. Thank you, Thinh -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For

RE: How to pass beans this way with Struts?

2001-12-11 Thread Frank Lawlor
Frank Lawlor wrote: Because this needs to be open-ended and dynamic, my project managers can easily define a new 'page type' and define the beans they will provide to these client pages. To make this easy to use yet flexible, they use JSPs to define the beans to be passed for any

RE: access a Collection from JSP page

2001-12-11 Thread Ali Amir
hi I am using the same thing, the best way is to create a java.util.ArrayList field in yer Form Bean, and than use the same way as shown in the struts-example, using LabelValueBean, it was worth for us, cuz we are using this feature a lot. cheers Ali -Original Message- From: Maris

RE: access a Collection from JSP page

2001-12-11 Thread Keith Bacon
Hi. I prefer to store beans in request rather than form bean. Action class fetches data from business logic places it in request for jsp to access. This is a simpler structure, only go via the form bean when necessary. When using options type tags the collection is in the request the get/set

RE: Design question - option lists populated from db

2001-12-11 Thread Keith Bacon
Hi Rob, Ah yes - my system is very simple. I'm not an advanced user - as a 'simpleton' I like to have all the validation in my business logic never replicated elsewhere (but I can see the case for javascript validation in the browser, especially if genrated automatically). Putting stuff in the

Re: Design question - option lists populated from db

2001-12-11 Thread Andy Noble
Rob, When I looked into this, I realised that the problem you describe would occur. Given that it occurs, and the list goes out of scope, you've got to either requery the database or store the initial results in the session. I decided to store user specific results in the session - but I'm

RE: Please Help! Passing variables with the html:link tag, how do I do this?

2001-12-11 Thread Melanie Harris
John do you need to use forward? This is what I'm doing to pass parameters via a link, but uses href instead of forward: strutshtml:link href=editUser.do?operation=newUserCreate a New User /strutshtml:link Then in my action class: if ( request.getParameter(operation) != null) { // do

Re: Design question - option lists populated from db

2001-12-11 Thread Will Jaynes
Or, don't do the automatic validation. Set validate='false' in the struts config and then call the validate method explicitly from your action. If it fails you still have the opportunity to fill the dropdown box and forward back to the jsp. Will - Original Message - From: Keith Bacon

RE: Design question - option lists populated from db

2001-12-11 Thread Rob Parker
That is exactly what I needed! Thanks, Rob -Original Message- From: Will Jaynes [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 11, 2001 9:28 AM To: Struts Users Mailing List Subject: Re: Design question - option lists populated from db Or, don't do the automatic validation. Set

Re: converting A HREF to submit...

2001-12-11 Thread Trever M. Shick
With standard html you can do this: input type=hidden name=action value=default a href= onClick=myForm.action.value='link1';myForm.submit() This way, the submitted form will now have a NV pair of action=link1 as well as the rest of the form values. Trever - Original Message - From:

Newbie Question: dynamically setting value in a struts link tag / also dynamically placing value from a JavaBean Collection into a Struts Form attribute.

2001-12-11 Thread Campbell, Sheri
I've got a Struts Action class that calls a method on a JavaBean which performs a SQL and puts resultSet into a Collection. In my .jsp page I am going through the Collection on my JavaBean and using strutsbean:write name=pvb property=empid/ to display the values into a html table. I am

RE: Please Help! Passing variables with the html:link tag, how do I do this?

2001-12-11 Thread Keith Bacon
John, Looks to me that what you have coded will do what you want. Have you tried this found it doesn't work? Keith --- John Regan [EMAIL PROTECTED] wrote: Can someone answer this please, i'm stuck. thank you -Original Message- From: John Regan [mailto:[EMAIL PROTECTED]] Sent:

RE: access a Collection from JSP page

2001-12-11 Thread Mâris Orbidâns
thanx I agree with you :-) Maris -Original Message- From: Keith Bacon [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 11, 2001 6:19 PM To: Struts Users Mailing List Subject: RE: access a Collection from JSP page Hi. I prefer to store beans in request rather than form bean.

logic:present always true ?

2001-12-11 Thread Mâris Orbidâns
These lines between logic:present tags always are printed regardless of name I use in logic:present tag. I had specified scope=request but it didnt help a bit. Any ideas ? Maris Orbidans logic:present name=SearchResultsadasdsadasdasdasd trtd Number: %-- ((java.util.Vector)

RE: Please Help! Passing variables with the html:link tag, how do I do this?

2001-12-11 Thread John Regan
thanks for the response Keith. i just put the parameter in the global forward like the following: forward name=template path=/do/csa/dispatcher?forward=template/ thanks again. -Original Message- From: Keith Bacon [mailto:[EMAIL PROTECTED]] Sent: Tuesday,

Re: logic:present always true ?

2001-12-11 Thread Keith Bacon
%@ taglib uri=/WEB-INF/struts-logic.tld prefix=logic % Have you got the taglib defined as above? Keith. --- Mâris Orbidâns [EMAIL PROTECTED] wrote: These lines between logic:present tags always are printed regardless of name I use in logic:present tag. I had specified scope=request but

Stuts Development Environment for an HTML developer?

2001-12-11 Thread John Regan
right now i am the only one in my shop setup to do struts development(Forte, Tomcat 4.0). i am interested in getting an html developer involved in development, creating static pages that contain struts tags. does this resource need Forte and Tomcat(really hope not!)? what are some different

SendRedirect

2001-12-11 Thread Aung, George
Hi, I am trying to redirect to another web application from my struts web app. Is there any way of specifying this in action mapping section in struts-config so that it would be redirected by ActionServlet when I return the ActionForward? ( wishful thinking perhaps??) action

forwarding to another webapp

2001-12-11 Thread Bono, Chris
Is there any way to forward from one webapp to another? By looking at the code of ActionServlet, the ActionMapping forward attribute is just appened to request.getContextPath(). This doesn't seem correct. Shouldn't you be able to forward from one webapp to another via struts? You can do it in

FORM Authentication to Realm

2001-12-11 Thread David Bolsover
Hi all Can anyone help with these problem? Problem 1 I would like to be able to use the Tomcat JDBCRealm features in concert with struts - the problem is this - how can I provide a hypertext link in an e-mail I send to users that will allow users to log into my struts webapp without having to

Re: Best Struts Web Server

2001-12-11 Thread Peter Georgiou
I'm using Resin and I don't know too much about Orion, but are they not used for different tasks? Resin as a servlet JSP container, and Orion as an app server/ejb container. Can Resin also be used as an EJB container? Peter - Original Message - From: John M. Corro [EMAIL PROTECTED]

Help:Handling Exceptions within Formbean Validate ???

2001-12-11 Thread Greg Callaghan
Hi, With struts how is one supposed to handle exceptions which are caught within the validate method of a formbean? That is, how can you from here go to ones generic error page? Background - I have a case where the form (eg create new X) has some pull down lists which are dynamically

Re: Passing variables with the html:link tag, how do I do this?

2001-12-11 Thread antony
No, I still dont know how to do it. I think maybe struts cannot do this. Can someone please verify if it can or cannot. Regards Antony John Regan wrote: has anybody answered this yet? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Sunday,

jsp:include question

2001-12-11 Thread Frank Ling
Hi There: I had a simple question regarding for jsp:include, I have following code in one of my jsp page: jsp:include page=/listuser.do flush=true/ which listuser.do is another struts action will print out user list. This code was working fun on JRun 3 appserver, but when I move to Tomcat

Re: Passing variables with the html:link tag, how do I do this?

2001-12-11 Thread thart
goto http://jakarta.apache.org/struts/struts-html.html#link and read what it says. You can specify a name and optionally a property parameter to the link tag. These parameters locate a Map with parameter name value pairs that are appended to the url. [EMAIL PROTECTED] writes: No, I still

Help, How to display chinese in jsp by using message tag ?

2001-12-11 Thread Julia Yang
Hi, all Can any one tell me how to use message tag to display Chinese in jsp I have a property file called application_zh.properties which has English at left and Chinese at right for each entry. Example: expression_input.ok= ¹«Ê½ In my jsp I use message tag to find the matched Chinese

Re: Passing variables with the html:link tag, how do I do this?

2001-12-11 Thread antony
Thank you for your very helpful email. I have gone to this page and read it. I have tried html:link forward=bbs paramId=page paramName=next but always get the error that bean next cannot be found, which is understandable and expected from what the web page for html:link says. From

RE: Help, How to display Chinese in jsp by using message tag ?

2001-12-11 Thread Jeff Martin
Are you sure it has found the file? If, for example, you change the Chinese to English (i.e. expression_input.ok=ok), does the ok come out? If yes, does Chinese have to be quoted or somehow escaped within the file? Also, check that you are setting the page content type correctly (%@ page

How can I assign a value from a bean:write tag to a variable?

2001-12-11 Thread antony
Hello I have a bean:write tag bean:write name=messagestag property=messageId filter=true/ And want to assign this value to a variable I can use it in a scriptlet,ie I want to do somehthing like % String messageId= bean:write name=messagestag property=messageId filter=true/ ; String

RE: How can I assign a value from a bean:write tag to a variable?

2001-12-11 Thread George M. Coles
Hi Tony, you could get the value of the bean referenced in your bean:write tag in scriptlet code by looking up the object that is keyed to the bean's name in the pageContext, and then assign it to your second variable. I think yoiu might do it like this: %! Object message; % %

Re: converting A HREF to submit...

2001-12-11 Thread Krishnamoorthy
Hi, Just in your onClick call a some method with a parameter and inside that method you check the condition that's all. Cheer's Kicha Marcelo Caldas - CCSC wrote: Hi, Someone knows a way to convert a A HREF linK into a form submit I know that I can use A HREF=... onClick=submit(), but my

Re: Passing variables with the html:link tag, how do I do this?

2001-12-11 Thread Jay Sissom
How about doing it this way? bean:define value=next id=nextBean html:link forward=bbs paramId=page paramScope=page paramName=nextBean I haven't tested this. From reading the documentation, this is the first thing I would try... Jay - Original Message - From: [EMAIL PROTECTED] To:

Re: Passing variables with the html:link tag, how do I do this?

2001-12-11 Thread antony
Thanks for all the help people, I can now successfully pass one variable. How can I pass more that one variable? Cheers Tony Jay Sissom wrote: How about doing it this way? bean:define value=next id=nextBean html:link forward=bbs paramId=page paramScope=page paramName=nextBean I

Reg. NavBar

2001-12-11 Thread saisrinivas
Hi, I'm about to gearup for an Insurance project. I'm newbie to struts. In our project we would like to have common navbar with role-based for ex. underwriter,exceptionmanager(assume data is there). How could we do in struts perspective. Regards Srini -- To unsubscribe, e-mail:

Re: Passing variables with the html:link tag, how do I do this?

2001-12-11 Thread Volker Krebs
[EMAIL PROTECTED] wrote: Thanks for all the help people, I can now successfully pass one variable. How can I pass more that one variable? Hi, I've read this in the struts examples that come with the source code. % java.util.HashMap newValues = new java.util.HashMap();