[ANNOUNCE] - FREE JSP/Servlet Hosting and Sharing

2000-03-04 Thread Gabriel Wong
Folks, WebAppCabaret is a FREE Web Application Hosting service for you to run and share your Web application. It is an attempt to help promote the use of JSP and Servlets. Please go to http://www.webappcabaret.com for the details. The Service is in its trial stage. Gabriel ==

[ANN] EzWebTools Lightweight Servlet Engine

1999-12-01 Thread Gabriel Wong
Server Administration HTML Based Admin Interface The Security Manager provides a Sandbox environment. Gabriel Wong === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". FAQs on JSP can b

Re: JSP method

1999-06-14 Thread Gabriel Wong
servletresponse.sendRedirect("Page2.asp"); SoftTeam Blas Catherine wrote:  With ASP, we have Response.Redirect("Page2.asp"). What is the equivalent in JSP ? Thanks 

Re: Application scope

1999-05-13 Thread Gabriel Wong
"Craig R. McClanahan" wrote: > Gabriel Wong wrote: > > > > > Although this makes a lot of sense since there are no standards for engine > > implementation I must point out: > > As I pointed out, configuration of this stuff is currently servlet engin

Re: Application scope

1999-05-13 Thread Gabriel Wong
engine implementation I must point out: -According to the Context API the minimal context mapping is the host. So an engine may or may not map the Context to the URI. -For sessions being tied to a specific context (one mapped to a URI) a Cookie based session would definitely work but the

Re: Lifespan = Application

1999-05-12 Thread Gabriel Wong
ewhere) -implement a destroy method to free up any resource used by the object once the object is done with. If you are not sure you want to keep the object around then you may set it at the page or session level instead of application. Gabriel Wong http://www.ezwebtoo

Re: Lifespan = Application

1999-05-12 Thread Gabriel Wong
ven across user sessions, until the > server unloads the servlet, probably through shutdown/restart? > > I haven't used this lifespan before, but need to use a global object > across sessions. I am using spec .92. Yes to the above but note unloading a servlet does not mean the

Re: calling bean-methods...

1999-05-12 Thread Gabriel Wong
n't look very good. Assuming JSP .92 you could do something like: where setfromrequest will try to match the parameter prop to setProp Gabriel Wong http://www.ezwebtools.com - === To unsubscribe,

Re: JavaOne JSP Attendees

1999-05-10 Thread Gabriel Wong
"Mark A. Kolb" wrote: > FYI, the Birds-of-a-Feather list for JavaOne is out now, at > http://industry.java.sun.com/javaone/99/bofs/. There are currently two > focusing on JSPs. The speakers for the "JavaServer Pages Software BOF" are > from Netscape Does Nets

JSP 1.0 isthreadsafe typo ?

1999-05-04 Thread Gabriel Wong
page 44 the footnote (1) regarding isthreadsafe starts off with "If isthreadsafe="true"". I am assuming this is a typo and it should be "false". Any comments? Gabriel

Re: URL rewriting

1999-05-03 Thread Gabriel Wong
LL links are automatically encoded Gabriel Wong http://www.ezwebtools.com === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JSP-INTEREST&quo

Re: The JSP 1.0 Specification is now in Public Review!

1999-04-30 Thread Gabriel Wong
ave to download acrobate before reading specs...Anyways got Acrobat now and am able to read JSP. Thanks... Gabriel Wong http://www.ezwebtools.com === To unsubscribe, send email to [EMAIL PROTECTED] and

Re: JavaOne JSP Attendees

1999-04-26 Thread Gabriel Wong
"Kirkdorffer, Daniel" wrote: > > >From my standpoint, I think I'd learn as much about > implementation/programming issues from just a small group of us able to talk > in a smaller setting. I think it would be a good idea to meet as a small > group anyway. I imagine the kind of questions I might

Re: Why Model 2?

1999-04-22 Thread Gabriel Wong
s bean is needed I extend a derived >class that has a new processRequest() method. That way I can customize the behavior >of the bean each place I need it. > > cc Yep. But if you want to use RequestDistpatcher you will have to use scriplets unless perhaps the folks at Sun inc

Re: JSP Round Table

1999-04-22 Thread Gabriel Wong
ver bullet) -When will JSP 1 arrive? Gabriel Wong http://www.ezwebtools.com === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signof

Re: syntax (WAS: Accessing "internal" beans)

1999-04-22 Thread Gabriel Wong
ion from Java syntax." I > don't see why that is necessary. For consistency sake using periods would > be more intuitive to a Java developer and make no difference to an HTML > developer. These are "Java" Server Pages after all. This looks more like > C++ Serve

Re: Why Model 2?

