Re: JSP no-cache problem on IE 5

2000-04-13 Thread Scott Smith

you might try putting this in the   area of your page:



hth,
scott

At 11:21 AM 4/13/00 -0700, you wrote:
>Hello,
>
>Currently I am developing some JSPs and want the pages not to be cached
>on IE 5 browser. According to the docs in IE 5, I put these three lines in
my JSP
>code, but it doesn't work at all. Just wonder who knows what the problem is ?
>My java web server is Apache + JRun.
>
><%
>response.setHeader("Cache-Control", "no-cache");
>response.setHeader("Pragma", "no-cache");
>response.setHeader("Expires", "-1");
>%>
>
>Thanks,
>Huan
>
>
>___
>http://www.SINA.com - #1 Destination Site for Chinese Worldwide
>
>===
>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
>Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: How to call a servlet from a JSP page ?

2000-04-13 Thread Scott Smith

i think you need to remove the .class from your href

At 04:39 PM 4/13/00 +0200, you wrote:
>I'd like to call a servlet from a JSP page when I click on an image that
>represents my submit button.
>
>I've tested the following code in my jsp page but I got an 404-Error :
>
>http://127.0.0.1:7001/servletclasses/myServlet.class"height=14 hspace=8 src="/pics/buttons/submit.gif">
>
>Anyone can help me ?
>
>Thanks
>
>Pamela
>
>mailto:[EMAIL PROTECTED]
>
>===
>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
>Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
___
Scott Smith phone: 703.262.3459
Proxicom, Inc.fax: 703.262.3201
http://www.proxicom.com mailto:[EMAIL PROTECTED]

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



forced recompile of jsp's?

2000-04-06 Thread Scott Smith

hi all,

just wondering if anyone knows of or has a utility that will recompile all
the JSPs in a directory (and any subdirectories).  we're using jsp includes
and when you make one change to those files, it forces a recompile each
time (obviously).

i'd like to set something running that will spider through the directory
structure and recompile all the JSPs without having to hit each and every
page manually through your browser.

any help is appreciated!

thanks,
scott

_______
Scott Smith phone: 703.262.3459
Proxicom, Inc.fax: 703.262.3201
http://www.proxicom.com mailto:[EMAIL PROTECTED]

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets