Can anyone help me out of the problem??
hi all!
i am try to connect database in my jsp ,but there are some error:
java.lang.ClassNotFoundException: com.microsoft.jdbc.sqlserver.SQLServerDriver
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1365)
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1212)
org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:184)
org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:110)
java.lang.ClassLoader.loadClassInternal(Unknown Source)
java.lang.Class.forName0(Native Method)
java.lang.Class.forName(Unknown Source)
org.apache.jsp.dataconnect_jsp._jspService(dataconnect_jsp.java:47)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
what can i do?? thanks
thanks evuafets and stevejluke i have success to connect my database .but i am afraid i just have another one :
org.apache.jasper.JasperException
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:358)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
root cause
java.lang.NullPointerException
myfirstbean.DataOperate.insertSQLCommand(DataOperate.java:96)
org.apache.jsp.register_jsp._jspService(register_jsp.java:79)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
。JSP
<html>
<body>
<%@page language="java"%>
<%@ page import="java.lang.*"%>
<jsp:useBean id="registerbean" class="myfirstbean.DataOperate"/>
<%!
String name,Anonymous,email,descrip;
int code,telnumber;%>
//get param
<%
name=request.getParameter("na");
Anonymous=request.getParameter("Anonymo");
descrip=request.getParameter("descr");
code=Integer.parseInt(request.getParameter("co"));
telnumber=Integer.parseInt(request.getParameter("telnumb"));
email=request.getParameter("ema");
//send param
registerbean.setName(name);registerbean.setAnonymous(Anonymous);registerbean.setCode(code);
registerbean.setEmail(email);registerbean.setTel(telnumber);registerbean.setDescription(descrip);
String inSertCommand="insert into Customer Values("+registerbean.getName()+","+registerbean.getAnonymous()+","+registerbean.getCode()+","+ registerbean.getEmail()+","+registerbean.getNumber()+","+registerbean.getDescription()+")";
registerbean.insertSQLCommand( inSertCommand );
%>
<%out.print("success register");%>
</form>
</body>
</html>
Similar Messages
-
I just got the iPhone 5. It's completely synced and working. All my contacts are loaded. However, caller ID is not working when I receive a call or a text. Can anyone help me out with this?
Well, assuming all of the above, Notifications, etc., it just might be time for a visit to the Apple tore genius center for a session with the techs. See if it is a fault in the hardware or just an iOS reinstall is the answer.
One more thing you could try, backup so you have a record of content, then restore to factory conditions be an Erase All Contents and Settings. Then restore from the backup you just made. That has helped some with WiFi problems, may be it would work with your problems.
But with that behavior of another app with problems, the geniuses looks like a less stressful thing to do. -
I have my itunes stored on my external hard drive of my IMac.
I have started to put my Digital Copies to my IMac with external hard drive, then on my MacBook Pro I can see the movies, but if I close out my IMac, I can't access my movies on my laptop???
Can anyone help me out here? Thanks.I have my itunes stored on my external hard drive of my IMac.
I have started to put my Digital Copies to my IMac with external hard drive, then on my MacBook Pro I can see the movies, but if I close out my IMac, I can't access my movies on my laptop???
Can anyone help me out here? Thanks. -
hey guys,i tried to install the latest version of itunes but when i try to open it,it just comes up windows error 2 apple application support was not found,can anyone help me out and tell me what i need to do pls ?
If you run into the "another installation" message even after the reboot of the PC (which is an excellent idea by HTP ProXy), reregistering your Windows Installer Service is worth a try.
First, launch a command prompt as an administrator. In your Start search, type cmd then right-click on the cmd that comes up and select "Run as administrator".
At the command prompt:
Type %windir%\system32\msiexec.exe /unregister and hit enter.
Type %windir%\syswow64\msiexec.exe /unregister and hit enter.
Type %windir%\system32\msiexec.exe /regserver and hit enter.
Type %windir%\syswow64\msiexec.exe /regserver and hit enter.
Restart the PC and try another reinstalll. -
Hi there can anyone help me out. I have Apple TV and I am trying to connect wirelessly through a zyxel wireless hotspot gateway, I know a tad extreme but a friend had one free, anyway I can find the router but no Internet connection?
The only people who can possibly assist you with this is Apple Customer Relations, call your local Apple contact number and ask for Customer Relations then explain your situation clearly and politely (be firm but don't rant).
You might want to investiage what the local laws are regarding defective goods and 'fit for use' definitions on warranties etc. Consumer Protection can be a useful tool to use or bargain with if needed ... -
I'am getting an update error when am trying to upgrade to newer version (4.3.2)..the error message content shows that i tunes could not back up the i pod,because the back up was corrupt or not compatible with ipod..can anyone help me out to fix this issue
Hi,
Try here: http://support.apple.com/kb/HT1808.
Hope this helps!
---likeabird--- -
I am stuck. I can not figure out how to get the microsoft office that is on my (admin) profile dock onto the dock for the other users on my mac. Can anyone help me out?
ebony --
So, when you open your main Applications folder, there is no Office app there?
It's in your Users>Applications folder? -
I just got an iPhone 4S model number MD439LL/A still have the box that it came in along with other info. I can not find Siri. I have looked in settings>general and settings>general>restrictions. Can anyone help me out?
That model is an iPhone 4, not a 4S.
http://support.apple.com/kb/HT3939 -
AirPort can"t be installed on this disk. The version of Mac OS X on this volume is not supported. Can anyone help me out?
Can you clarify what exactly you are trying to do that generates this message?
IF....you might be trying to install AirPort Utility on your Mac....you already have the most recent version on your Mac.....and you cannot install an earlier version than you already have.
Check Finder > Applications > Utilities > AirPort Utility -
Can anyone help me with an iWeb problem? I cannot save the site after making changes. I receive this error: "website.sites2 could not be saved"
You could try duplicating the Domain.sites2 file and launch this in iWeb. Delete the last page you edited and try saving. If that doesn't work, undo and try deleting another and so on...
If you can find the problem page you would only have to rebuild it rather than the whole site.
The other possibility is to create a new site on the same domain file and drag each page in turn down to it from the top site and try to save each time. -
Can anyone help me out to find the diameter of the hole using imaq vision?
have to measure the diameter of the holes and generate the report in the format given belowI have also enclosed the image to be processed)
example:
HOLE SPECIFICATIONS PLATE NO. 1
X Y DIAMETER X Y
C 8.4 3.79 3.122 8.472 3.675
D 8.51 3.54 3.117 8.579 3.647
F 0 0 1.089 0 0
H 4.08 9.474 1.083 4.045 9.731
J 3.78 9.86 0.845 3.698 9.957
can anyone help me out to solve it,, Thanking you in advance!
Attachments:
03260005.JPG 103 KBHello.
I have some suggestions for the image processing component of your application. I have attached a Vision Assistant script to this post (Vision Assistant 7.1) which performs essentially the following steps. These steps could be followed in any programming environment and should yield decent results:
Extract the Luminance plane from the RGB image (simply to get it into 8-bit mono format for the thresholding. Could be done with a color threshold VI).
Threshold the image so that the bright components are left and the dark is set to 0.
Perform a particle filter to remove the particles that are too large (the surrounding area).
Perform a particle analysis on the remaining particles, which should be the holes in the
plate only. Set the particle analysis to return the Location of the 'Center of Mass X' and 'Center of Mass Y,' and the perimeter (diameter).
This type of processing would allow the plate to be rotated, have different patterns, etc. and you should still be able to get the information about the holes.
Hope this helps.
Regards,
Colin C.
Applications Engineering
Colin Christofferson
Community Web Marketing
Blog
Attachments:
ExampleHoleScript.scr 2 KB -
I have a macbook Pro i7 mid november 2010. I am wondering if i can exchange my notebook with the latest one. Can anyone help me out with this query please.
You can sell your existing computer using eBay, Craigslist or the venue of your choice. You could then use the proceeds to purchase a new computer.
-
Can't remember how to reverse the order of tracks in a playlist.....can anyone help me out? Thanks.
Were you able to figure it out?
-
i m working in an organization where web-sense is installed to block all irrelevant sites, i have installed itunes but it does not run a window pops up with message 'itunes is not connected to the network' can anyone help me out?
There's a whole lot to read in your post, and frankly I have not read it all.
Having said that, this troubleshooting guide should help:
http://support.apple.com/kb/TS1538
In particular, pay attention to the mobile device support sections near the bottom, assuming you have already done the items above it. -
I have the iPhone 4 recently became weak Wi-Fi where I can not use the Internet only when sitting Bejjani router, Can anyone help me in solving this problem please
iPhone 4, iOS 7.0.3There's a whole lot to read in your post, and frankly I have not read it all.
Having said that, this troubleshooting guide should help:
http://support.apple.com/kb/TS1538
In particular, pay attention to the mobile device support sections near the bottom, assuming you have already done the items above it.
Maybe you are looking for
-
How to print a series of index photos billfold sized photos
I would like to know how to print index sized photos as well as a series of wallet size photos (all of different subjects) on teh photosmart 7520 all in one....there has to be a way to do it. This question was solved. View Solution.
-
Where can I buy a keyboard from for Lenovo N500, keyboard?
Where can I buy a keyboard from for Lenovo N500, 4 GB of memory, 2 GHz dual core, Windows 7 32 bit, conexant high definition smart audio 221, 250 GB hard disk, vista experience rating 3.5. Any help appreciated.
-
Is this Phishing or for real?
Received a message that looks like it came from the iTunes Store. I went to the iTunes Store, clicked on "Check for available Downloads", and entered my AppleID. It seems all media has already been downloaded. Has anyone else seen this? Is this just
-
Lots of empty folders for photos on my Mac
After getting my 3G this weekend I set up a folder on my Mac where I have placed 6 photos of the grandkids to sync with the iPhone. The really look great. I just went to add another image to the folder for syncing & noticed there is now a sub folder
-
Best Practices? Rendering to Flash for streaming web....
I am always impressed with the flash based videos I see streaming on YouTube, FastCompany.Tv and other sites.... My question... can you please either explain or point me in the right direction for streaming video best practices? Specifically, I am lo