1999-04-22 Thread Gabriel Wong
rly (and more than likely there will be bugs) then regardless what model is used the project will have to be debugged (and more than likely by a Java developer). IMHO both Models are useful in certains situations. The main thing is the application design. Gabriel

Re: security? sandbox for servlets ?

1999-04-21 Thread Gabriel Wong
ation (JAWS). If the server you are using does not do what you are looking for you may write a servlet that sets the System Security Manager to your custom Security Manager. Gabriel Wong http://www.ezwebtools.com -

[ANNOUNCE] JAWS WEB Server Beta 0.1.3

1999-04-13 Thread Gabriel Wong
Folks, JAWS Web Server (more than Just Another Web Server) Beta 0.1.3 is now available for download at http://www.ezwebtools.com WHAT IS JAWS: JAWS is a Light Weight WEB Server designed for supporting multiple hosts (servers) with each hosts having the capability to be insulated from each oth

Re: UptoDate Info on JSP Needed

1999-04-08 Thread Gabriel Wong
David Hecksel wrote: > My guess is that they will time a beta, or the GM, with JavaOne in June (at > least one could hope). Oh! Oh! Here goes another rumour SUN TIES JSP 1 RELEASE TO COINCIDE WITH JAVAONE! :) Gabriel Wong http://www.ezwebtoo

Re: UptoDate Info on JSP Needed

1999-04-08 Thread Gabriel Wong
I understand your argument for EXTENDS. As to "or did I miss an announcement regarding the EXTENDS functionality getting added back into the spec?" - where did you hear this? This is the first time I am hearing about this. Then again I am not one of the privileged "insider&quo

Re: Standard way to include output of a JSP inside another JSP

1999-04-08 Thread Gabriel Wong
Andre Richards wrote: > > ServletExec also has <@include> > > I seem to remember that it was in the 0.91 spec, but was removed from 0.92 > > See the 'Changes' section in 0.92 spec I don't see it in my copy... === To unsubscr

Re: EXCLUDEIF tags

1999-04-08 Thread Gabriel Wong
And what value is displayed for the DISPLAY PROPERTY when this problem occurs? Alessandra Spada wrote: > > I don't understand why these sample istructions don't work. > MATCH="NULL"> >   title > > I'm sure that the property returned is null but the statement enclosed > by the tags are included

Re: comment tags

1999-04-02 Thread Gabriel Wong
Gabriel Wong http://www.ezwebtools.com - olivier Balbous wrote: > > is there a special comment tag syntax in JSP which prevents the > serveur from sending it with the source code to the client? > > something like adding a dash > > if none, this wo

Re: getRequestDispatcher()

1999-04-01 Thread Gabriel Wong
ument you get will say the say as the above Exception describes. You cannot use forward after calling getOutputStream or getWriter. So check your code to see where either getOutputStream or getWriter is being called. Gabri

Re: getRequestDispatcher()

1999-04-01 Thread Gabriel Wong
The move is towards to use of forward/include because its a more direct method than sendRedirect. sendRedirect has to open a URL connection to the forward address then return the result to the browser. RequestDistpatcher however is a direct call on the Server Engine Gabriel Wong http

Re: application object

1999-03-31 Thread Gabriel Wong
, > rather than invalidating it, letting the session timeout or end when all the > browser windows are closed. > > Does that help? > > Dan > > > -- > > From: Gabriel Wong[SMTP:[EMAIL PROTECTED]] > > Reply To: Gabriel Wong > > Sent:

Re: application object

1999-03-31 Thread Gabriel Wong
"Kirkdorffer, Daniel" wrote: > An application session has to be separately managed. Where a session object > lasts the life of the browser (or until invalidated), an application object > lasts the life of a login and logout of the application. In this case using > a scope of "application" is NO

Re: application object

1999-03-31 Thread Gabriel Wong
Craig - Thank you for keeping me honest. After further thoughts on this subject I agree you are absolutely correct. Gabriel Wong http://www.ezwebtools.com "Craig R. McClanahan" wrote: > "Kirkdorffer, Daniel" wrote: > > > >> Fi

Re: application object

1999-03-31 Thread Gabriel Wong
P that is being called NOT The Application... Gabriel Wong http://www.ezwebtools.com "Kirkdorffer, Daniel" wrote: > How is that different than page level then? > > Dan > > > -- > > From: Gabriel Wong[SMTP:[EMAIL PROTECT

Re: application object

1999-03-31 Thread Gabriel Wong
t.method(); %> Gabriel Wong http://www.ezwebtools.com "Kirkdorffer, Daniel" wrote: > Gabriel, > > For the simple reason that my "apps" use more than one servlet. What you > suggested is servlet level. In order to track objects for m

Re: application object

1999-03-31 Thread Gabriel Wong
to do it is as I described in my previous posting. The JSP engine can create a Hashtable to store these "application" object but why do that if the mechanism to store the application objects already exists. Needless to say this should be invisible to the JSP code... Gabriel

