hi,
My problem could be strange but let me describe it. I've a application where
data for every page is customized to some filter. For example there is page
showing records from database. The data are limited to currently selected
user (user object stored in session). Hence there are many pages wh
hi,
Have anybody seen a class similar in its behaviour to excel's sheet. I mean
the ability to enter values in some cells and in another cell specify some
kind of formula
Rgs
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For ad
hi,
Am I correct that only one Action instance is being created by the
server?. I mean all users/threads share the same instance? Base on this
I surmise that if I extend Action like that:
public abstract class MyAction extends Action {
protected static final IAuthorizer auth=new MyAuthorizer();
hi,
My doFilter method looks like that:
public void doFilter(ServletRequest arg0, ServletResponse arg1,
FilterChain arg2) throws IOException, ServletException {
arg2.doFilter(arg0,arg1);
try{
HibernateSessionFactory.commitTransaction();
System
Nimish Chourey , Tidel Park - Chennai wrote:
Hi ,
I am using struts struts-1.2.4 . I am not able to catch the
exception which are caused whenever there is a problem in laying the tiles .
For Eg in the below code , if ftpStatus.jsp gives a error , I do not get the
exception either in the bro
hi,
I'm looking for links/examples how to download file in struts action. In
action I have OutputStream but what header should I send and the most
important how the stram should be send to browser
-
To unsubscribe, e-mail: [EMAI
Frank W. Zammetti wrote:
Hello,
Do you want to use the Struts DownloadAction? If so, have a look here:
http://wiki.apache.org/struts/StrutsFileDownload
Even if you don't want to use it, you may find the example helpful, along
with the source for DownloadAction, to help you along.
Unfortunatelly I
hi,
Is there a easy way to have more than one param attached to strut's
I know that there is a soultion with HashMap, but in case I just need to
attache additional param to already exsisting in some bean I'm bound
to use scriplet to create a hashmap.
Rgs
--
Aladin Alaily wrote:
Hi Pham,
I think this was mentioned earlier. There are two things you can do:
1) Use a filter with a url-map to your action
2) Use security constraints
Aladin
Pham Anh Tuan wrote:
Hi all,
This is the second time I post this message for help :(.
I don't know how to restrict ac
hi
Is it possible to check in jstl if bean is available?
Is this code correct
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I thought defines a new bean in page scope. If this is true
I do not understand why attached code keeps throwing exception that no
getB() is not defined.
Login
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comman
hi,
I've a page on which there are a lot of similar data. For every week in
a year (52 total) I have 3 different values for instance:
week 1
efficiency=98
complaints=45
other=3
I've decided that HashMap will be the best to store all of the values
and access each value base on key (key is bein
hi,
I know this group focus on other issues but could anybody suggest me any
good program for drawing buttons and writing text on transparent
background. At this moment I use GIMP but fonts looks woefully !!!
Which is the best font for these things
-
hi,
My application use Tomcat's security mechanism to authorize users. My
question is: Is it possible to add user a new role without forcing him
to logout. I need this because in some circumstances user has different
roles (for instance when in session there is object A user has roles:
roleA,
hi,
The problem is that after I validate values in the method, the
controller forwards me to input page. Since I use tiles in my
application I'd like to be forwarded to tiles definition not input page
(I need to preserve header, menu etc).
The question is: Is it possible to use validate meth
hi,
Actinally my question is how to access container from struts action but
if I know how isUserInRole is working I'll be able to solve my main
problem which is:
Is it possible to access container from action. I'm using securityfilter
which extends BaseRealm. In this way I can put additional p
ok but is it possible to reload roles manually from action. Function
getPrinciple() seems to solve some of my problems but still I need to
have an possibility to reload roles. I can not find setPrinciple function
-
To unsubscr
Frank W. Zammetti wrote:
What do you mean by "reload roles"? Do you mean put changes to your roles
in effect in real-time, or do you mean assign a user to a given role?
I mean the first one. I want to put changes in roles in real-time
I've a code like that
but I get an error that namespace has to be specified.
IsUserInRole is a function so probably I invoke it incorectlly.
How can I check user's role in jstl?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
ri="http://jakarta.apache.org/taglibs/request-1.0";
prefix="req" %>
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Grzegorz Stasica
Sent: Thursday, June 30, 2005 12:48 PM
To: user@struts.apache.org
Subject: check role - isUserInRole in jst
hi,
Prior to opening a page I call an action in order to store in request
collection of value beans. Although I know how to test situation when
everything goes OK I do not know how to test the oposite especially when
Hibernate is being used.
My action in struts-config.xml is as follow:
Rivka Shisman wrote:
Hello Friends,
I have a transfer object called FatherTO that contains a collection of
ChildTO's.
Can you please help me with how the relevant ActionForm (i.e. FatherForm
) should look like.
How should the reset() & validate() methods look like?
Should I use the same j
hi,
I know this question should be asked on jasperreports
http://sourceforge.net/forum but after asking it seems that this group
is dead.
The problem is that I'm limited to standard 14 fonts for PDF. Everytime
I try to use different font in PDF the text is not displayed. My
definition is:
r
hi,
In my application I use jasperreports which works fine on my computer
but I've a problems to run them on production server. The problem is
with compiling report definition. JasperReport uses some packages which
are already in /WEB-INF/lib like (commons-collection.jar). Unfortuatelly
it do
Grzegorz Stasica wrote:
hi,
I know this question should be asked on jasperreports
http://sourceforge.net/forum but after asking it seems that this group
is dead.
The problem is that I'm limited to standard 14 fonts for PDF. Everytime
I try to use different font in PDF the text i
hi,
I'm checking struts-flow package and one of it's features "Remote RPC
support (termed Ajax but with JSON instead of XML) for calling flow
methods from the client". As much as I can see now there is no problem
to invoke actions from struts-config but as much as I see all page is
being rend
Luis Gervaso wrote:
Hello,
What happen in Struts 1.2.7 with init-params
debug
application
detail
I can't find them in ActionServet javadoc
where are documented?
Did you try to use them?
-
To unsubscribe, e-mail: [EMAIL PR
hi,
Basically I'd like to ask why I'm not able to access my messages stored
in action from jsp.
ActionMessages m=new ActionMessages();
m.add(ActionMessages.GLOBAL_MESSAGE,new ActionMessage("error.no_value"));
saveMessages(request,m);
in jsp I try this
value="${requestScope['org.apache.struts
Grzegorz Stasica wrote:
hi,
Basically I'd like to ask why I'm not able to access my messages stored
in action from jsp.
ActionMessages m=new ActionMessages();
m.add(ActionMessages.GLOBAL_MESSAGE,new ActionMessage("error.no_value"));
saveMessages(request,m);
in j
29 matches
Mail list logo