Forum: JSP Apr 30th, 2009 |
| Replies: 6 Views: 693 there is no such thing as javax.servlet.http.HttpSession.getAttribute() |
Forum: JSP Dec 30th, 2008 |
| Replies: 9 Views: 1,629 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 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 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 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 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 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 <link style="stylesheet" type="text/css" href="xxx.css" />
Goes in your head section. |
Forum: JSP Nov 16th, 2007 |
| Replies: 1 Views: 1,145 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 <%! %> 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 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 |
Forum: JSP Oct 12th, 2007 |
| Replies: 4 Views: 2,455 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 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 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 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 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 Do you have java installed? If so check your path variables. |
Forum: JSP Jul 28th, 2007 |
| Replies: 5 Views: 2,177 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 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 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 Are you after like a full on paying project? or something as a hobby? |
Forum: JSP Jul 8th, 2007 |
| Replies: 6 Views: 1,127 1. Learn English
2. Learn Java
3. Do your project |
Forum: JSP Jul 7th, 2007 |
| Replies: 6 Views: 1,127 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 Have you tried this in SQL, because you are trying to access a variable within a string without catenation (spelling?). |