I am working on an e-commerce website using JSP and have been having problems with making the calculations work. I am adding three dollar figures together and then multiplying them by 1.07 to figure out the total after taxes. The figure is always off though by a few cents. Sometimes it's eight ...
281 byte By
ANeo at 2007-9-26 4:32:34
Hi, Ineed an information. I am using Tomcat 3.2 and I am using response.encodeURL() in my code. I thought that this method rewrites the url only then, when cookies are disabled. I have emabled cookies but I see the session id still in the url. Why ?thanks andi
965 byte By
hmugasha at 2007-9-26 4:32:54
I have a remote EJB method,whose signature is as follows:String foo (Vector bar)the Vector bar is a a collection of Objects instantiated from a class A. When I create and invoke the stateless session bean method foo i get the following error:There was an exception while creating and using the ...
195 byte By
jaimart at 2007-9-26 4:32:57
Hi,Does anybody knows if the Internet Information Server supports jsp and servlets?And if it support them, what do I need to do to run them?Thanks in advance!!!
93 byte By
MaciejW at 2007-9-26 4:33:22
Hi,Is there any way to set the SOAPAction HTTP header field using JAXM ?
328 byte By
p_khatri at 2007-9-26 4:33:38
I want to upload a file from Browser to Server and file should be transfered from Browser to Server in compressed format.. So Browser utility or anything should compress the file on the browser side ad Server should decompress it.. Please advice how can this be done.. Server side is ...
570 byte By
hwijono at 2007-9-26 4:33:47
Hello Java/JSP experts, Could anyone help me to the right path.. i am trying to display the stored procedure results in drop-down menu, displaying multiple lists. But I can't seem to get the drop down to work. The regular out.print, however, works fine.Really appreciate your help. Thank you so ...
200 byte By
ageorges at 2007-9-26 4:34:09
Hi, I have <%@ include file="includes/header.jsp" %> and it seems to be returning "Bad file argument to include" and i cannot work out why.Thanks
I have an object that I have created. It implements the serializable interface and all its members are also serializable, (except a series of final static ints). When I call a method on my EJB (remotely) that returns the above object I get an exception telling me that my object is not ...
526 byte By
adamrau at 2007-9-26 4:34:20
It seems that my search doesnt seem to work in netscape whenever there is space. I notice the big websites would have air+conditioners not air conditioners. Does anyone know how to correctly pass a query string with spaces. AND how do the sites like yahoo pass spaces as a + sign.Thanks in ...
Hi, I am trying to use CMP for entity bean for a simple database table having three columns, namely, cust_id(int), item_code(varchar2), quantity(int). While I am genetrating the Jar file, I am getting the incompatible ERROR. I could not understand where exactly the error is: My code is as ...
482 byte By
smallsun at 2007-9-26 4:34:51
<html><head><title>HelloWorld.jsp</title></head><body bgcolor=#FFFFFF><form method=post name=SearchCriteriaaction = ' http://./unicode.jsp'><input type='text' name='text1' ></form></body></html>I have html file as above. I ...
When i try to run the demo applications provided with the mail api i get the following error message. Exception in thread "main" java.lang.NoClassDefFoundError: javax/mail/Address
331 byte By
msyal at 2007-9-26 4:35:06
How to set the classpath for the helper class files in weblogic.There is option where I can set the classpath of the servlets , but to set the classpath of other class files(helper) , where should I set the classpath in weblogic.properties files Also by default where should I keep my class ...
3119 byte By
XIII_ at 2007-9-26 4:35:13
Hello guys,I get this error when I try this code out but I don't know what's causing it. If you know the answer, please let me know.This is the JSP page: <%@ page contentType="text/html"%><%@ page import="javax.xml.parsers.*"%><%@ page import="org.w3c.dom.*"%><%@ page ...
627 byte By
scrth at 2007-9-26 4:35:22
Is there any way to specify the prefix (first part) of the name of a queue created by CreateTemporaryQueue? This can be done with base MQSeries, and is ESSENTIAL when using the temporary queue as a ReplyTo queue, if sending the request message to an MQ program on S/390. Security checks (eg by ...
Hi all,I have a machine on which there are two iPlanet web servers installed, one for http requests and one for https requests. Lets call the first web server serverA and the second one serverB. A user first calls a servlet on serverA, creates a session and puts an object to the session. That ...
1510 byte By
TiGeR1 at 2007-9-26 4:35:29
Hello!When I try to send an Email via JAVAMAIL i get this error:javax.mail.MessagingException: Can't send command to SMTP host; nested exception is: java.net.SocketException: Socket ...
437 byte By
lizmarc at 2007-9-26 4:35:33
How can I direct the browser to create a new window? I've got a page which, when an option is clicked, calls a servlet that creates a file.I want to display a page, generated by the servlet that says the file is createdand click here to download. That works, but I'd like thatpage in a new ...
I am writting a jsp application that behaves like the windows trouble shooters. It asks some questions and then gives some adivce. I have written the application, it is made up of a form that asks questions which can be answered by selecting a radio button. The problem is that I have to press ...
218 byte By
sn_jy2 at 2007-9-26 4:35:45
I am retrieving values from a database using JDBC with a JSP page.I am including that file in another JSP page.Its neither giving any output nor showing any error.Both files r in same dir.Help me friends.
Hello, How could I be able to handle cases in which the client does not choose to join a session, such as when cookies are intentionally turned off.I need sessions to pass parameters through different jsps.Thank you.
525 byte By
nort_de at 2007-9-26 4:36:02
hi,i have the xml structure like this:<doc><tag1><id>1</id></tag1><tag2><id>2</id></tag2> </doc>when i say nl = e.getElementsByTagName("id"); it returns me all id from tag1 and tag2. i can acces it then like: Node n = nl.item(1); but ...
2526 byte By
kostasa at 2007-9-26 4:36:32
Hello,I have a stateless session bean which performs some complexcalculations, and also does some database access.For the database access the bean class has a datasource asfollows:public class TestBean implements SessionBean {private DataSource ds_;public void ejbCreate() ...
455 byte By
pjrenaud at 2007-9-26 4:36:39
I have been using the SAX2 parser to parse an XML file. I have no problem when give the "parse" method a local XML file name. When I give the parse method a URL address, however, it returns a "SAXParseException: Value must be quoted" error at run-time.The URL address returns the exact same XML ...
873 byte By
nort_de at 2007-9-26 4:36:42
hi,i found a possibility to solve my first problem. i want to solve it with xpath. i have downloaded the xalan2 and tried to run an example.<document><POroots><db>test</db></POroots></document>when i say:String xpath = "/";the output is the whole xml file. ...
341 byte By
jamesliJ at 2007-9-26 4:36:51
I have downloaded J2EE and tried to compile some classes of ejb but its complaining that it can not find EJBObject. It says:connot resolve symbolsymbol :class EJBObjectLocation: interface ......public interface Interest extends EJBOjectPlease commet what this meantsJames ...
225 byte By
stavid at 2007-9-26 4:37:01
I download jive,and install completely,I can create new user,but sign in faillure(root); database is mysql(mm.mysql.jdbc-1.2c) web server is tomcat(jdk1.3) please help methanks
Hi all,How can we call pageContext(JSP) from Servlet?Please give your sugesstions...Best Regards!!Tameshwar
175 byte By
gla at 2007-9-26 4:37:09
I use J2EE 1.3 b2 with CMP and I can't edit or view SQL queries in entity bean deployment setting.I can't find any method in method list!any idea
611 byte By
jshamann at 2007-9-26 4:37:13
Hi all, AS a newbie (six months experienced) in Tomcat 3.2 I try to install it to work with IIS by following procedures finded on VerySimple.com and the Tomcat IIS How to. And it definitely doesn't work as well as excepted.More precisly i didn't succeed in having my IIS ISAPI filter set up as ...
hi friends ,is there is any possibility to capture the event of a session end from the server side.this is neede to terminate the files created during the session.so after the sessionthose temp files have to be cleared.this can be done only if we know about when a session ends.so please friends ...
2248 byte By
XIII_ at 2007-9-26 4:37:26
Hi,I just installed Tomcat 4.0 on Windows 98 with Apache. Apache works fine. When I start tomcat (startup.bat) I get a DOS window with some error statements like these: 'org/apache/crimson/parser/Parser2.maybeComment (Z)Z': Interpreting method. Please report this error in detail to ...
422 byte By
gasser at 2007-9-26 4:37:27
Hi all: I 'm using brokat advanced server which supports only stateless session beansI want to share some data between ejbs that i've wroteis there a way.i've tried putting the data in a java bean with a session scope and i passed the data with every ejb call.but what if i want to modify the ...
326 byte By
tbee at 2007-9-26 4:37:51
Simple question, hopefully a simple answer. I want to do something like this<x:myTag myAttr="<%=a%>/blabla"/>But the <%=a%> is not evaluated. Setting rtexprvalue to true is not what I need (if I understand the documentation correctly). So... HELP!!!Tom ...
514 byte By
maasg at 2007-9-26 4:37:52
Hi,We're prototyping on the J2EE RI 1.3 B3. We are not able to add a server other than 'localhost' to deploy to.Sure we have an IP stack, sure we have an IP (or a DNS server for that matter). I looked on the config files and documentation without much success.I've also been searching in the ...
299 byte By
AntonioC at 2007-9-26 4:37:55
I have an HTML form with a list of values implemented with SELECT multiple. When I submit the form to a JSP page y use:request.getParameter ("listname")but I only get the first selected value, how can I get all the selected values?Thanks in advance, Antonio
203 byte By
jshamann at 2007-9-26 4:37:57
Hi all,Is someone able to say to me how to install correctly tomcat to work with IIS 4.0I've already try VerySimple and jakarta How toThanks a lot in advanceSTF
Hello All!I am a complete newbie, meaning, I don't know the difference between Java and JSP, if there even is one... I am completely willing to learn though, and really do want to, just need a kickstart :). I was told that JSP is the language-of-choice to create an online Gnutella ...
505 byte By
couette at 2007-9-26 4:38:07
Hi , I am trying to send Attribute a to a jsp with the method request.setAttribute(...,..) and using response.sendRedirect("/jsp/index.jsp") method but it doesn't seem to work In fact, when i use a requestDispatcher , i can easily setAttribute, but the url is the name of the servlet and i 'd ...
I wante to display binary data namely(i.e.) GIF in the JSP page alongwith the normal text. Has anybody been successful doing this. If you have can u please let me know how can I do this
263 byte By
stricch at 2007-9-26 4:38:23
I have servlet receiving data from a stream and I want to update the browser every 30 seconds. Right now when I write to the browser it just does it in a continous list instead of rewritting the browser.How do I get it to rewrite the browser?
Does anybody used third party activex controls in jsp?
275 byte By
couette at 2007-9-26 4:38:31
Here is the question in the subject !!i am actually using a servlet between all JSP , but i wonder if can jump directly from jsp to jsp without passing throw a servlet, can we setAttribute and make the parameters invisible ?thanks to reply
I am using Dreamweaver UltraDev to make pages that have to connect with a database. I am making the pages in jsp. Do you know how I can run a JDBC driver on linux? I am not sure, but I think I may also need an ODBC driver running as well. I am using redhat 7.1, apache 1.3.20, JServ, and GnuJSP. ...
323 byte By
skarunam at 2007-9-26 4:38:47
Hello, I have an xml structure as follows:<Title Description = "Hello World"><Hello>RHW</Hello></Title>For the tiltle i have to extract the value at node hello. Can anybody help me in solving this problem.Thanks in advance.Reg,sk ...
1043 byte By
RodLoos at 2007-9-26 4:38:51
I'm using JDOM beta 7, and I have problems building certain XML documents when I try to read them from a URL using SAXBuilder builder = new SAXBuilder();document=builder.build(url);I get an "invalid XML character (Unicode 0x13) was found in the element content of the document" error. However, ...
Environment:Multiple JSP WebApps running on a single domain. The domain is Tomcat 3.2/Apache.Goal:Create a 'sign-on' WebApp that will create a user bean that is placed in the session upon successful login. The user bean contains information like, name, address, department, routing number, ...
I am about to start a project with a lot of code generation. I intend to use templates to minimise the amount of println's in my code and to ease maintenance.I am looking at this style of code:For each file to be generated:1) Set up a Javabean with the relevant data2) Call a template which ...
How do I place several elements such asCreate InstancePage translationJSP compilationLoad classin the JSP life cycleCall jspInitCall _jspServiceCall jspDestroy ?