I am trying to call a servlet from an Oracle DB and for that I am using a java 1.4 class with an URL call on this form http://ip:80/serv/Servletg?parameter with
url = new URL("http","ip",80,"/serv/Servletg"+parameter);
and the following exception is occurred:
java.net.MalformedURLException: unknown protocol: http
at java.net.URL.(URL.java:376)
at java.net.URL.(URL.java:264)
With using a webbrowser the URL is giving a good response from the webserver.
I can not understand what the problem in this issue. I am using apache Tomcat on the webserver side.
Thanks for Help