243 byte By
Gsunfun at 2007-9-26 1:13:22
Hi, I would like to know if Servlets can read a Jsp file and display its contents.. Right now for our website, I am using a html file to be displayed after a successful post operation through the Servlets...-Thanks!
517 byte By
beattris at 2007-9-26 1:13:27
Hi all,I'm stuck using Jserv w/ Servlet 2.0 and I want to put something in the request for a jsp:include to use. I notice ServletRequest has getAttribute(), but no setAttribute like 2.1+. If there's a getAttribute(), but no setAttribute(), how are you supposed to put an attribute into the ...
Hi EveryoneAt the top of my page I have the following declaration.<%@ page import="java.sql.*,java.lang.*,java.util.*" errorPage="myerrorpage.jsp" %>on my error page i have -myerrorpage.asp looks like this <%@page isErrorPage="true" %><%=exception.getMessage()%>-exception ...
310 byte By
wmacey at 2007-9-26 1:13:42
When I invalidate the session, I can redirect to my log-out page, but if someone hits the back button(due to caching issues) the page is displayed unless you hit refresh.How an I get around this behaviour, I wish to have it so that you cannot go back and view the page after logout. ...
I need to validate an XML file and throw an exception when duplicate tags are encountered.From the w3c spec. I have the impression that when a sub-element is defined in the DTD as :<!ELEMENT attr_cert (ver,serialNo,own,issuerName,issuerUI,valid,attr+,ext*,sigAlg,sig)>according to the ...
61 byte By
meely at 2007-9-26 1:13:51
Is it possible to Disable browser back button?
177 byte By
Smoerble at 2007-9-26 1:13:55
hoi all...anyone has a solution how to automaticly restart the tomcat-server (startup.bat= on a Win2000-machine ?(sorry, the server is not my idea ;)
Hi Everyone.How do you guys handle apostrophes and parenthesis in java?I have a solution where the client wants to put apostrophes and parenthesis in the database as part of their strings. ie O'reily (also known as dude)Now these apostrophes and parenthesis come from the database into the java ...
I'm new to XML parsing and would like to know a few things:Where do I get a parser and all .jars needed for XML work?Which one is the fastest?Where is a GOOD tutorial on parsing with Java (not by Sun)?That's all for now!SF
121 byte By
caiyun01 at 2007-9-26 1:14:33
I got a file name from user. How can i declare a write code to read the content of the file. Please help...
Hello everybody,I'm what will happen on the session object when a user do somthing like these:He closeed his browser.He just changed the url in his address bar and hit enter.
380 byte By
des_xu at 2007-9-26 1:14:37
hi, I go two qns to ask, hope someone could help mi out =)1) Can I use integrate javascript with JSP codes in a single JSP page?2)If i want to encrypt something without using SSL, how do i encrypt a text on client side, then send to server the encrypted text? I can't use javascript cos this ...
Hi,I'm looking forward to extend my java knowledge by learning servlets, JSP and EJB? What books (book) would you suggest?Thanks in advance,Michael.
i found that maybe i can Implement interface HttpSessionListener to hand all active sessions,in method sessionCreated(),the counter increase.in method sessionDestroyed()...but it not work properly.HOW TO USE HttpSessionListener?could you give me a example?thanks a lot! ...
217 byte By
binduA at 2007-9-26 1:14:53
I know a little bit servlets, Jdbc ok now my work on JSP.Which is the best book you used simple, robust and useful i.e in Indian Market. I told my position in servlets please consider that .......
698 byte By
louiseO at 2007-9-26 1:14:57
I can't get cascading style sheets to show up in forte for Java.For example the html below...<HTML><body><font style=' font-family:"Sesame Street", "Kidprint", sans-serif; font-size: 24pt; font-weight: bold; text-transform: uppercase;'>Cookie ...
In our site there is counter that counts the hits..Now there is a javascript for the counter not working fine.Is it possible to call a servlet or jsp from the html pagethat returns the count & to display on the same html page ..?how is it?thanks in advance ...
1011 byte By
malu4ram at 2007-9-26 1:15:03
Hi 1)In am calling from javascript file:parent.frames[1].hiddenfrm.action = "/servlet/login.AdminMainServlet"; For this the entry in weblogic properties file is:weblogic.httpd.register./servlet/login.AdminMainServlet=login.AdminMainServletThis works fine.2) But now I am calling a servlet like ...
Hello -I'm trying to use the JMS reference implementationand get something to work between two Win2k machines.On a single machine, everything works fine.When I use two machines, I need to configurethe client orb.properties file to point to theserver host and port. This is discussed in ...
261 byte By
primeton at 2007-9-26 1:15:10
Hi,everyone ,please help me! Now I am writing a CMP bean in EJB2.0,and I must define a PK class,but I find there is a column is a foreign key and this column must be included in primary key?How can i deal with it? help please
78 byte By
sube at 2007-9-26 1:15:15
How to configure Tomcat dynamically .. if so give me a example ?
174 byte By
des_xu at 2007-9-26 1:15:17
Hi, how come my computer still can cache mi JSP files despite me setting the header to no-cache and even putting in the http-equiv as well? anyone?thanks
hi,i have to develop a forum in a jsp page. are there any tools i can use to do this. maybe there are commercial or non-commercial forums written in jsp (or servlets or beans) i can use...?thx for helpcu pumpindave
81 byte By
fly6677 at 2007-9-26 1:15:38
please,how can I use javamail to implementing draft box on webmail
Hello.I''m going into this tutorial http://developer.java.sun.com/developer/onlineTraining/EJBIntro/exercises/DeployingJ2EERI/help.htmlI set set CLASSPATH=D:\oracle\ora81\jdbc\lib\classes12.zip;%CLASSPATH%in ...
hello, I create a JSP page in that i used a syntax for redirect a page.Syntax is proper but that is not redirect..I have to compulsory use <jsp:forward> ...
hello friends,In my JSP pages i use connection pool which is written like a one JSP page..But i want to use WLS's connection pool facility for my every page..Can any one help me in this..That how we use that con. pool Thanx
hi i am developing an application which downloads data from a database(which is on server) to the client.i want this program start automatically whenever client connects to the internet or a ras server. for this i think a program should run all the times at client detecting connection and when ...
I have downloaded the j2sdkee1.3 for comiling my Ejb files.All the files get compiled but my client file which uses javax.naming package doesnt get compiled.The error message says its unable to find javax.naming package. Can somebody help me on this issue please.Thanx
96 byte By
des_xu at 2007-9-26 1:16:05
Hi, does anyone know how to read a text file saved on my directory, to a JSP page?
344 byte By
vljdc at 2007-9-26 1:16:22
I managed to put double-byte value (chinese) in a database record and retrieving correctly using jsp.However, when I tried to search for the record with double-byte value in WHERE clause (constructed at runtime), it always failed to match the record, eventhough the final displayed SQL is ...
my computer running on-Windows 98-jdk1.3-Tomcat 4.0-b5-IE 4 & Netscape 4.7When modifying the source of a isp page, I could not reload the browser?is there any mistake?thx!
159 byte By
xerokool at 2007-9-26 1:16:26
hi alli have a question here. how do you parse a string to an XML format?an example will be most helpful :)thanks in advance
How can I upload any kind of file from a jsp in order to store in the server side database?Thanks
319 byte By
sdtsdtim at 2007-9-26 1:16:57
Is it possibel to have a String with an expression in the property attribute of setProperty.For example<jsp:setProperty name="cap" property="firstString" value="select cman_name from capman where cman_code = <%=makeid%>" />.or are there other ways to do this?Cheers ...
147 byte By
RohrerG at 2007-9-26 1:17:21
Hi!Has anyone here experience with IBMs WebSphere Commerce Suite or WebSphere Application Server?Regards,Gerhard
235 byte By
vlokesh at 2007-9-26 1:17:51
Can you tell me where should i place the .jsp files in Iplanet Web Server 6.0 and how to excute the .jsp files thru the browser?for eg: http://localhost:81/<filename.jsp>Please let me in detail.
Hi everyone!I've got a terrible problem with session cookies.When you invalidate a session, it will not delete the cookie from the client browser.I tried to setMaxAge(0) to the session cookies but it doesn't work: the session rewrite it with setMaxAge(-1).How can I delete programmaticaly the ...
612 byte By
ventural at 2007-9-26 1:18:12
Hello!I am an Italian student who studies Computer Science at Pisa University, andI am developing some projects in Java using Java 2 Standard Edition (J2SE) and Java 2 Micro Edition (J2ME, for MIDP 1.0 compliant devices). I need to know if there are some Java API(for J2SE and J2ME) to send SMS ...
hi all i am new to EJB's. i am using weblogic6.0 . i am doing jar and deploying it. but my doubt is with the client program. why should i make the home and remote classes available to my client program(jsp page). what all the classes we have to make available to client and why should we do ...
470 byte By
bkprasad at 2007-9-26 1:18:36
Hi,My apologies if a similar question had already been answered before on this forum.I need to create a DOM tree with values at each node which should be valid in terms of a schema definition. Is there any way I could load a schema and it could hand me back an DOM tree into which I could load ...
354 byte By
stoneJ at 2007-9-26 1:18:39
Hello everyone,I hope this is not a stupid question(newbe..)?I have a JSP file, where i use a submit button in a FORMAfter clickking the submit button al my fields are empty,Is there a way to avoid this?Can somebody help me out,please!Thanks in advance...bystoneJ ...
370 byte By
ajpaxson at 2007-9-26 1:18:40
I'm curious.... and maybe I can't get a direct answer. But, what really is the difference when using Javabeans and Servlets? Is there an advantage?From what I can understand, they do pretty much the same thing. The only difference is, Javabeans are accessed via a JSP, and servlets are ...
I am succeeded in storing & then sending big files as an attachment except for ZIP & JAR files.Can anyone guide me what's the problem with ZIP & JAR files
1739 byte By
pnk_jha at 2007-9-26 1:18:51
hi gurus,i am trying to test sun provided demo programs for testing JAVA Mail API i am getting these errors please help me out ...... thanks in advance DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]DEBUG SMTP: useEhlo ...
676 byte By
des_xu at 2007-9-26 1:18:53
Hi, I am currently using JBuilder 4 and Tomcat 3.1 to host my JSP pages on a windows 98 platform.I am thinking of switching my JSP pages to a Linux or Unix platform. I am not veri familiar with either Linux or Unix, so i like to ask a few questions here.1)Is there any 'for-dummy' guides for ...
336 byte By
achilipu at 2007-9-26 1:18:54
Hi all,I'm a newbie in Java and I have a question which I'm sure the most of you will find pretty easy. I need a servlet which take an URL given from a redirect process and then the servlet must work with it. I think I have to do it by means of the doGet method. Any idea?Thanks in ...
724 byte By
basusm at 2007-9-26 1:19:01
Hello,For my app I need to know from which URL this request was made.let us say i am in http://www.sun.com/index.htmland on that page I click on link which says http://forums.java.sun.com and I will go to forums.in page http://forums.java.sun.com .In http://forums.java.sun.com if I want to know ...
697 byte By
linsalad at 2007-9-26 1:19:07
Hey guys, I was just assigned the dubious task (dubious because I've never used JSP before) of creating a JSP page that will send whatever is sent at it (in the form of a string) back to who sent it. I believe it is to be used as a test page, such that someone can send error messages to it and ...
Hi,I need to design the framework which will convert an XML tree to an object tree. Is there any standard way of handling this. parser used will be SAX. This will be used by lot of places in the application.