Based on the code snippet you provided you could just define forwards on the
action which match the possable values of procname.
-Original Message-
From: lixin chu [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 08, 2004 11:03 AM
To: [EMAIL PROTECTED]
Subject: Re: dynamically add
I am thinking of another solution - saw people talking
about action chain but do not really understand:
in the page, I use url encoding to differentiate
applications:
Application
1
In the struts-config.xml, i define a stub action:
I would approach this (i haven't tried this) as i said before, by
having an app that modifies the dynamic apps and lets you reload them.
This way you can build it for different containers and if the reload
fails you can manage it. I know there were some postings yesterday that
sounded very info
Thanks for all your input, and Manfred's doc.
I have checked the list archive, and found the similar
discussion (looking for "Dynamic configuration"). I
think my question is similar.
let me explain a bit more on what I am doing:
1. I am building a portal type web application, and I
want to use S
So, I re-read the original post and follow-ups, and it doesn't seem like this is
what was being asked for at all. Maybe it's me, but it sounded like there was
just some confusion about how to do *development*, not how to dynamically add
actions at runtime. If that's the case, Li Xin should check ou
Hi.
After the discussion today I have made a litte paper how to add actions
dynamically. Enjoy. There is a step by step tutorial, what to do. At
runtime I change in this little description my actionpath from demo.jsp
to demo2.jsp. There are a few modification necessary. After that you can
conf
EMAIL PROTECTED]
Sent: Wednesday, January 07, 2004 8:38 AM
To: Struts Users Mailing List
Subject: Re: dynamically add action ?
Maybe.. cant say i recall anything that adventurous in programming with
jakarta struts.
Just seems logical to me that if you're making changes to code as
runtime, and t
book
list two ways of doing it. Can't recollect it right now :(.
-Original Message-
From: Mark Lowe [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 07, 2004 5:29 AM
To: Struts Users Mailing List
Subject: Re: dynamically add action ?
I'm not really sure what you're tryin
al Message-
From: Mark Lowe [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 07, 2004 5:29 AM
To: Struts Users Mailing List
Subject: Re: dynamically add action ?
I'm not really sure what you're trying to do, but assuming its
necessary to generate java code, jsp's etc, i'd be
lixin chur
You must configure your context as the following:
where path is the webapp context and the docbase the phisical folder,
where your webapp is placed.
The reloadabe flag indicates, that tomcat will reload if there are
changes. But: That have nothing to do with struts and jsp!
I'm not really sure what you're trying to do, but assuming its
necessary to generate java code, jsp's etc, i'd be looking at doing
this using 2 webapps 1 would serve as basically a code generator the
other would be the generated app. A bit like the admin and manager
webapps bundled with tomcat
hi,
i just tried these sceniors, it seems that nothing
happened. I checked Tomcat log file, could not find
when it restarted.
do i need to check something special ?
--- Carl <[EMAIL PROTECTED]> wrote:
> If you add new java code in a running Tomcat
> context, by default the
> context will restart
If you add new java code in a running Tomcat context, by default the
context will restart itsel automaticly.
Carl
lixin chu wrote:
Thanks !
I am very new to this web application world, just
wanted to clarify if I can do these in a running
Struts application without restart Tomcat:
1. Can I modi
Thanks !
I am very new to this web application world, just
wanted to clarify if I can do these in a running
Struts application without restart Tomcat:
1. Can I modify existing JSP files ?
Yes, I have tried
2. Can I add new JSP files into existing folder ?
I think so.
3. Can I create new fold
li xin.
In my opinion it is no problem to add a jsp-file to a struts application
at runtime. For this you don't need to restart the server. Changing the
configuration at run time is not possible with the current
implementation of struts. After a module is initialized the
ActionServlet-class fr
15 matches
Mail list logo