sp must be:
...
But this doesn't matter at all :-)
Kind regards,
Andreas Hartmann
Paul Benedict wrote:
> Make sure you're not redirecting. You will lose request attributes if you do
> so.
>
> On 8/13/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>>
>>
.
May be, it should be written as:
<%@ taglib uri="/WEB-INF/struts-html-el.tld" prefix="html-el" %>
<%@ taglib uri="/WEB-INF/struts-logic-el.tld" prefix="logic-el" %>
(from: http://entwickler-forum.de/showthread.php?t=33417 )
Kind
Hello!
I took the source code an implemented the missing attribute myself.
Kind regards,
Andreas Hartmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
ting? One
> way or another you will need to ensure that
> HttpServletRequest.isUserInRole() is aware of your authorization data.
That's my problem. I don't use container managed security, but my own one,
which is application drive
,
kind regards,
Andreas Hartmann
--
FIDUCIA IT AG
Fiduciastraße 20
76227 Karlsruhe
Sitz der Gesellschaft: Karlsruhe
AG Mannheim HRB 100059
Vorsitzender des
Hello Chris,
I found a bugentry in the struts bug database
(https://issues.apache.org/struts/browse/STR-2304). As a solution, I'm using now
the argx-option of bean:message.
Thanks for your hint, to Martin, too!
Kind regards,
Andreas Hartmann
"Chris Pratt" <[EMAIL PR
1].disabled=false;
How can I prevent struts to try to parse this text?
Thanks,
kind regards,
Andreas Hartmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
ie either. After restarting the
browser and therefore the deletion of the wrong cookie, the login did work
fine again.
I think there is a problem in struts / jsp wherever with the handling of
cookies and or URL-rewriting. Somebody out there, who knows more about the
implementation of the sessi
a hint where to look at?
It's totaly mysterious, because if I put the complete tomcat-directory to
another machine, and start this application there, all is working fine again.
Kind regards,
Andreas Hartmann
-
To unsubsc
Hello!
The problem is fixed meanwhile. I forgot to set the Hashtable in the ActionForm
after it has been defined in Action. And the line 2 in the jsp must be correctly
written as
Kind regards,
Andreas Hartmann
[EMAIL PROTECTED] schrieb am 25.10.2006 08:42:03:
>
> Hello!
>
> I
Kind regards,
Andreas Hartmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
, therefore producing less CPU load). They
could be much easily be maintained, because it's evident, where to search a
problem or where to extend a new feature.
Does anybody has an additional idea?
Kind regards,
Andreas Hartmann
---
;, so the problem doesn't
exist, if the user just presses return.
Kind regards,
Andreas Hartmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
solve this problem or where to search to locate the problem?
Kind regards,
Andreas Hartmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hello Antonio,
thanks for your hint!
Kind regards,
Andreas Hartmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
hanks for any hint,
kind regards,
Andreas Hartmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
t.myform.myproperty.value="desired_value";
document.myform.myproperty.click();
That's the way it works.
Caveat: You have to take care, that the old value of the submit-button has to be
written back :-).
Kind regards,
Andreas Hartmann
On 9/12/06, puneet.lakhina wrote:
>>On 9/12/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>>
>> On 9/12/06, puneet.lakhina wrote:
>>
> >> On 9/12/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
wrote:
> >>>
> >>>
> >>> Hello,
> >>>
> >>> I do have a problem, because I don't know how to submit a form
On 9/12/06, puneet.lakhina wrote:
> On 9/12/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>>
>>
>> Hello,
>>
>> I do have a problem, because I don't know how to submit a form with
>> javascript
>> in struts.
>>
>> Normally, I'm submitting forms like this:
>>
>>
>>
>>
>>
>> I'm receiving the
th a
Some text
dosubmit is a function like
dosubmit(what)
{
document.formname.value=what;
document.formname.submit();
}
The browser submits the form (I'm getting no javascript error), but I don't get
the value of document.formname.value.
I would be glad to get some he
-object.
Kind regards,
Andreas Hartmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
e new one.
request.getSession(true) gives a new session, but only if the user doesn't have
an existing session.
Any hints?
Kind regards,
Andreas Hartmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comman
Hello Puneet!
I could solve my problem now on my own :-). I addressed the class directly in
the jsp-file:
The created symlinks I mentioned in the other post are not needed any more.
Kind regards,
Andreas Hartmann
-
To
want to load it. Do
you have an idea?
Thanks for your help,
kind regards,
Andreas Hartmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
s
really a pity that the struts taglibs don't work in any case. Will there
be a solution in the future :-)?
>
> Dont think this solution is pleasing to the eye:-)
If it works ... .
Thanks for yout hint,
kind regards,
Andreas Hartmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
(the bean:write -
tag without the cookie - tag works fine).
Which way must the bean:cookie - tag be written to get a dynamic default value?
Thanks for any hint,
kind regards,
Andreas Hartmann
-
To unsubscribe, e-mail: [EMAIL
g fine now after I changed the welcome-file-list to login.jsp
- even the app in the directory which doesn't run before if the
application name has been added to the URL.
Thanks for your hint,
kind regards,
Andreas Hartmann
---
jsp] - Servlet.service() for servlet jsp threw exception
java.lang.ClassNotFoundException:
org.apache.jsp.pages.login_jsp
I'm really surprised to get this error, if the application is directly
addressed.. Does anybody know, why?
Thanks for any hint,
kind regards,
Andreas
Hi Frank,
thanks for your advice. I'm doing something similar. The polling is done
by the user and not with a script. But this has the disadvantage, that the
user does not directly get information at then end of the process but
after the end of a polling cycle or after he manually asked again.
An
for any hint,
kind regards,
Andreas Hartmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
= PropertyUtils.getProperty("someProperty");
> BeanUtils.setProperty("someProperty", somePropertyValue);
>
> -ed
Thanks for this hint!
Kind regards,
Andreas Hartmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
tion. All needed
values are stored in predefined variables.
Thanks for your help,
kind regards,
Andreas Hartmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hello!
I've got the following problem in an action-class: I dynamically want to
retrieve the ActionForm class, which has been called before the Action-class.
Statically, I do this with
ActionFormClass afc = (afc)fm;
How is it done dynamically? I've got the String name of the desired
Class-Name
Hello Dave,
Dave Newton wrote:
> Andreas Hartmann wrote:
>> How does struts determinate the destination to go to in error situation?
>>
>
> If you're letting Struts do the validation it will return to whatever
> you have defined as the 'input' attrib
How does struts determinate the destination to go to in error situation?
Where does it come from (which object, where can I define it in
struts-config.xml if this should be possible)?
Do I have the chance, to manipulate the object during runtime
eate a new session-id without destroying the old one.
Thanks for your help,
kind regards,
Andreas Hartmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Dave Newton wrote:
> Andreas Hartmann wrote:
>> No, that's not done. I thought, this would be done in the "background" by
>> struts automatically.
>
> getContextPath is from J2EE, not Struts :)
I still have to learn a lot :-(, I know. But I really like it
manually" which
worked too, but wasn't as perfect :-).
Kind regards,
Andreas Hartmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hello Dave,
Dave Newton wrote:
> Andreas Hartmann wrote:
>> I implemented two filters which work fine if session handling is done with
>> cookies. If the session-handling is done by URL-rewriting, the session
>> seems to be lost after the sendRedirect().
>>
>>
{
HttpServletRequest req = (HttpServletRequest) request;
HttpServletResponse res = (HttpServletResponse) response;
if (something)
{
res.sendRedirect(req.getContextPath()+onFailure);
}
}
I would be glad to get some help,
kind regards,
Andreas
Hello Rick,
Rick Reumann wrote:
> Andreas Hartmann wrote:
>> Hello Tarun,
>>
>> Tarun Reddy wrote:
>>> Hi,
>>> You can do this way,
>>>
>>>
>>>
>>>
>>>
>>>
>>> This shou
ind regards,
Andreas Hartmann
On 5/5/06, Andreas Hartmann <[EMAIL PROTECTED]> wrote:
Hello!
I've got in a jsp the following code:
-> This does not work.
srv contains a string which I want to have as value of html:multibox. How
should it be written?
I would be glad to get a h
Hello!
I've got in a jsp the following code:
-> This does not work.
srv contains a string which I want to have as value of html:multibox. How
should it be written?
I would be glad to get a hint!
Kind regards,
Andreas
Hello Bart,
Bart Busschots wrote:
> Andreas Hartmann wrote:
>> Bart Busschots wrote:
>>
>>> Hi Andreas,
>>>
>>> Like any other web server a Java based web server use the Common Gateway
>>> Interface (or CGI) for sending information betwee
send? Which classes could be used best to
reach this approach? Is it possible to achieve this behavior with the
action-class?
I thought about an applet too, but this seems to be very expensive for now.
Kind regards,
Andreas Hartmann
---
nybody some ideas, some hints how to do this? May be, there are known
problems or it doesn't work at all?
Kind regards,
Andreas Hartmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
r any help,
kind regards,
Andreas Hartmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hello Rick,
I implemented your idea for unknown
Hi Vinit,
I will try it when I need it. How can I access the entry without using a
variable by giving the keyname hardcoded? Is it written like this:
Kind regards,
Andreas Hartmann
Vinit Sharma wrote:
> Hi,
>
> JSTL can help you here. Suppose key comes from bean item:
>
>
e some_other_list.get(1)
e.g.) or a literal like key1 as defined in the example above.
I would be very glad, if anybody could solve my problem with directly
accessing Hashtables in jsp-file.
Kind regards,
Andreas Hartmann
-
To
could give me some advice, how to do these
things.
Kind regards,
Andreas Hartmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
51 matches
Mail list logo