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
==
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
servletresponse.sendRedirect("Page2.asp");
SoftTeam Blas Catherine wrote:
With ASP, we have Response.Redirect("Page2.asp").
What is the equivalent in JSP ? Thanks
"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
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
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
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
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,
"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
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
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
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
"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
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
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
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
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
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
-
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
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
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
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
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
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
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
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
,
> 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:
"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
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
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
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
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
page - NO storage
session - servletrequest.getSession(true).putValue("myobjectname",myobject);
application -
getServletConfig().getServletContext().setAttribute("myobjectname",myobject);
Gabriel Wong
http://www.ezwebtools.com
"Kirkdorffer
"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
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
).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
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
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
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
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
"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
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
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
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
>
> ===
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:
>
&
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
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
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
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?
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();
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
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
*
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
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
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
>
> 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
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.
>
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
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.
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
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
61 matches
Mail list logo