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
Unable to find 'display' forward.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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
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
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]
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
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
--- ÍõÐü [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
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
2007/5/8, Dave Newton [EMAIL PROTECTED]:
--- ÍõÐü [EMAIL PROTECTED] wrote:
Unable to find 'display' forward.
Unable to fix problem.
Unable to stop laughing :-)
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
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
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
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
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 ,
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
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
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)
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
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
//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
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:
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
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
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
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
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
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
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
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
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
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
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
--- 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)
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,
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
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:
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
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
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
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
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
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:
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
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:
-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
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...
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
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
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
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
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
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:
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
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
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,
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'
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
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
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
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.*);
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]
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.
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
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
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
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
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?
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
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
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:
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/
-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
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
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
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
--- çæ¬ [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
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
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
This code properly reads the unicode files in jsp and set in session
Properties prop = null;
if (session.getAttribute(Properties) == null) {
URL myURL = null;
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
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/
--- çæ¬ [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.
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
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:
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.
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,
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.
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
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
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
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
92 matches
Mail list logo