424 byte By
carizu at 2007-9-26 4:39:23
Several listserv postings have indicated that sendRedirect actually creates a new thread for the new page's redirection, while the old thread keeps executing to the end of the original page. I have seen this behavior, and I don't want this to happen.Is there a way to redirect the browser in ...
HI,I NEED HELP TELL ME HOWCAN I UPDATE MULTIPLE REORDS HAVING THE SAME NAME.HOW TO WRITE A QUERY FOR THIS PARTICULAR CASE.PLS REPLY ME.
hihow can i build an API to extend the functionality of request/response serversthanxbye
691 byte By
bala_r2 at 2007-9-26 4:39:42
Hi,I have a iPlanet web-server running on Sun Solaris machine. In my web-application, whenever I change a JSP page and try to refresh the page in the browser, the server no longer responds to any request for JSP or servlet pages (even pages unrelated to the changed page). In the browser I keep ...
I want to be able to format XML content differently depending on which browser is being used. However, the only way I have been able to do it is to write a JSP that detects the client browser, and then applies one of several XSL style sheets to my XML content. This works, however, I would like ...
261 byte By
dhamning at 2007-9-26 4:40:23
We need to send an XML file that exists on one server to another server. We would like this to be done within the coding of the JSP or servlet without user intervention. Is there any way to use FTP or any other software product to accomplish this?
633 byte By
ledford at 2007-9-26 4:40:27
I'm working on a system which automatically generates entity beans and one use of this technology is to make legacy databases available as entity beans.I'd like to provide entity beans as an incremental integration approach for databases which are still being used by legacy systems. To do ...
132 byte By
rjmcdonn at 2007-9-26 4:40:42
Actually is there a way to set the timeout on a JSP page? Say you invoke a SQL query that takes a long time to return.
If I wanted to create a socket connection from a servlet using apache 1.3.2 and tomcat 3.2.3 would I have to edit a policy file to allow this. The reason that I am asking is that I am getting security exceptions. I can do this with our other server. All of our machines have public ips, and the ...
606 byte By
beattris at 2007-9-26 4:40:51
Hi all,I'm using the JavaMail 1.2 API to send email to an SMTP server and I'm having a problem with invalid addresses. I'm using the Transport.sendMessage(Message, Address[]) method. The API docs says, ". Also, if any of the addresses is invalid, a SendFailedException is thrown. Note ...
Hi,In my jsp page i need to read the binary data stored in the database on the jsp page.It is actually displaying the resume which is saved in binary format.Can anyone tell me how will we read this data and display it.I use sql server 2000 as the database.Regards,Jyoti. ...
293 byte By
mtags at 2007-9-26 4:41:18
I have managed to get servlet-mapping working with Tomcat, and I have servlets working with Apache without servlet-mapping. But I can't seem to get servlet-mapping working with Apache.Can anyone give me some suggestions into where my problem might be.Thanks
Hi all,I am completley new to both Cold Fusion & JSP and have to make a decision on standardizing on one of these environments for a major project. Different groups in our organization have an investment in each, but now management wishes to standardize on one to enable the sharing of ...
173 byte By
cjunior1 at 2007-9-26 4:41:32
Hi , i'm making a web site and i want to put a chat service , Like the "humanclick",for my clients. Anyone know's where i can find a free applet chat.
Hi I would like to tick a check box based in the results from a query while i display itFor egwhile(rs.next()) {if (rs.getString("status") == "00") mandatory = "N";else mandatory = "Y";(need to tick check box)<input type="checkbox" value='<%= mandatory %>' name="build"> But i dont ...
Tell me if anyone knows the default live time of the application variable in JSP. Can i set this time?Thanks in advance!
I am using SSL to authenticate users via a simple username and password page. On the server, I do a simple response.sendRedirect(sURL) to tell the browser to switch out of https back to http.I only want authentication to be SSL, not the whole site. But I get warnings from the browser, saying ...
280 byte By
selina_c at 2007-9-26 4:41:49
I create a new word file , and I would like to changes the document Orientation to vertical.(advance Orientation is horizontal) , how do I program ? I Have search for this solution 3 days , it's still can't be solved ! so ~please help me ! Urgent ! REGARDS.
Hi I have stored a JDBC Connection in the session. I just want to know if session.invalidate() is invoked will that connection be released?
395 byte By
pcam at 2007-9-26 4:42:03
Hi All, I have developed a JavaMail Application using JBuilder4Pro. It works fine when I run it without creating a JAR (including attachments). However if I package everything into a JAR JavaMail starts to work differently. I can still get all the message details but I can not see any ...
I am using TomCat Server and Jsp.My problem is: 1. when i copy some codes files and overwrite into the same name files, then view results in the web browser, but the results is not changed. 2. if i make a new web application in Tomcat Server, and then copy these files into, the results would ...
hi all,I have the situation where the result of an end user's actions is a variable length (in terms of number of rows) HTML table. How can the JSP/Servlet be designed so that the Servlet (or elsewhere in the non-presentation logic) doesn't generate HTML? thanks in advance..... ...
1227 byte By
usam at 2007-9-26 4:42:37
Hey,I build an Document with following code:DocumentBuilder builder = factory.newDocumentBuilder();document = builder.newDocument(); Element root = (Element) document.createElement("Root");document.appendChild(root);I write it to a file:TransformerFactory tFactory = ...
527 byte By
gcallagh at 2007-9-26 4:42:45
Hi,Does anyone know how I can modify Tomcat config so that if I request http://localhost/ that Tomcat goes to say /webapps/myapp/index.jspinstead of deciding to go to what seems to be the default of /ROOT/index.htmlPart 2 of this is how does tomcat decide which hello file to show? thanks in ...
151 byte By
e_moon77 at 2007-9-26 4:42:50
the error is Internal Servlet Error, the description is " Cannot create bean of class". Please tell me the possible cause, thanks a lot!
Dear all, I am a beginner of JavaBean. I would like to know how to start the JavaBean in the JSP Container. Because when i execute the *.class file, there is a error that "Exception in thread "main" java.lang.NoClassDeffoundError : "how can i execute the *.class when it is without the "public ...
Hi I hope this makes sense. I have a top.jsp which is included on the top of all pages. The first time this is open I want a popup box to appear but not every time you change to a new page. I was thinking of getting the session id and using this some how to popup once for that session id. Has ...
820 byte By
ko5tik at 2007-9-26 4:43:34
I developed a bean, say to provide sequence numbers. ( for other beans )This bean is needed virtually everywhere, solooking it up each time is very verbose. So I developed a class with some static members:private static InitialContext ic = null;private static SequenceHome sh = null;private ...
How can I detect which kind of dispositive is accessing my jsp?I'm quite interesting in knowing if the jsp is accessed by a palm pilot (pocket pc) or a pc
20 byte By
liuwind at 2007-9-26 4:43:46
thanks
1915 byte By
capr1ce at 2007-9-26 4:43:48
Hi, Some thing quite odd keeps happening I'm using Tomcat. I have a webapp in the webapps folder called mel. In my web.xml file my welcome file is JSP/index.jsp. So when I goto http://localhost:8080/mel, i'm forwarded to http://localhost:8080/mel/JSP/index.jsp. Ok, so first time I start the ...
336 byte By
anu_code at 2007-9-26 4:43:55
HI I have a list box where the user selects a value for some fields. No when the form is submitted i am getting all the form information in hidden fields via JavaScript. All information is received except for the ones in the list boxes. Can anyone tell me how to get the listbox info too?Thanks ...
Hi all. Is there any component like jspSmarUpload available free for paging the resultset. can anyone give me an idea on this.Regards.Senthil
Hi,I tried using MVC Architecture for jsp pages, servlet controller and beans as the model. I found it of no value.--Each JSP Page is the view. --A Servlet Controller catches all the hyperlink clicks instantiates the correct beans put it in a request object and sends it back the correct view. ...
Hi everyoneI was thinking about using java beans in session scope at the top of each jsp page to manage user permissions.I was wondering if anyone did anything like this.If so can anyone provide an example ? Or does everyone generally just check the session object at the top of each jsp page ? ...
184 byte By
Rasmeet at 2007-9-26 4:44:27
Hi Guys, Could anyone please explain the concept of TagExtraInfo class and give a simple example with code. This one is really urgent !!ThanksRasmeet
1097 byte By
nusa at 2007-9-26 4:44:30
Hi,I need your help.I just download the J2SDKEE1.3 beta-2.I've setup the env variable J2EE_HOME, set J2EE_CLASSPATH to %JDBC_HOME%\classes\jconn2.jar (Sybase JDBC Driver) ,JMS_HOME set to J2EE_HOME ( default).When I run "j2ee -verbose", here what I have :Syntax errorSyntax errorSyntax ...
2269 byte By
Greebo at 2007-9-26 4:44:45
Ok first off I realize several people have post messages similar to this - but the replys to those messages didn't help me:Today the webserver I had my code on crashed - and was restarted.Everything is working except for 1 page.When I load it I get this error:Error: 500Location: ...
1255 byte By
sumiti at 2007-9-26 4:45:11
Hey Friends,I am developing a File Upload servlet and I need your help in certain matters .I have taken the servlet code from java-edge.com and am modifying it to give custom behaviour.I have a main page for upload (form upload)(lets call it form 1).If the file to be uploaded already exists on ...
453 byte By
micksta at 2007-9-26 4:45:19
Hi, I want to create a context in Jakarta called project. I need an answer to the following to put me on the right track.Where should I locate the folder project?Should every url then be prefixed by /project e.g. by /project/jspname.jsp ?What about servlets... is this correct? ...
3426 byte By
amtanoli at 2007-9-26 4:45:55
i am using weblogic 5.1. i am trying to run the jms example. pl have a look on my code.///////////////////////////////////////////import java.util.*;import javax.naming.*;import javax.jms.*;public class TangoSender {public final static String ...
214 byte By
RilwanJ at 2007-9-26 4:46:07
Hello,Can someone please tell me how to use XML in Swing Applets. Is it as easy as importing the XML package into the Applet code, or do I have to do more than that?Thanks,RilwanJ
1923 byte By
yue42 at 2007-9-26 4:46:10
anyone used the xsltflat 2.0 to do flat to xml transformation? it does it by using xalan extension... the packate is com.fs.xalan.extensions.* and test.com.fs.xalan.extensions.*anyway, it works fine when I do it from command prompt... however when I tried to do it by calling it over Tomcat, the ...
10063 byte By
al3xii at 2007-9-26 4:46:13
Hello! I have a problem, now i know that the iframe doesnt work in the Netscape. I m developing a homebanking project, and i need a idea to work at the JSP, that i have, in Netscape. I need all of your love and care! This is difficult ! I have a list of products, and when i select one of them ...
1640 byte By
essmith at 2007-9-26 4:46:19
I am trying to build the converter example on page 48 of the J2EE tutorial using ant. Ant seems to choke on the following line from the build.xml:<property environment="myenv" />The output of the "ant converter" command is:Buildfile: build.xmlinit:BUILD ...
926 byte By
falocite at 2007-9-26 4:46:30
I wrote a JSP Web Mail application that is hosted on Apache 1.3.14 and Tomcat 3.2.1. The server is RH 7.1 Linux. I am using JavaMail API to handle the email part of the system with IMAP server running with Postfix. After sometime I notice, using netstat -a, that there are so many imap socks ...
Hi, I have a big problem with an applet-servlet communication. My applet runs in html:<HTML><HEAD><TITLE>Enve su opini n</TITLE></HEAD><BODY><H2>Por favor, envenos su opini n acerca de este sitio web</H2><applet code=ex7.class width=500 ...
Hi,I am trying to generate a JAR file for a container managed persistence Entity Bean (for weblogic 5.1). I am in a strange situation and does not have any clue about the following error. There is no compilation error for the classes I used. I am giving the classes I used for this purpose. Can ...
640 byte By
mevenu at 2007-9-26 4:46:47
Hi, We are using Jsp template based mechanism. We are doing URL encoding. it's working fine in IE 5.0 & 5.5 and netscape 6.0 but it's not working in netscape 4.77. Can you please help me in this regard. Here are details.If url is like ...
I have been up and down this site and the apache site and i simply can not find the TOMCAT download or a browser that I can use to debugg my code. If someone could please tell me where to find it I need to find out fast. the code's written but I need to test it and my deadline's coming up ...