Hi,
It was in the right place, but didn't work. So, i've tried to put the
"hilbernate-all.jar" in the build path, and it worked. I don't know the
reason, but probably i was using the latest version of the requested
libraries and it need something older..
Thank you everybody for the time you spe
dear,
i am not getting the parameter values whlie dispalying the errors. i am
providing all my code here can any one help me regarding this
Form Bean class:URformBean.java
java Code:
*import* javax.servlet.http.*;*import*
org.apache.struts.action.*;*import*
org.apache.struts.validator.*;*p
Just a note on the Javascript document properties not found error. I
encountered this when I was trying to handle a div that did not exist in the
html. My script would hide all layers before showing a selected layer, and
one of the layers to be hidden did not actually exist.
--
View this message
Hi,
In my struts application I am using a DynaValidatorForm which contains a
String[].
I am doing "required", "integer" and "intRange" validation on the form.
The problem I am facing is that if I declare the property in
struts-config.xml as a string array with given size
(like this : )
then the "
Hi All,
I'm new in struts , I have problems with struts validation, my application
was using struts 1.1 and validator 1.0,,i'm trying to upgrade to struts 1.2.7
and common validator 1.1.4 because i use non default resource bundle as arg key
in validation. My problem is when struts generate
I think the simplest way is to copy
org.apache.struts2.dispatcher.multipart.MultiPartRequestWrapper
to your classpath and change the
MultiPartRequestWrapper(..)
method to ignore the content.
I've put in a enhancement request in jira for a configuration item to
disable Multipart request pars
There's a in depth tutorial somewhere on the displaytag home page & some
examples that you can play around with.
http://displaytag.sourceforge.net/11/
On 7/18/07, naseer mohammed <[EMAIL PROTECTED]> wrote:
Can any one explain me step by step method to use display tags
Can any one explain me step by step method to use display tags
yes i used jdk only as java_home but still it does'nt work.
On 7/17/07, Perssy Llamosas <[EMAIL PROTECTED]> wrote:
Use a JDK, not a JRE as JAVA_HOME.
naseer mohammed wrote:
> i am trying to run struts-blank application which encounter this
> exception..
>
>
> org.apache.jasper.JasperExcept
Yes, I use it as stated previously. Is row the object you think it is?
You either have a typo or you're trying to access properties of row that
don't exist.
The code below shows plain html contained in a column that accesses
properties of the current row.
property="dateCre
We are trying to use the Struts-JSF plugin, and are encountering problems.
1. The rendered form has the wrong 'action' attribute. We want it to be
"TableTest.action", and the component renders it as "TableTest.jsf". We
were able to overcome this with a javascript at the end of the page to
chang
Hi
Thanks for your response.
Could you please elaborate on this. I read your message and was trying to
extract the information from it. If you could elaborate it, It will be of great
help.
Once again thanks for your response.
Regards,
Arun
> Date: Tue, 17 Jul 2007 09:13:45 +0200
I have the following class:
public class TestAction {
public static String concat(String str1, String str2) {
return str1 + " and " + str2;
}
}
In a JSP, I can write the following and it works fine:
However, if I change it to an invalid class name, it fails silently:
I've
Anything that you write to the output stream on your action will be
available on the "data" argument.
musachy
On 7/17/07, Scott Nesbitt <[EMAIL PROTECTED]> wrote:
For this topic:
dojo.event.topic.subscribe("/saveTopic",
function(data, type, e)
{
// data : text returned
// type : "before", "l
For this topic:
dojo.event.topic.subscribe("/saveTopic",
function(data, type, e)
{
// data : text returned
// type : "before", "load" or "error"
// e: request object
if ('load' == type)
{
}
}
When my action on the server is successful the type is
set to load and things work great. Ho
By the looks of it, your classpath is messed up.
Is the hibernate3 jar in the right place?
I can't think of any other reason it wouldn't be able to find
org.hibernate.MappingNotFoundException
LucaLuca wrote:
>
> Hi,
>
> I've tried to make some changes to make it work..But nothing!. These ar
I must have had my syntax wrong or something else before. It is working
for me now. Thank you for the follow up.
Take care,
Ken
-Original Message-
From: Musachy Barroso [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 17, 2007 11:45 AM
To: Struts Users Mailing List
Subject: Re: [S2] Tabbe
We actually didnt provide you any solution, but its pretty hard, since
you haven't provided any details :-)
There are many possibilities, IP-Throttle, session-based throttle or a
mechanism which manages the overall load on the server. Without
knowing what you are doing, providing even a hint is p
I think you misunderstand things a bit here (or maybe the spec wasnt
clear, as often)
servlet spec 2.5 (the current one, and the one tomcat 6 is
implementing) states in
SRV.14.2.2 Web Application Environment (9.11 now merily point to this chapter):
"Java EE defines a naming environment that allo
Hello,
I'm fairly new to Struts 2. I'm currently migrating a project from
Struts 1 to Struts 2, but I'd like to make heavy use of Unit Testing to
aid in the migration.
In the documentation, the testability of the new actions is often
mentioned. However, I have the impression that it's not that
2007/7/17, David Harland <[EMAIL PROTECTED]>:
Hi,
As recommended in
http://cwiki.apache.org/confluence/display/WW/S2-001
I tried downloading and building the latest version of struts but
instead of getting 2.0.8 I got 2.1.
I then tried to get the latest version xwork and build that, and that
h
Hi,
As recommended in
http://cwiki.apache.org/confluence/display/WW/S2-001
I tried downloading and building the latest version of struts but
instead of getting 2.0.8 I got 2.1.
I then tried to get the latest version xwork and build that, and that
had 3 errors.
Can someone please give me a link
Using any tool like firebug, and building the url with the "url" tag, do you
see the parameters in the request?
musachy
On 7/16/07, Hoying, Ken <[EMAIL PROTECTED]> wrote:
I have a tabbed panel with divs that retrieve their content remotely.
Basically the control is acting like a tabbed address
You could always use a holder page and a meta refresh.
For example;
Page 1 - Has the form on which the details are entered
|
[submits to]
|
Action A which stores the details of the query
|
[forwards to]
|
Page 2 which has a meta refresh
(http://webdesign.about.com/od/metataglibraries/a/aa080300a
thanks to all
I'll try...
Il giorno 17/lug/07, alle ore 16:38, Antonio Petrelli ha scritto:
2007/7/17, Ing. Andrea Vettori <[EMAIL PROTECTED]>:
I don't remember where but I think I read somewhere that's not
possibile to call Thread methods inside a servlet container.
Anyone can confirm this
2007/7/17, Leon Rosenberg <[EMAIL PROTECTED]>:
you can create threads in tomcat. It's not recommended unless you know
what you are doing, but you can.
It seems that you are right... and not :-)
You can create threads in a servlet container, but it is not portable.
As stated in Servlet 2.4 sp
On 7/17/07, Antonio Petrelli <[EMAIL PROTECTED]> wrote:
2007/7/17, Ing. Andrea Vettori <[EMAIL PROTECTED]>:
> I don't remember where but I think I read somewhere that's not
> possibile to call Thread methods inside a servlet container.
>
> Anyone can confirm this ?
AFAIK you cannot create any t
I have a tabbed panel with divs that retrieve their content remotely.
Basically the control is acting like a tabbed address book with each tab
showing a subset of names broken out alphabetically (i.e. Tabs: A-B,
C-D, etc..)
When specifying the URL for the remote div to call, I am having
diffic
On 7/17/07, Antonio Petrelli <[EMAIL PROTECTED]> wrote:
2007/7/17, Wesley Wannemacher <[EMAIL PROTECTED]>:
>
> I've found the most effective way to slow down the execution time is ask
> an intern to "optimize" it...
Hey it's not friday, you broke the rule! ;-)
yeah, but it was funny :-)
A
2007/7/17, Wesley Wannemacher <[EMAIL PROTECTED]>:
I've found the most effective way to slow down the execution time is ask
an intern to "optimize" it...
Hey it's not friday, you broke the rule! ;-)
Antonio
Use a JDK, not a JRE as JAVA_HOME.
naseer mohammed wrote:
i am trying to run struts-blank application which encounter this
exception..
org.apache.jasper.JasperException: No Java compiler available
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
I've found the most effective way to slow down the execution time is ask
an intern to "optimize" it...
/zing
-Original Message-
From: Antonio Petrelli [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 17, 2007 10:38 AM
To: Struts Users Mailing List
Subject: Re: slowing down action executio
deploy showcase apps at tomcat 5.5.17 & JDK1.5.11, when I test "Link two
autocompleter elements" example, when click "Autocompleter 2", the same
error found at IE 6(Firefox works)
but I found follow URL works with IE 6:
http://www.planetstruts.org/struts2-showcase/ajax/autocompleter/
:(
My Env
2007/7/17, Ing. Andrea Vettori <[EMAIL PROTECTED]>:
I don't remember where but I think I read somewhere that's not
possibile to call Thread methods inside a servlet container.
Anyone can confirm this ?
AFAIK you cannot create any thread in a Java EE environment (though
products like Quartz do
the code detail:
JSP File :
action config:
/ajax/regions.ftl
regions.ftl:
[
<#list regions as region>
["${region.regionName}","${region.regionNum}"],
]
when I test code using firefox, it works; but when change to IE 6, when I
selected first autocomp
I need to initially slow down and after a few minutes completely
block access to aa site to logged-users and/or remote ip addresses
that reads too many pages too fast.
It's something like controlling that the site is not mirrored.
I don't remember where but I think I read somewhere that's no
actually you named it.
Thread.sleep().
only for debugging purposes of course :-)
regards
leon
On 7/17/07, Ing. Andrea Vettori <[EMAIL PROTECTED]> wrote:
Hi
what's the best method to slow an action execution time ? Something
like Thread.sleep(...).
Thanks !
--
Ing. Andrea Vettori
Consulente p
Hi
what's the best method to slow an action execution time ? Something
like Thread.sleep(...).
Thanks !
--
Ing. Andrea Vettori
Consulente per l'Information Technology
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additi
Hello,
Were you able to get the "row" to work? I am trying to get hold of the my
properties using the "row" variable inside of a displaytag table. The table
itself if working fine.
I have tried both the JSTL and the OGNL way but the "row" is always empty.
Does anyone know how to get this workin
Yes, I find S2 to be a good framework and a good evolution from S1, but the
tags themes instead of helping me are just making things more difficult. I
would also like to use JSTL and JSP but my project requires this tags and
OGNL.
Regards,
Néstor Boscán
-Mensaje original-
De: Ray Clough
Yes, I find S2 to be a good framework and a good evolution from S1, but the
tags themes instead of helping me are just making things more difficult. I
would also like to use JSTL and JSP but my project requires this tags and
OGNL.
Regards,
Néstor Boscán
-Mensaje original-
De: Ray Clough
Hi Kishen
I just want to use them like I did in Struts 1. Let the tags generate de
content but not extra design (, , , , ). I have a Web
Designer that takes care of my HTML design and if I add the tags it will
generate extra design that I don't need.
For example for the tag I just need to gener
Thanks for you quick reply,Nuwan.
yeah,ur code works and action-error should be add to the original action(I
tested).
However,I set my global result in my default package,and when the invalid
action accessing was intercepted,the browser was redirect to the login page.
It's strange that the action
i am trying to run struts-blank application which encounter this exception..
org.apache.jasper.JasperException: No Java compiler available
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
org.apache.jasper.servlet.JspServletWrapper.serv
I'am not using a specified theme in my form.
In my jsp I have the following code:
and it generates the folowing HTML code:
I want to be green
How to change the label color to green? I tried in many ways, I think it's a
bug.
--
View this
Hi,
hope this code will help you.
Object action = invocation.getAction ();
if (action instanceof com.opensymphony.xwork2.ValidationAware) {
((com.opensymphony.xwork2.ValidationAware) action).addActionError
("Username or password incorrect.");
}
Thanks,
Nuwan.
- Original
Hi,
I've tried to make some changes to make it work..But nothing!. These are my
configuration files:
---"ApplicationContext.xml":---
http://www.springframework.org/schema/beans";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:aop="http://www.springframework.org/schema/aop
You should modify your bean definition,
If you’re using spring 2.0.x,
….
Spring 1.xx
That ensure a new action was constructed every time a new request was sent, not
a singleton
Action bean.
Crazyreal
_
发件人: 钟原froast [mailto:[EMAIL PROTECTED]
发
Hi,all
I've got a problem when I put my own interceptors in my app:
I write an interceptor to authenticate whether the user access the current
page or action has logged in.
I write the code in the following style(refer to the mailreader example):
---
How do you want your field errors displayed?
I always use a the list tags for displaying lists
Maybe you can use the css_xhtml theme in the tag.
And xhtml themes for formelements like textfields etc.
Still you will have the overhead when it comes to and tags.
Néstor Boscán-3 wrote:
>
hi, this is my first web-based project using struts2.0. I met a problem when
using the validation . It seems the error message haven't been cleared and
each time I submit the form, then the error message was added after the
previous error message, it means if i submit 10 times, then there will
dis
Hi,
As recommended in
http://cwiki.apache.org/confluence/display/WW/S2-001
I tried downloading and building the latest version of struts but
instead of getting 2.0.8 I got 2.1.
I then tried to get the latest version xwork and build that, and that
had 3 errors.
Can someone please give me a link
Hi,
You can define multiple resource bundle in struts config., one would be a
default and other ones you should give a key.
eg:-
Thanks,
Nuwan
- Original Message -
From: "Saravanan Vijayappan" <[EMAIL PROTECTED]>
To: "struts user"
Sent: Tuesday, July 17, 2007 3:38 AM
Subject
2007/7/17, Arunkumar Balasubramanian <[EMAIL PROTECTED]>:
The calender icon on pagetwo.jsp is
You could use a "controller" (in the Tiles sense) for the definition that
stores an extra attribute (for example, the javascript command) and then
import it (via ) and put it in your "href"
54 matches
Mail list logo