Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JSP, no servlet, DB search, CRM  RSS feed

Ken Duncan
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a web page that needs to open a search page. The search page must enable a user to find an entry in a list of over 36000 items (colleges and universities). Until I knew how big the list was, I was considering staying in the model of the application as it came to me, which uses JavaScript (yuck). That's not practical for 36000 items. However, I also don't have control of the server or the HTTP session, so I cannot use a servlet.

Is it practical in this context to use a JSP, with a JSTL tag for database access to take the user's input on this JSP, find a value in the list in the database, return that to the screen and then have JavaScript able to grab that value (it has to eventually get into a text box on the calling page. I think there's a servlet engine inside the PeopleSoft server I'm using, so it ought to be able to compile a JSP. Or, is there a better way to do this? Thanks.

It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!