Re: unsubscribe
Normally, I'm annoyed by messages like this, in which the sender obviously hasn't taken trouble to read the blurb at the bottom of every JSP-INTEREST message. However, I tried twice last week to follow those directions without avail. Far as I could tell, the blasted list server just wouldn't let you out! (So I returned from JavaOne with about a zillion emails in my inbox. :) Bob __ Reply Separator _ Subject: unsubscribe Author: Malcolm Pang Chee Meng [EMAIL PROTECTED] at Internet Date:6/15/99 9:16 AM === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JSP-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help". === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JSP-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
How to run Servlets on IIS
Hai All, How to Run Servlets on IIS 4.0 under Windows NT 4.0. I knew if i install JSDK 2.0 or JavaWebserver1..x or 2.0 i can run Servlets but this requires another port to run. But what i want is to run servlets with in the IIS 4.0 ( By default which uses port 80 ), so that i can put my html documents, images, ASP Files etc under the IIS Webserver itself. Is it possible ? Any Help would be greaty appreciated. Thanks in Advance MY
How do calculate the Content_Length
Hai Everybody, I had a small problem in sending data from applet to servlet using POST method. here what i want is to send java objects ( eg: java Vector ) to the backsend servlet. iam using the HTTP POST Method, so i would i calculate the length of the Object( the data which i want to post) to set in the the CONTENT_LENGTH Property of URL class. Thanks a Lot in Adv. Mahesh
Restrict access!!!
Hi when developing an application using servlet + jsp model . assumption : I have loads of HTML pages located at certain directory / directory structure(s). Depending on user login , I need to allow him/her to access certain directory and HTML pages. Also user should not be able to bookmark those html pages, it should be accessed/allowed thru proper login and validation. Note: These HTML pages are standard HTML pages (not JSP's) so I cannot carry some checks in those pages for valid access to the page. How can achieve this using JWS 2.0 ? Any Help / Hints ? Umesh === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JSP-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
newbie question
Sorry to waste everyone's time, but I have a quick question. I've been using ASP (yeah, that microsoft stuff..) for about a year and am very comfortable with the entire model. I need to leard JSP and the whole bean interaction. What are some of the better resources (books/sites) that might be able to help my transition? Thank you VERY much, Josh [EMAIL PROTECTED] ___ Get Free Email and Do More On The Web. Visit http://www.msn.com === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JSP-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
Re: Servlet-JSP question
While it won't provide an answer, you may gain some insight by reading http://www.aptura.com/technology/jspBook_Architectures.html . I'll warn you, I haven't finished writing it yet. It is part of an effort by several people to write a "book" on JSP. If you're interested in more, check out http://www.esperanto.org.nz/jspbook Lance Lavandowska -Original Message- From: Alik [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] Date: Sunday, June 20, 1999 9:51 PM Subject: Servlet-JSP question Hello. First of all, I am new to this list, so if the question I am asking was previously covered, please point me to the appropriate archive (and accept my appologies) I am trying to build an application that separates business logic from presentation (i.e. I want to allow my designers to work separately from programmers). Most "large" systems that do that (like Locomotive), although do a good job, require their proprietary engines - i.e. they are not fully servlet comliant and can't run under a generic Servlet runner. Couple systems that I looked at - WebMacro most notably - provide excellent functionality, but, again, are not standards based (i.e. they have a proprietary markup language). So now I am settling on Servlet/JSP combination, where the servlet performs all processing, then constructs a bean with data, selects a JSP pages and uses it to render the data. (This can easily be changed to XML, for example, by using XML/XSL parsers to process the bean, instead of the JSP engine). My two questions are: 1) Does this look like a sound architecture choice? (Any other suggestions?) 2) How do I invoke JSP from a servlet? In JSDK2.1 there is 'RequestDispatcher.forward()', but that seems to allow the browser to access that JSP page directly (i.e. if I can call 'forward("/foo.jsp")', the browser can call 'http://myhost.com/foo.jsp' [ignoring the incorrect semantics of 'forward' I used] ) - which is really bad (and I do not want to get into the game of setting the web-server to disallow access to certain pages from a browser). Thanx in advance for your help. _/_/_/_/ _/_/ _/ _/ http://Orbit.Stanford.EDU/~alik _/_/ _/_/ _/ _/ _/_/_/_/ _/_/ _/_/ ftp://Orbit.Stanford.EDU/people/alik/ _/_/ _/_/ _/ _/ _/_/ _/_/_/_/ _/ _/ _/ mailto:[EMAIL PROTECTED] = == To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JSP-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help". === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JSP-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
....\\ bug in JRun 2.3.2 (build 151)
While trying to convert our JSP .92 code, we happen to have quite a lot of error messages javax.servlet.ServletException: D:\JRun\jsm-default\services\jse\servlets\jsp\assemblee\questionorale.java:38: Invalid character in input. File fichier = new File (d:\\Serveur\\wwwroot\\Add-\r\nOnline\\assemblee\\questionorale\\);String listeFichiers [] = fichier.list (); \r\nfor (int i=0;i10;i++)\r\n { \r\n System.out.println (d:\\Serveur\\wwwroot\\Add- Apparently, it comes from the double backslash at the end of the path string in the File declaration. It seems that the \ char (\\) is not interpreted before the finishing . Then the path string is considered not ended, and the rest of the code's carriage return is replaced by \r\n, and the string is still running. Each following is interpreted as a begining/end of a string. I happen to have as much as 60 errors on 5 code lines. To me, it might be a bug, because AFAIK, there's nothing about this in the specs, and it used to work with the previous versions. Sylvain
Bad surprise from JRun 2.3.2
As more and more web tools, JRun used to support characters with accent, which do exist in many european languages.For example, there is no more need to convert a in a eacute; in a HTML source, thanks to the iso coded alphabet. This makes a much better readable source, and is helpful to many developpers. But with the new JRun build, this is not possible anymore. It says that an invalid UTF-8 code was encountered. Where does that come from, and is it necessary to proceed this way? Could the next patch lead back to the international encoding, if there is no other way to do that ? Thanks Sylvain
Encoding HREF link
I am building a dynamic list of HREF's from my database. At times I will have links like this "JACK JILL". Obviously that isn't a valid link, but are there any servlet methods I can use to convert that automatically to a valid http url? -- Brian N. Burridge Lead Internet Analyst Cox Target Media Corporate Web Sites Internet Technology Services (727) 399-3000 Ext 3515 [EMAIL PROTECTED] === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JSP-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
Re: Multiple sessions
Steve, We've had to deal with this problem and we do so by maintaining what we call "user session" objects. We pass a user session id around to identify the user session. The requirement was based on the fact that a single user might open multiple windows of the same browser to access the same web app multiple times, and, yes, without this extra layer confusion could ensue. Dan -- Daniel Kirkdorffer NACN IS: 425-580-6225 Sr. Consultant, Syllogistics LLC Email: [EMAIL PROTECTED] Web: http://www.syllogistics.com/ -- From: Steve Cooke[SMTP:[EMAIL PROTECTED]] Reply To: Steve Cooke Sent: Thursday, June 10, 1999 4:16 AM To: [EMAIL PROTECTED] Subject: Multiple sessions Is it possible to create muliple sessions for the same user. If a user opens two browser windows, both windows share the same session scoped beans. This leads to pretty bothersome effects when, for instance, the bean preserves visual state or the user would like two instances of the same form, or would like to login into a site under different user names, etc. Ideas? Steve == = To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JSP-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help". === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JSP-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
SSI
Hey everyone Is there a way to do a server side includes in JSP? Here is an example which is possible in ASP !--#include file="../includes/settings.asp"-- where settings.asp is a file containing global constants PS. I am not interested in SERVLET/SERVLET include THanks again Konstantin === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JSP-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
Functions JSP
Hey all, Did anyone try to implement a function within a JSP page? Is this at all possible? Example: % openDBConnection(); % % void openDBConnection() { out.println("Not implemented"); } % - Thanks in advance Kostik === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JSP-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
Re: Functions JSP
Hi, Functions (methods?) can be implemented within the declaration tag %! void myMethod() {} % -- Mun Wai On Mon, 21 Jun 1999, Lukin Konstantin wrote: Did anyone try to implement a function within a JSP page? === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JSP-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
Re: SSI
Isn't there a JSP include directive? -- From: Lukin Konstantin [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: SSI Date: Monday, June 21, 1999 4:03 PM Hey everyone Is there a way to do a server side includes in JSP? Here is an example which is possible in ASP !--#include file="../includes/settings.asp"-- where settings.asp is a file containing global constants PS. I am not interested in SERVLET/SERVLET include THanks again Konstantin === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JSP-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help". === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JSP-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
Re: Car won't start after installing JSP...
Are you sure you didn't put your tools jar in the car's path? :^) Dan -- From: Taylor Gautier[SMTP:[EMAIL PROTECTED]] Reply To: Taylor Gautier Sent: Thursday, June 10, 1999 11:02 AM To: [EMAIL PROTECTED] Subject: Car won't start after installing JSP... I installed JSP and now my car won't start. Any ideas? -tg == = To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JSP-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help". === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JSP-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
Re: SSI
Lukin Konstantin wrote: Hey everyone Is there a way to do a server side includes in JSP? Here is an example which is possible in ASP !--#include file="../includes/settings.asp"-- where settings.asp is a file containing global constants PS. I am not interested in SERVLET/SERVLET include THanks again Konstantin The JSP 1.0 equivalent is: %@ include file="../includes/settings.jsp" % When you need it, the SERVLET/SERVLET style include at run time is done like this: jsp:include page="otherpage.jsp" / Craig McClanahan === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JSP-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".