Thanks Jeromy!
Ive tried creating a package with empty name space ie :
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 tact in the url because the above
may not be acceptable
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;
>
>
> @TypeConver
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 avoi
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
> http://struts.apache.org/2.0.1
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 .
Thanks.
dkarr wrote:
>
> The basic idea
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 struts
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" %>
>
>
> JSP page
>
> function confirmation(){
>return co
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
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, e-m
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
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
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 m
--- Raghu varma bhupathiraju wrote:
> give me the list of best practices to follow for reducing the
> execution time in struts.
http://struts.apache.org/2.x/docs/performance-tuning.html
Dave
-
To unsubscribe, e-mail: [EMAIL P
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...
>
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 effective
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
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:
http://www.nabble.com/Best-practices-to-reduce-execution-time-in-struts-tp16
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 inte
> 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 Strut
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 (http://m
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 hav
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
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]
S
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
> Date: Wed, 12 Mar 2008 09:23:28 -0400
> 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]
lly worth the effort for small mundane tasks.
But EJB is?!
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
__ NOD32 2940 (20080312) Information __
This m
--- 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
--- "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
>
> http://www.theserverside.com/tt/articles/article.
--- 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 diff
--- 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 struts
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 a
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:
>
> theme="xhtml">
>
> and an Action with some annotated validations:
>
> @Validations
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
http://www.javabeat.n
<%@ taglib uri="/tags/struts-html" prefix="html" %>
JSP page
function confirmation(){
return confirm("Are you sure to update?");
}
This should work. If you have more submit buttons you can use
> Hi ev
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 wa
Hi everyone!
I just want to know how to insert javascripts in a struts page?
here's my version but not working..=(
JSP page
function confirmation(){
confirm("Are you sure to update?");
}
In my test pa
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 witho
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
"disp
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:
40 matches
Mail list logo