Urgent solution needed please
Hi everyone,
I am having a problem when i am trying to upload image to MysqlUSING jsP USER INTERFACES. I am using mozilla as a browser on Mandrake Linux platform. I am calling a bean Images.java which when run in konsole mode its working fine and image is getting uploaded.
i am not able to understand why i cant upload using the JSP.
hope u refer to my question and give me a solution for this.
thanks,
Harish.
Check out UploadBean. It allows to upload files in a database.
http://www.javazoom.net/jzservlets/uploadbean/uploadbean.html
Similar Messages
-
I did some applications updates yesterday and since then the BBM application on my Z10 refuse to open. Applications updated were afrinolly(v1.4.3.2), Adobe reader(10.1.0.4), box(1.2.0.79), and blackberry maps(10.0.0.639).Have tried the hard reset but it still refuse to open. Please what's wrong and what can I do. Thanks.
Hi and Welcome to the Community!
Anytime random strange behavior or sluggishness shows up, the first thing to try is a proper reboot:
Pre-BB10 Devices ONLY. With power ON, remove the back cover and pull out the battery. Wait about a minute then replace the battery and cover. Power up and wait patiently through the long reboot -- ~5 minutes.
BB10 Devices. Hold the top button down until the counter reaches zero. Wait for the device to be fully shut down (e.g., nothing at all displayed on the screen, no LED lights, etc.). Hold the top button until the red LED is lit. Wait through the full boot-up process. If this fails, you can attempt the battery-pull method above, but it is normally NOT recommended unless nothing else works.
See if things have returned to good operation. Like all computing devices, BB's suffer from memory leaks and such...with a hard reboot being the best cure.
Good luck!
Occam's Razor nearly always applies when troubleshooting technology issues!
If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
Join our BBM Channels
BSCF General Channel
PIN: C0001B7B4 Display/Scan Bar Code
Knowledge Base Updates
PIN: C0005A9AA Display/Scan Bar Code -
Oracle UCM/IPM Issue - Urgent Solution needed
Hi folks,
Solution needed for the below problem in oracle IPM/UCM cluster .
General Scenario :
The document checked in Oracle UCM can be viewed through IPM Viewer only if the security group of the document is set to a IPM Profile .
The IPM Profile is created in Oracle UCM Configuration Manager Component whenever a application is created in IPMServer .
Issue in Clustering :
IPMApplication created in host 1 is creating profile in UCM Component Manager of host 1 but not in UCM Host2 component manager (Vice Versa).
This affects url generations of checked in documents through proxy since the IPM profile is not available in cluster.
Scenario :
IPM MetaData UCM Component Manager(Profile)
Host1 Host2 Host1 Host2 Host1 Host2
IPM_APP_1 Visible Visible Visible Visible Not Visible
Visible IPM_APP_2 Visible Visible NotVisibe Visiblehi
Error Message is- "Invoiced quantity is greater than mother invoice quantity".
this error means your Depot invoice quantity is high, please check your mother invoice quantity, its means branch invoice quantity , and depot invoice quantity , is deferent so , please check both invoice quantity ,
and also check you migo,
ME21N-VL10B-VL02N-VF01-J1IIN-MIGO-VA01-VL01N-J1IJ-VF01, in this process you can do J1IG , Its process
me21n-vl10b-vl02n-vf01-j1iin-migo-j1ig-va01-vl01n-j1ij-vf01, this is process of depot sales, so please check this process -
Problem...urgent solution needed
The problem is... table A and table B are related with B as parent table and A child. The value of id (primary key) of table B needs to be populated with the column Bid when the following where condition satisfies.
A.x=B.x and A.y=B.y and A.z=B.z for every value of A
My problem is to create either a procedure, a function or a package which populates the value of B.id in table A with the above where condition for id value of A
I created a function which gives me the return value of Bid but unable to update the table as several ids of table A have the same value of Bid.
select A.id into bid from A,B where A.x=B.x and A.y=B.y and A.z=B.z;
return bid;
but in the same function I am unable to update
update A set bid=bid;
taking the return value from the function. I am unable to understand why? I am pretty weak in pl/sql kindly help me if am making some mistake. I NEED HELP FAST...THANKS IN ADVANCE
Can anyone suggest me the solution?Thank you so much. I tried the update statement in two ways
1)by putting just the update statement in the function. it gave an error which says
4/1 PL/SQL: SQL Statement ignored
5/23 PL/SQL: ORA-00925: missing INTO keyword
2) I tried my another function where i retrieve the value of
begin
SELECT a.ID INTO V_a_ID
FROM a,
b
WHERE a.x= p_ID
AND a.y = code
AND upper(TRIM(a.z)) = upper(p_S_NAME)
AND (to_number(nvl(P_H_N,'0'))
BETWEEN to_number(a.h) AND
to_number(a.hb))
AND substr(P_q,1,5) = substr(a.q,1,5)
AND upper(P_r) = upper(a.r) and b.id=bid
RETURN V_a_ID;
update a set adrlib_id=(select b.id from b where a.x=b.x and a.y=b.y and a.z = b.z and (a.r between b.r and b.r1));
in the second instance, the retrieval of bid works fine but the update is ignored. please suggest. I also want to mention that for every value of a.id there are more than one values of bid. so the update will return more than one rows. kindly help. -
IReader installed but wont open Urgent help needed please!
I have installed Acrobat Reader X.
When i try to open files I get a problem saying Microsoft and Adobe have encountered a problem and need to close.
I get an option to Debug, Send error report or Dont send.
The information which comes up when I look for more information is the following::
error signature
Appname. Acrord32.exe. Appver 10.0.1.434 Modname acrord32.dll
Modver 10.0.1.434 offset 001869666
It was previously working then the next time I came to use it I got this.
Desparately need help1. camera loading - have you tried updating or reinstalling your firmware?
2. keyboard - define strange
3. slow - how much is phone memory and what apps are running in background (see taskmanager, hold menu key until it shows)? turn off theme animations. it helps.
4. handwriting - have you set the handwriting recognition to recognize your particular penmanship? Go to menu>settings>phone>touch input. Set writing speed to very fast, calibrate your screen and take handwriting training so the phone will recognize your handwriting.
5. qwerty - what things? how so? have you set it to qwerty?
6. cannot scroll in file manager - its not a problem. Thats normal for the OS. Use Nokia Photobrowser or the Gallery for viewing pictures. File manager is for managing files, not viewing them.
7. Motion sensors - read #3
8. Phone feels hot - how hot? Batteries heat up when charged. Its normal. However it depends on how hot exactly.
9. Depends maybe on how long the video is. My 5800 feels hot when watching an entire movie. Also this would be reflected on #3 as well, as the phone may be working overtime.
10. Music when unplug headset - Its normal for almost all Nokia phones (heck even some other brands this is normal), try to use an alternative player if you like
11. Back cover - Its the design
12. Yotube - use youtube app
13. Use Nokia Photo Browser download from ovi store. It shows pics only and looks real cool. Anyway, you can put all your videos in the gallery into a virtual folder so that it is separate. Its the way the gallery is designed, to show both pics and video. As you can see, it is written Images and Videos, so they're supposed to be together in there.
14. Adobe still hasnt caughtup its mobile solutions for its PC solutions. Its their fault not Nokia's or anyone else's.
15. Depends on extension. Built in office reader only reads .doc, not .docx.
If you find my post helpful please click the green star on the left under the avatar. Thanks. -
Urgent help need please..
hi all,
can we select table as ( select * from tablename ) of another database.
for ex: i had 2 databases 1.test1, 2.test2.
i need to select particular table records of test2 database in test1 database.
Is it possible. I connected to test2.I am giving like this ( SELECT * FROM TEST@TEST1).
Please..
Thanks in advs.Is it possibleYes, using DATABASE LINKS. See http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_5005.htm#i2061505
-
FB game not working in Firefox but works in AOL browser, solution needed please!
The game is WORDS WITH FRIENDS.
'''Try Firefox Safe Mode''' to see if the problem goes away. Safe Mode is a troubleshooting mode, which disables most add-ons.
''(If you're not using it, switch to the Default theme.)''
* On Windows you can open Firefox 4.0+ in Safe Mode by holding the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
* On Mac you can open Firefox 4.0+ in Safe Mode by holding the '''option''' key while starting Firefox.
* On Linux you can open Firefox 4.0+ in Safe Mode by quitting Firefox and then going to your Terminal and running: firefox -safe-mode (you may need to specify the Firefox installation path e.g. /usr/lib/firefox)
* Or open the Help menu and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
[[Image:FirefoxSafeMode|width=520]]
''Once you get the pop-up, just select "'Start in Safe Mode"''
[[Image:Safe Mode Fx 15 - Win]]
'''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshooting extensions and themes]] article for that.
''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
''When you figure out what's causing your issues, please let us know. It might help other users who have the same problem.''
Please check if all your plugins are up-to-date. To do this, go to the [http://mozilla.com/plugincheck Mozilla Plugin Check site].
Once you're there, the site will check if all your plugins have the latest versions.
If you see plugins in the list that have a yellow ''Update'' button or a red ''Update now'' button, please update these immediately.
To do so, please click each red or yellow button. Then you should see a site that allows you to download the latest version. Double-click the downloaded file to start the installation and follow the steps mentioned in the installation procedure. -
Urgent Solution needed--Problem in JSP compilation with JDK 1.5 and JDK 1.6
Hi,
I m using JDK 1.5 and Tomcat 5.0 the problem is that after starting server when I m going to access my application at that time instead of displaying HomePage it directly display the blank page on screen.
After analyzing tomcat log I have found that there was a problem with JSP page compilation.
The exception logged in Tomcat Log is given below
An error occurred at line: 1 in the generated java file
The type Collection is not generic; it cannot be parameterized with arguments <? extends E>
Stacktrace:
* at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92)*
* at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)*
* at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:423)*
* at org.apache.jasper.compiler.Compiler.compile(Compiler.java:308)*
* at org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)*
* at org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)*
* at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)*
* at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)*
* at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)*
* at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)*
* at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)*
* at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)*
* at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)*
* at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654)*
* at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:447)*
* at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:379)*
* at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:292)*
* at org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:424)*
* at org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:343)*
* at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:144)*
* at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)*
* at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)*
* at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)*
* at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)*
* at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)*
* at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)*
* at java.lang.Thread.run(Thread.java:619)*
After getting this kind of error I have analyzed my code furhter then I came to know that there was problem with static include tag.
In my jsp page I have used following line which is the main cause of error
<%@ include file="top.jsp" %>If I ommit this line then it is working properly.
Instead of static include I have used jsp:include also.
Still I m getting same problem.
We have to migrated from JDK 1.5 to 1.6 and Tomcat 5.0.28 to 6.0.14, still same problem is there.
We have tried a lot but didnt get success to overcome this problem.
If anybody having any solution then ur each reply will be appreciated.
Thanks in advance..........!!!!!!!
Edited by: JBOSS2000 on Jan 15, 2008 9:29 AMHi "mshanu" and "amit" Thanks for ur replies Here I m posting the code of "top.jsp"........!!!!
<%@ page errorPage="errordisplay.jsp"%>
<table cellpadding="0"
cellspacing="0" height=50 width=780>
<tbody>
<tr class="header">
<td class="logo"><IMG SRC="assets/Logo.gif" BORDER=0 ALIGN=top></td>
<td align="right"><span class="applicationtitle"><%@ include file="/contents/logo.htm" %></span><br>
<span class="companyname"><%@ include file="/contents/companyname.htm" %></span></td>
</tr>
</tbody>
</table>To include top.jsp I have tried
<jsp:include page="top.jsp" flush="true">
</jsp:include>
AND
<%@ include file="top.jsp"%>but none of this worked.
If I remove the include then It is working properly.
But I need inluded file too so that I am wondoring for the solution.
This problem seems very wiered to me. I dont know why it is happening.
This problem is started only when I used the TOMCAT 6.14.
Is it the bug of TOMCAT 6.14 or What somebody Plz help.
I got stuck here.........!!!!!!!!!!
It doesn't seem any problem with top.jsp. As per my thinking the problem is there in include due to that it doesn't compile the JSP page in Tomcat 6.0.
Earlier I am having same code running on the Tomcat 5.0.28 and JDK 1.5.0.
But problem occured when I have used Tomcat 6.x...!! -
really need urgent help - where do I find the entire list of all my email addresses? and how do I sort and organize them into folders ?
really need urgent help - where do I find the entire list of all my email addresses? and how do I sort and organize them into folders ?
-
Photosmart C7280 was installed & working - now will not install - URGENT solution needed
All in one was working fine. Is on Network. Dell Workstation is wired and so is all in one. Other computers are laptops - wireless working fine. For an unexplained reason the software on the Dell stopped working - fax, scan, etc. But it would print but gave error messages. So I uninstalled it and downloaded the latest software from theHP website. First time trid to install - error message in the checking process - second part and uninstalled and did a check of the hP site but timed out. rebooted. Tried again after downloading from HP again. THis time it got to the install stage but once again an error. repeat process and this time downloaded a solution. Followed the steps in the solution - msconfig including firewall, rebooting, etc. Unsuccessful again. Now have no printer on Dell and need to have it working as I have assessment taskc due on weekend and can't print them. Need solution to solve this issue.
When you said you try to download it from the website. Did you click INSTALL on the driver or did you download and save it first on your computer? You may want to try and download and save it on the desktop. Once download is complete, manually start the installation by double clicking it on your desktop.
Aside from that, try to install just the drivers?
So when you're installing the driver/software, it will give you a screen where you can check the box for the user license agreement right? and above that is a 4 link that would say: Internet Connection Usage, Select a software (can't remember the rest of the two options) Click on the internet connection usage and choose the following options:
-First question: NO, I'll do it myself
-Second question: NO, thank you
-Press OK to go back to the main screen
This time, click on the SELECT A SOFTWARE TO INSTALL
-Uncheck everything. except the very top of the list which is grayed out; That's the driver of the printer
-There might be other software installed on your pc already that would say "already installed" you can ignore that since it will be grayed out. You need to uncheck those things that you can uncheck.
-Click Ok to go back to main screen.
-Proceed with the installation.
I hope that works for you.
---Click KUDOS if you want to say THANKS. -
Skype error solution needed please
I have a website that is created based on rawcoding my problem is when i loged in my site then skype suddenly got stoped working. Skype suddenly goes offline please solve my problem.
My website is:
http://rmfclan.com/Please fix my problem, I can't contact any of my freelancer via skype. Skype is the easyest and best way to contact but the error is hampering the communication with my contractor. I can't log-in my skype account. Please give me a solution.
-
Urgent help needed please: Updating Kernel
Hi gurus,
I am new to BI and needs to upgrade the Kernel to revision 133 for loading basis patch 14. I downloaded the kernel and copied to the F:\usr\sap\BID\SYS\exe\uc\NTI386.
After this I was unable to restart the services.
Can someone please guide thru this process.
Thanks and regards,
IqbalHi All,
I tried as was recommended but am still faced with an issue.
here is the dev_disp log.
trc file: "dev_disp", trc level: 1, release: "700"
sysno 00
sid BIQ
systemid 562 (PC with Windows NT)
relno 7000
patchlevel 0
patchno 133
intno 20050900
make: multithreaded, Unicode, 64 bit, optimized
pid 5908
Mon Mar 24 08:37:12 2008
kernel runs with dp version 232000(ext=109000) (@(#) DPLIB-INT-VERSION-232000-UC)
length of sys_adm_ext is 576 bytes
SWITCH TRC-HIDE on ***
***LOG Q00=> DpSapEnvInit, DPStart (00 5908) [dpxxdisp.c 1239]
shared lib "dw_xml.dll" version 133 successfully loaded
shared lib "dw_xtc.dll" version 133 successfully loaded
shared lib "dw_stl.dll" version 133 successfully loaded
shared lib "dw_gui.dll" version 133 successfully loaded
shared lib "dw_mdm.dll" version 133 successfully loaded
rdisp/softcancel_sequence : -> 0,5,-1
use internal message server connection to port 3900
Mon Mar 24 08:37:17 2008
WARNING => DpNetCheck: NiAddrToHost(1.0.0.0) took 5 seconds
***LOG GZZ=> 1 possible network problems detected - check tracefile and adjust the DNS settings [dpxxtool2.c 5371]
MtxInit: 30000 0 0
DpSysAdmExtInit: ABAP is active
DpSysAdmExtInit: VMC (JAVA VM in WP) is not active
ERROR => ShmCreate: Key=37 Inv.Size: req.=67072, alloc.=0 [shmnt.c 615]
ERROR => CrtOsSemAdm: Semaphore Admin. Table not created [semnt.c 1991]
ERROR => SemInMgt: Create Global Admin.Table failed [semnt.c 513]
ERROR => DpSysAdmExtCreate: SemInMgt [dpxxtool2.c 725]
ERROR => DpIPCInit2: DpSysAdmExtCreate [dpxxtool2.c 369]
DP_FATAL_ERROR => DpSapEnvInit: DpIPCInit2
DISPATCHER EMERGENCY SHUTDOWN ***
NiWait: sleep (5000ms) ...
NiISelect: timeout 5000ms
NiISelect: maximum fd=1
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Mon Mar 24 08:37:22 2008
NiISelect: TIMEOUT occured (5000ms)
DpHalt: shutdown server >< (normal)
DpJ2eeDisableRestart
Switch off Shared memory profiling
ShmProtect( 57, 3 )
ShmProtect(SHM_PROFILE, SHM_PROT_RW
DpShmPrfSwitch : State already set (OFF)
ShmProtect( 57, 1 )
ShmProtect(SHM_PROFILE, SHM_PROT_RD
call semaphore clean-up function ...
***LOG Q0E=> DpSigGenHandler, Exception (c0000005) [dpnttool.c 432]
C-STACK -
SAP (R) - R/3(TM) Callstack, Version 1.0
Copyright (C) SAP AG. All rights reserved.
Application exception occurred:
Exception : c0000005 (Access Violation)
App : disp+work.EXE (pid=5908)
When : 3/24/2008 8:37:22.798
Threads : 2
Computer Name : RK-VAL-BI
User Name : SAPServiceBIQ
Number of Processors: 4
Processor Type: EM64T Family 6 Model 15 Stepping 7
Windows Version : 5.2 Current Build: 3790
State Dump for Thread Id 970
--> (FAULT) Stack Back Trace <--
FramePtr ReturnAd Param#1 Function Name
0000000007d1f310 000000000041a395 0000000000000001 disp+work!DpVmcCheckDebugProxy [dpxxvmc.c (1211)]
0000000007d1f400 000000000041d007 005f005000410001 disp+work!DpHalt [dpxxdisp.c (10016)]
0000000007d1fc40 0000000000421a1b 0000000002671ab0 disp+work!DpFatalErr [dpxxdisp.c (17789)]
0000000007d1fee0 000000000042d570 0000000000000000 disp+work!DpSapEnvInit [dpxxdisp.c (1388)]
0000000007d1ff10 000000000040108d ffffffff00000002 disp+work!DpMain [dpxxdisp.c (1076)]
0000000007d1ff40 00000000019c7dd1 0000000000000000 disp+work!nlsui_main [thxxanf.c (84)]
0000000007d1ffa0 0000000077d5964c 0000000000000000 disp+work!wmainCRTStartup [crtexe.c (498)]
0000000007d1ffd0 0000000000000000 00000000019c7c60 kernel32!BaseProcessStart
State Dump for Thread Id b88
--> Stack Back Trace <--
FramePtr ReturnAd Param#1 Function Name
000000000ef0fe40 0000000077d5f691 0000000007e6ac60 ntdll!NtFsControlFile
000000000ef0feb0 00000000018ae00f 0000000000000000 kernel32!ConnectNamedPipe
000000000ef0ff40 000007ff7fc411c4 0000000000000000 disp+work!SigIMsgFunc [signt.c (679)]
000000000ef0ff70 0000000077d6b6da 0000000077d6b6a0 msvcrt!endthreadex
000000000ef0ffa0 0000000000000000 0000000000000000 kernel32!BaseThreadStart
call clean-up function ...
SigICallExitRoutine: call exithandler (DpHalt)
DpHalt: shutdown server >< (normal)
DpJ2eeDisableRestart
Switch off Shared memory profiling
ShmProtect( 57, 3 )
ShmProtect(SHM_PROFILE, SHM_PROT_RW
DpShmPrfSwitch : State already set (OFF)
ShmProtect( 57, 1 )
ShmProtect(SHM_PROFILE, SHM_PROT_RD
Can someone please help me with getting pass this error?
Thanks and regards,
Iqbal -
Variables into flash movie - Urgent help needed, please
I am hoping this is simple:
Here is my HTML code:
<param name="movie" value="orig2.swf" /><param
name=FlashVars VALUE="sname=video1.flv"><param name="quality"
value="high" /><param name="bgcolor" value="#ffffff" />
I need to pass video1.flv to the flash movie.
Here is the MOVIE data. I was told this is how to do it, but
I am sure it's missing something basic.
//insert sample link below
mediaDisplay.directLink = "
http://flash.xxx.com/flashgen.cgi?sname=&aname=xxxxxxxx/_definst_";
//pulls sname from param value in HTML
mediaDisplay.simplePlaylist = sname;
streamnameTxt.text = sname;
So, it should pull the SNAME variable from HTML and feed it
into player. If I type in SNAME variable and manually place it in
DirectLink line above, it works, but I need it to feed from HTML.
PLEASE HELP!!I know how to pass the variable TO flash, but how do I get
the FLASH movie to receive it??
Again, here is the code in the FLA file
//insert sample link below
mediaDisplay.directLink = "
http://flash.xxx.com/flashgen.cgi?sname=&aname=xxxxxxxx/_definst_";
//pulls sname from param value in HTML
mediaDisplay.simplePlaylist = sname;
streamnameTxt.text = sname; -
Urgent help needed, please help me
Hi,
I am developing a web site using Java Servlets. The site requires to send XML as POST to an HTTPS server and get the response.
Development environment:
Laptop running Windows XP with jdk1.3.1, j2sdkee1.3 and Tomcat 4.1.
Since I need to use https request from the servlet, I am using the following code;
URL url = new URL("https://www.somesite.com");
HttpsURLConnection connection = (HttpsURLConnection) url.openConnection();
To use the above code I downloaded the jsse1.0.3_03 package from the sun website and added the three jar files to the appropriate location. Also edited the java.security file.
The program compiles and when deployed to the web server, it works great.
Now the problem;
I need to deploy the web site in a server that is connected to the internet. This server is running Windows 2000 Server. It has the same jdk1.3.1, j2sdkee1.3 and Tomcat 4.1. Also I added the three jar files from jsse1.0.3_03. I also updated the classpath in the environment variable accordingly.
Everything is pretty much similar to the Laptop that I use to develop the site except that the OS is Windows 2000 Server.
But when I deployed the class files to the web server and tested the site, the servlet gave the following error:
"unknown protocol: https"
What could be wrong? I really need to fix this issue as soon as possible and any input from you will be highly appreciated.
Thanks in advance,
RajeshHi,
I used java class as beans and added to JSP page as follows (the code is not complete, I am just giving the parts that are relevant);
login.java: Implementation of login to access the database
*through JDBC. Uses MySQL.
Last Modified: 03.22.03
package user;
import java.sql.*;
import java.util.*;
public class login
private static Statement statement;
private static Connection database;
private static String jdbcDriver = "org.gjt.mm.mysql.Driver";
private static String source = "jdbc:mysql://127.0.0.1/user";
private static String username = "user";
private static String password = "passwordforuser";
Constructor for initializing the connection to the database
public login()
try
Class.forName(jdbcDriver);
database = DriverManager.getConnection(source, username, password);
statement = database.createStatement();
catch (Exception e)
System.out.println("Error (From loginDatabase Constructor): " + e.getMessage());
Used to check the users
public String checkUser(String userName, String passwd) throws Exception
try
ResultSet names = statement.executeQuery("SELECT username, passwd FROM users");
while (names.next())
return "success";
return "wronguser";
catch (Exception e)
throw e;
<!--*********************************************************************************
login.jsp: Server page to process the login request. Uses login.class to
*add / login users.
Last Modified: 03.23.03
**********************************************************************************-->
<%@ page import="user.login" %>
<jsp:useBean id="login" scope="page" class="user.login" />
<jsp:setProperty name="login" property="*" />
<html>
<head>
<title>Login</title>
</head>
<body bgcolor="#3366FF" link="#000000" vlink="#000000" alink="#000000">
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<% //Login the user and display the status
String loginResult = login.checkUser(request.getParameter("username"), request.getParameter("password"));
if (loginResult.equalsIgnoreCase("success"))
%>
<h1 align="center">You are successfully logged to the Server!</h1>
<%
%>
</tr>
</table>
</body>
</html>
Hope that helps...
Good luck!
Rajesh -
Urgent advice needed please help!
I need a new laptop asap that is the urgency part over with!
The question is: How well would prem pro cs6 operate on a laptop system with:
Intel i5 4200M dual core 3mb cache 2:6/3.2Ghz processor
8gb ram
nvidia gt740 2gb
Keeping in mind I will mostly be just editing canon dale 1080p footage.
Any help would be greatly appreciated.
budget for laptop is 800 euro. So far the best all rounder for vid editing is: Toshiba s70-a-11h
cheersThat unfortunately is a common misconception with GPU acceleration. GPU acceleration handles certain frame features such as scaling interpolation, and some effects. It current does not handle decoding/encoding with Adobe. That is handled by the CPU. Because the Decoding has to start the process the CPU determines the overall performance/load on the GPU at any point in time. This also means that at any point in time the CPU is not necessarily handling less load. The CPU is just more focused on what it has to do such as decoding/encoding and many effects. All of this means no I dont think the 740M will change the user experience enough to stop the requirement for rending the timeline to playback. It will help but that is all. The CPU is really low for this type of compression. Pro Res or DNxHD would probably work ok on that CPU simply because the compression level is much lower and they are very efficient codecs with regards to performance. I would suggest looking at Cineform if you need to get this laptop and the realtime playback is not good enough for your workflow. Cineform allows you far better performance with more limited specs.
BTW 8GB of ram is really low for GPU acceleration and HD. The biggest current mistake people are making is configuring systems without nearly enough ram to optimally handle the GPU acceleration. GPU acceleration requires a significant amount of ram because of how it works and transits through your system ram. Even if a system has the fastest CPU and best GPU, the performance is going to be poor if the system ram is to low. Most of the power available in that config would not even be utilized.
Eric
ADK
Maybe you are looking for
-
Data recovery from corrupt boot partition
The boot partition on my MacBook running 10.7.6 has a corrupt volume structure and will not mount, much less boot. The recovery partition boots but really doesn't let me do anything. Disk Utility can't repair nor even complete verification. I have lo
-
Hi I am having problem with iCloud. I turned iCloud on for backuping the contacts, and all of a sudden I lost all of my contacts! how should I recover them now?!
-
how can I transfer my photos from my windows 7 laptop to my ipad air 2
-
Profile "BOM:Configurator URL of UI Manager" after SSL
Hi All, We made our EBS as SSL enable. After SSL we are not able to book Sales order giving error "Configuration validation resulted in error(s)" According to me some profile is not set correct that's why its giving error. If anyone has SSL enable in
-
I am on my second Excite 10 and it wobn't charge or start now either. Bought the first one in mid June. Replaced it due to same problem through the direct replacement warranty I purchased at the store where I bought it in mid October. Now the "new" o