Forum: JSP 6 Days Ago |
| Replies: 1 Views: 184 Well, of course you're "not getting the exact reason for this" when you ignore all errors. Add a printStackTrace to each of those catch blocks. |
Forum: JSP Oct 28th, 2009 |
| Replies: 5 Views: 2,301 |
Forum: JSP Oct 27th, 2009 |
| Replies: 35 Views: 21,767 Yes there is. You have obviously never worked on anything that lasted more than a few days, or ever needed to be expanded or improved or fixed. Scriptlets are a maintenance nightmare. At the very... |
Forum: JSP Oct 20th, 2009 |
| Replies: 3 Views: 352 |
Forum: JSP Jun 30th, 2009 |
| Replies: 2 Views: 785 How about a grammar and spell checker? |
Forum: JSP Mar 14th, 2009 |
| Replies: 2 Views: 1,120 What are you using to compile?
If you are using an IDE, then you need to add that jar as a library in the project properties.
Edit: As that is the CLASSPATH for an IDE. The System CLASSPATH... |
Forum: JSP Nov 7th, 2008 |
| Replies: 6 Views: 1,288 Uhm, Peter, what's this
authorsLastName = GetAuthorLastName();
;-)
However, with the way it's written (if it compiles at all) authorsLastName is an instance variable anyway (as it is not... |
Forum: JSP Nov 5th, 2008 |
| Replies: 5 Views: 4,466 A JSP is nothing but a servlet template that the web container parses and then compiles. That is even less applicable for an "exe" than servlets are.
Gods, I'm sorry, but what is this fascination... |
Forum: JSP Jul 6th, 2008 |
| Replies: 1 Views: 521 1. Not urgent. To suggest that this "problem" is more important than anyone else's problem here, and we should just stop everything and "help" you, and you alone, is just plain rude.
2. Post... |
Forum: JSP May 28th, 2008 |
| Replies: 4 Views: 1,925 Calendar c = Calendar.getInstance();
c.setTime(date);
c.add(field, amount);
c.getTime();
Read the API docs, they contain more than enough information for this sort of thing.
As mentioned,... |
Forum: JSP Mar 6th, 2008 |
| Replies: 3 Views: 611 Actually, the tomcat distribution contains all of the doumentation for that version. All you need to do is start Tomcat and you can read the stuff locally over http://localhost:8080 |
Forum: JSP Feb 26th, 2008 |
| Replies: 6 Views: 4,877 You invalidate the session. I would have to look up how to do it in JSP myself, but if your using a servlet, or a filter to accomplish the logout, then that is going to be Java code, and there it is... |
Forum: JSP Dec 25th, 2007 |
| Replies: 13 Views: 2,114 No, no. I wasn't trying to be harsh before. Sorry, if you took it that way. You're right here, about the cause, anyway, but there are a few other things as well.
public void service... |
Forum: JSP Dec 24th, 2007 |
| Replies: 13 Views: 2,114 Your "fix" to allow here cobbled together Statement to work, is, technically correct (although there is no reason to do a separate + "'" for everyone of the single quotes), however, she should not be... |
Forum: JSP Dec 8th, 2007 |
| Replies: 4 Views: 2,248 This is just so wrong on so many different levels.
First of all, neither a servlet, nor a JSP has any business, what-so-ever even attempting to open a socket, much less a serversocket.
You do... |
Forum: JSP Oct 4th, 2007 |
| Replies: 1 Views: 4,319 Google "Java file upload", then rather than writing the stream you get from the request to a file, write it to a DB column using the setAsciiStream, setBinaryStream, or setCharacterStream of... |
Forum: JSP Sep 21st, 2007 |
| Replies: 4 Views: 10,848 So write some. If you have problems, and a specific question, then come back and we will help, but for God's/Allah's/Buddha's/<insert additional diety names here>'s sake, Do Your Own Homework, or at... |
Forum: JSP Aug 6th, 2007 |
| Replies: 19 Views: 4,051 Bad, bad, bad. Never copy anything to the lib/ext directory of the jre. Learn how to use and set classpaths properly. If he has the proper jarfile, and places it in the WEB-INF/lib directory of... |
Forum: JSP Jun 21st, 2007 |
| Replies: 1 Views: 942 Use a BLOB.
Use JDBC.
Ask a general question, get a general answer.
Try and start coding something (search for and read some tutorials and definately read the API for the involved classes),... |