Spam:: getting error when i m trying to make database connection

2007-05-08 Thread Shshir
org.apache.catalina.core.StandardContext loadOnStartup SEVERE: Servlet /registration threw load() exception java.lang.NoClassDefFoundError: org/apache/commons/pool/impl/GenericObjectPool - To unsubscribe, e-mail: [EMAIL

getting error when i m trying to run webapp

2007-05-08 Thread 王悬
Unable to find 'display' forward. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: FileName characters.

2007-05-08 Thread Antonio Petrelli
2007/5/8, Kapil Sharma [EMAIL PROTECTED]: Hii I am using struts, jboss 4.0.1 and downloading file from the JSP as an atachment.. My file has japanese and chinese characters... The problem is that when i m directly opening this file on the fly from the Dialog box by clicking on the open

RE: FileName characters.

2007-05-08 Thread Kapil Sharma
1. My browser is IE 6.0 and OS is windows 2000 professional 2. The attachment dialog box shows correct filename. Also saving the file to my local disk also is correct But when i try to open the file directly on clik of open button from dialog box, the name is %xx 3. fileName = new

Re: disable back button

2007-05-08 Thread Laurie Harper
jalal udeen wrote: how to disable back button Unplug the mouse... ;-) L. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: disable back button

2007-05-08 Thread Antonio Petrelli
2007/5/8, Laurie Harper [EMAIL PROTECTED]: jalal udeen wrote: how to disable back button Unplug the mouse... ;-) Or paint an X on the back button on your monitor :-P Anyway, if you google disable back button in google, you can find what you need (or what you don't expect :-) ) Antonio

Re: FileName characters.

2007-05-08 Thread Antonio Petrelli
2007/5/8, Kapil Sharma [EMAIL PROTECTED]: 2. The attachment dialog box shows correct filename. Also saving the file to my local disk also is correct But when i try to open the file directly on clik of open button from dialog box, the name is %xx I see, but does the program that you use to

Re: getting error when i m trying to run webapp

2007-05-08 Thread Dave Newton
--- ÍõÐü [EMAIL PROTECTED] wrote: Unable to find 'display' forward. Unable to fix problem. (We need more information to be able to help.) d. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around

RE: how to disable refresh button and back button

2007-05-08 Thread Al Sutton
I think I know what the guy is after and it's not browser dependant or impossible, but it's not pretty :). Basically what you have to do is have a one time ID that changes during each request and then verify that the requests one time ID is correct. So the flow looks like this; 1) Create new One

Re: getting error when i m trying to run webapp

2007-05-08 Thread Antonio Petrelli
2007/5/8, Dave Newton [EMAIL PROTECTED]: --- ÍõÐü [EMAIL PROTECTED] wrote: Unable to find 'display' forward. Unable to fix problem. Unable to stop laughing :-)

Re: [S2] UTF-8 woes

2007-05-08 Thread meeboo
We have got everything working now except for handling UTF8 strings when doing file uploads from IE6 in Resin. It seems as if multipart/form-data requests don't play well in this certain environment (we have tried it in Tomcat and it works there). Has anyone had experience with file uploads from

Need Help On Pop Up

2007-05-08 Thread Srinivasula Reddy A , Bangalore
Hi Struts User Community, I have a JSP in which I am opening a pop up. In the pop up jsp (struts) I have one input text and search button. When I give some string and click on the submit button it will display the list of names with matching pattern string or exact string from the

Re: Need Help On Pop Up

2007-05-08 Thread Antonio Petrelli
2007/5/8, Srinivasula Reddy A , Bangalore [EMAIL PROTECTED]: Hi Struts User Community, ... In struts how I can do this please give me sample rough code of JSP, ACTION CLASS, ACTION MAPPING ELEMENT, and POP UP JSP CODE. It seems like homework! You're asking too much, friend. Try to search

RE: FileName characters.

2007-05-08 Thread Kapil Sharma
I see, but does the program that you use to open the file work correctly? If yes I suppose you don't have to worry :-) Yes the file is opening correctly . But saving this opened file as it is will again show the %xx characters . BTW user has to enter its own name to the file. Problem lies

RE: Need Help On Pop Up

