Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ssl in JSP and more

 
Erwin Bredford
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello ranchers,well i have finished build this web application
all that is left is the administration section of it.
which i need to secure against unauthorised users
so question 1
how do i implement secure socket layer on those resourses that are not servlets or even servlets,JSP,html and so forth
question 2
also i will like to know how to implement search paging in jsp.
where if you want 10 results to appear on each page out of say 50 results how do you do that with code please
cause i have a dbBean that gets the search results from the database and store them in an arrayList
from there what next come help please
 
Stephen Huey
Ranch Hand
Posts: 618
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you doing this in Tomcat?
Is this a school assignment? If so, you should figure it out on your own. If not, try Google!
When you get a ResultSet from a database, all you have to do is iterate through those results and store them in whatever data structure you need to (a List?) before you're ready to display them.
 
Erwin Bredford
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks but this is not a school.
anyway i have an arraylist already
could i get sample code please.
ps. the hyperlinks have to be self submitting right??
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic