error when starting tomcat in win2000 pro

663 byte By cmitulescu at 2007-9-26 2:06:45
I have set up the required variables in order to run the startup.bat file and I get the following error when attempting to start it:java org.apache.tomcat.startup.TomcatException in thread "main" java.lang.NoClassDefFoundError: org/apache/tomcat/startup/TomcatI have modified my Startup.bat file ...

Problems with the JNDI in Websphere App Server for Linux .

1087 byte By br0nx at 2007-9-26 2:07:01
I'm working with EJBs and I have tested mine with WTE in VAJ. The problem is when I try to access them on a remote client. What I have done so far:1:export the bean group to a Jar Filefor the administration "Web page"2:add an application by selecting the good Jar file3:I set the JNDI ...

Bug in JAXB / Generating Interfaces

433 byte By pokkkkk at 2007-9-26 2:07:05
I wanted to declare an interface in my Binding-Schema.These interface should have a Getter-Methode that returns a class called PvXMLElementarvertrag. In my DTD this element hat obviously subelements and therefore it is a class. But the generated Interface returns a String. Also a Declaration in ...

HELP! How to save resultset (NOT file) from server databse on local machine

1655 byte By huangjjing at 2007-9-26 2:07:11
Our JSP web system allows our clients to be able to search data from the server-side database and then after get the resultset, they also should be able to save these data as a text file on their local machine by just a click. Of course, before they click the OK button, they should navigate the ...

do I must use EJB if I put a web application on NT+IIS+JRun

636 byte By pengyl at 2007-9-26 2:07:13
I wrote a web application(JSP+JavaBean+Microsoft Access Database), it runs well on windows98/me+Apache+JRun developer version(net work). but when I put it on the internet by using ISP's Server(NT 5.0+ IIS+JRun), It does not work well. when click on a link or a buttton to get another jsp page ...

unable to return a correct value

426 byte By supriya_phadke at 2007-9-26 2:07:20
hello ppl, i am relatively new to ejb. i am developing an entity bean. in the findbyprimarykey method i am incrementing a counter.i have written a function which returns the value of this conter. this is a remote method. but i am unable to get the correct value of the counter.pls help.mail me ...

why "JRun Closed Connection"

5868 byte By pengyl at 2007-9-26 2:07:30
Hi guys i am having problem with the Web Application: I wrote a program in Jsp+JavaBean, Microsoft Access Database, this program runs smoothly in Windows 98/Me+Apache+JRun developer version, but when I put it on the ISP's Server, it always (not every time) cause "Jrun Closed Connection" , i ...

exporting data from a jsp to a text file...

290 byte By rohit29 at 2007-9-26 2:07:37
Hi all...I have a jsp page which displays a table with a list of results...What my client wants is that i should include a button on the page on clicking which the entire results of the table isexported ona text file...how to do this...can anyone help....

How to change (document.Check.validate.value) to integer from string

386 byte By moined_mogul at 2007-9-26 2:07:44
How is it that you can change within javascript in a JSP a value you get using something like this:document.Check.validate.valueFrom a string to an integer. I have tried using the Integer.parseInt(document...)This gives me a runtime error stating that Integer is not defined in the javascript I ...

exporting data from a jsp to a text file...

329 byte By rohit29 at 2007-9-26 2:08:36
Hi all.I have a jsp which displays a set of results in a tablular form....my clients now want me to include a button in this jsp page on clicking which i will be able to export the entire data from the displayed page to a text file can anyone suggest me as to how to go about it...thanks ...

sax download

208 byte By crivers1 at 2007-9-26 2:08:39
Where can I get the current version of SAX? I have some of the source, but am interested in getting the complete jar. If anyone can point me in the right direction I would appreciate it. Thanks.

JSP throws exception if the FormData contains %

217 byte By svchundu at 2007-9-26 2:08:41
Hello Everyone,I am getting an exception while reading the Get/Post data in a JSP page if the data contains % char. Can you please help me how to fix this problem.Thanks,Satya

