Re: [Struts 1.2] javax.servlet.jsp.JspException: No getter method for property: "error

2007-08-13 Thread Andreas Hartmann
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: >> >>

Re: logic:iterate - problem

2007-07-10 Thread Andreas Hartmann
. 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

Re: missing textarea wrap attribute

2007-07-09 Thread Andreas Hartmann
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]

Re: request-taglib: isUserInRole

2007-02-19 Thread Andreas Hartmann
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

request-taglib: isUserInRole

2007-02-16 Thread Andreas . Hartmann
, kind regards, Andreas Hartmann -- FIDUCIA IT AG Fiduciastraße 20 76227 Karlsruhe Sitz der Gesellschaft: Karlsruhe AG Mannheim HRB 100059 Vorsitzender des

Antwort: Re: bean:message-tag: how to write text with { .. } [*]

2006-10-30 Thread Andreas . Hartmann
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

bean:message-tag: how to write text with { .. }

2006-10-30 Thread Andreas . Hartmann
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]

Re: URL-Rewriting suddenly doesn't work any more

2006-10-28 Thread Andreas Hartmann
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

URL-Rewriting suddenly doesn't work any more

2006-10-27 Thread Andreas . Hartmann
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

Antwort: Problem addressing hashtable keys in jsp-file

2006-10-25 Thread Andreas . Hartmann
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

Problem addressing hashtable keys in jsp-file

2006-10-25 Thread Andreas . Hartmann
Kind regards, Andreas Hartmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Creating partly restricted sites

2006-10-16 Thread Andreas . Hartmann
, 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 ---

Re: strange error: submit-value is not always available (update)

2006-10-06 Thread 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]

strange error: submit-value is not always available

2006-10-06 Thread Andreas . Hartmann
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]

Re: Iterating over Hashtable in jsp - wrong sort order

2006-10-02 Thread Andreas . Hartmann
Hello Antonio, thanks for your hint! Kind regards, Andreas Hartmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Iterating over Hashtable in jsp - wrong sort order

2006-10-02 Thread Andreas . Hartmann
hanks for any hint, kind regards, Andreas Hartmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Submitting forms with javascript in struts [*]

2006-09-13 Thread Andreas . Hartmann
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

Re: Submitting forms with javascript in struts [*]

2006-09-12 Thread 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

Antwort: Re: Submitting forms with javascript in struts [*]

2006-09-12 Thread Andreas . Hartmann
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

Submitting forms with javascript in struts

2006-09-12 Thread Andreas . Hartmann
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

Antwort: Re: Creating new Session without invalidating the old one [*]

2006-08-29 Thread Andreas . Hartmann
-object. Kind regards, Andreas Hartmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Creating new Session without invalidating the old one

2006-08-29 Thread Andreas . Hartmann
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

Re: Defining dynamic default value for a cookie [*]

2006-08-28 Thread Andreas . Hartmann
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

Antwort: Re: Defining dynamic default value for a cookie [*]

2006-08-28 Thread Andreas . Hartmann
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]

Re: Defining dynamic default value for a cookie

2006-08-28 Thread Andreas Hartmann
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]

Defining dynamic default value for a cookie

2006-08-28 Thread Andreas . Hartmann
(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

Re: Problem with start URL

2006-08-19 Thread Andreas Hartmann
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 ---

Problem with start URL

2006-08-19 Thread 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

Re: Sending data in the Action class directly to the browser

2006-08-05 Thread Andreas Hartmann
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

Sending data in the Action class directly to the browser

2006-08-05 Thread Andreas Hartmann
for any hint, kind regards, Andreas Hartmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: dynamic casting in Action class

2006-07-26 Thread Andreas Hartmann
= 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]

Re: dynamic casting in Action class

2006-07-26 Thread Andreas Hartmann
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]

dynamic casting in Action class

2006-07-26 Thread Andreas Hartmann
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

Re: wrong direction in validate

2006-06-02 Thread Andreas Hartmann
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

wrong direction in validate

2006-06-01 Thread Andreas Hartmann
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

getting datas from another session

2006-05-15 Thread Andreas . Hartmann
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]

Re: Session lost in filter after redirect while using URL-rewrite

2006-05-10 Thread Andreas Hartmann
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

Re: Session lost in filter after redirect while using URL-rewrite

2006-05-10 Thread Andreas Hartmann
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]

Re: Session lost in filter after redirect while using URL-rewrite

2006-05-09 Thread Andreas Hartmann
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(). >> >>

Session lost in filter after redirect while using URL-rewrite

2006-05-09 Thread Andreas Hartmann
{ 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

Re: How do I insert a value from an id-iterate-bean into the value-tag of multibox?

2006-05-06 Thread Andreas Hartmann
Hello Rick, Rick Reumann wrote: > Andreas Hartmann wrote: >> Hello Tarun, >> >> Tarun Reddy wrote: >>> Hi, >>> You can do this way, >>> >>> >>> >>> >>> >>> >>> This shou

Re: How do I insert a value from an id-iterate-bean into the value-tag of multibox?

2006-05-05 Thread Andreas Hartmann
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

How do I insert a value from an id-iterate-bean into the value-tag of multibox?

2006-05-05 Thread Andreas Hartmann
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

Re: Controlling external process with struts

2006-04-22 Thread Andreas Hartmann
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

Re: Controlling external process with struts

2006-04-21 Thread Andreas Hartmann
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 ---

Controlling external process with struts

2006-04-21 Thread 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]

Updating additional frames

2006-04-16 Thread Andreas Hartmann
r any help, kind regards, Andreas Hartmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: creating html:text-forms on the fly

2006-04-14 Thread Andreas Hartmann
Hello Rick, I implemented your idea for unknown

Re: directly addressing maps in jsp-file

2006-04-14 Thread Andreas Hartmann
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: > >

directly addressing maps in jsp-file

2006-04-12 Thread Andreas Hartmann
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

creating html:text-forms on the fly

2006-04-12 Thread Andreas Hartmann
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]