Problem using bean:define tag

2003-10-01 Thread Marimuthu Saravanan
Hi, I am getting a error while using bean:define tag ( Struts 1.1).Here is the code snippets. Action class: Setting value in the request attribute request.setAttribute( field1, countryCode); Jsp: %@ page language=java % %@ taglib uri=/WEB-INF/struts-html.tld

RE: Problem using bean:define tag

2003-10-01 Thread Parthasarathy Kesavaraj
y u r using %= fieldxyz %.u can use bean:write name=fieldxyz/ no? -- From: Marimuthu Saravanan[SMTP:[EMAIL PROTECTED] Reply To: Struts Users Mailing List Sent: Wednesday, October 01, 2003 12:00 PM To: [EMAIL PROTECTED] Subject: Problem using

Incompatible object argument for method call

2003-10-01 Thread Abhijeet Mahalkar
I am stuck with the following error while invoking the simple jsp file which contains few tags... Please Suggest the solutions as early as possible.. [10/1/03 12:17:08:156 IST] 6589a06b WebGroup E SRVE0026E: [Servlet Error]-[#40;class: org/apache/struts/taglib/logic/MessagesPresentTag,

Re: CTRL-N should not work in different machine...

2003-10-01 Thread Abhijeet Mahalkar
for this you have to trap the CTRL-N key event through HTML tags. GOTO http://www.javaworld.com/javaworld/jw-12-2001/jw-1221-xslt.html? link . search you will get the solution. abhijeet - Original Message - From: Prashanth.S [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday,

RE: Incompatible object argument for method call

2003-10-01 Thread Rohit_Arora
There seems to be an error in the use of tags in the JSP ! Have you used the logic: tag ... If yes kindly check it usage Regards, Rohit -Original Message- From: Abhijeet Mahalkar [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 01, 2003 12:21 PM To: Struts Users Mailing List

RE: CTRL-N should not work in different machine...

2003-10-01 Thread Andrew Hill
eh? Thats something about XSLT -Original Message- From: Abhijeet Mahalkar [mailto:[EMAIL PROTECTED] Sent: Wednesday, 1 October 2003 14:54 To: Struts Users Mailing List Subject: Re: CTRL-N should not work in different machine... for this you have to trap the CTRL-N key event through HTML

Re: Servlet action is currently unavailable

2003-10-01 Thread Max Cooper
The container knows to look for the servlet that you have named 'action', so at least the servlet-mapping element is present. Are you sure that you have a servlet element in your web.xml for the Struts action servlet, and that it's servlet-name is 'action' (without the quotes)? Assuming you do

Character Encoding

2003-10-01 Thread Stephan Wiesner
Hi, I have a web application that needs to support arabic, so I use UTF8 for encoding: %@ page language=java contentType=text/html; charset=UTF-8% This leads to some characters beeing displayed wrong (works fine with Latin-1), like the German 'Ü'. However I can mix them if I write them like

Using multiple validators on one jsp

2003-10-01 Thread Brian McSweeney
Hi all, Say I have a jsp that takes two input parameters - one is an email and the other is a credit card. However I have two submit buttons, so if you enter the email, it runs Action 1, and if you enter The credit card it runs Action 2. I want to use the validator to validate the parameters

Re: Using multiple validators on one jsp

2003-10-01 Thread Veerendra . Jote
Hi Brain, Though it is possible, I would advise you to use a button and call a function to submit the required form. Secondly You need to be careful of having a single input element of type text in out form since, a Enter key press in that would submit the form. Take actions accordingly. I

RE: Character Encoding

2003-10-01 Thread Remke Rutgers
Hi Stephan, The instruction you use to force UTF-8 looks fine to me, so I don't know why it does not work. This is the way we do it in several web applications too. They are non-public sites, so I am sorry I can not simply let you try them out. Manual transformation should not be necessary.

RE: Using multiple validators on one jsp

2003-10-01 Thread Brian McSweeney
Hi Veerendra, Thanks for the reply. If there is no clean way to do what I'm looking for in Struts, then I will look into writing my own methods to validate. However if it can be done using the validator I would prefer it. Thanks for the email though, Perhaps someone else will know if it's

Re: an exception problem!!!

2003-10-01 Thread khabot zakaria
How to resolve it? thanks. - Original Message - From: Adam L [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, October 01, 2003 3:02 AM Subject: Re: an exception problem!!! the source of the problem is detailed in

Re: [POLL] ActionFrom vs DynaActionForm

2003-10-01 Thread Vic Cekvenic
+1 ActionForms. On of the benefits of Modular/MVC programing is that you can unit test a module, before integrating it. .V Andrew Hill wrote: Call me old fashioned but I always use good old hand coded ActionForms. Guess I like having something my compiler can get its teeth into. :-) Now that

RE: an exception problem!!!

2003-10-01 Thread shishir.katdare
Exception creating bean of class mypackage5.Book: {1} I guess either the bean is not present in the proper package so the process is not able to load the class and create the same or there is some problem in defining the jsp and properties on the same. -Original Message- From: khabot

Re: Character Encoding

2003-10-01 Thread Stephan Wiesner
Hi Remke, thanks for the link to the tool, quite useful. The header is correct in my case, though. Here is a simple source example: String original = new String(A'lü[\u05E9]); String out1 = new String(original.getBytes(), UTF8); out.println(Original: + original + br /UTF-8: );

Cannot create a DynaValidatorForm

2003-10-01 Thread Frederic Dernbach
Hello, I cannot get the DynaValidatorForm to work. It does not do anything. In struts-config.xml, I declared the form bean as : form-bean name=strategyListForm type=org.apache.struts.validator.DynaValidatorForm form-property name=itemCount

RE: CTRL-N should not work in different machine...

2003-10-01 Thread Prashanth.S
Hi, Thanks for the solution..Actually my problem is if i copy paste my application url from my machine and use it on other machine it still lets user to go through the application but instead it should invalidate by giving session time out error...So what to do??? Waitinf gor reply Prashanth

RE: CTRL-N should not work in different machine...

2003-10-01 Thread shishir.katdare
Try using the login as form based authentication in web.xml and it will not let the user to get by doing a CTRL-N -Original Message- From: Prashanth.S [mailto:[EMAIL PROTECTED] Sent: 01 October 2003 10:16 To: Struts Users Mailing List; [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject:

RE: Character Encoding

2003-10-01 Thread Brian McSweeney
Sounds suspiciously like your database isn't configured for UTF-8 -Original Message- From: Stephan Wiesner [mailto:[EMAIL PROTECTED] Sent: 01 October 2003 09:13 To: Struts Users Mailing List Subject: Re: Character Encoding Hi Remke, thanks for the link to the tool, quite useful. The

RE: CTRL-N should not work in different machine...

2003-10-01 Thread Prashanth.S
Hi, actually my problem is not ctrl-N..i just wanted to say the same url as u get when u press ctrl-N like i explain below... I want to show session expired message if any other user tries to use the same url as iam using...its like u r browsing through yahoo mail and u give the entire url to

RE: CTRL-N should not work in different machine...

2003-10-01 Thread Andrew Hill
Yep - because its the same sessionId and the session hasnt timed out yet (cos the first client is still playing with it). The server doesnt know the difference between a request from client A and client B except for the fact that they have a different sessionId. In fact this is what is known as

RE: CTRL-N should not work in different machine...

2003-10-01 Thread vellosa
If I'm not mistaken yahoo uses cookies as well to store your user information. Therfore copying just the URL will not work. Also using the CTRL-N thing is dependant upon the browser you use. I think that IE will keep all the session infomation in the new window, but Netscape starts up a

RE: CTRL-N should not work in different machine...

2003-10-01 Thread Andrew Hill
snip I think that IE will keep all the session infomation in the new window, but Netscape starts up a complete new session /snip Thats if your using cookies. I think Prashanth is using url encoding here which keeps the session id number as part of the url itself. (And means its also copied) ie:

Urgent help reqd Stuck..!! - Getting a value String[] from a Form Bean

2003-10-01 Thread Chawla, Yogesh
Hi, My form bean contains the following get set methods : setRate(String[] rate) { rate = this.rate; } public String[] getRate() { return rate (which is the String[]) } Also one int variable (counter) which stores the no. of elements in the Array. public int counter() { return

RE: CTRL-N should not work in different machine...

2003-10-01 Thread Prashanth.S
Hi andrew, Thank u very much for ur reply...I just wanted to know what is CMA ???...and even though iam using https its not encrypting anything???Why is it so... Thanks Prashanth Andrew Hill [EMAIL PROTECTED] wrote: Yep - because its the same sessionId and the session hasnt timed out yet (cos

Re: Can I Get the Index Value of Selected Option?

2003-10-01 Thread Paul Thomas
On 01/10/2003 05:27 Shane Mingins wrote: Hi What is the best method to display a collection of items in a list to allow the user to select an item that is then passed on to some other action or process? For example, if I was creating a Swing UI then I can use a JList and call the

Re: [OT] JAVA_OPTS option starting Catalina/JBoss?

2003-10-01 Thread Paul Thomas
On 30/09/2003 23:09 Mick Knutson wrote: sorry for the OT message... I have been suggested to add -Xrs to JAVA_OPTS to help with Catalina shutting down on me after 30 minutes of inactivity. Do I just add JAVA_OPTS=-Xrs to my global profile in /etc/profile and Catalina will automatically add those

RE: Urgent help reqd Stuck..!! - Getting a value String[] from a Form Bean

2003-10-01 Thread shirishchandra.sakhare
You can use the Logic:iterate tag...Inside that you can uye any HTMl tag you want... Also have a look at nested tags ...They will help you. Why are you using the Arry and all this a bit difficult syntax?Why not use a list instead?Then you dont have to keep worrying about setting the counter

RE: Urgent help reqd Stuck..!! - Getting a value String[] from a Form Bean

2003-10-01 Thread Chawla, Yogesh
I am using Struts 1.0 and therefore do not have access to nested tags ! String[] as far as I understand is the lightest memory component here, so looking at the performance side, had opted for that one.. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent:

RE: Urgent help reqd Stuck..!! - Getting a value String[] from a Form Bean

2003-10-01 Thread Chawla, Yogesh
How to use the logic.iterate tag in this case - can let me know.. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 01, 2003 3:41 PM To: [EMAIL PROTECTED] Subject: RE: Urgent help reqd Stuck..!! - Getting a value String[] from a Form Bean You

Re: [POLL] ActionFrom vs DynaActionForm

2003-10-01 Thread Adam Hardy
DynaActionForm +1 On 09/30/2003 06:52 PM Mainguy, Mike wrote: Next in my series of struts-user polls (please complain if this gets old). What sort of ActionForms does everyone use? #1 ActionForm #2 DynaActionForm Personally, I'm an advocate of the DynaActionForm as it seems to be able to do

RE: Urgent help reqd Stuck..!! - Getting a value String[] from a Form Bean

2003-10-01 Thread Mark Galbreath
1. setRate() isn't doing a thing. 2. use JSTL to iterate over the array using c:forEach after setting a page-scoped variable containing the array: c:set var='arrayValues' value='${pageScope.request.myForm.rate}'/ tr c:forEach items='$(arrayValues)' var='item' td c:out

Re: [POLL] ActionFrom vs DynaActionForm

2003-10-01 Thread Adam Hardy
I remember a while back I think it was Mark made an excellent post about his problem with ActionForms that went along the lines of 'Old Macdonald had an ActionForm'. Well basically I think the problem was he had edited an existing ActionForm and messed up the getter / setter so that his JSP

[Question] : Close popup after Action has exited...

2003-10-01 Thread Todor Sergueev Petkov
Hi, Does somebody know how I can close a popup window for which I have ActionForms and Action when some method in the action has performed its job ( exited )? Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[OT] So, you think your job sucks?

2003-10-01 Thread Mark Galbreath
http://www.popsci.com/popsci/science/article/0,12543,484153,00.htm - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: [POLL] ActionFrom vs DynaActionForm

2003-10-01 Thread Andrew Hill
That was me and it was over a year ago when I was a struts newbie... -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Wednesday, 1 October 2003 18:33 To: Struts Users Mailing List Subject: Re: [POLL] ActionFrom vs DynaActionForm I remember a while back I think it was

RE: [POLL] ActionFrom vs DynaActionForm

2003-10-01 Thread Mark Galbreath
That's fine if, of course, you subscribe to the school of thought prescribing a pre-code test (which I do not). Mark -Original Message- From: Vic Cekvenic [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 01, 2003 3:06 AM To: [EMAIL PROTECTED] Subject: Re: [POLL] ActionFrom vs

RE: [Question] : Close popup after Action has exited...

2003-10-01 Thread Andrew Hill
I do this by having the action forward to some html page with a little javascript that closes the window. -Original Message- From: Todor Sergueev Petkov [mailto:[EMAIL PROTECTED] Sent: Wednesday, 1 October 2003 18:38 To: Struts Users Mailing List Subject: [Question] : Close popup after

Re: [Question] : Close popup after Action has exited...

2003-10-01 Thread khote
in your form onSubmit=self.close(); or document.window.close() or try variations on that. Sometimes the browser will complain about, I'm not sure which one gets you past that. - Original Message - From: Todor Sergueev Petkov [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL

Re: How To Use Connection Pooling in Struts 1.1?

2003-10-01 Thread Adam Hardy
Hi Caroline, ideally you should keep your connection related objects in your business / model layer since it has nothing to do with the view or controller parts of your app. You can utilise the same tomcat JNDI set-up for the connection pool. Struts does have its own connection pooling

RE: [POLL] ActionFrom vs DynaActionForm

2003-10-01 Thread Andrew Hill
I subscribe to that school. I believe everything should have a unit test. Its a very good school... ...I just happen to be playing truant today. -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED] Sent: Wednesday, 1 October 2003 18:41 To: Struts Users Mailing List Subject:

Re: [Question] : Close popup after Action has exited...

2003-10-01 Thread Raphaël di Cicco
forward to a second page that self closes BODY onload=javascript:window.close(); - Original Message - From: khote [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, October 01, 2003 12:38 PM Subject: Re: [Question] : Close popup after Action has exited...

Re: Character Encoding

2003-10-01 Thread Adam Hardy
Hi Stephan, I think the attachment got stripped off by the list server. On 10/01/2003 11:12 AM Stephan Wiesner wrote: Hi Remke, thanks for the link to the tool, quite useful. The header is correct in my case, though. Here is a simple source example: String original = new String(A'lü[\u05E9]);

Re: [Question] : Close popup after Action has exited... -- SOLVED

2003-10-01 Thread Todor Sergueev Petkov
Thanks a lot - the redirect to a page and onload=window.close() works very well.. Raphaël di Cicco wrote: forward to a second page that self closes BODY onload=javascript:window.close(); - Original Message - From: khote [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED]

RE: [POLL] ActionFrom vs DynaActionForm

2003-10-01 Thread Mark Galbreath
Reread my post, you illiterate pseudo-limey! -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 01, 2003 6:45 AM To: Struts Users Mailing List Subject: RE: [POLL] ActionFrom vs DynaActionForm I subscribe to that school. I believe everything should

RE: [POLL] ActionFrom vs DynaActionForm

2003-10-01 Thread Mark Galbreath
when? -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 01, 2003 6:39 AM To: Struts Users Mailing List Subject: RE: [POLL] ActionFrom vs DynaActionForm That was me and it was over a year ago when I was a struts newbie... -Original Message-

Re: Cannot create a DynaValidatorForm

2003-10-01 Thread Adam Hardy
Hi Fred, what happens if you set the field type to String? If that fails validation for an integer when you enter non-integer text, it will prove that the validator is being invoked and you can go on from there. Adam On 10/01/2003 11:13 AM Frederic Dernbach wrote: Hello, I cannot get the

Re: [POLL] ActionFrom vs DynaActionForm

2003-10-01 Thread Ted Husted
I know you guys are used to joshing each other, but let's still observe the rule that while we might disrespect a technology choice, but we don't disrespect the person making the choice. Of course, anyone who knows Mark and Andrew knows this exchange is all in good fun, but all of this gets

Re: Cannot create a DynaValidatorForm

2003-10-01 Thread Pratik Patel
In validation.xml I added the following : form-validation formset form name=strategyListForm field property=itemCount depends=required, integer arg0 key=rubis.common.fieldname.itemcount/

RE: [POLL] ActionFrom vs DynaActionForm

2003-10-01 Thread Andrew Hill
http://marc.theaimsgroup.com/?l=struts-userm=102696975022454w=2 -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED] Sent: Wednesday, 1 October 2003 18:59 To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: [POLL] ActionFrom vs DynaActionForm when? -Original

html:link and JspWriter

2003-10-01 Thread sreekant_gottimukkala
Please have a look at the piece of code below %@ taglib uri=/WEB-INF/struts-html.tld prefix=html % %! void showMenu(JspWriter out) { for(int i=1; i10; i++) { out.print(html:link action= + i + + i +

RE: [OT] ActionFrom vs DynaActionForm

2003-10-01 Thread Mark Galbreath
At the time, I couldn't think of a suitably rude-enough disparaging remark for an expatriate Aussie. Nevertheless, for posterity's and newbies' sakes, we do kid each other here from time-to-time and no real personal attacks are tolerated. That being said, Andrew, I never have liked you. Mark ;-)

Re: Character Encoding

2003-10-01 Thread Stephan Wiesner
Hmh, so it seems. Can't present the result in plain text, but the results are wrong and the usage of new String(original.getBytes(), UTF8); leads to a different result. Adam Hardy wrote: Hi Stephan, I think the attachment got stripped off by the list server. On 10/01/2003 11:12 AM Stephan

RE: [OT] ActionFrom vs DynaActionForm

2003-10-01 Thread Mark Galbreath
Don't quit yer day job - the Malaysian Poet Laureate position is probably tentative at best. -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 01, 2003 7:10 AM To: Struts Users Mailing List Subject: RE: [POLL] ActionFrom vs DynaActionForm

Re: [POLL] ActionFrom vs DynaActionForm

2003-10-01 Thread Pratik Patel
+1 ActionForms -1 Dyna*Forms Brandon Goodin wrote: #1 Reasons: -Dynas massive struts configs are annoying and the runtime errors bite. -DynaForm time saving is insignificant (how long does it take for your ide to generate getters/setters?). snip more reasons: - Easy to copy properties from

html:image and image swap

2003-10-01 Thread koen boutsen
Hi I use html:img bundle=imageBundle pageKey=img.salesrep.delete / and get the image out of a resource file. If the cursor moves over the image, I want to switch the image via the onMouseOver event. Does anyone know how I can do this. The new image has to come out of the resource file. I

RE: [POLL] ActionFrom vs DynaActionForm

2003-10-01 Thread Andrew Hill
IDE code completion is certainly one of my favorite reasons for using a real form :-) Actually doesnt copyProperties() also work with dynaforms? -Original Message- From: news [mailto:[EMAIL PROTECTED] Behalf Of Pratik Patel Sent: Wednesday, 1 October 2003 19:29 To: [EMAIL PROTECTED]

RE: [OT] ActionFrom vs DynaActionForm

2003-10-01 Thread Andrew Hill
hmmm... perhaps they need a section on Mark me in the FAQ? ;-) -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED] Sent: Wednesday, 1 October 2003 19:22 To: Struts Users Mailing List Subject: RE: [OT] ActionFrom vs DynaActionForm At the time, I couldn't think of a

RE: [POLL] ActionFrom vs DynaActionForm

2003-10-01 Thread Mainguy, Mike
BeanUtils.copyProperties also works with DynaForms (They implement DynaBean and BeanUtils treats them (for the most part) as POJB's (c). I will concede that code completion is a definite plus. My only counter to that would be that, if I'm simply copying all my properties to another class (Torque

RE: [POLL] ActionFrom vs DynaActionForm

2003-10-01 Thread Andrew Hill
snip if I'm simply copying all my properties to another class (Torque Object, EJB, Business Object of some sort) why would I ever need code completion for my action forms /snip Indeed, under such situations you would likely be better of with dynaforms. IMHO The real advantages of writing an

Re: [POLL] ActionFrom vs DynaActionForm

2003-10-01 Thread Adam Hardy
Yes as long as you don't need locale-specific date and number conversion. On 10/01/2003 01:35 PM Andrew Hill wrote: IDE code completion is certainly one of my favorite reasons for using a real form :-) Actually doesnt copyProperties() also work with dynaforms? -Original Message- From:

Re: Character Encoding

2003-10-01 Thread Adam Hardy
On a page encoded with UTF-8, I am showing the proper ü and presumably the correct character after it on the 'original' line, but in the second line, I just get ? for both. On 10/01/2003 01:22 PM Stephan Wiesner wrote: Hmh, so it seems. Can't present the result in plain text, but the results

Re: Character Encoding

2003-10-01 Thread Adam Hardy
PS The second character looks like a U, but the left hand upright is forked. On 10/01/2003 01:22 PM Stephan Wiesner wrote: Hmh, so it seems. Can't present the result in plain text, but the results are wrong and the usage of new String(original.getBytes(), UTF8); leads to a different result.

Problem with Validator with Nightly Build (2003-09-30)

2003-10-01 Thread dutrieux
Hello everyBody, I found a problem with the last Nightly Build (2003-09-30) with the Validator. If I try the "struts-validator" example (found in this build) and test the "Registration" example, you get this error message for each mandatory record : 1 oct. 2003 14:05:03

Re: [POLL] ActionFrom vs DynaActionForm

2003-10-01 Thread Nick
So why can't you write a unit test for Dyna*Forms? It's easy to load the struts-config.xml and create the necessary form beans for out-of-container testing. On Wed, Oct 01, 2003 at 06:45:22PM +0800, Andrew Hill wrote: I subscribe to that school. I believe everything should have a unit test.

Re: Problem with Validator with Nightly Build (2003-09-30)

2003-10-01 Thread dutrieux
Just a other information : if you modify in the "validator-rules.xml" file for each method parameter "org.apache.struts.action.ActionErrors" to org.apache.struts.action.ActionMessages" : the problem disapear and that work now perfectly. Olivier Dutrieux dutrieux a crit: Hello

[ot] mod_jk, mod_jk2, mod_webapp virtual hosting

2003-10-01 Thread Mark Lowe
Okay sorry to send this to this list but I'm not getting much joy out of the tomcat lists. So.. I've apache 2.0.47, tomcat 4.1.27, tomcat connectors src 4.1.27. I've compiled mod_jk, mod_jk2 and mod_webapp.. Now i've had all three running so i've a choice, but only in such a way that the

Re: CTRL-N should not work in different machine...

2003-10-01 Thread Abhijeet Mahalkar
hi prashanth http://www.javaworld.com check this and try HTML page EVENTS in that some questions are also answered please search in this site this will definitely help u out. I can't spare time otherwiese i could have given proper cod eto you. if u can wait for next day then i can... regards

It's Really Urgent .

2003-10-01 Thread Abhijeet Mahalkar
I am stuck up with the following problem from last so much time. and not able to deploy war file into the websphere 5.0 server. please GUIDE ASAP abhijeet [10/1/03 16:02:44:797 IST] 15433d06 SystemOut O register('-//Apache Software Foundation//DTD Struts Configuration 1.0//EN',

It's Really Urgent .

2003-10-01 Thread Abhijeet Mahalkar
- Original Message - From: Abhijeet Mahalkar [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, October 01, 2003 4:09 PM Subject: It's Really Urgent . I am stuck up with the following problem from last so much time. and not able to

Websphere Struts -war Deployment problem...

2003-10-01 Thread Abhijeet Mahalkar
While depoloying one war file i am getting the following error in websphere will anybody guide me. [10/1/03 15:20:07:391 IST] 51ddb8cf WebGroup I SRVE0180I: [ANMEJB.war] [/ANMEJB] [Servlet.LOG]: action: init [10/1/03 15:20:07:406 IST] 51ddb8cf WebGroup I SRVE0180I: [ANMEJB.war]

Re: CTRL-N should not work in different machine...

2003-10-01 Thread Abhijeet Mahalkar
You have to craete one jsp file in which you will accept the session value and forward the request to the respective page. (e.g. amon.jsp) the session will contains paramstring the value of this will be your request.getRequestURI(). in your every jsp page before doing any calculation you have

[FRIDAY] (early) The Race

2003-10-01 Thread Mark Galbreath
Arianna just dropped out of the race for governor, so this URL will probably go down soon: http://votearianna.com/movie Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: It's Really Urgent .

2003-10-01 Thread shirishchandra.sakhare
Search the mail archive...There are some similiar messages.. http://www.mail-archive.com/[EMAIL PROTECTED]/msg02044.html or try this user archive.. http://marc.theaimsgroup.com/?l=struts-user -Original Message- From: Abhijeet Mahalkar [mailto:[EMAIL PROTECTED] Sent: Wednesday, October

OT: NJMVCOpensource SIG study group for Struts/JSF

2003-10-01 Thread Menke, John
The NJMVCOpenSource group will be beginning an intensive study into JSF and it's integration with Struts at it's next meeting. The study plan is being formulated now if anyone would like to attend please see http://groups.yahoo.com/group/njmvcopensource Comments should be directed to the list

offloading images and taglibs

2003-10-01 Thread Dan Allen
In my current position we are developing an application which lives on two different urls, one for public pages (content) and another for backend account access and content management. They both use the same templates and should look and feel as if there is no transistion. The problem is, the

html:image swapping

2003-10-01 Thread koen boutsen
Hi I use html:img bundle=imageBundle pageKey=img.salesrep.delete / and get the image out of a resource file. If the cursor moves over the image, I want to switch theimage via the onMouseOver event. Does anyone know how I can do this. The new image has to come out of the resource file. I

Editorial on Struts' Long Term Future

2003-10-01 Thread jlord
You may find this editorial on J2EE/JSF/Struts interesting. http://www.sdtimes.com/opinions/guestview_087.htm - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Cannot find message resources under key org.apache.struts.action.MESSAGE

2003-10-01 Thread Hari Om
I am using IntelliJ 3 for my JSP/Servlets and Struts application. I have my application directory structure as follows: C:\strutsShop -- home directory for my application C:\strutsShop\src\books\*.class C:\strutsShop\WEB-INF\lib\struts.jar C:\strutsShop\WEB-INF\struts*.tld

RE: Validator problem: html:messages tag and NullPointerException

2003-10-01 Thread Davide Bruzzone
Doh! Answered my own question: The page/form in question is using a combination of custom (i.e. using the validate method) and Validator validation, and one of the message keys in my own validate method was incorrect (i.e. The method was looking for a key that didn't exist). Cheers... Dave

Deploying web app (.ear = .jar + .war) under Weblogic with Struts

2003-10-01 Thread Marco . Piana
Hello everyone, this looks pretty like the mail posted by Navneet Saraogi a couple of months ago. I am trying to deploy a .ear application under Bea Weblogic 7.0 using Struts 1.1. What happens (funny) is that if I deploy my webapp.war (containing the web module and Struts library) and

RE: Editorial on Struts' Long Term Future

2003-10-01 Thread Andrew Hill
Yep. Quite interesting. Sorry if its a bit rambling - dont have time to edit it - but heres my 2 cents worth: The article doesnt mention it but Scioworks is the company behind Camino , a powerful RAD tool for struts so its a good bet to say that he certainly knows the technology and the area

Re: Deploying web app (.ear = .jar + .war) under Weblogic with Struts

2003-10-01 Thread inez . weytens
Marco, I seem to recall we've had a similar problem and we solved it by removing struts.jar from the war and putting it next to the war in the ear. Afterwards when we included struts.jar in the MANIFEST of the war everything worked fine. Hope this can help, Inez, Belgium

Re: Cannot find message resources under key org.apache.struts.action.MESSAGE

2003-10-01 Thread Caroline Lauferon
In my JSP Page I display a Hello message. If it is US..it should display HI and if it is French it displays BONJOIR Basically I ma using MESSAGE. In my ApplicationResources_en.properties I have: index.html=Hi and in In my ApplicationResources_fr.properties I have: index.html=BONJOIR So,

Re: Problem with Validator with Nightly Build (2003-09-30)

2003-10-01 Thread Robert Leland
I just checked in the change to CVS and it will be in the 2003-10-02 build of struts. Next time you could use Bugzilla ? http://nagoya.apache.org/bugzilla/ It only takes a minute to get an account. Thanks for reporting the bug !!! -Rob dutrieux wrote: Just a other information :

RE: Editorial on Struts' Long Term Future

2003-10-01 Thread Menke, John
He seems to infer that Struts and JSF will not be compatable... this is not true right??? Sadly, JSF is not backward compatible with Struts. I seem to remember Craig stating that Struts and JSF will be able to coexist. -jm -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

Re: Editorial on Struts vs JSF

2003-10-01 Thread Vic Cekvenic
Many MVC frameworks market themselves with we are like Struts, only better, as does JSF. -RI JSF is not open source, so if rendering does not emit HTML that supports your/browser needs,... -Also JSF implies that Java developers are doing more UI, something that a Graphic Artist does for my

Re: [POLL] ActionFrom vs DynaActionForm

2003-10-01 Thread Robert Leland
Adam Hardy wrote: Yes as long as you don't need locale-specific date and number conversion. So would this be a bug that needs to be addressed ? Does copyProperties have a method that takes a locale. On 10/01/2003 01:35 PM Andrew Hill wrote: IDE code completion is certainly one of my favorite

RE: Editorial on Struts' Long Term Future

2003-10-01 Thread Ed Yu
I totally agree with Andrew. Remember we said COBOL should be dead by now (that's what I said over 12 years ago)? To me, the most important thing is to deliver to my clients what works. With all the Struts users out there, I bet you it will have a life far longer than any one of us would

RE: Deploying web app (.ear = .jar + .war) under Weblogic with Stru ts

2003-10-01 Thread naveen . joshi
We have pretty similar ear file for our application and it works fine. check if your struts.jar is in WEB-INF\lib folder. -Original Message- From: David.Karr [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 01, 2003 11:28 AM To: struts-user Subject: RE: Deploying web app (.ear = .jar

RE: Deploying web app (.ear = .jar + .war) under Weblogic with Stru ts

2003-10-01 Thread Varun Garg
I have the ejb's and the war working without making the duplicate jar files. Basically put in a MANIFEST.MF file with the classpath in three places and it works for me. Basically move all the common jars to the root of the ear. Root of the ear looks like ejb.jar app.war struts.jar etc.jar

Dynamically populating tile lists at runtime for menus - Is it possible?

2003-10-01 Thread Joanne L Corless
Hi, I am in the process of building a Struts/Tiles application that needs to be able to dynamically construct menu lists when the user logs in. For instance a user may belong to the base user role, therefore a single tab should be displayed but he could also belong to an admin role, therefore 2

problem using html:select

2003-10-01 Thread Carlos Llona
Hello: This is my litle problem I make a sample in struts that register data from the users, this data is save in one table (Users), the JSP have a field call Cargo (I'm from southamerica - cargo is like a ocupation), in this field the user enter the ocupation manualy, but now I want that

Re: Cannot find message resources under key org.apache.struts.action.MESSAGE

2003-10-01 Thread Hari Om
Thanks Caroline. Actually the file names were ApplicationResources_en.properties and ApplicationResources_fr.properties but still getting the same eroorany other hints? From: Caroline Lauferon [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users

Question about minimizing javascript loaded into web page

2003-10-01 Thread Nicholas L Mohler
I apologize if this is a question that has already been addressed, but I've not been able to find an answer... We have implemented the validation framework into our webapp and it works well. We have noticed that all of the validation javascript is loaded into the web page, even if the

Re: html:image swapping

2003-10-01 Thread Frank Maritato
You will have to write your own taglib to do this. I wrote one that extended org.apache.struts.taglib.html.ImgTag and just added the call to RequestUtils.message to get the image location from the resource key and then output the onmouseover and onmouseout tags. Take a look at the source for

Cannot find message resources under key org.apache.struts.action.MESSAGE

2003-10-01 Thread Hari Om
My struts.xml file has: message-resources parameter=ApplicationResources.properties /

Re: [POLL] ActionFrom vs DynaActionForm

2003-10-01 Thread Craig R. McClanahan
Nick wrote: So why can't you write a unit test for Dyna*Forms? It's easy to load the struts-config.xml and create the necessary form beans for out-of-container testing. This approach would be even easier if Struts provided some mock objects infrastructure with premade utility classes that

Re: CTRL-N should not work in different machine...

2003-10-01 Thread Craig R. McClanahan
Andrew Hill wrote: snip I think that IE will keep all the session infomation in the new window, but Netscape starts up a complete new session /snip Thats if your using cookies. For IE, it also depends on the setting of your browse in a new process (or something like that) setting -- it's not an

  1   2   >