EJB and JNI - how does it actually work?

536 byte By hairsinl at 2007-9-26 2:08:47
HiI need to call JNI from an EJB. I know that this cannot be done directly as it would break the EJB programming restrictions. I understand that you need to create a standalone Java program (outside the container), which can use JNI to call C functions in a dll, and that the EJB can look up the ...

XPATH vs DOM tests acomplishied

1315 byte By redjat at 2007-9-26 2:09:00
hi, i performed some test trying to select one node in a document with 10000 nodes (<name first="ssss" last="sss">) and the test said:[bold]Using xpath[/bold]String xpath = "/doc/name[@first=\"Rodrigo\"]";Node node = XPathAPI.selectSingleNode(doc, xpath); [bold]it delay like 1970 ...

Referencing Exception subclasses in error.jsp?

283 byte By pafoege at 2007-9-26 2:09:17
Is it possible to reference Exception subclasses in the error.jsp page?If I throw a new exception called testException from a bean, how do I get access to it in my error.jsp page? It seems like I can only get access to Exception, not testException.

here is my error and code.

6389 byte By ljava123 at 2007-9-26 2:09:26
java.lang.NullPointerException at pagecompile.jsp._Company._jspService(_Company.java:207) at com.sun.server.http.pagecompile.jsp.runtime.HttpJspBase.service(HttpJspBase.java:87) at javax.servlet.http.HttpServlet.service(HttpServlet.java:840) at ...

How resolve the problem - Warning: Page has Expired

745 byte By alexwork at 2007-9-26 2:09:28
After upload file on server using submit form with enctype="multipart/form-data", I return page with link. If user clicks on link and then clicks back, IE5.5 return page with<<Warning: Page has Expired The page you requested was created using information you submitted in a form. This page ...

Apache + Tomcat in Windows

176 byte By johnyoung at 2007-9-26 2:09:34
Anybody know of a good tutorial/site that walks you through setting up Apache and Tomcat to work together in a Windows NT or Windows 2000 enviroment?thanks

how can i show some HTML code on a page

269 byte By JavaDen at 2007-9-26 2:09:36
hi how can i show some HTML code on a page without the browser converting it to htmlFor example<INPUT TYPE="text" SIZE="15" MAXLENGTH="128" NAME=qt> I would like this to be displayed as code not as an Input box TIA

2-Dimesional array :urgent

130 byte By Priyam at 2007-9-26 2:09:54
Hi,How to pass java 2-Dimensional array to javascript 2-dimensional Array ? Thanks,-priya

optimizing java code related to beans and jdbc

1400 byte By stephensutherland at 2007-9-26 2:09:55
HI,I have a question about optimizing Database Hits from a Bean.I have a java bean that is currently in request scope. All methods in the bean returns Vector which contains the contents of different JDBC queries - Several Select Statements.After the bean is instantiated all the methods are ...

jspsmartupload - max_allowed_packet 1048576 bytes

482 byte By wobelix at 2007-9-26 2:10:05
Hi there!i have a problem with jspsmartupload. when i try to upload files i get the following error:java.lang.IllegalArgumentException: Packet is larger than max_allowed_packet from server configuration of 1048576 bytes what server configuration is ment by this?i'm working with tomcat and i ...

Javascript and JSP

1164 byte By wmacey at 2007-9-26 2:10:15
Here is my dilemna:I have a textbox, dynamically named '227' and another textbox, dynamically named '227_units'named form a <% String output=blah.blah.m_sName %>name=<%=output%>type of arrangement.All is fine.now, in my Input Box:<input type=text name=<%=blahblah%> ...

Getting whole column from ResultSet?

267 byte By mjduncan at 2007-9-26 2:10:19
I am trying the find a way to retrieve a column from from a ResultSet and put it into a vector or and array of some type without going through each piece of data one by one. Anyone have any Ideas on how I might accomplish this?Thanx,Mikael

