JSP Calculation Coming Out Wrong...

816 byte By tonygallant at 2007-9-26 4:32:31
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 ...

jsessionid (Tomcat) in url when cookies are enabled !?

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

Remote Interface Method Invocation generates ClassCastException

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

Does IIS supports JSP and servlets?

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

SOAPAction

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 ?

Uploading a file from browser to server in a compressed format

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

Dynamic Dropdown - Help

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

include file - Bad file argument to include

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

Serialization issues with an EJB

368 byte By tommyfotak at 2007-9-26 4:34:10
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 ...

How to pass a querystring via ?querystring=air conditioners in netscape. It

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

CMP for EntityBean - EJBC Error

8114 byte By smitha_rai at 2007-9-26 4:34:50
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 ...

simple question

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

WHat to do...

206 byte By maryamq56 at 2007-9-26 4:35:03
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

Weblogic classpath setting

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

NullPointerException

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

TemporaryQueue Name fails security check

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

Session tracking between two web servers

657 byte By selma_mutlu at 2007-9-26 4:35:28
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 ...

Can't send command to SMTP host

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

New window

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

Processing HTML forms using JSP

3361 byte By tomcat_III at 2007-9-26 4:35:37
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 ...

Include directive

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.

Problems with sessions

244 byte By ragonzalez at 2007-9-26 4:36:00
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.

access a node with jaxp

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

Database access from session bean

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

Error parsing an XML file from a URL identifier

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

xpath problem

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

This is really vital

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

help about jive

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

PageContext of JSP from Servlet?

149 byte By tameshwar at 2007-9-26 4:37:02
Hi all,How can we call pageContext(JSP) from Servlet?Please give your sugesstions...Best Regards!!Tameshwar

I cant't edit or view SQL queries

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

Going to become mad with Tomcat 3.2 and IIS 4.0

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

Session End in JSP

416 byte By mrvenkatesh at 2007-9-26 4:37:22
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 ...

tomcat problem

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

Sharing Data in stateless session bean

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

<%= %> inside a custom tag's attribute

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

How to add another deploy server in the deploytool?

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

Howto get SELECT values after Submit

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

IS anybody involved in Tomcat 3.2 working with IIS 4.0

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

Gnutella

508 byte By Beckerist at 2007-9-26 4:38:04
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 ...

setAttribute with the method sendRedirect

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

Displaying Binary Data(GIF) in JSP

199 byte By vishy1234 at 2007-9-26 4:38:17
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

Refreshing Browser Page

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?

Use third party ActiveX in JSP

68 byte By ssaravana2 at 2007-9-26 4:38:27
Does anybody used third party activex controls in jsp?

how send parameter from jsp to jsp (is it possible?)

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

JDBC/ODBC on linux?

309 byte By snowrider885 at 2007-9-26 4:38:43
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. ...

getValue()

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

JDOM and false "invalid XML character" problem

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

Accessing a session object from different contexts

1026 byte By joseph_schlecht at 2007-9-26 4:38:56
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, ...

Using JSPs as a generic text template language

903 byte By martkendall at 2007-9-26 4:39:00
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 ...

Sequence of Elements in the JSP Life Cycle

245 byte By jiapei_jen at 2007-9-26 4:39:13
How do I place several elements such asCreate InstancePage translationJSP compilationLoad classin the JSP life cycleCall jspInitCall _jspServiceCall jspDestroy ?