yes, I did try that. When I use it without encoding, it doesn't recognize
the .jsp file.
-Original Message-
From: Kjersti Berg [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 13, 2005 12:36 PM
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: Re: IBM Portal server V5.0.2.3
Have
Have you tried using a regular struts tag?
We're using the Struts Portal Framework that ships with Webshere Portal
Server, and this works just fine for us.
Kjersti
On 08/12/05, Meenakshi Singh <[EMAIL PROTECTED]> wrote:
>
> yes I am using WSAD V5.1.1 & using portal server. I have created the
>
I'm starting to begin looking at JSF in part because of what I've read
here on the Struts mailing list. i.e. Struts is embracing JSF, many
developers see it as inevitable. I have some experience with Tapestry and
Ruby on Rails so I'm excited about component frameworks. However, what I
don't know, h
On 12/12/05, Antony Paul <[EMAIL PROTECTED]> wrote:
> I found Struts Menu to be good one
> but it seems that it is not actively developed now. The last release was in
> Sep 2004.
Why mess with perfection? ;) Struts Menu is well supported (questions
on the mailing list get answered) and it's incl
On 12/13/05, Larry Meadors <[EMAIL PROTECTED]> wrote:
>
> Tigra menu is the bomb.
>
> http://www.softcomplex.com/products/tigra_menu/demo/blue/
>
> Larry
>
>
> On 12/12/05, Antony Paul <[EMAIL PROTECTED]> wrote:
> > Hi all,
> > I am looking for a component to create menus in Java web
> applicat
Tigra menu is the bomb.
http://www.softcomplex.com/products/tigra_menu/demo/blue/
Larry
On 12/12/05, Antony Paul <[EMAIL PROTECTED]> wrote:
> Hi all,
> I am looking for a component to create menus in Java web applications. I
> want to have a drop down menu with many levels and a tree menu w
U can go for CoolMenus too
Check this out
http://www.dhtmlcentral.com/projects/coolmenus/
On 12/13/05, Antony Paul <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>I am looking for a component to create menus in Java web applications.
> I
> want to have a drop down menu with many levels and a tree me
Hi all,
I am looking for a component to create menus in Java web applications. I
want to have a drop down menu with many levels and a tree menu with
expand/collapse. It should be configurable to work in client
side/serverside. It should work with Struts/Spring and should be Apache or
compatible
Checkout this. Very good one
ditchnet.org/taglibs/
On 12/13/05, Yujun Liang <[EMAIL PROTECTED]> wrote:
>
> Tiles is needed for option 1, but I am not sure if it is still needed if
> using Struts-Layout.
>
> On 12/13/05, Jim Douglas <[EMAIL PROTECTED]> wrote:
> >
> > Can this be done easily with
Is there a way to specify the order of validaions to occur using
validation.xml?? I have noticed that "mask" take precedence over "minlength"
On 12/13/05, Laurie Harper <[EMAIL PROTECTED]> wrote:
>
> Bahadır Yağan wrote:
> > Hi,
> >
> > Is there a way to change the behavior of the validation pl
Thanks Laurie :)
On 12/13/05, Laurie Harper <[EMAIL PROTECTED]> wrote:
>
> Struts uses the Jakarta ORO regex package [1]. It provides Perl5-like
> regular expression support, so any guide to Perl5 regex's should be
> applicable. If you want to *really* understand regular expressions, in
> all thei
Paul, are you incliding the actions using ? And each included
action forwards to JSP fragment? This is against the spec and should
not work on Tomcat. Do you use Resin? It works on Resin, I tested
it when I started with Struts Dialogs. Resin is good ;)
So, if you are using the technique above, it
Thanks, managed to get it working by re-writing a gang of code, so not
sure what exactly was the culprit :|
-Josh
--
"His comrades fought beside him, Van Owen and the rest...
But of all the thompson gunners- Roland was the best."
Josh McDonald
Analyst Programmer
Information Technology
P
"Josh McDonald" <[EMAIL PROTECTED]> wrote on 12/12/2005
06:26:33 PM:
> Bit of a noob to debugging struts apps, what exactly does "Failed to
> obtain specified collection" mean? I can't find anything on google that
> explains it. I've gone over the JSP code and various actions and forms
> etc, and
Tiles is needed for option 1, but I am not sure if it is still needed if
using Struts-Layout.
On 12/13/05, Jim Douglas <[EMAIL PROTECTED]> wrote:
>
> Can this be done easily with Tiles?
>
>
> >From: Yujun Liang <[EMAIL PROTECTED]>
> >Reply-To: "Struts Users Mailing List"
> >To: Struts Users Maili
On 12/12/05, David Evans <[EMAIL PROTECTED]> wrote:
> Hello all,
>
> I have a requirement for a dynamically created menu on all pages of a
> web site i am creating. So i created an action that creates a List of
> MenuItems, and then forwards to a jsp that uses jstl to forEach through
> the list and
Hello all,
I have a requirement for a dynamically created menu on all pages of a
web site i am creating. So i created an action that creates a List of
MenuItems, and then forwards to a jsp that uses jstl to forEach through
the list and generate the appropriate html. the jsp page only has the
snipp
Can this be done easily with Tiles?
From: Yujun Liang <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List"
To: Struts Users Mailing List
Subject: Re: tabs is struts
Date: Fri, 9 Dec 2005 09:02:42 +1100
On web page, there are two kinds of tabs,
1. Tab-looking pages with the different sty
For developers, I suggest looking into this proposed enhancement. Instead of
duplicating the path
again in the forward, you can forward to actions. Please vote for this if you
think it is
valuable; perhaps it will make it into future versions of 1.3 or 1.4.
http://issues.apache.org/bugzilla/show
[ANNOUNCEMENT] JSP Controls Tag Library v. 0.1 is released
Ho-ho-ho! The Christmas is around the corner, it is time to make
wishes come true. How about writing portlet-like web components using
Struts without need for Portal engine? Here you are!
JSP Controls is a solution for building portlet-li
Bit of a noob to debugging struts apps, what exactly does "Failed to
obtain specified collection" mean? I can't find anything on google that
explains it. I've gone over the JSP code and various actions and forms
etc, and can't see anything wrong, and the code is copied from another
jsp that's simpl
Perry Jeung wrote:
I have a html:form tag with a dynamic action value that works in one version of
Struts and not in another.
I'm new to Tiles and I want to do the following in one of the reusable tiles
named report.jsp:
" >
In an experiment, I took the struts-example webapp from the Struts 1.
Ah, in the "modern" world of AJAX and the like, enclosing forms many times
are no longer much use. I wouldn't say it does much harm to still do it
in most cases, it just becomes somewhat superfluous.
Maybe you have a who's purpose is to change the contents of a
by firing off an AJAX event. No
The documentation for html:select states that, 'This tag is only valid
when nested inside a form tag body.' It *might* work without an
enclosing html:form tag, but you would need to tell the
html:optionsCollection tag where to lookup the 'system_href' property.
Try adding name="availableSystem"
Andrzej Bengner wrote:
[EMAIL PROTECTED] napisał(a):
In that case, when action mapping looks like this
(as you wrote in your mail before):
then you have to do the following at the end of your
action (after all work has been done):
return mapping.findForward( "ok" );
I do this, but
There are also limitless ways in struts of instantiating the lists of
beans or values for dropdowns.
In my experience the only factors involved in making a list available to
a JSP taglib are: (1) which list is needed (2) what parameters are
required to constrain the list and (3) how long it sh
I haven't used portlets, but my guess would be that if you look at the
links generated by a working portlet you'll see that they have extra
query parameters and/or point to a portlet container-specific servlet or
something, so that the portlet container can process the request and
reconstruct a
Bahadır Yağan wrote:
Hi,
Is there a way to change the behavior of the validation plug-in, to
print the errors inside the page rather than showing them in a message box.
You can place server-side validation errors anywhere in the page you
like, but there's currently no way to control how clie
Hi
> I have several classes derived either from ValidatorForm or ActionForm.
> Both
> classes mark my derived class as serializable. I get a compiler warning
> about a missing serialVersionUID.
>
Maybe you are using non-serializable attributes. Check out the
serializable guide in java's docs.
>
Struts uses the Jakarta ORO regex package [1]. It provides Perl5-like
regular expression support, so any guide to Perl5 regex's should be
applicable. If you want to *really* understand regular expressions, in
all their gory detail, I highly recommend Mastering Regular Exressions
from O'Reilly.
From the documentation:
"The dynamicJavascript and staticJavascript attributes default to
true, but if dynamicJavascript is set to true and staticJavascript is
set to false then only the dynamic JavaScript will be rendered. If
dynamicJavascript is set to false and staticJavascript is set to
I have several classes derived either from ValidatorForm or ActionForm. Both
classes mark my derived class as serializable. I get a compiler warning
about a missing serialVersionUID.
Why are those classes serializable, because data transfered through a
network connection? How do I have to handle t
Laurie Harper wrote:
Because if they were relative Struts would have no way to know what they
were relative *to*?
But why does it need to know? I have links in sites that I look after like
foo/bar/bash.html
If I access this via http://mybox.com/, then the browser does the right
thing. If it'
Mine are, because I do submits off of those pages. If you use a form,
then the scriptlet logic you have can go into the action and you don't
have that messy java code in your jsp.
On 12/12/05, Leung Ping Cheung <[EMAIL PROTECTED]> wrote:
> Should the jsp be tied to a form for this case?
>
> I do
you need to setup at least 2 environments
One for debug/development
One for release
When in debug/development you are in DEBUG mode which means you will generate
and be able to see the logs
When you are in release DEBUG is not enabled which means you will not be logging
code which contains log/de
If someone decompile the obsfucated classes which have log.debug, they can
easily put the original names
with obsfucated method names.
and if they see the log statements in sources, they can set up log4j
properties with specific
package enabled to get the control flow etc..
I think I was not clea
Should the jsp be tied to a form for this case?
I do not make up a form.
I do this in the jsp.
<%
List availableSystemList =
UserSystemService.getInstance().getAvailableSystemList(request.getRemoteUser());
request.setAttribute("availableSystem", availableSystemList);
%>
where syste
Hmm, perhaps I misunderstood. I thought what he was saying was, he wants to
obfuscate the method name "whatever", so the log.debug argument has to be
changed as well . . .
However, if the value of log.isDebugEnabled can be discovered at compile time
(not sure how commons logging works), perhaps
this is straight from the docs available at
http://jakarta.apache.org/commons/logging/apidocs/org/apache/commons/logging/Log.html
/*only enable when debug is enabled*/
if (log.isDebugEnabled()) {
log.debug("whatever");
}
Martin-
- Original Message -
From: "su mo" <[EMAIL PROTECTED]>
To:
Well, yes, but KlassMaster (sounds like ProGuard has this too) allows you to go
in and manually "rename" stuff that can't be renamed automatically. So, the
more XML-Java bindings you have, the more work it's going to be, but the people
who develop the obfuscators know this, so they (we hope) giv
Goodness Im a twit. Thank you!
chhum
Quoting Wendy Smoak <[EMAIL PROTECTED]>:
> On 12/11/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> > I think so. I have this in the jsp
> >
> >
> > this writes out as
> > > action="/prpi/core/surveys/data_match.do">
>
> An empty form? Try puttin
If I understand this correctly Struts is doing the correct thing. It
should go to http://localhost/context/MyAction.do and not
http://localhost/context/path/MyAction.do
If you really must have path in your URL, then maybe you should put
that in your action path:
I use this for thing
Hi -
I tried this approach after my initial question
My app uses dispatch action classes with parameter configured to method
names.
I have used ProGuard and configured in a such a way that public methods of
Action classes
are left untouched. (no name change)
My each "public Action method" has
Could you post your complete action mapping and
your corresponding Action (or only the important parts?)
FormBean:
type="com.edirect.pl.app.cmsold.struts.form.SendLinkForm"/>
Action:
parameter="/popup/sendlink.jsp"
type="com.edirect.pl.app.cmsold.struts.control.SendLink"
name="SendLinkForm">
Could you post your complete action mapping and
your corresponding Action (or only the important parts?)
Peter
-
[EMAIL PROTECTED] napisał(a):
> In that case, when action mapping looks like this
> (as you wrote
[EMAIL PROTECTED] napisał(a):
In that case, when action mapping looks like this
(as you wrote in your mail before):
then you have to do the following at the end of your
action (after all work has been done):
return mapping.findForward( "ok" );
I do this, but struts still forwarding
In that case, when action mapping looks like this
(as you wrote in your mail before):
then you have to do the following at the end of your
action (after all work has been done):
return mapping.findForward( "ok" );
where the "ok" has to be the same in the method and in
forward name para
The parameter attribute defines the target of your
forward action, that is your jsp.
Thanks.
And what if I want to execute my action (do something) and forward to
this path (/path/file.jsp or /path/MyAction.do)?
Regards
--
Andy
--
Hi!
If you only want your Action to forward to the jsp, and do
nothing else, use a ForwardAction like this:
The parameter attribute defines the target of your
forward action, that is your jsp.
Greetings
Peter
-
Hello,
I ha
Hello,
I have one problem with forwarding my action.
In my action mapping is:
and when I execute my action, then forwarding me to
localhost:8080/context/MyAction.do - not
localhost:8080/context/path/file.jsp (or
localhost:8080/context/path/MyAction.do)
How can I dissolve this?
50 matches
Mail list logo