Re: application object

1999-03-31 Thread Gabriel Wong
page - NO storage session - servletrequest.getSession(true).putValue("myobjectname",myobject); application - getServletConfig().getServletContext().setAttribute("myobjectname",myobject); Gabriel Wong http://www.ezwebtools.com "Kirkdorffer

Re: How to force user to login

1999-03-31 Thread Gabriel Wong
"Kirkdorffer, Daniel" wrote: > Why is everyone wishing for us to create new specialized tags? What is > wrong with writing Java code in <% %> tags? These are *Java*Server Pages > after all. Come on people, you have all the flexibility in the world with > the <% %> tags. Thats one solution. T

Re: getting access to HttpServletResponse

1999-03-29 Thread Gabriel Wong
cfesler wrote: > String redirectPage = req.getPathInfo(); Why do you use getPathInfo here? === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JSP-INTEREST". For gene

Re: JSP Access Models

1999-03-29 Thread Gabriel Wong
).getRequestDistpatcher("login.jsp").forward(servletrequest,servletresponse); else if (action.equals("mainmenu")) ServletConfig().getServletContext().getRequestDistpatcher("mainmenu.jsp").forward(servletrequest,servletresponse); %> Gabriel Wong http://www.ezwebtools.co

Re: getting access to HttpServletResponse

1999-03-26 Thread Gabriel Wong
what it means when you say > LIFESPAN=APPLICATION. My guess is that this will mean using > ServletContext.getAttribute() / setAttribute() in much the same manner -- you pick > the lifespan and sharing characteristics that make sense for your beans, and both > servlets and JSP pages hav

Re: getting access to HttpServletResponse

1999-03-24 Thread Gabriel Wong
Taggart, Could you please elaborate. I am having a hard time understanding the drawback here... Gabriel Wong http://www.ezwebtools.com - Taggart Gorman wrote: > > > -Original Message- > > From: A mailing list about Java Server Pages specif

Re: Whats the best way of sharing an object between differentusers?

1999-03-23 Thread Gabriel Wong
recursive call then we have a problem. If I have a shared Object with the method foo, I the developer must make sure simulataneous calls to foo is feasible and does not cause conflict - e.g foo may be calling a member variable that is not synchronized. Gabriel Stepan Schejbal wrote: > > Gabrie

Re: 1.0 Spec First Quarter?

1999-03-23 Thread Gabriel Wong
Brian Burridge wrote: > > I understand your desire to recieve the final spec, but keep in mind a few > things. First, there never really is a final spec. Take HTML or Perl as an > example. Second, although the final spec is not yet released, the current spec > functions just fine. We are using it

Re: vinclude directive and a variable.

1999-03-23 Thread Gabriel Wong
"Shah, Mayank (RSCH)" wrote: > Yes I have tried hard coding the value of CONTENTS and that does not work > for include but it does for vinclude. 1)Perhaps there is a bug in JRun so I suggest test using another JSP engine. 2)What is vinclude? 3)NOTE if you use you may have to add the "virtual" opt

Re: 1.0 Spec First Quarter?

1999-03-23 Thread Gabriel Wong
show some respect. Gabriel Wong http://www.ezwebtools.com "Ganyo, Scott" wrote: > > I agree 100%. If JavaSoft wants to put forward a standard, they need to be > timely. I am becoming very concerned about the future of jsp. > > Scott > > > -Original Message

Re: vinclude directive and a variable.

1999-03-23 Thread Gabriel Wong
vinclude="myfile.jsp" %> > > The following do NOT work: <%@ vinclude=CONTENTS %> and > Where CONTENTS = myfile.jsp > > Mayank Shah > Research Technology > 212.449.0463 > > -Original Message- > Fro

Re: Quick question

1999-03-23 Thread Gabriel Wong
If your question is regarding the following code inserted in a JSP then the answer is YES for a .92 JSP engine. Magnus Ahlden wrote: > > Is JSP parsing recursive ? (does "include"d JSP pages get > parsed) ? > > /with regards, Magnus > > ===

Re: vinclude directive and a variable.

1999-03-23 Thread Gabriel Wong
another JSP engine. I have implemented one and its integrated in my WEB Server (JAWS) and Servlet Engine (EZJRunner). I am in the process of making the JSPRunner a standalone servlet. Gabriel Wong http://www.ezwebtools.com - "Shah, Mayank (RSCH)" wrote: > &

Re: Whats the best way of sharing an object between different users?

1999-03-23 Thread Gabriel Wong
t to the programmer. Gabriel Wong http://www.ezwebtools.com - === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JSP-INTEREST". For general help, s

Re: vinclude directive and a variable.