JSP - Beans - DBdata

1453 byte By pgoovaerts at 2007-9-26 2:10:27
I want to launch a JSP which needs to display a list of data (now using a default parameter but this will be dynamic)From this list I choose an element which will then launch a second JSP. This second JSP will be used to view/ update/delete/write records.This is how I try to implement this ...

Comparison of Dates

260 byte By rajani_s at 2007-9-26 2:10:30
Hi allI need to compare two datesand need to find out if the second date is ahead of the first by some days (eg. 7).What is the best way to do this. In what format do i generate the two datesThanks Rajani

A J2EE Problem

911 byte By tengj6 at 2007-9-26 2:10:47
I have tried j2ee1.3.1. I followed the tutorial, deployed the first example--the converter. I have no problem to run the ConverterClient from the command line. But when I tried to run the jsp client, it gave me the following ...

when the ejbStore() is called

1017 byte By DVijay at 2007-9-26 2:10:59
Hi, I've the following situation, I have a stateless session bean, S1 and, Two entity beans E1 and E2.E1 has a reference (a foreign key column) to the primary key of E2.Now, in the remote method of S1, I do the following steps, 1. set the E2 reference in E1 as null (this would be persisted to ...

Trying to get J2EE

351 byte By spatemp at 2007-9-26 2:11:18
I am trying to run the PETSTORE example and I have couple of questions. 1) I think I need J2EE app server to run this. where do I get it from. What link. 2) I have JBOSS and ANT running on my computer. Is It easy to configure/run this in JBOSS environment. I am sort of new to all ...

Who can help me? i need a tutor!

254 byte By wadeliu_cn at 2007-9-26 2:11:44
i am a new Java Programmer for July, everyday i programming lots of code. but there is always errors occured in my program, what is the reasonS? who can help me? Do i need a tutor for learning Java Programming language?

How to deal with multithreading in JSPs?

62 byte By KellyLu at 2007-9-26 2:11:49
How to deal with multithreading in JSPs? Thanks.

Unable te send attachment through weblogic on Solaris

2183 byte By rajeevmsingh at 2007-9-26 2:11:51
Hi I am trying to send mail using Javamail api using web server as wweblogic 6 on soalris and client browser on windows but it throws exception File Not Found.Following is the code:/** Create the JavaMail session **/ Properties properties = System.getProperties(); ...

mime-type for wml

367 byte By caiyun01 at 2007-9-26 2:11:54
Hi, I developing a wap application. I using jsp to run the wml code. I also using tomcat server. When i run on the nokia simulator, error message saying mime-type not supported. Do you know how to write the mime-type for jsp to wml in tomcat. Is there anything that i miss out in order for my ...

How to get text from a SharedByteArrayInputStream

347 byte By bootedbear at 2007-9-26 2:12:05
When I get a BodyPart that's an instance of com.sun.mail.util.SharedByteArrayInputStream, how do I retrieve the text from this stream? Treating it as an InputStream and reading the bytes into a buffer yeilds what looks like gibberish. Anybody know how to do this?Any help would be ...

JDBC using Servlets!!!!!!Hurry up!

903 byte By svasu60 at 2007-9-26 2:12:19
Hi,MySelf Savdeep Vasudeva,Presently I am involved in a project using JDBC-ODBC Bridge in which I want to connect a database table to a HTML Page using Java Servlets.When I fill the form on the HTML Page using numeric data in all my variables,it works quite good and the query is ...

More Records

261 byte By asgherali at 2007-9-26 2:12:22
If I retrieve a lot of records from database. I want to Display those records on multiple html files. I Mean show maximum 25 records per page. Tell me how to distribute among several pages.Thanx in AdvanceASgherasgher@lww.org

jsp related question

728 byte By bsatish30 at 2007-9-26 2:13:07
I am satish.I am doing a project in jsp.I have a table called employee,in that i have 6 cloumns(fields).The first column is employee number ,the second is employee name and etc.I want to view the details of the employees in the jsp page,thereby i am establishing a connection to the database to ...

