I did a RMI call in Servlet successfully, but error occured when I use JSP to do the same thing.The error message says _stub class cannot be found.What can I do?
Hello Friends,I am using both Servlets and Jsp in a project. I am using the Java Web Server2.0 as a Web Server.When I modify the servlets and compile the same and finally Load, they are working well.But the Problem comming is in JSP Pages. The web Server is calling the previous JSP Pages even ...
Hello,Well i have some problems using JSP pages with WML pages. I am using Tomcat (3.1) and i changed it's web.xml file in the d:\Tomcat\etc folder for MIME types.The toolkit for WAP which i am using is "Nokia Toolkit 2.1".Well i have seen other Tomcat which have "Conf" folder and has web.xml ...
HiWe want to upload multiple files from a specific path on client machine to the WebServer .Can anyone suggest some idea for this.Thanx
393 byte By
vlokesh at 2007-9-26 1:22:39
I have a doubts on sessions I have created a session in my login page.I press submit and it goes to the second page.I save the second page in my Favourites.Now i close the browser. Again thru favourites i open the page.here i need to invalidate this session.?please give me a detailed Note on ...
I want to know how many members are currently logged into the given system .Or in other words i would like to know how many sessions are presently running into my server . how is this possible .I am trying to do like this .HttpSession session = req.getSession();HttpSessionContext context = ...
Hi AllI have problem using request.getParamentValues(String) method in my appliction.Example:I have a selection box in hospital.jsp file,i want to pass multiple value selected in hospital.jsp file to Results_hospital.jsp file.for that iam using String[] ...
392 byte By
abh1she at 2007-9-26 1:22:48
i have a folder which contains images related to the data i have in my sql database. how could i retrive them onto web pages.i have used a blob data type field in the databseso should i store these images to it or should i store the url of the images to it.could it be done through simple jsp or ...
465 byte By
JIMWOK at 2007-9-26 1:22:58
Hi,Please can anyone help me, I am studying for an MSc in computing and I am evaluating ASP against JSP for my thesis. I have set-up PWS and am currently working with ASP with this server @ home. However I am a little 'stuck' as to where can I get a free/demo version of a java server so that ...
163 byte By
msohaib at 2007-9-26 1:23:10
How can i manipulate - add, delete, update and explore -virtual directories and/or Web applications from a java application or servlet?
I am useing multipartrequest to upload a file but I don't want to give my file a new name. Does anyone knows where I can make modification and can assing a new name when multipartrequest writing file in to the system.I have already try using ios renameto method already but it never works and ...
1070 byte By
inishant at 2007-9-26 1:23:31
how can i run jsp pages on my local machine.or how can i get java web server 2.0i tried to use some jsp1_0ea-winbut running jsp page gives the following error java.lang.NoClassDefFoundError: sun/tools/javac/Mainat com.sun.jsp.compiler.Main.compile(Main.java:196)at ...
Hello Everybody,I am looking for a web server to run servlets, I have used "servlet runner" available in JSDK. Java web server is no longer available free to download. Which ones can we download free on Internet? I have downloaded Jigsaw at http://www.w3.org, but I am having trouble configuring ...
Why when I modify the source of a jsp page, and press reload of Netscape(or feresh of IE), but the changes are not updated.I use tomcat 4.0-b5Thanks in advances
HiHas anyone implemanted jsp tag libs with the help of struts-bean.tld,struts-html.tld etc,I need to use these , but I am not clear with how the page retrives the key valuesexample:-table width="400" cellpadding="10" cellspacing="0" border="0" bgcolor="#cccccc"><tr><td valign="top" ...
446 byte By
daelus at 2007-9-26 1:24:07
Ok, I've installed Apache and Tomcat both, and I'm able to get them running separately fine, Now i'm trying to get them to run together.My problem lies in that Tomcat 4 doesn't generate the .conf files that you generally modify and include in apache's .conf file in order to get them to run ...
Suppose my url is<a href=" http://1.1.1.1/aaa/aa.jsp?a=a&b=b&c=c" >Now i dont want my url to look exactly like this but instead of these alpabets abc some special charaters should appear on the querry string in url .If any body could help please .Thanx in advance . ...
I have some questions: 1. The problem is, how can I define how much results of sql(mySQL) query will be show on html page (something like we see on many search engines like Google or Altavista etc.), in the bottom of page: Result Page: 1 2 3 4 5 Next (1,2,3,4,5 are links to the other pages ...
65 byte By
kenni81 at 2007-9-26 1:24:46
How to change HTML's scrollbar color...any script?
Hi!I have a servlet that takes 2 parameters "message" and "from" through the doPost method and getParameter. I have to change the servlet to accept the GET method and read the exact same parameters. Can somebody suggest a way to do it?Thank you
85 byte By
ShirleyY at 2007-9-26 1:25:19
how can I use jsp to connect a server software which is made by myself?
My JSP platform is JDK1.3+RESIN1.1.5,whern i write these code ,i found something wrong!<%@ page contentType="text/html;charset=gb2312"%><%@ page info="database handler"%><%@ page import="java.lang.*"%><%@ page import="java.awt.*"%><%@ page ...
HI,When i try to retrieve a large chunk of data from an access database using the query string.The display stops when ever there is an apostrophe symbol in the fields, and an io exception is displayed after that.How do i get rid of this problem..please help and thanks in advance. ...
I developed a Java servlet that connects to and queries an Access database ( < 10 mb ) using Tomcat. Everything is working fine. I need to select an ISP to host this site. Would anyone like to recommend an ISP or have advice on how to choose one? ThanksScott
420 byte By
ijaz_m at 2007-9-26 1:25:55
I'm using com.oreilly package to upload file in servlet.when I compile the file it gives no error but when I call the servlet through it gives the error "NoClassDefFoundError :javax/servlet/ServletRequest at com.oreilly.servlet.MultipartRequest. I wonder if my own class "UploadTest" can ...
Hi,I started TOMCAT and tried to call the JSP in the browser.I am able to execute simple JSPs but , when I am trying to call a servlet from the JSP i get the exception Class not found.I did include everything in Path and Classpath variables.Any ideas how I can solve this problem?TIA ...
I created my first JSP which needs to get some datafrom a bean. I tried several hours checking all over and over again but... stuck...grrrThe JSP-page is shown but not the value of fieldWelcomeText.any help welcome.--I included these lines in my JSP file :--<jsp:useBean id="welcome" ...
211 byte By
des_xu at 2007-9-26 1:26:52
Hi, does anyone know how to display all the text files in a directory using JSP codes?For example, I have a show.jsp, which have a textarea to show all the text files in a directory. anyone?
189 byte By
des_xu at 2007-9-26 1:26:53
Hi again, does anyone know how to delete away a text file from a JSP page by choosing the file to be deleted then when you press a delete button, it will delete the file away?
Hey everyone,I want to test out my servlet/jsp application by simulating a huge amount of requests coming from about 50 different referers. So i thought i could have an array of referer Strings, and then create a bunch of HttpServletRequests by randomly picking from the array, but ...
i see maillist two months ago,but i forget now.would you please give me the address?thanks
175 byte By
sribk at 2007-9-26 1:27:25
Hi, I have objects with many attributes these I need to write on to a word file dynamically so that user can view report as word files.. how can I do this
315 byte By
caiyun01 at 2007-9-26 1:27:38
I written my wml in jsp. However, when i use nokia simulator to test. It give me a error saying mime type not supported. I had written:<%response.setcontentType="text/vnd.wap.wml";%>Do anyone know why?Please help me. I need to rush my project.Thanx you. ...
Hi How do .jsp file know that browser supports cookies or not?Vinay
278 byte By
joey829 at 2007-9-26 1:27:56
Dear all,Can anyone tell me what's the difference between JSWDK and JDK? i've developed web application by JSP and servlet for more than a year, and the JDK for standard version is enough for me. I can't figure out when should i use the jswdk.Joey
Hi AllHow to make scrollable resultset.problem is iam calling the storedProc..code is:Conncetion con1=DriverManager.getConnection("jdbc:odbc:dsnname","uid","pwd"); CallableStatement cst1=con1.prepareCall("{CALL ...
323 byte By
tsangboy at 2007-9-26 1:28:29
Do anybody know how to get the variable from JavaScript into JSP's variable?for example:<script language="JavaScript"><!-- Hidefor(i=0;i<10;i++){temp = <%=name.elementAt(i)%> //this JSP's "i" should be equal to the JavaScript's "i"} ...
493 byte By
hikiran at 2007-9-26 1:28:34
hi,I got stucked to read a file which is at the server, i used this code :java.io.FileInputStream fis;String ipaddr="";int ch;try{fis=new java.io.FileInputStream("server.ini");while((ch=fis.read())!=-1)ipaddr=ipaddr+(char)ch;ipaddr=ipaddr.trim();System.out.println(ipaddr);}catch(Exception ...
Hi all,I have found (in the jdc) that it seems to be difficult to create a dynamic (data coming from db) Pie chart using JSP page. I did a beans that create basic Bar charts. Is there any way to do the same for a pie charts ? (without commercial solutions).I'll prefer a Beans instead of a ...
I have a vector containing a vector[[code,color,category],[code,color,category],[code,color,category]]I then pass this vector z to jsp and remove them for(int s=0; s<rowCount; s++){vector c = (Vector) z.elementAt(s);The code is then displayed in a ><select> menu<option ...
hi,i'm trying to update records and when i edit a particular value and click update it gets updated in the database but the changes are not visible in the current screen.instead if i click the update button again i can see the change.can anybody help me in this such that i'll be able to see ...
Hi all,Ive a form which send some data by post method to a jsp page. After that, I do some management and then I d like redirect to another page using post method and, of course, adding or exchanging some data in the form. Is it possible?I dont want to use request.sendRedirect method. Because ...
i'm trying to update records and when i edit a particular value and click update it gets updated in the database but the changes are not visible in the current screen.instead if i click the update button again i can see the change.can anybody help me in this such that i'll be able to see the ...
487 byte By
geetuR at 2007-9-26 1:30:57
Hi,I have a jsp page that calls a Pop up Javascript calendar. In the Jsp page the user can select an event for registration. He then needs to select a date for which the event is to be registered for. If the event has already been booked for that date, that particular date needs to be colored ...
879 byte By
Priyam at 2007-9-26 1:31:02
Hi, I have a problem with javascript functions. I really need your help asap. I have two functions. printArray() & nextRecords().I'm passing parameters between these two functions.printArray() is displaying first 5 elements of Array . Then this function has 'Next' button . If I click ...
756 byte By
stoneJ at 2007-9-26 1:31:12
Hello,I'm new to JSP?When i call a methode in the bean (getTable())from the JSP file....This methodes gets the entire content of the table to the Resultset in the bean..ResultSet rs = stmt.executeQuery("SELECT * FROM Calc");while (rs.next()) {String n = rs.getString("Name");String a = ...
378 byte By
tbrito at 2007-9-26 1:31:23
Hi!I use the session object within my JSP pages, though i never really explicitely create it! I do the putValue and the getValue and everything works out just fine...but i would like to know how can i close it. P.S.-> If there are some documents or links on security i should attend, it would ...
550 byte By
lionzip at 2007-9-26 1:31:26
Can anybody help me?In the beginning when jdk1.3.1 & tomcat3.2.2 are just set, they both can work porperly, but after setting mod_jk.conf-auto (for running jsp), Apache can't start and give out the following error msg: Starting httpd: Syntax error on line 60 of ...
252 byte By
jpoz at 2007-9-26 1:31:42
Hi, I have managed to info from JDBC to an applet using JSP as an intermediator. My next task is to update a record. I am wondering how to send the fields of an applet to a JSP page. Any hints would be much appreciated.James
function Codes(){codeid=document.topics2.sublevels.value;alert(codeid);//this alerts the value e.g 3code ="<%=codeHash.get("%>codeid<%")%>";alert(code);document.topics2.code.value=code;}This gives nullCan anyone see the problem with the above. When I put in a value code ...