1999-03-23 Thread Gabriel Wong
Shah, Hopefully you are using the .92 Specs. If thats the case then try Gabriel Wong http://www.ezwebtools.com "Shah, Mayank (RSCH)" wrote: > > I have decided to simplify my problem posted earlier. All I want to do is > include another .jsp page in a jsp page. The only

Re: request bean

1999-03-21 Thread Gabriel Wong
Ah, So there is a difference between implicit variable and implicit bean. That would make sense. Stepan Schejbal wrote: > > > Since no one from SUN seem willing to shed some light here I can > > only speculate its > > a misprint: > > -page 12 says servletrequest,servletresponse,in,and out ar

Re: request bean

1999-03-19 Thread Gabriel Wong
ls.com Gabriel Wong http://www.ezwebtools.com - Jim Tsang wrote: > thanks for the input Gabriel, but > > method 2, which is what I really want, appears to be invalid according to > the 0.92 specifications. Have you tried method 2? Did it work?

Re: request bean

1999-03-19 Thread Gabriel Wong
haps, you can tell me how I can obtain the > serverName or serverPort property in my java code. You can access request info primarily by 2 methods: 1) 2) <% String servername = request.getServerName();

Re: How Can I set Cookie In JSP File ?

1999-03-19 Thread Gabriel Wong
ause Cookies are sent as part of the Http Headers and so it won't work if there is a out.println call before the addCookie method call. Hope this helps... Gabriel Wong http://www.ezwebtools.com Won Yong Lee wrote: > > $)CThis is not What I want . > >From JSP file java source i

Re: How Can I set Cookie In JSP File ?

1999-03-19 Thread Gabriel Wong
package ezj.test; import java.io.*; import java.util.*; import javax.servlet.*; import javax.servlet.http.*; public class cookietest extends HttpServlet { /** * Processes in and out streams from the Servlet service routine. * @param req the HTTP request in stream *

Re: What is the so great about JSP ?!

1999-03-16 Thread Gabriel Wong
Believe or not but I agree with both of you guys! To me the main benefit of JSP is it is more efficient than Templates and it allows for the PROGRAMMATIC separation of business logic and presentation. In today's environment the separation is PROGRAMMATIC NOT SKILL SET because as Norman points out

[ANN] JAWS Web Server

1999-03-10 Thread Gabriel Wong
Folks, JAWS Web Server (More than Just Another Web Server) Beta 0.1.0 is now available for download at http://www.ezwebtools.com FEATURES: Tested both on Windows and Linux Jaws has the following features: The servlet engine (EZJRunner) implements the Java Servlet 2.1 API. The JSP engine (EZJSPRu

SSI

1999-03-05 Thread Gabriel Wong
Folks, For SSI handling in JSP, is the SSI Include inserted into the JSP before compilation (and thus processed as part of the jsp) or is the SSI called at runtime? It really is not clear from the 92 specs... Gabriel === T

Re: My view on JSP

1999-03-05 Thread Gabriel Wong
> > There are at least a couple of strong motivations to separate the business > logic from the presentation logic: > > * The skillsets needed to do the business logic (in Java) and > the presentation (in HTML) do not always reside in the same > person -- keeping things separated lets you work

Re: Another JSP 1 spec suggestion

1999-03-04 Thread Gabriel Wong
Yep the use of "bean" was quite confusing to me at first. Main thing to remember is that the object follow the set/get access naming ... "Kirkdorffer, Daniel" wrote: > Perhaps I'm missing something, but a bean can be any object, and a property > can be any object, so a property can be a bean. >

Re: nested loops

1999-03-03 Thread Gabriel Wong
Steve, The solution you give is for the following situation: Object[] obj = mybean.getObject(); for (i = 0; i < obj.length;i++) Object[] obj2 = obj[i]; The original question is how to deal with multidimensionals: Object[][] obj = mybean.getObject(); steve barrett wrote: > Right out of 0.92 sp

Re: AW: request/servletrequest/response/servletresponse

1999-03-03 Thread Gabriel Wong
Thank you for your response. Volker Stiehl wrote: > See the answers below! > > Folks, > > Some clarifications on the following would be appreciated: > > 1) Why is there an implicit Bean, and implicit variable both with the same > name > request? > Because you can decide, how to access your data.

request/servletrequest/response/servletresponse

1999-03-02 Thread Gabriel Wong
Folks, Some clarifications on the following would be appreciated: 1) Why is there an implicit Bean, and implicit variable both with the same name request? 2)Why is it that the implicit variable names for HttpServletRequest and HttpServletResponse differ depending on which Section of the .92 Doc

request:realPath

1999-03-02 Thread Gabriel Wong
Folks, Question regarding request Bean in .92. How is getRealPath suppose to work without a parameter? G === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JSP-INTEREST". F