2007-05-08 Thread Srinivasula Reddy A , Bangalore
No friend I need how to update the parent jsp with the selected value of pop up jsp -Original Message- From: Antonio Petrelli [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 08, 2007 2:50 PM To: Struts Users Mailing List Subject: Re: Need Help On Pop Up 2007/5/8, Srinivasula Reddy A ,

ServletException in '/WEB-INF/tiles/position/edit.jsp': null

2007-05-08 Thread Jorge Martín Cuervo
Hi all, i'm using struts 1.2.9 and i get this exception, it's not very explanatory and i don't know what is wrong, does anyone have any idea of how can i get more info? i tried to debug with eclipse and there's no parent exception. 51207 [http-8080-Processor23] ERROR

RE: disable back button

2007-05-08 Thread Kapil Sharma
Somewhere i found Page A calls Page B User should not be allowed to go to Page A from Page B. Put the code below in Page A. Script window.history.forward(1); /Script I have not tested it. Thanks and Regards, Kapil Sharma -Original Message- From: Antonio Petrelli [mailto:[EMAIL

Re: ServletException in '/WEB-INF/tiles/position/edit.jsp': null

2007-05-08 Thread Jorge Martín Cuervo
Sorry, i've tried without tiles and now i can see the real exception: java.lang.NullPointerException com.martincuervo.engineweb.handlers.ControlFinder.findControls(Unknown Source) com.martincuervo.engine.core.Engine.findControls(Unknown Source)

Re: Need Help On Pop Up

2007-05-08 Thread Nuwan Chandrasoma
you a javascript , get the opener of the pop up and get element in that page and set the value Thanks, Nuwan - Original Message - From: Srinivasula Reddy A , Bangalore [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Tuesday, May 08, 2007 9:26 AM

Re: Need Help On Pop Up

2007-05-08 Thread Antonio Petrelli
2007/5/8, Nuwan Chandrasoma [EMAIL PROTECTED]: you a javascript , get the opener of the pop up and get element in that page and set the value As an addition to what Nuwan wrote, here is a simple example: http://www.w3schools.com/htmldom/prop_win_opener.asp Antonio

RE: Need Help On Pop Up

2007-05-08 Thread Kapil Sharma
//calling the child (popup ) window function fnOpenPopup (path, values) { CHECK_CHANGE = 1; if (childWin !childWin.closed) { childWin.close(); } var params=toolbar=0,; //toolbar off params+=location=0,; //location/address box off params+=directories=0,; //directories off

RE: Need Help On Pop Up

2007-05-08 Thread Srinivasula Reddy A , Bangalore
Hi sharma, function updateParent(){ opener.document.form1.name.value = document.childForm.others.value; self.close(); return false; } In the above code the value is not reflecting in the parent jsp -Original Message- From: Kapil Sharma [mailto:[EMAIL PROTECTED] Sent:

RE: Need Help On Pop Up

2007-05-08 Thread Kapil Sharma
It is working at my end. Have u specified correctly the form names and field values. n Have u used the function to open that popup properly. Thanks and Regards, Kapil Sharma -Original Message- From: Srinivasula Reddy A , Bangalore [mailto:[EMAIL PROTECTED] Sent: Tuesday, May

Need help about the technology to apply with struts

2007-05-08 Thread Kapil Sharma
I want to develop a web application that consists of different questions and answers submitted by the users. The questions are dependent on the answers of other questions. What should i use with struts. is it Ajax. i.e if A question has two radiobutton answers and on click of one radio

RE: Need Help On Pop Up

2007-05-08 Thread Srinivasula Reddy A , Bangalore
yes -Original Message- From: Kapil Sharma [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 08, 2007 3:25 PM To: Struts Users Mailing List Subject: RE: Need Help On Pop Up It is working at my end. Have u specified correctly the form names and field values. n Have u used the function to

Re: Need help about the technology to apply with struts

2007-05-08 Thread Tomas Kramar
If you want to leave old questions displayed on page and always add a new one at bottom, than you should use ajax to determine and send new question. Otherwise you end up with a mess of javascript code. If you are planning to load new page for each question than it is basically the same - ajax

RE: Need help about the technology to apply with struts

2007-05-08 Thread Kapil Sharma
If you want to leave old questions displayed on page and always add a new one at bottom, than you should use ajax to determine and send new question. Otherwise you end up with a mess of javascript code. I have not used AJAX before. Applications system admin module specifies all the dependies

Looking for source to com.opensymphony.xwork2.ActionContext

2007-05-08 Thread Al Sutton
Can anyone tell me where the source is for com.opensymphony.xwork2.ActionContext? I've got the following exception; java.lang.NullPointerException at com.opensymphony.xwork2.ActionContext.setContext(ActionContext.java:142) at

Re: Looking for source to com.opensymphony.xwork2.ActionContext

2007-05-08 Thread Martin Gilday
http://www.opensymphony.com/xwork/download.action - Original message - From: Al Sutton [EMAIL PROTECTED] To: 'Struts Users Mailing List' user@struts.apache.org Date: Tue, 8 May 2007 11:45:41 +0100 Subject: Looking for source to com.opensymphony.xwork2.ActionContext Can anyone tell me

Re: Need help about the technology to apply with struts

2007-05-08 Thread Tomas Kramar
This is not a matter of technology, but a matter of design. I think your users would like to see all previous questions, so I would use ajax. And by the way, by using ajax you are not moving the logic to page, it still remains on server. Maybe you should have a look at how ajax works first and

ArrayOfBeans interaction

2007-05-08 Thread Marcello Savino
Ciao Let's say this is my jsp code: html:xhtml / html:html locale=true body logic:iterate id=index name=list type=myBean html:text name=index property=firstField / html:text name=index property=secondField/ /logic:iterate /body /html:html Where

Re: ArrayOfBeans interaction

2007-05-08 Thread Nuwan Chandrasoma
http://www.developer.com/java/ejb/article.php/2233591 see if this helps you. Thanks, Nuwan - Original Message - From: Marcello Savino [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Tuesday, May 08, 2007 12:10 PM Subject: ArrayOfBeans interaction Ciao

pagination problem pls rectify this error its very urgent for me

2007-05-08 Thread jalal udeen
hi all I have to use pagination in jsp so i did it with logic:iterate tag as follows i use 2 links next and previous in this application but next link is not disapppearinng when it reaches the last record pls check the condition and clear my doubt this pls its very urgent for me the

[OT] Re: pagination problem pls rectify this error its very urgent for me

2007-05-08 Thread Dave Newton
--- jalal udeen [EMAIL PROTECTED] wrote: I have to use pagination in jsp so i did it with logic:iterate tag as follows One reason you may not be getting an answer is that this has nothing to do with Struts. % String strOffset =0; if(request.getParameter(pagination)!=null)

Re: is ajax validation broken?

2007-05-08 Thread Musachy Barroso
Ajax validation has been changed/fixed for 2.1, where DWR is not required any more. In 2.1 you will be able to just add an interceptor to your class to enable ajax validation for it(and use the dojo plugin). The jira ticket: https://issues.apache.org/struts/browse/WW-1897 musachy On 5/8/07,

Re: Spam:: getting error when i m trying to make database connection

2007-05-08 Thread Musachy Barroso
No Class Definition Found Error, where the class is org.apache.commons.pool.impl.GenericObjectPool, you are probably missing commons pool, http://jakarta.apache.org/commons/pool/ musachy On 5/8/07, Shshir [EMAIL PROTECTED] wrote: org.apache.catalina.core.StandardContext loadOnStartup

Re: Looking for source to com.opensymphony.xwork2.ActionContext

2007-05-08 Thread Musachy Barroso
You can browse it online here: http://svn.opensymphony.com/svn/xwork/trunk/src/java/com/opensymphony/xwork2/ActionContext.java may the source be with you (sorry I couldn't help it :) ) musachy On 5/8/07, Martin Gilday [EMAIL PROTECTED] wrote:

RE: [S2] Spring Bean + s:iterator ?

2007-05-08 Thread Paul
Dave, Took your advice and continued to build out my RoleAction, RoleDao, RoleService (all of which I'll need anyway later.) I have my RoleAction setup with RoleService being passed as a constructor (Spring.) In my JSP now I am just doing, s:action name=RoleAction executeResult=false

R: ArrayOfBeans interaction

2007-05-08 Thread Marcello Savino
Very intersting but (if is possible) i don't want to use a DynaActionForm . I've tryied to modify my jsp code setting the property indexed=true but the value in the bean remain unchanged. I think i'll need to add code on my ACtionForm but not idea about the code to add. Marcello Savino ALDEBRA

RE: problem with Struts 2 setup -class file has wrong version 49.0, should be 48.0

2007-05-08 Thread Jack Yu
Ok, I have did all the steps below, and still can't fix this version problem with Java. 1) Delete the Catalina folder under tomcat5/work/ 2) Restart tomcat 3) Make sure javac and java are both 1.6 from the command line, and in the tomcat configuration, the jvm path is: C:\Program

Re: [S2] Spring Bean + s:iterator ?

2007-05-08 Thread Martin Gainty
what is the value of singleton= in spring config? M-- This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you have received this email message in error, please notify the sender

(solution) RE: problem with Struts 2 setup -class file has wrong version 49.0, should be 48.0

2007-05-08 Thread Jack Yu
The soltuoi -Original Message- From: Jack Yu [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 08, 2007 9:46 AM To: 'Struts Users Mailing List' Cc: 'Jae Lim' Subject: RE: problem with Struts 2 setup -class file has wrong version 49.0, should be 48.0 Ok, I have did all the steps below, and

(Solution) RE: problem with Struts 2 setup -class file has wrong version 49.0, should be 48.0

2007-05-08 Thread Jack Yu
Hi All, Thanks for all the help, but the true solution I found was to replace the tools.jar in tomcat5 with the tools.jar file from jdk1.6. Now I'm able to get Struts2 up and running. And they have a thread in sun's website related to this:

RE: how to disable refresh button and back button

2007-05-08 Thread Espinosa, Joel
This is the Struts Mailing list, I don't think you should ask this here. Regards. PS. http://www.catb.org/~esr/faqs/smart-questions.html -Original Message- From: jalal udeen [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 08, 2007 12:31 AM To: Struts Users Mailing List Subject: how to

Struts2 character code question

2007-05-08 Thread red phoenix
I have set my all files with UTF-8 format,so I set URIEncoding parameter in server.xml in tomcat6.0.10,like follows: Connector port=8080 protocol=HTTP/1.1 maxThreads=150 connectionTimeout=2 redirectPort=8443 URIEncoding=UTF-8/ Then I write a JSP file like follows:

Re: Struts2 character code question

2007-05-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Red, red phoenix wrote: If I input English name in the field Name in JSP,when I submit,the test.do will receive right English name,but when I input Chinese name in the field Name in JSP, test.do will receive not right name,it will show [EMAIL

Re: Problems with number convertion on s:input

2007-05-08 Thread André Faria
I resolved that from this way: s:textfield name=cliente.salario label=Salário value=%{getText('format.number',{cliente.salario})}/br/ Thank's André Faria André Faria escreveu: The problem occurs from the action to view. from the view to action its ok Please I anyone can help...

Re: ArrayOfBeans interaction

2007-05-08 Thread Nuwan Chandrasoma
http://www.laliluna.de/struts-nested-iteration-tutorial.html then this would help. Thanks, Nuwan - Original Message - From: Marcello Savino [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Tuesday, May 08, 2007 1:27 PM Subject: R: ArrayOfBeans

Re: is ajax validation broken?

2007-05-08 Thread אלחנן מעין
so i should just use client side validation then? From: Musachy Barroso [EMAIL PROTECTED] Reply-To: Struts Users Mailing List user@struts.apache.org To: Struts Users Mailing List user@struts.apache.org Subject: Re: is ajax validation broken? Date: Tue, 8 May 2007 08:48:20 -0400 Ajax

Re: Correct usage of datetimepicker?

2007-05-08 Thread Torsten Römer
I didn't have any struts.date.format set in my .properties files, but for testing I set it to -MM-dd in all of them but that doesn't seem to have any effect. The date is still shown in dd.MM.yy format, and I get that validation error when request_locale=en_UK. Then I also set displayFormat to

Re: is ajax validation broken?

2007-05-08 Thread Musachy Barroso
on 2.0.6? yes. The ajax validation won't help you much if you are not using complex OGNL expressions for validation (or code). musachy On 5/8/07, אלחנן מעין [EMAIL PROTECTED] wrote: so i should just use client side validation then? From: Musachy Barroso [EMAIL PROTECTED] Reply-To: Struts

Re: Correct usage of datetimepicker?

2007-05-08 Thread Musachy Barroso
Did you look at the examples in showcase? I know the timepicker was really broken on 2.0.6, but the datepicker was working. musachy On 5/8/07, Torsten Römer [EMAIL PROTECTED] wrote: I didn't have any struts.date.format set in my .properties files, but for testing I set it to -MM-dd in all

RE: [S2] Spring Bean + s:iterator ?

2007-05-08 Thread Paul
Nevermind all! Answered my own question finally, s:action name=RoleAction executeResult=false id=roleAction/ s:iterator value=#roleAction.roles status=roleStatus /s:iterator did the trick! :) Regards, P -Original Message- From: Paul Saumets | Merge [mailto:[EMAIL PROTECTED] Sent:

Security and information passing

2007-05-08 Thread Thom Burnett
What are the options within Struts (version 1) for passing information from one request to the next on a multi-page struts application? I can pass some information as request parameters and hidden inputs on forms but that's not acceptable for credit card numbers, passwords, etc. What are the

Re: [OT] (Solution) RE: problem with Struts 2 setup -class file has wrong version 49.0, should be 48.0

2007-05-08 Thread Laurie Harper
At this point, this is a Tomcat configuration issue rather than a Struts issue, but for the sake of completeness: 3) Make sure javac and java are both 1.6 from the command line, and in the tomcat configuration, the jvm path is: C:\Program

Re: Security and information passing

2007-05-08 Thread Laurie Harper
Thom Burnett wrote: What are the options within Struts (version 1) for passing information from one request to the next on a multi-page struts application? I can pass some information as request parameters and hidden inputs on forms but that's not acceptable for credit card numbers,

Re: HTTPHeader result

2007-05-08 Thread Laurie Harper
Veronica Iturrioz wrote: Hi, Had anyone work with result type=httpheader? How does the params headers work? I try different options but it seems to not produce any change param name=headers.a xxx/param What did you try, and what were the results? Note the documentation for the 'parse'

Dynamically set Autocompleter Search Limit

2007-05-08 Thread King, Leon C
All, Is there currently a way to dynamically set the autocompleter tag's search limit or to specify 'Infinity' like the Dojo docs suggest? Thanks. Leon

Re: Correct usage of datetimepicker?

2007-05-08 Thread Torsten Römer
Yes I did, and I also get that far; the datepicker shows up fine, and it inserts the picked date in the field in the format I specified using displayFormat - but when I submit the form I get that validation error. So I am still using String instead of Date and I'm currently trying to get the

Re: Dynamically set Autocompleter Search Limit

2007-05-08 Thread Musachy Barroso
change limit: dojo.widget.byId(id).dataProvider.searchLimit = 10; no limit: dojo.widget.byId(id).dataProvider.ignoreLimit = true; musachy On 5/8/07, King, Leon C [EMAIL PROTECTED] wrote: All, Is there currently a way to dynamically set the autocompleter tag's search limit or

RE: Dynamically set Autocompleter Search Limit

2007-05-08 Thread King, Leon C
This argument must be ignored, using 2.0.6 ..I've added, and the list is now limited to 30... Below is my code. Correct me if I'm wrong...? script type=text/javascript dojo.require(dojo.widget.*);

Why does s:submitbehave differently from the rest?

2007-05-08 Thread stanlick
I am trying to assign a caption to a button using the internationalized property file and the key attribute. Why does this tag not work like the others? s:submit key=%{#session.symbolicName} -- Scott [EMAIL PROTECTED]

OGNL question

2007-05-08 Thread Felipe Rodrigues
Hi, How could i do that s:url id=setUsina${id} action=UpdateHome!selectPlant /s:url s:a id=any name=any href=%{setUsina${id}} theme=ajaxLink/s:a changing EL by OGNL? The especific part href=%{setUsina${id}} . I tried href=%{setUsina(#id)} but didn't work.

posting form

2007-05-08 Thread temp temp
My struts action class forwards to view which has form tag (html form tag) form method=POST Here I did not specify action attribute to the form just specified attribute method=”POST” when user submits this form where does it go ? Thanks Regards Miro

Re: Correct usage of datetimepicker?

2007-05-08 Thread Musachy Barroso
Can you log a jira ticket with the details on how to reproduce the problem? https://issues.apache.org/struts/ thanks musachy On 5/8/07, Torsten Römer [EMAIL PROTECTED] wrote: Yes I did, and I also get that far; the datepicker shows up fine, and it inserts the picked date in the field in the

Re: OGNL question

2007-05-08 Thread Martin Gainty
You'll need to pass in a parameter for id such as this s:url value=UpdateHome.selectPlant s:param name=id value=%{id} / /s:url M-- This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If

Re: is ajax validation broken?

2007-05-08 Thread אלחנן מעין
i would seem a lot ajax related fixing stuff are being loaded on 2.1.0 version.. seems nice i can finally find something comparable to commons-validations. (or asp.net validators). what's the difference in the show case between Field Validators with client-side JavaScript it's messages seemd

Re: Why does s:submitbehave differently from the rest?

2007-05-08 Thread Musachy Barroso
I guess it is because submit can be either a button, a submit or an image. musachy On 5/8/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I am trying to assign a caption to a button using the internationalized property file and the key attribute. Why does this tag not work like the others?

Re: is ajax validation broken?

2007-05-08 Thread Musachy Barroso
There are different ways of performing validation (3 and 4 on 2.1 only): 1. normal: validation occurs on the server and page is returned with errors (can use OGNL) 2. javascript: validation occurs on the client using javascript (limited) 3. ajax : validation occurs on the server, if there are

[OT] Reading Unicode Files

2007-05-08 Thread Mulligan, Scott H
In my Struts application, when I load a Resource Bundle (Property file) that has Unicode characters (\u1234) they get interpreted as single characters. However, when I read a file using a FileInputStream the Unicode characters get interpreted as a String \u1234. I know I am missing something

Re: OGNL question

2007-05-08 Thread Felipe Rodrigues
I'm sorry, but I didn't got it. When I pass in a parameter, I'll send it to the destiny. That is not what I want. I only want to identify the url according to the id. This code is inside a foreach, that renders lots of urls. How would be that in this case? Thanks, Felipe Martin Gainty wrote:

Select Tag - Odd Behavior

2007-05-08 Thread Brian Trzupek
I am using Struts 2 (tried 2.0.1-2.0.6) and am having bizarre behavior with the select tag in a jsp page. My code looks like this: s:form name=editCredential action=step4 s:select list=credential.credentialGenerators emptyOption=true listKey=name listValue=name/

Re: [OT] Reading Unicode Files

2007-05-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Scott Mulligan, Scott H wrote: In my Struts application, when I load a Resource Bundle (Property file) that has Unicode characters (\u1234) they get interpreted as single characters. However, when I read a file using a FileInputStream the Unicode

Re: Correct usage of datetimepicker?

2007-05-08 Thread Torsten Römer
Done! (WW-1917) Hope this is useful, if I can help out in any other way please let me know! BTW there is no such locale en_UK, it should be en_GB, but unfortunately that wasn't the problem. Torsten Musachy Barroso schrieb: Can you log a jira ticket with the details on how to reproduce the

答复: getting error when i m tryin g to run webapp

2007-05-08 Thread 王悬
Log4j configure: log4j.category.org.apache.struts.action.ActionMapping=DEBUG,stdout log4j.additivity.org.apache.struts.action.ActionMapping=false log out : INFO | jvm 1| 2007/04/20 00:56:18 | 00:56:18 WARN ActionMapping - Unable to find 'display' forward. -邮件原件- 发件人: Dave Newton

Re: Struts2 character code question

2007-05-08 Thread red phoenix
I tried follows in test.do: String name=request.getParameter(Name); System.out.println(new String(name.getBytes(UTF-8), gb2312)) it still show [EMAIL PROTECTED],Why? On 5/8/07, Christopher Schultz [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Red, red phoenix

Re: 答复: getting error when i m trying to run webapp

2007-05-08 Thread Dave Newton
--- 王悬 [EMAIL PROTECTED] wrote: Unable to find 'display' forward. Do you have a forward named display? If you include the relevant portions (贴题 部分?) of your struts configuration file struts-config.xml for that Struts的action we may be able to help more easily. Dave

Re: Struts2 character code question

2007-05-08 Thread Martin Gainty
apparently ISO2022_CN_GB is Mandarin (http://java.sun.com/j2se/1.4.2/docs/guide/intl/encoding.doc.html) since this is most decidedly DBCS did you load CJK IME /Keyboard and Fonts? M-- This email message and any files transmitted with it contain confidential information intended only for the

Re: Struts2 character code question

2007-05-08 Thread red phoenix
I have set URIEncoding=UTF-8 and when I submit as s:form method=post action= test.do?Name=Chinese code and I get String name=request.getParameter(Name) it get name as UTF-8 format,so I can't get right chinese code I tried set Connector port=8080 protocol=HTTP/1.1 maxThreads=150

RE: [OT] Reading Unicode Files

2007-05-08 Thread Kapil Sharma
This code properly reads the unicode files in jsp and set in session Properties prop = null; if (session.getAttribute(Properties) == null) { URL myURL = null;

Re: Correct usage of datetimepicker?

2007-05-08 Thread Musachy Barroso
I found several problem with the datetimepicker, first (and the worst) is that the names of the input fields (visible and hidden) were switched. Second, the hidden field was storing just the date section of the RFC 3339 format. In short, in the few cases that it worked it was because Xwork tries

答复: 答复: g etting error when i m trying to run webapp

2007-05-08 Thread 王悬
my struts configuration file : action path=/usernameLogon validate=true type=com.logon.actions .UsernameAction name=logonForm scope=session input=UserName.jsp forward name=display path= UserName.jsp/ forward name=next path=/showLogon.do/

Re: 答复: 答复: getting error when i m trying to run webapp

2007-05-08 Thread Dave Newton
--- 王悬 [EMAIL PROTECTED] wrote: forward name=display path= UserName.jsp/ I don't know if this is the problem or not, but is there supposed to be a space in: path= UserName.jsp Dave Don't get soaked.

答复: 答复: ç­”å¤ : getting error when i m tryin g to run webapp

2007-05-08 Thread 王悬
If found not this path,it will errors?Ot this path,UserName.jsp file is exist Are you have debug tools for Struts ? -邮件原件- 发件人: Dave Newton [mailto:[EMAIL PROTECTED] 发送时间: 2007年5月9日 10:40 收件人: Struts Users Mailing List 主题: Re: ç”复: ç”复: getting error when i m trying to run

Re: posting form

2007-05-08 Thread MK Tan
Hi, Have you try it yourself before posting? ;-) Let me make a wild guess, it submit back to the same action which forward to this jsp :D cheers, MK Tan p/s: doing some homework or simple test before asking does not hurt or take many time :p On 5/9/07, temp temp [EMAIL PROTECTED] wrote:

Struts 1.3.8 and URL Validation

2007-05-08 Thread pushkar . p
Hi, I'm using Struts version 1.3.8 and I intend to use URL validation for a field using the validation.xml file. But, when I declare the field in validation.xml, it does not validate the field to check whether the URL is a valid one, meaning that it takes any input that I give in that textbox.

Re: Struts 1.3.8 and URL Validation

2007-05-08 Thread Niall Pemberton
On 5/9/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, I'm using Struts version 1.3.8 and I intend to use URL validation for a field using the validation.xml file. But, when I declare the field in validation.xml, it does not validate the field to check whether the URL is a valid one,

RE: Struts 1.3.8 and URL Validation

2007-05-08 Thread pushkar . p
There is no JavaScript implementation of the url validation. Niall Does it mean that the default url validator in validation.xml doesn't work? -Pushkar.

Re: is ajax validation broken?

2007-05-08 Thread אלחנן מעין
what are the limitations on using option 2? will there be documenation, describing how to use 3 and 4? From: Musachy Barroso [EMAIL PROTECTED] Reply-To: Struts Users Mailing List user@struts.apache.org To: Struts Users Mailing List user@struts.apache.org Subject: Re: is ajax validation

need help[URL containing additionl information that was not requested]

2007-05-08 Thread rangana samarasinghe
i used j2ee and struts with webspear my web based system running perfectly but problem is whn i deplyed it to test server whi run in AIX plat form,the url containig addition information such as session id which is not showin in my lococal machin (windows) and also i didnt use GEt method in this

Re: OGNL question

2007-05-08 Thread Laurie Harper
Why do you need to make the url-id unique on each loop iteration? Have you tried simply writing something like c:forEach ... s:url id=url .../ s:a href=%{#id} .../ ... You should, on the other hand, provide a unique value for the 'id' (and possibly 'name) attribute on the s:a

Re: Select Tag - Odd Behavior

2007-05-08 Thread Laurie Harper
Brian Trzupek wrote: I am using Struts 2 (tried 2.0.1-2.0.6) and am having bizarre behavior with the select tag in a jsp page. My code looks like this: s:form name=editCredential action=step4 s:select list=credential.credentialGenerators emptyOption=true listKey=name