signoff jsp-interest

2002-04-05 Thread hua ge
_ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx === To unsubscribe: mailto [EMAIL PROTECTED] with

how to save output of jsp to html file before it returned to client?

2001-03-22 Thread hua ge
hello, I been frustrating with saving a jsp output to an html file before it send back to client. how can I implement it? I heard servlet2.3 javax.servlet.ServletResponseWrapper class can make it happen by making your own outputStream. anyone has experience on it? can someone post a sample code

which web server other than tomcat4.0 can suport servlet2.3 API

2001-03-22 Thread hua ge
hello, does anyone know which web server other than tomcat4.0 can suport servlet2.3 api? _ Get your FREE download of MSN Explorer at http://explorer.msn.com ===

response.setHeader performs different in IE5.0 and IE5.5

2000-12-01 Thread hua ge
hello, friends I hava a jsp which contain a link to down load this jsp page as a .txt file. I use response.setHeader("Content-Disposition","attachment; filename= result.txt;"); it works great in IE5.0, it pop up the save as dialog box and shown the default flie name as result.txt. but in

how to call javascript function and pass class object to it in JSP?

2000-11-07 Thread hua ge
hello, I have a jsp page, there is a link there, I want the link to call a javascript function and pass a java Properties object to that function. is that possible to do that? there is no problem for me to pass string, int data type to JavaScript function, I wondered is it possible to pass

how to call javascript function and pass class object to it i n JSP?

2000-11-07 Thread hua ge
page? If so, you'd need to get the object somehow to the client, maybe in hidden fields, or via javaScript code in the HEAD of the generated HTML. Andy -Original Message- From: hua ge To: [EMAIL PROTECTED] Sent: 11/7/00 12:02 PM Subject: how to call javascript function and pass class obj

is that possible to pass object via hyperlink????

2000-11-03 Thread hua ge
I am thinking if it is possible to pass object via hyperlink?? From: Andy Purshottam [EMAIL PROTECTED] To: "'hua ge '" [EMAIL PROTECTED],"'[EMAIL PROTECTED] '" [EMAIL PROTECTED] Subject: RE: help:session variable could not retain old data if back butto n clicked D

how to force a jsp page refresh when the browser back button back to it?

2000-11-03 Thread hua ge
I need to programmly refresh a jsp page when the browser back button back to this jsp page. how to do it? I mean how to detect that the browser back button is clicked and then force the jsp page refresh? thanks helen _

help:session variable could not retain old data if back button clicked

2000-11-02 Thread hua ge
Hi, can someone give me some help, I stucked here almost 2 days... this is what I did: 1. searchForm.jsp will submit to a servlet 2. the servlet store the search results as an object by coding: request.setAttribute(object name, value); 3. then the servlet will forward to a jsp page

trouble with the back button if I use session variable

2000-11-01 Thread hua ge
hi, I have a jsp search page searchForm.jsp, the commit button will invoke a servlet which going to implement the bussiness logic and store the result object in a session object named "geCollection", then this servlet will redirect to the result.jsp page and display the results based on the

IE 5.5 and IE 5.0 behaves different on setHeader and download

2000-09-26 Thread hua ge
Hi, I have a jsp page which set up header as following: response.setHeader("Content-Disposition","attachment; filename= result.txt;"); on this jsp page I format the output as the fixed length column format.since the header is set up this way, so when this jsp page is loaded, it suppose to pop up

No Subject

2000-09-20 Thread hua ge
Hi,Gurus I have a jsp page which will use out.write to output data in tab delimited(fixed length column) format. % response.setHeader("Content-Disposition","attachment; filename= exp.txt;"); out.write(" following records found from your searching:"); ... (the results are writen here in tab

how to write comma delimited string which already contains comma in some data?

2000-09-20 Thread hua ge
Hi, I have a jsp page which set proper header and write data out in comma delimited format so the client can download it as a .csv file and open it in Excel later . the data columns are : NAME SSN PHONE EMAIL smith,susan 123-45-4567 123-456-7890 [EMAIL PROTECTED] notice that the NAME column

apache Digest Access Authentication

2000-09-16 Thread hua ge
Hi, does someone know some examples / tutorial to do the digest access authentication on apache? I once did the http basic authentication on some resources on apache/tomcat. it works fine. now I'd like to apply the digest access authentication to my project. but... I could not find examples or

invoke excel/word from jsp/servlet

2000-09-11 Thread hua ge
Hi, I have a html search result page (done in jsp/servlet) containing lines of found records. our client like to set up a save button on this page and it will invoke word or excel window which will contain all the result data in Text(tab delimited .txt) format or in CSV(Comma delimited .csv).

download pdf file from servlet

2000-09-08 Thread hua ge
Hi, I hava a jsp page which contains some file links which user can click and it will call a servlet which will download the file the user want from the server. all the links for files type other than pdf will pop up the download dialog windown which ask you where you want to save at local disk.

question regarding MIME type

2000-09-08 Thread hua ge
Hi,All I have a scenario in my project: there will be a search result page , it's layout should be like this: = Name SS#phoneaddress name1ss1phone1 address1 name2ss2phone2 address2

connection pooling ---urgent!!!

2000-08-21 Thread hua ge
Hi, we are using connection pooling to connect to the Oracle DB from jsp/servlets. the codes we are using is comming from oreilly, it works fine for a while, but somehow, it has problem now. some connection will not be created. we been debugging the code, but did not help. is someone using the

promble in ejb deployment in jrun 3.0

2000-08-16 Thread hua ge
Hello, I know this question may should not be posted in this group. but since no one answer the question in allaire group, I have to get help from here... I tried the apache/jrun3.0 to implement a sample ejb. by following jrun doc, I created the jar file containing Demo.class, DemoHome.class,

My jsp don't work in Apache-JRUN3.0

2000-08-11 Thread hua ge
Hi,All I used to use apache\tomcat to do web applications. since tomcat not support EJB, I decided to use apache\JRUN instead. then I installed the JRUN3.0 and use the JRUN connector wizard to make the JRUN connect to my existing apache web server. *** I tried to put a servlet in the dir:

Re: how to use forward with dynamic param value

2000-07-17 Thread hua ge
I once did it in the include tag, hope it works in the forward tag also. % String filename = application.getRealPath(request.getServletPath()); % jsp:include page="/copyright.jsp" flush="true" jsp:param name="filename" value = '%=filename %' / /jsp:include From: stewart hsiao [EMAIL

communication between jsp and servlet

2000-07-12 Thread hua ge
Hi,all I have a jsp page which pass a value to a servlet, the servlet then need go to the database and select somevalues based on the parameter passed from the jsp page as the where clause. the values will be stored in a vector. after that, the servlet will be redirect back to the jsp and passing

how to set initparameter in Tomcat Environment

2000-07-11 Thread hua ge
the set up there? (tomcat.property file?) If I have separate context mapped for one servlet application, will the initparameter just good for this context only or for all context? appreciate in advance. Hua Ge Get Your Private, Free E-mai

TOMCAT context mapping

2000-07-03 Thread hua ge
Hello , Can anyone help me with either of my following questions? highly appreciate with any help. Question 1: *** regarding context mapping*** I tried to run the examples come with Tomcat in the examples context , root context and test context (which are already mapped in the server.xml),