Waiting for the return value of a JAVA scriptlet

2006-01-31 Thread Andreas B. Thun
Hi, I wrote a JSP to start a JAVA scriptlet. It works fine but now I have the problem to evaluate the return value of my scriptlet to give the user a feedback if the action was successful. getErrorCode() delivers the scriplets return value. I have to wait until the scriplet is finished... Do you

Re: Using an attribute defined in tiles-defs.xml in a JSP as a JAVA var

2005-12-30 Thread Andreas B. Thun
Hi Greg, thanks for your reply, good hint...but the content of my JAVA var "country" is (null). :-/ I definitely have put a in my tiles-defs.xml... TIA, Andi <%@ taglib uri="http://java.sun.com/jstl/core"; prefix="c" %> name="selectedCountry"/> <% String country = selectedCountry +

Using an attribute defined in tiles-defs.xml in a JSP as a JAVA var

2005-12-29 Thread Andreas B. Thun
Hi, I am facing a problem here. Would be great if you´d help me: In my tiles-defs.xml I defined an attribute "selectedCountry" with value "EN": I want to use the value of "selectedCountry" ("EN") in a JSP and tried When I want to use it as a JAVA variable: --- snip