Problem with multiple associatons between 2 classes

2007-09-14 Thread JCO
I've got a class Aplicacion: public class Aplicacion { private Integer id; private String nombre; private Usuario funcional = new Usuario(); private Usuario tecnico = new Usuario(); ... public Integer getId() { return id; } public void setId(Integer

Re: Get current Action using Tiles

2006-10-26 Thread JCO
Thanks, I solved this using: request.getAttribute("javax.servlet.forward.servlet_path"); apetrelli wrote: > > JCO ha scritto: >> Hello, >> >> I want to know the current Action through the request.getRequestURI(), >> but >> I'm using Tiles and

Get current Action using Tiles

2006-10-26 Thread JCO
Hello, I want to know the current Action through the request.getRequestURI(), but I'm using Tiles and I get: /jguiri/jsp/layouts/layoutDetalle.jsp (layoutDetalle.jsp is my Tiles layout, not the real URI) but really the URL I see is: http://localhost:8080/jguiri/aplicaciones.do?op=Detalle&id=2

html:submit with a javascript variable on the onclick attribute

2006-10-13 Thread JCO
Hello, I'm trying to pass a variable to a javascript function within a onclick attribute of html:submit tag, but it doesn't resolve the value of the varieble. This is the code I'm using: <%String ent = (String)request.getAttribute("entidad"); %> I a