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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 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 ...
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 ...
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.
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
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 ...
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 ...
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.
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 ...
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 ...
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
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
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
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 ...
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 ...
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%> ...
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
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 ...
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
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 ...
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 ...
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 ...
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?
62 byte By
KellyLu at 2007-9-26 2:11:49
How to deal with multithreading in JSPs? Thanks.
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(); ...
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 ...
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 ...
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 ...
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
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 ...
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..
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.
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 ...
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 ...
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 ...
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
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 ...
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 ...
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.
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 ...
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
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
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. ...