aspose file tools*
The moose likes JSP and the fly likes Completely dynamic page to generate with JSP...how???? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Completely dynamic page to generate with JSP...how????" Watch "Completely dynamic page to generate with JSP...how????" New topic
Author

Completely dynamic page to generate with JSP...how????

Mishra Anshu
Ranch Hand

Joined: Sep 16, 2003
Posts: 224
Hi!!!
I am using JSP Model 2 arch...
In my project.....I'll be getting through my bean some of the (say ) Log data....or changing datas...
It is being sent to my JSP as Hash table (As DataType, Data....)..where
DataType may be (checkbox, textarea,text...etc...) and the "Data" contains the data associated with them.....
So, I need to extract in my JSP code all the types one by one and there corressponding data also....and show accordingly...
What I've thought...is like..


"Ignorance is bliss"
Anil Kumar
Greenhorn

Joined: Jan 17, 2004
Posts: 11
I guess the data being sent through the beans is supposed to be displayed as a form. You should iterate through the TreeMap and display the data in a formatted fashion using scriptlets and html tags.
Mishra Anshu
Ranch Hand

Joined: Sep 16, 2003
Posts: 224
that is what I've shown above.....
I am iterating only....through the enum and obviously since everything under the <body> is made by JSP...it will also make a form there....
What I was looking for...that any available code or link to that type of situation is there or not....
Thanks any way ...Anil....
Suggestions and solutions are welcome.....
Mishra Anshu
Ranch Hand

Joined: Sep 16, 2003
Posts: 224
Hey....
Is it the first problem of this type in the forum.....
Any idea?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Completely dynamic page to generate with JSP...how????