> http://struts.apache.org/1.3.10/userGuide/building_controller.html#plugin_classes
>
> Nils-H
>
> On Wed, Apr 1, 2009 at 4:49 PM, laredotornado
> wrote:
>>
>> Hi,
>>
>> I'm using Struts 1.3 on WebLogic 9.2.2. I have this defi
Turns out you don't have to add anything to your web.xml file since Struts
automatically loads all elements upon startup and invokes their
"init" methods. So problem has been solved.
Thanks to all, -
Antonio Petrelli-3 wrote:
>
> 2009/4/2 laredotornado :
>> I&
Hi,
I'm using Struts 1.3 with WebLogic 9.2.2. I would like my URL
http://mydomain.com/context-path/refresh
to do the same thing, or at least point to the same place that
http://mydomain.com/context-path/refresh.do goes. How can I set this up?
Thanks, - Dave
--
View this message in context
Hi,
I'm using the latest version of MockStrutsTestCase to test my Struts 1.3
application. I'm using Ant 1.6. I have Ant Junit tasks that look like ...
Hi,
I'm trying to migrate my app from struts 1 to struts 2. On a particular JSP
page, I get this error
The page generated an error: Exception:
The Struts dispatcher cannot be found. This is usually caused by using
Struts tags without the associated filter. Struts tags are only usable when
the
one of the JSPs you mapped as results.
>
> Also, is there any reason why you are changing the interceptor stack?
> You don't have validation and workflow, which seems a bit odd...
>
> -Wes
>
> On Mon, Jun 22, 2009 at 12:27 PM, laredotornado
> wrote:
>>
>> H
Hi,
I'm migrating my app from struts 1 to Struts 2. In my Struts 1 app, I had
this class ...
public class RefreshAction extends Action implements PlugIn {
...
}
and this in my struts-config.xml file ...
So how do I convert this to Struts 2? There doesn't seem to be a support
for "plug-
Hi, We are using WebLogic 9.2.2 with Java 1.5. The application is written
using Struts 1.3 and log4j 1.2.15. We found a number of errors that looked
like below in our managed server's .out file. Any ideas what might be a
cause or how to troubleshoot further? Our sys admin sadly did not preserv
Here is my contribution to the good of humanity. The below problem went away
when we increased the number of file descriptors available to our WebLogic
managic server process from 1024 to 65K. - Dave
laredotornado wrote:
>
> Hi, We are using WebLogic 9.2.2 with Java 1.5. The applicat
Hi,
I'm using Struts 1.3. I have this in my JSP page ...
<%
final RoutingEnginePropertiesMgr rePropMgr =
RoutingEnginePropertiesMgr.getInstance();
if (rePropMgr.isUseCaptcha()) {
%>
https://api-secure.recaptcha.net/challenge?k=<%=
rePropMgr.getCaptchaPublic
e struts taglibs.
>
>> -Original Message-
>> From: laredotornado [mailto:laredotorn...@gmail.com]
>> Sent: Monday, July 27, 2009 11:51 AM
>> To: user@struts.apache.org
>> Subject: Cleaner way to create this page?
>>
>>
&
Hi,
I'm using Struts 1.1 on WebLogic 9.2.2. I have this tag
" size="20" maxlength="50" readonly="<%= exists
%>" />
but when my JSP is rendered, the expression, "<%= (newUser != null ?
newUser.getNewName() : "") %>" actually appears in the browser. Anyone know
how to make the actual value of t
Hi,
I have this hidden field
which is causing me compilation errors because "forceId" is not recognized
as an attribute. How do I create a struts hidden field so that an ID is
generated in addition to the name attribute?
Thanks, - Dave
--
View this message in context:
http://www.nabble.com
Hi,
I have a single select menu on my search page. What is the struts way to
construct this menu such that when the user is redirected to this search
page, the menu is pre-selected with what they selected from the original
search?
Thanks, - Dave
Hi,
I'm using Struts 1 and trying to figure out the mysterious world of
forwarding. I have
String path = new
String("/npsim/appGroupsAdmin.do?addAppGroup=Add+New+Group&submitted=submit&task=add&appName="
+ URLEncoder.encode(appName));
return new A
setName(originalForward.getName());
> forward.setRedirect(originalForward.getRedirect());
> return forward;
>
> But i use some ancient s1 version.
>
> So firstly You can try without URLEncoder.encode(appName),
> then you can add printing constructed string and
I'm using Struts 1. In my execute method, I have a clause that looks like
String path = new
String("/appGroupsAdmin.do?addAppGroup=Add+New+Group&submitted=submitted&task=add&appName="
+ URLEncoder.encode(appName));
return new ActionForward(path);
Hi,
I'm using Struts 2. I am fairly new to Struts and wondered how I would set
this up. What I want to do is when someone types in
"mydomain.com/context_path/flow.do", something on the server side catches
the request, and a parameter with name="token", value="123" to the request,
and then forwa
Hi,
I'm using Struts 2. I have this action-mapping ...
I first visit my page, http://localhost:7005/re/jsp/pcAccountLookup.jsp,
which submits a form to "/re/pcFlow.do". Unfortunately, this is when I get
a 404 error. Wha
Hi,
If request validation fails, how can I forward the user to a different page
than that from which they came? The scenario is that an external web site
is going to invoke our site with something like
"/ourForm.do?param1=xxx¶m2=" and if their parameters are not valid,
we want to forward the
currently ...
- Dave
Jim Kiley wrote:
>
> Just have the result of the input() method return them to a different page
> under that condition.
>
> On Fri, Feb 27, 2009 at 12:41 PM, laredotornado
> wrote:
>
>>
>> Hi,
>>
>> If request vali
ecute method. The forwarding will take place in your struts.xml file
> as previously suggested.
>
> If you need to execute code regardless of the validation, look into
> the prepare method.
>
> On 2/27/09, laredotornado wrote:
>>
>> But it seems like the "Act
Hi,
I'm using Struts 1 with Weblogic 9.2.2 (Java 1.5), running on my local Win
XP machine. I'm getting this error when trying to deploy my WAR in my
Weblogic logs ...
<[ACTIVE] ExecuteThread: '0' for queue:
'weblogic.kernel.Default (self-tuning)'> <> <> <>
<1236353508999>
at
Hi,
I'm using Struts 1. In my ActionForm's validate method, I have a section of
code ...
final ActionMessage am = new
ActionMessage("error.accountNum.wrong.length");
errors.add(ACCOUNT_NUM_PARAM_NAME,am);
My question is how can I verify that the
Hi,
I'm using Struts 1.3 on WebLogic 9.2.2. I have this defined in my
struts-config.xml file:
This servlet takes no parameters. How do I get this to run upon application
startup?
Thanks, - Dave
--
View this message in context:
http://www.nabble.com/How-do-I-execute-this-
Hi,
Using pre-Struts 2, is there a tag that will create a date (month, day, and
year)? What would I need to do in the ActionForm? In other words, it seems
like the ActionForm can only deal with String and boolean member fields.
Thanks, - Dave
--
View this message in context:
http://www.nabbl
Hi,
Using pre-Struts 2, what is the preferred method of creating a navigation
menu? I have something that looks like this --
http://screencast.com/t/xmVBY9Te and the desire is that as I click on each
nav item it takes me to my page of choice while styling the current menu
selection differently.
Hi,
I am asking if there is a tag which will create separate HTML form inputs
for month, day and year.
Thanks, - Dave
Laurie Harper wrote:
>
> laredotornado wrote:
>> Hi,
>>
>> Using pre-Struts 2, is there a tag that will create a date (month, day,
>> and
>
%
}
if(allowedTasks!=null &&
allowedTasks.contains(IMConstants.taskAdmin) ||
allowedTasks.contains(IMConstants.taskManageGroups)) {
%>
-1 ? "menuLinkSelected" : "menuLink" %>"
href=
Hi,
I'm using Struts 1. I'm trying to clean up some code and make it into a
proper Struts form. How do I create a button whose disabled attribute is
set to true or false depending on a certain condition on my page? (The
condition is if the variable "endCount" is less than the variable
"maxCoun
Hi,
I'm using Struts 1. We want to load our message resources properties,
currently defined in our struts-config.xml file:
from a database. Now of course, they are in a file called
"MessageResources.properties". What is the proper way to do this?
Thanks, - Dave
--
View this message in con
31 matches
Mail list logo