| Author |
I want to know where to put jsp code to make an dynamic html page.
|
suraj savaratkar
Ranch Hand
Joined: May 17, 2010
Posts: 51
|
|
Hi;
I want to know where to put jsp code to make an dynamic html page.
I wrote like that but still not working
Please help me.
Thanks.
|
 |
Jeanne Boyarsky
internet detective
Marshal
Joined: May 26, 2003
Posts: 26152
|
|
I've added code tags to make this easier to read. What do you mean by "not working"? See TellTheDetails for examples of what information to provide.
Some general comments:
JSPs shouldn't have Java code in them. This is a decade out of date practice. (read about MVC for why)Consider using a PreparedStatement (read about SQL injection for why)Double check the book you got this code/pattern from. The JDBC code has a resource leak
|
[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
|
 |
suraj savaratkar
Ranch Hand
Joined: May 17, 2010
Posts: 51
|
|
problem has solved.
thanks.
|
 |
 |
|
|
subject: I want to know where to put jsp code to make an dynamic html page.
|
|
|