Re: Calling two SQL statements in a JSP file
Tuesday, December 17, 2002 05:40 PM
In theory, you can do anything you want in a JSP. The question is: should you?
You might want to consider putting the back end (database code) in a regular class called by a servlet and have the servlet redirect to the JSP displaying the data. JSPs are meant primarily for presentation, not business logic.