Dear all,
I'm testing Struts2 with IBM RAD, and deploying my programs on WebSphere.
But the server goes down frequently, and I find error log as following.
Could someone tell me what to do? Thanks!
[08-3-12 12:28:04:328 CST] 004c SystemErr R
java.io.NotSerializableException:
Hi
Maybe this will help
http://www.lunatech-research.com/archives/2005/07/29/struts-urls
Regards
--
Lukasz
http://www.linkedin.com/in/lukaszlenart
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
Hi,
After logging in am providing a hyperlink to the user to update his
details.After clicking on that link,i need to forward to other new page with
field values populated.So inorder to redirect it to a new page,should I use
redirect-action or dispatcher and why?Is that type=dispatcher or
Hello,
I have this problem that I cannot come to solve it
I have two actions: editFeature and saveFeature. When editFeature should
submit successfuly to saveFeature the latter performs and redirects
transparently to editFeature again.
When validation fails, I get back to editFeature
Hi everyone!
I just want to know how to insert javascripts in a struts page?
here's my version but not working..=(
html:html locale=true
head
titleJSP page/title
script type=text/javascript
function confirmation(){
confirm(Are you sure to update?);
}
Hi Jeromy,
Thanks a lot for your guidance. I was able to get it working with your
information. And the that demo site you send was very helpful too.
thanks,
/nandana
On Tue, Mar 11, 2008 at 7:01 PM, Jeromy Evans
[EMAIL PROTECTED] wrote:
Nandana Mihindukulasooriya wrote:
Hi,
I want to
%@ taglib uri=/tags/struts-html prefix=html %
html:html locale=true
head
titleJSP page/title
script type=text/javascript
function confirmation(){
return confirm(Are you sure to update?);
}
/script
/head
body
html:form action=/basic
What kind of task, database cleanup?
Does it occur every minute, hour, day?
You might want to consider a stateless session EJB that implements a
TimerService.
Here are some examples
http://www.theserverside.com/tt/articles/article.tss?l=MonsonHaefel-Colu
mn4
Hi ,
I wish that you can get some idea about this from the following link,
http://struts2issues.blogspot.com/
Struts2
Veronica Iturrioz wrote:
I have a form with client side validation:
s:form validate=true action=myAction namespace=/
theme=xhtml
and an Action with some
Thanks, but it didn't say that whether it is appropriate to put the bo
inside action form. Any more relevant website?
-Original Message-
From: Randy Burgess [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 11, 2008 5:20 PM
To: Struts Users Mailing List
Subject: Re: Business object in the
--- RajiR [EMAIL PROTECTED] wrote:
So inorder to redirect it to a new page, should I use
redirect-action or dispatcher and why?
http://struts.apache.org/2.0.11.1/docs/redirect-action-result.html
http://struts.apache.org/2.0.11.1/docs/dispatcher-result.html
Why? Because they do entirely
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
__ NOD32 2940 (20080312) Information __
This message was checked by NOD32 antivirus system.
http://www.eset.com
--- Struts2SG [EMAIL PROTECTED] wrote:
I wish that you can get some idea about this from the following link,
http://struts2issues.blogspot.com/
If you're going to post other people's answers on your blog it would be
polite to properly attribute them. For example, I'm pretty sure It might
have
--- RajiR [EMAIL PROTECTED] wrote:
I have set these values to my form bean register.
Form bean? In S2? Not exactly sure what you're referring to here.
My Problem is I need to populate these values into
a jsp page inorder to update the details.How can I
use formbean.fieldname in struts2
But EJB is?!
I had the same reaction :). Go Quartz and don't look back.
musachy
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--- Peters, John [EMAIL PROTECTED] wrote:
What kind of task, database cleanup?
Does it occur every minute, hour, day?
You might want to consider a stateless session EJB that implements a
TimerService.
Here are some examples
The action form should only be used for transferring values between the
different MVC layers.
Regards,
Randy Burgess
Sr. Web Applications Developer
Nuvox Communications
From: Zhang, Larry (L.) [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List user@struts.apache.org
Date: Wed, 12 Mar
Depends on the implementation.
If you only need to run one job every hour, then using an EJB will make
life easier than quartz.
Now if you need to run multiple jobs on varying days and times,
obviously you would use quartz.
-Original Message-
From: Dave Newton [mailto:[EMAIL PROTECTED]
Hi,
I'm using maven2 to build my Struts2 application and how to solve the
problem with coping *-validation.xml files to target directory?
All my *-validation.xml files are next to action classes, in the same
package / directory (src/main/java/pl/org/lenart/s2) but they are no
copied in to target
The basic idea is to have Java code in Action classes interface to your
data sources and populate beans that are put into the contexts available
to your JSP code. You then forward to JSP pages that can use Struts or
JSTL tags to reference the beans placed into the context. Your JSP
should not
Resource files are supposed to be in the resources folder... Just put
them there with the same path as your java class, and everything
should be copied where it's supposed to. If that does not fit your
needs, and you have other Maven 2 questions, I suggest that you use
the Maven user list
Resource files are supposed to be in the resources folder... Just put
them there with the same path as your java class, and everything
should be copied where it's supposed to. If that does not fit your
Yes, I did that but I was wondering how it should be, the good
practice in case of Struts
struts 2 - java - jsp
Hi. I am trying to configure an authentication/login interceptor. The idea
being of course being to prevent someone from accessing a page unless they
are logged in. We can assume that means they have a user object stored in
the session.
Now I understand how to plug in an
Hi
I am developing a project on struts and hibernate give me the list of best
practices to follow for reducing the execution time in struts .
thanks in Advance
Raghu Varma Bhupathiraju
--
View this message in context:
We are pleased to announce a Struts2 workshop, from April 28-30 in
Sunnyvale, CA. Join us the week before JavaOne to learn about the next
generation of evolution of the Struts web framework.
In this three day workshop-style training course you'll learn everything
you need to know to
The easiest way is to always have the user call an action to get a JSP,
even if it is a simple page. You then also ensure that all data
necessary for that page has been obtained. The, by placing the JSP's in
the WEB-INF directory you will prevent access directly from a browser
(only from the
The easiest way is to always have the user call an action to get a JSP,
even if it is a simple page. You then also ensure that all data
necessary for that page has been obtained. The, by placing the JSP's in
the WEB-INF directory you will prevent access directly from a browser
(only from the
Hi Dave,
Thanks for helping me out and clearing my basic understanding of the work
flow.no my application is working fine running without any error..
thanks for your help.
--aum
On 3/11/08, aum strut [EMAIL PROTECTED] wrote:
ok i will do like this..
lets see what will be the results...
On
You beat me to it, Dave! Although I was going for the meta google approach:
http://www.google.com/search?q=struts+2+performance+tuning
(You could even press I feel lucky)
On Wed, Mar 12, 2008 at 6:40 PM, Dave Newton [EMAIL PROTECTED] wrote:
--- Raghu varma bhupathiraju wrote:
give me the
Hi,
I'm seeing input form data disappear if the validation fails the page is
re-displayed; have Googled around but found nothing specific to dyna forms,
so I'm hoping someone has come across this know what the issue is; I had
tried setting the action's scope to session as a test, but the form
Wes Wannemacher wrote:
On Mon, 2008-03-10 at 14:59 -0700, Dave Newton wrote:
--- Kelly.Graus [EMAIL PROTECTED] wrote:
Is it possible to specify more than one SUCCESS result for an action?
For
example, when the user runs an action, it could prompt them to download
a
file (using the
Dear all,
The latest struts wml tag library I found is struts-wml 1.1. Does
anyone know what I can work with wml tag with struts 1.3.x?
Thank you
Sean
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
Antonio,
First of all, I'm not saying you are wrong about XSLT closing the result
stream -- I don't have enough knowledge to comment on that problem,
however...
Here's what I did to test this. I copied the source for XSLTResult to a
new class, and added a boolean parameter to the result called
Hi bugs,
thanks I will try your suggestion! =)
God bless,
Ryan Webb -- Philippines
On Wed, Mar 12, 2008 at 7:26 PM, bugs_ [EMAIL PROTECTED] wrote:
%@ taglib uri=/tags/struts-html prefix=html %
html:html locale=true
head
titleJSP page/title
script type=text/javascript
Hi
I have the following problem with url in my web application:
I run my app using Struts2 and Tomcat6.
Context name of webapp: MY_WEB
Namespace in my package tag of struts-config.xml:
package name=register namespace=/register extends=tiles-default
Mapping of Action class in my
Hi,
I doesn't mean about having access to database from jsp.What I mean is, what
is the syntax of jstl tags to reference the beans placed in the context.
Anyways, Thanks for replies,I solved the problem by just mapping using
the attribute 'name' in s:textfield/.
Thanks.
dkarr wrote:
The
Thanks for the informative reply
newton.dave wrote:
--- RajiR [EMAIL PROTECTED] wrote:
So inorder to redirect it to a new page, should I use
redirect-action or dispatcher and why?
http://struts.apache.org/2.0.11.1/docs/redirect-action-result.html
No mistake. AFAIK that's a design flaw of the default action mapper.
See:
http://www.planetstruts.org/struts2-blank/example/somecrap/HelloWorld.action
If there's no match in a package namespace it falls back to the default
package and matches a little to generously.
You may be able to
On Wed, Mar 12, 2008 at 4:17 AM, xianwinwin [EMAIL PROTECTED] wrote:
Thanks Ealden, this was very helpful!
I tried that and it works fine.
Question, say I wish to check for a date, so far I've been doing it this
way:
example
private Date delta;
Thanks Jeromy!
Ive tried creating a package with empty name space ie :
package name=register namespace=/ extends=tiles-default
then the following url :
http://localhost:8080/MY_WEB/acc.register.RegistrationForm.do
without the namespace works fine ..
But any other way to keep my namespace in
40 matches
Mail list logo