How JSP is faster than Servlets ?

171 byte By simmy1 at 2007-9-26 2:13:10
can anyone tell me why and how jsp is faster than servlets. i want the detailed description of this question. thanks in advance..

Deployment Descriptor Not Found

166 byte By tkokchi at 2007-9-26 2:13:11
Hi all, I am trying to locate the deployment descriptors of the examples in J2EETutorial. Can anyone enlighten of their whereabouts?Best Regards.

Tomcat and Beans

2673 byte By tomcat_III at 2007-9-26 2:13:17
I am new to tomcat. I am trying to write a jsp page that will use a JavaBean to check the user name and password of a user against a database to see if access should be denied or granted. I have compiled the Bean I wrote and placed it in the Web-inf/classes folder, put I get the following error ...

getParametersValue?

463 byte By MatLL at 2007-9-26 2:14:02
Hi all,I collect four names and some associated info from the client. My request will contain a series of arrays (ie. nam1[], nam2[], etc. When my user posts I want to collect just nam1[0], nam2[0] etc....How do I do that? I'm new to this and I've never worked with Arrayscoming back from the ...

How is clustering implemented?

401 byte By jinnjee at 2007-9-26 2:14:22
hey ejb gurusi am looking for some info on how clustering support is actually implemented in application servers? i mean to say that, for instance, we have a bare-bones application server and if we want to support clustering in that server, how do we go about doing it? any resources which talk ...

getting IP address of browser client in DHCP environment

267 byte By Zerg2000 at 2007-9-26 2:14:26
hi,i want to know the ip address of my browser client. but no matter from which pc i access the url, i always get the same ip address.i am working in a DHCP network environment. how to resovle this problem ?pls help me.thanks

How to avoid concurrency problem?

937 byte By yu_hung at 2007-9-26 2:14:28
Hi all,I am new to JSP and Servlet and I just want to know what do I need to do to avoid concurrency problem when there are multiple client requests.If I am using servlet but I don't have static varibles, do I need to do any thing to avoid the concurrency problem?Does the Web server creates a ...

Is Dynamic Class Loading(RMI) Possible in EJB?

686 byte By johnleung at 2007-9-26 2:14:34
In Java RMI,it allows dynamic class loading,that is when the stub and interface class files are modified by the server,the client side can download the updated stub and inteface classes.As the remote interface of EJB extends Javax.ejb.EJBObject which in turn extends java.rmi.remote.Also the ...

how do i use JSP with apache http server?

214 byte By k_b_konuri at 2007-9-26 2:15:18
hi!i've been using tomcat to run my servlets,jsp and beans. i'm pretty comfortable with that. my question how do i use same functionality with apache http server.thanks,kishore.

SerialDemo

441 byte By jyoti_27 at 2007-9-26 2:15:28
Hi,Does any body try to run the sample application SerialDemo in Javacomm API? I am trying to write something at the top text area and the text should at the bottom text area if this demo perfectly write and read. I set some debuging, it looks like its writing OK but its not reading. Do I need ...

Diff. between Web server and Application server

248 byte By jjai at 2007-9-26 2:15:40
Hello,Can you please state the differences between a web server and an application server? I'm confused.Can a web server be used as an application server orvice versa?Thanks in advance!With Love,Jai

diff. between web server and application server

248 byte By jjai at 2007-9-26 2:15:41
Hello,Can you please state the differences between a web server and an application server? I'm confused.Can a web server be used as an application server orvice versa?Thanks in advance!With Love,Jai

tomcat and examples that come with it

323 byte By ksella at 2007-9-26 2:15:45
hi,i have installed tomcat 3.2 on windows 98. i am trying to compile some of the existing java classes for the custom tags. When i compile i am given the error: cannot resolve symbolfor each of the methods.do i need to set classpath or something like that?cheersbal. ...