hi folks
I'm very new too
Java /
JSP and don't know much about object oriented programming and this stuff. Please explain everything very noobish
Here the situation:
For learning Java / JSP I want to program a little addressbook. The user data (name, firstname, ...) should be stored in a database, which I acces with hibernate. With hibernate is everything ok.
I've a form in a jsp page (index.jsp) which calls another jsp (savedata.jsp). Savedata.jsp saves the data from the form in a POJO (I think it's called like this) named Address. Now I want to get the data entered in the form from Address. For this I implemented a taglib (SaveData.java) which is called from savedata.jsp. I think I have to work with sessions to get the data from Address, but not the SessionFactory from Hibernate, right? But how to access the data in Address from the taglib?
Because I'm soo noob, the whole structure could be senseless. I'm open for suggestions.
Thanks in advance for help,
schnuller
Here some code:
index.jsp
savedata.jsp
Address.java
SaveData.java