How to do a RMI call in JSP?

197 byte By neoedmund at 2007-9-26 1:22:03
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?

Java Web Server

524 byte By sameerleekha at 2007-9-26 1:22:06
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 ...

JSP's with WML pages

985 byte By ishtiaqbutt at 2007-9-26 1:22:14
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 ...

Multiple file upload

163 byte By sachingusain at 2007-9-26 1:22:34
HiWe want to upload multiple files from a specific path on client machine to the WebServer .Can anyone suggest some idea for this.Thanx

Session Tracking -Doubts

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 ...

Getting currently Logged in members

585 byte By mohitagarwal at 2007-9-26 1:22:44
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 = ...

How to use request.getParamentValues(String)

2674 byte By venkatpathipati at 2007-9-26 1:22:45
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[] ...

working with url

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 ...

Help Please ! - Java Server setup

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 ...

manipulate virtual directories or web applications from a java application

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?

multipartrequest question, I am desperate with io

430 byte By liberticide at 2007-9-26 1:23:14
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 ...

how shall i run jsp pages ? ?

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 ...

Web Server

370 byte By mpangrekar at 2007-9-26 1:23:36
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 ...

help me!

195 byte By MaliciousHUT at 2007-9-26 1:23:38
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

JSP Tag libs with struts Urgent

797 byte By cbmashwini at 2007-9-26 1:23:53
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" ...

Tomcat 4 + Apache 1.3.2 + mod_jk.dll?

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 ...

Encoding URL Query String .

320 byte By mohitagarwal at 2007-9-26 1:24:41
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 . ...

Help....Help....Help I'm the newone in JSP

718 byte By IsakovicM at 2007-9-26 1:24:44
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 ...

How to change HTML's scrollbar color...any script?

65 byte By kenni81 at 2007-9-26 1:24:46
How to change HTML's scrollbar color...any script?

how to obtain the parameters from the url when passed through the GET meth

272 byte By cmitulescu at 2007-9-26 1:24:54
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

How can I do?

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?

Who can help me deal with the question?

1521 byte By smilefeng at 2007-9-26 1:25:20
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 ...

JSP/access

301 byte By jaisyntax at 2007-9-26 1:25:26
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. ...

Recommend an ISP

289 byte By mountainplover at 2007-9-26 1:25:53
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

Problem in uploading (at run time)

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 ...

Class not Found exception?

325 byte By kameswari at 2007-9-26 1:26:03
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 ...

JSP can't find class ?

5173 byte By pgoovaerts at 2007-9-26 1:26:27
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" ...

Text files numbering

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?

Delete text file

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?

Simulating HTTP Requests

449 byte By JeffMcLean at 2007-9-26 1:26:54
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 ...

why i can not find jsp maillist at this site?

104 byte By liufeng100 at 2007-9-26 1:27:15
i see maillist two months ago,but i forget now.would you please give me the address?thanks

Need help on dynamically writing word document from jsp

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

wml error in jsp

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. ...

Cookies

96 byte By psvinayram at 2007-9-26 1:27:52
Hi How do .jsp file know that browser supports cookies or not?Vinay

Question about JSWDK & JDK.

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

How to make scrollable resultset?.

1126 byte By venkatpathipati at 2007-9-26 1:28:15
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 ...

Get the JavaScript variable into JSP

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"} ...

How to read file at server? URGENT

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 ...

Dynamic Pie Charts

403 byte By LearningSTF at 2007-9-26 1:28:51
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 ...

Menu Problem

914 byte By Smartie_ys at 2007-9-26 1:29:54
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 ...

problem in refresh while submit form

370 byte By greatchivi at 2007-9-26 1:30:24
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 ...

How I can redirect a page using post method?

441 byte By rgoliveira at 2007-9-26 1:30:28
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 ...

in refresh

2804 byte By greatchivi at 2007-9-26 1:30:50
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 ...

URGENT HELP!

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 ...

Javascript function error : URGENT HELP

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 ...

Passing Resultset from bean to JSP

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 = ...

Closure of a session!

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 ...

can't run apache after setting mod_jk.conf-auto

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 ...

Applet to JSP Communication

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

problem with javascript values

443 byte By Smartie_ys at 2007-9-26 1:31:59
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 ...