Vita Rara: A Life Uncommon

Problems with the post

I know that this is not the best place to post this but i'm doing it anyway because it seems that you have experience tiwth struts 2.
After i read this article i tried in my code, and everithing works except from the fact that my resulting jsp is empty.
Let me explain you everyting. I have a page that has a button to star the register of a new visit for a pacient, an action called "pacienteAction" do the job and the result is a redictAction to "datosDemograficosAction", this action loads the data of the pacinte from the database and i want to display this data in a jsp. All sentences related with the databse are ok and work fine. In "datosDemograficosAction" i'm exposing the model with ModelDriven interface and the model is the value object that i fill with info from the database.
The problem is that even i have my value object with data, when the jsp is displayed, all the fields are empty.

I know i can work around this problem and use the session but that is not the best/practical/optimal way to do this.

If you can give me some advice i really appreciate

By the way, sorry by my bad english

Reply

Please solve the math problem above and type in the result. e.g. for 1+1, type 2
  • Allowed HTML tags: <a> <img> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <pre> <h1> <h2> <h3>
  • Lines and paragraphs break automatically.
More information about formatting options