Search Results

Showing results 1 to 25 of 25
Search took 0.01 seconds.
Search: Posts Made By: sillyboy ; Forum: JSP and child forums
Forum: JSP Apr 30th, 2009
Replies: 6
Views: 693
Posted By sillyboy
there is no such thing as javax.servlet.http.HttpSession.getAttribute()
Forum: JSP Dec 30th, 2008
Replies: 9
Views: 1,629
Posted By sillyboy
lol yeah, if you have something like tail, monitor the log file, and replicate the error.
Forum: JSP Dec 29th, 2008
Replies: 9
Views: 1,629
Posted By sillyboy
have you declared "stmt" anywhere?

JSP "should" be used for the interface, and you should leave the data retrieval, entry etc... to java services, but for a school project I really wouldn't worry...
Forum: JSP Dec 23rd, 2008
Replies: 1
Views: 673
Posted By sillyboy
To send the email, you can simply use mailto or use JavaMail if you more functionality.
Forum: JSP Dec 23rd, 2008
Replies: 5
Views: 3,110
Posted By sillyboy
This isn't a JSP issue, the &heart; isn't a standard special character so you need to make sure you page will handle the it. It will be an encoding issue of some sort. Find out which character-set...
Forum: JSP Dec 21st, 2008
Replies: 1
Views: 934
Posted By sillyboy
You need to supply a lot more information...

e.g. what database are you connecting to?
what tables exist in this database?
etc...
Forum: JSP Dec 21st, 2008
Replies: 2
Views: 1,333
Posted By sillyboy
Usually inserting data is more difficult than retrieving (I guess this depends on the nature of searches). So assuming you have a working database connection, it must be some simple error.
Forum: JSP Nov 18th, 2007
Replies: 2
Views: 3,574
Posted By sillyboy
<link style="stylesheet" type="text/css" href="xxx.css" />

Goes in your head section.
Forum: JSP Nov 16th, 2007
Replies: 1
Views: 1,145
Posted By sillyboy
You need to make sure your particular server allows for .jsp (i.e. has tomcat or something similar installed).
Forum: JSP Nov 13th, 2007
Replies: 4
Views: 2,203
Posted By sillyboy
<%! %> tags are used for declarations. I recommend you don't use this for anything other than declaring your variables, and this is probably the cause of your issues.

Just use normal scriptlets <%...
Forum: JSP Nov 1st, 2007
Replies: 2
Views: 4,370
Posted By sillyboy
the easiest solution is to just use scriptlets on the page the form is forwarded to. If you want to use jsp correctly, you should not use scriptlets but instead move this code to java classes.
Forum: JSP Oct 19th, 2007
Replies: 1
Views: 2,344
Posted By sillyboy
Why do you need ajax?
Forum: JSP Oct 12th, 2007
Replies: 4
Views: 2,455
Posted By sillyboy
This problem is most likely related more with your HTML & CSS than the actual JSP code.
Forum: JSP Oct 12th, 2007
Replies: 1
Views: 970
Posted By sillyboy
You will need to add jars for activation and mail. Try mail.jar & activation.jar
Forum: JSP Jul 31st, 2007
Replies: 19
Views: 4,042
Posted By sillyboy
I don't know what .jar the mysql driver is in. It shouldn't be that hard to find with a google. The .jar file goes into your web app directory under "WEB-INF\lib".
Forum: JSP Jul 31st, 2007
Replies: 7
Views: 2,426
Posted By sillyboy
Unable to find a javac compiler;
Perhaps JAVA_HOME does not point to the JDK

Do you have JDK installed too? Make sure you let tomcat know where your java compiler is located.
Forum: JSP Jul 30th, 2007
Replies: 19
Views: 4,042
Posted By sillyboy
Make sure you have "com.mysql.jdbc.Driver" in your web application. It will be contained in a .jar and it needs to go with your other java libraries you use.
Forum: JSP Jul 30th, 2007
Replies: 7
Views: 2,426
Posted By sillyboy
Do you have java installed? If so check your path variables.
Forum: JSP Jul 28th, 2007
Replies: 5
Views: 2,177
Posted By sillyboy
There is no need for 2 threads with the same question. If you are unsure as to how to do col4 + col5 that is a bit of a worry. Remember you are using JSP (i.e. java).
Forum: JSP Jul 26th, 2007
Replies: 5
Views: 1,106
Posted By sillyboy
Well you can do arithmetic within the sql queries if you like, but seeing as though you already query for col1~3 just store them into int variables. I think your result set will save Strings, so use...
Forum: JSP Jul 12th, 2007
Replies: 9
Views: 1,438
Posted By sillyboy
Yeah, well if you want experience, why not just start building something for yourself? That would probably interest you more than suggestions from others.
Forum: JSP Jul 12th, 2007
Replies: 9
Views: 1,438
Posted By sillyboy
Are you after like a full on paying project? or something as a hobby?
Forum: JSP Jul 8th, 2007
Replies: 6
Views: 1,127
Posted By sillyboy
1. Learn English
2. Learn Java
3. Do your project
Forum: JSP Jul 7th, 2007
Replies: 6
Views: 1,127
Posted By sillyboy
This is really an outrages thread. Even if somebody wanted to help you, we have absolutely nothing to base it off... Hotel Management is a broad subject (I assume).
Forum: JSP Jul 6th, 2007
Replies: 2
Views: 3,984
Posted By sillyboy
Have you tried this in SQL, because you are trying to access a variable within a string without catenation (spelling?).
Showing results 1 to 25 of 25

 


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

©2003 - 2009 DaniWeb® LLC