Multipage JDBC result

2003-09-16 Thread Jonathan Hawkins
Howdy,
Any tips as to where I can find code examples of how to break down a 
large JDBC result
into say 25 rows per page?

Jon Hawkins

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


JSP Expression inside Struts html:text property

2003-10-13 Thread Jonathan Hawkins
Howdy -

I have some JSP code that looks like this:



<% for(int x=1;x <=7;x++){ %>

<% } %>
of course I was expecting the HTML output to be something like:








Instead I am getting :








Anyone have another way to achieve the desired output? I looked into 
the html:logic tag and think that may be the way to go, but I can't 
find an example
Please helpsuper powers..failing.must .stop 
evilbad code before it'stoo late

thanks
jonathan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


[OT] - Login Application

2003-12-09 Thread Jonathan Hawkins
Howdy All,
I am writing a custom login application.
Our organization has several web applications (Struts of course!)
one of which is a shopping cart.
The current login application adds two cookies to the users browser - 
one that stores a number representing a price index and the other an id.
(Meaning different users pay different amounts for products depending 
on their level of membership).

The issue:
I am adding a 30 day persistence feature to the login if the user 
selects a check box at login time.
It is possible that a users price index will change within a 30 day 
period due to advancement in their membership.

Should the shopping cart (or any other app that needs to calculate 
price) be responsible for getting the price index vs. the login getting 
it?

Has anyone had a similar situation and if so, how did you solve it?

Thanks in advance,
Jonathan Hawkins
Web Programmer
American College of Chest Physicians
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]