Search Results

Showing results 1 to 18 of 18
Search took 0.01 seconds.
Search: Posts Made By: eddy556 ; Forum: JSP and child forums
Forum: JSP Feb 22nd, 2008
Replies: 4
Views: 1,006
Posted By eddy556
Sorry. I have a JSP which accesses an Access database and prints its records to screen. What I want to be able to do is to access the records and print them by there row number in the record set. ...
Forum: JSP Feb 22nd, 2008
Replies: 4
Views: 1,006
Posted By eddy556
In a JSP how do I access a record by its number?
Forum: JSP Feb 20th, 2008
Replies: 3
Views: 3,534
Posted By eddy556
Thanks mate I was being stupid....newbie ya see? Lol I figured out by myself, thanks anyway :-)
Forum: JSP Feb 18th, 2008
Replies: 3
Views: 3,534
Posted By eddy556
I have a string stored in a session variable.....how do I get that string back out as I get the error:Type mismatch: cannot convert from Object to String

Is there a toString() method or something?...
Forum: JSP Feb 17th, 2008
Replies: 3
Views: 1,554
Posted By eddy556
OKay thanks, now I'm getting the error:

org.apache.jasper.JasperException: Attempted a bean operation on a null object....
Forum: JSP Feb 16th, 2008
Replies: 3
Views: 1,554
Posted By eddy556
Okay, here we go. I am trying to learn how to use javabeans properly and so I've created a small bean which just writes text to the screen. I keep getting the error:
...
Forum: JSP Feb 15th, 2008
Replies: 4
Views: 10,236
Posted By eddy556
Yea thanks I figured it out from ur previous post, thanks 4 ur help
Forum: JSP Feb 14th, 2008
Replies: 2
Views: 755
Posted By eddy556
I know I'm probably being dumb here but I cannot seem to compile a java bean. Here is my code:



package beans;

import java.sql.*;

public class example
{
Forum: JSP Feb 11th, 2008
Replies: 4
Views: 10,236
Posted By eddy556
Okay thanks for you're help but I've just come from a C# background (hence I didn't know the different between == and equals() and I've only been learning the language for a few weeks
Forum: JSP Feb 11th, 2008
Replies: 4
Views: 10,236
Posted By eddy556
Hey, I'm having a problem with an if statement. I want to check if variable key and id are the same. They are both strings and when I print them to screen they certainly look the same. However...
Forum: JSP Feb 6th, 2008
Replies: 4
Views: 1,247
Posted By eddy556
Its ok its been solved now
Forum: JSP Feb 5th, 2008
Replies: 0
Views: 1,643
Posted By eddy556
How do I round numbers to say 2 decimal places?
Forum: JSP Feb 5th, 2008
Replies: 4
Views: 1,247
Posted By eddy556
Okay now I'm getting errors about doubles and integers the values in the database are stored as doubles

Type mismatch: cannot convert from double to int

136: double useful =...
Forum: JSP Feb 5th, 2008
Replies: 4
Views: 1,247
Posted By eddy556
I'm having problems performing math in JSP. I have a line:

double percentage = (useful / nonuseful) * 100;

which is giving me an error, how do I fix this?

Thanks
Forum: JSP Feb 4th, 2008
Replies: 1
Views: 842
Posted By eddy556
Hey,

I have a primary JSP which inlcudes a secondary JSP which is dynamic. How do I pass parameters FROM the secondary JSP back the PRIMARY JSP not the other way around?

For example I have a...
Forum: JSP Jan 30th, 2008
Replies: 1
Views: 674
Posted By eddy556
Hey, I've managed to solve this....turns out I had to declare the variables i.e. String question = null; outside the loop.
Forum: JSP Jan 30th, 2008
Replies: 1
Views: 674
Posted By eddy556
Please take a lot at this. Tomcat is reporting the variable editQuestion cannot be resolved.



<%
String key = request.getParameter("edit");
ResultSet columns1 =...
Forum: JSP Jan 30th, 2008
Replies: 1
Views: 757
Posted By eddy556
I've got this code which seems right but I keep getting: An error occurred at line: 19 in the jsp file: /viewFAQ.jsp
Syntax error, insert "AssignmentOperator Expression" to complete Assignment
...
Showing results 1 to 18 of 18

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC