Hi,
I'll add my 2ec regarding the topic:
I agree what it has been said here about each page being modeless and
that you have to be careful in case some users get out of the "normal
application path" through the back button, shift click... My approach in
such systems has been not to trust the
Hi D.J.,
We use:
.- Framework specific (which is itself container independent)
implementation of the model 3 for PL/SQL - XML - XSL transformation. I
just created another base class for my action classes of the model 2
architecture so it fits pretty well in our already built model 2
framework,
Well, it all comes down to that little part in your mail
(if you, um, know what you're doing.)
And apparently, since JSP is rather new, and a lot of people are developing
in JSP without ever having done any servlet programming, I think my advice
of using % % does make sense.
Geert 'Darling'
hi all,
i post again the question, hoping that someone can reply now.
how can i do a tree structure in JSP, just like JTree??
my situation is like this:
i have a list of usergroup
when i click on one usergroup, i want to see, under the usergroup name, the
list of all users...(represented
On Tue, 9 May 2000, Geert Van Damme wrote:
Well, it all comes down to that little part in your mail
(if you, um, know what you're doing.)
And apparently, since JSP is rather new, and a lot of people are developing
in JSP without ever having done any servlet programming, I think my advice
Hi-u-all!
I got the answer to my trouble with Servlets that connect to *EVIL*
Oracle8i databases. The question why they don't wanna work using
Oracle JDBC drivers but they do with JDBC-ODBC driver is the
following:
I am using Resin Web Server, which runs over JDK 1.2 environment.
My version
Hi Stephen,
Comments intermixed :)
Stephen Baishya wrote:
Dan,
I agree with your issues regarding JSP. Whilst JSP favours the UI designer
rather than the developer to some extent, the UI designer still needs some
knowledge of the Java language, an issue which I think is better solved by
Hi Mike,
Mike Van Riper wrote:
Daniel,
At my company, we are working on a similar process to yours. Our
non-programmers will be creating simple XML documents. We then run a
design-time build process to transform the XML documents into JSP pages. We
are building common transformations for
Hi-u-all.
I think I've got a black hole in my acknoledgement, but... could
anyone explain me what architecture 2 3 are exactly and where can I
get further information?
Thanxalot.
Consigue tu dirección de email gratis y permanente en http://WWW.LETTERA.NET
Ýo
Hi all,
I am new to using Tomcat. Need urgent help in Tomcat
configuration.
We are using Tomcat3.1 on Apache 1.3.11 . Our
application is quite huge so, we require to maintain
our own seperate directory structure for Servlets and
Jsp's.
So the requirement is to create alias names and map it
to
Hi-u-all.
I think I've got a black hole in my acknoledgement, but... could
anyone explain me what model 2 3 architectures are exactly and
where can I get further information?
Thanxalot.
Consigue tu dirección de email gratis y permanente en http://WWW.LETTERA.NET
Ýo
Hi...
i am trying to run a jsp application on Apache- Tomcat...Server..
But the moment i accesss data from database...
It starts giving java.exe Application Error.
(Like some problem in referenced memoryMemory couldn't be read...)
If anybody have any idea..Please let me
The mappingsdetails for tomcat server are in server.xml that is in the conf
directory of Tomcat! You'll have to do a bit of reading if you have to
configure such a big application. The Users Guide will show you the
necessary details.
Vinod
Neelesh
Hello to the list,
I have to build a jsp page A depending on the result of a query. I managed
to do it
easily but I have a problem that I cannot solve:
this dinamically built page A calls a page B.
THis page B is supposed to:
. instantiate the proper beans
. pass the data to them
. manage the
Hi
It looks like you are using the JDK 1.1.7-compliant JRE bundled with the Java Web
Server. I think that this JDK is only JDBC1.2 compliant. Try to launch the JWS with
the -nojre option in order to use a Java 2 version which is JDBC2.0 compliant.
Hope this will help.
Christian
"sudhir H.S." a
Hi,
I'm using jsp:forward page="%=request.getRequestURI()%/ within my page
to redirect back to the same page. This works fine under NT but I get a
page-not-found message from the exact same page under UNIX-Solaris.
Any ideas?,
Thanks,
Nigel.
What i have learned is from listening in this list.
Model 2 is setting a single entrance servlet to all your JSPs. that servlet
performs common tasks like ID user and secuity tests and then forwards the
request to the appropriate JSP/servlet, that JSP/Servlet jenerates the
HTML/content that the
Hi all,
does anyone know how to obtain an NT user's login name from within a JSP
page/environment... If so please spill the beans,
TIA,
Nigel.
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
I have a data base Bean DdBean.class
I have created a instance of that bean db with scope as application in one
of the jsp pasge ( jsp:useBean id="db" scope="application"
class="sunexamples.beans.myjspbeans.DbBean" /
now that as I have given scope as application the id should be visible in
What is the difference between these tags:
BEAN NAME="" TYPE=" " scope=" " create=" " introspect=" "/BEAN
and
jsp:useBean id=" " class=" " scope=" "/
I am using JRUN2.3 with IIS and the latter tag is not working??
===
To
Hi,
Till now i was using JavaWebServer 2.0 to run my JSP's and Servlets.
But now I have decided to run my JSP's on TOMCAT 3.1.
There's a doubt why i need to install and run Apache Web Server when my
JSP's and servlets
can run well on Tomcat (when run seperately).
Nitin
Hi,
I'm using Oracle 8.1.5 but I downloaded 8.1.6's "classes12.zip" and it works
fine for me (Java2+TomCat3.1). As long as Oracle doesn't change their
network DB protocol, you can use the latest-and-greatest driver with
previous versions of Oracle. It may be a better solution.
- Original
I was planning to use this approach for our project.But I couldn't
convince
my manager because of the following problems with this approach ( I am
sure
this will be solved in future)
1.There is no direct way of sending the xml geberated out of jsp( i mean
u
have jsp tags in xml
I'm curious on opions on the fastest/best way to retrieve information
from a database using java/jsp.
For example say you have various people in a database and have
their name, phone number, address, etc. stored in there.
Where I work we don't do the database select statements in the
jsp pages
It's interesting to hear about the broader adoption of XSL in a "Model 3".
I was (and still am) an enthusiastic adopter of XSL but I'd like to add a
cautionary
note and remark that from my experience:
1. XSL is non-procedural and although it is incredibly easy to use for
rudimentary
operations it
The company I work for scrapped development in CF for JSP because part of
their application uses ariba which is written in CF.
gautam
From: Kevin McEntee [EMAIL PROTECTED]
Reply-To: A mailing list about Java Server Pages specification and
reference [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Does anyone have any experience working with GEIS - division of GE? I have
a job opportunity working for a company that will be using GEIS software -
both B2C and B2B. I appreciate ANY information you can provide.
Thanks!
I want to determine whether the browser has 128-bit encryption ? Is there a
way to find this out.
Any help is appreciated..
Thanks,
Shrish
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
Search the archives for messages about the Model 2 design architecture.
There have been outstanding discussions of servlets, beans and jsps when
discussing this model.
http://archives.java.sun.com/archives/jsp-interest.html
Donald
- Original Message -
From: "DAVID BOYLE" [EMAIL
Hi All,
Where can I find detailed information about when to use a bean verses
a servlet. I have found general information however I am looking for
more specific details describing the pros and cons of using a bean vs
a servlet from a JSP page.
Considerations are
How can we call a procedure ( Not function ) in Java and make use of OUT
parameters.
Thanks in advance
Munish
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on
Hi
Any body knows what this error means
got the driver registered
java.sql.SQLException: Message file 'oracle.jdbc.dbaccess.Messages' is
missing.
java.lang.Throwable(java.lang.String)
java.lang.Exception(java.lang.String)
java.sql.SQLException(java.lang.String,
Hi all, I'm looking to get into JSP and would like to know what is the
best(free) web server available. I'm currently running 2000 professional and
cannot seem to find the mythical IIS5
Ed
===
To unsubscribe: mailto [EMAIL
Hi all,
anyone know why the following code works:
response.sendRedirect (response.encodeRedirectUrl
("/examples/jsp/mystuff/login.jsp"));
but the following returns : Page not found
...
% jsp:forward page="%=request.getRequestURI()%"/
/jsp:forward%
I do have
place the directory in which you are working in the
classpath.add the directory name to the classpath in
autoexec.bat file.
subbu
--- Xunming Liu [EMAIL PROTECTED] wrote:
Hi:
here I just ask a simple question.
I want to put two java files and created classed in
the same package
e.g.
With iPlanet, I saw differences between the Linux and SunOS implementations
with regard to the jsp:forward tag.
As a general rule, though, the forward tag seems to work much better when it
is used early on (before the HTML tag) in the JSP.
-Original Message-
From: Yandle, Nigel
ColdFusion has an advantage that it has a low learning curve. I am not as
experienced with JSP to comment on the relative speed of development.
Since
CF is easier to learn an application can be developed quickly.
When I think about scalable JSPs, I still think of another two tiers of
The company I work for scrapped development in CF for JSP because part of
their application uses ariba which is written in CF.
gautam
Did you mean ariba is written in JSP? Or was there some reason why your
application couldn't be written using the same platform? And why didn't you
just
Had to reply here. We have heard that a certain toy retailer has serious
scalability problems with CF and their "scaling" solution was to deploy 300+
servers each with the database loaded into memory. Can anyone verify this rumour?
--
Ed,
Apache web server is free, but you will need a servlet engine for JSP. You
can go to www.javasoft.com and download the Tomcat pilot from the J2EE
reference section of online support (menu link on the left side of the page)
or you should try to get an evaluation copy of Servlet Exec.
Hope
I am developing an application that uses JSP 1.0 and Servlets.
I use JRUN 2.3 Build 157 (the latest) with IPlanet webserver 4.0. I consistently
get errors such as:
500 Internal Server Error
com.livesoftware.jsp.JSPServlet:
java.lang.ArrayIndexOutOfBoundsException: 5173296
and
500 Internal
ColdFusion has an advantage that it has a low learning curve. I am not as
experienced with JSP to comment on the relative speed of development.
Since CF is easier to learn an application can be developed quickly.
When I think about scalable JSPs, I still think of another two tiers of
I'm wondering what the best way is to restrict access to some pages.
If a user tries to access a page that requires authentication, he should
be redirected to a login-page, unless he's all ready logged in.
How do I manage this in best way?
Thanks
Gael
As a general rule, though, the forward tag seems to work much
better when it is used early on (before the HTML tag) in the JSP.
Yes, this is true. And it seems to be the same with response.sendRedirect()
as well.
Very strange indeed. Or does any of you have a good explanation?
:: pål :: : :
Hi,
I'm writing a standalone java application to test my
JSP-based service and I'd like to view the HTTP
request headers that are sent to my web server.
Does anyone have any example code / know of a 3rd
party product which does this?
Thanks,
Chris
What really big web sites are run on CF?
AFAIK, www.toysrus.com runs CF on the NT platform.
See http://www.forta.com/cf/using for info on sites using CF.
For ColdFusion information: http://www.eGroups.com/list/cf-talk
:: pål :: : : .
___s_p_r_a_y_
Pål Brattberg
I found this article interesting:
http://www.asptoday.com/articles/2427.htm
That was interesting, but it lead to some concerns. For example, JSPs can
access the database directly, but most large scale applications don't do
this because having front-ends access the database tends to
I've heard this from others. What really big web sites are run
on CF?
http://www.autobytel.com/
-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of David Wall
Sent: Tuesday, May 09, 2000 10:08 AM
To:
Hi Howard,
I think tutorial on this page might help you better
http://java.sun.com/products/jsp/technical.html
Spend like about 10 minutes on the tutorial and you will fell real comfortable on
JSP pages.
Good Luck
Sudhir
[EMAIL PROTECTED]
Howard Lee wrote:
Is it possible for me to take
I have a login jsp with a form that uses get. The action is handled by a
servlet. The servlet authenticates and forwards to my main html page. The
problem is that I want to switch to post so that the username and password
is not seen in the url but when I do this I get an error saying "HTTP
At 12:12 PM 5/9/00 , Dan Maher wrote:
Had to reply here. We have heard that a certain toy retailer has serious
scalability problems with CF and their "scaling" solution was to deploy 300+
servers each with the database loaded into memory. Can anyone verify this
rumour?
Yes. Except that it was 2
At 12:31 PM 5/9/00 , David Wall wrote:
Come on! Don't be coy. What retailer (etoys or toysrus or amazon or who?)?
Have they addressed the problem. Why did they put the database on the same
box as the CF? I doubt that's a CF requirement.
Imagine the fun of upgrading your web app when you have
I'm wondering what the best way is to restrict access to some pages.
If a user tries to access a page that requires authentication, he should
be redirected to a login-page, unless he's all ready logged in.
How do I manage this in best way?
Thanks
Gael
--
Gael Stehagen
: Re: ColdFusion vs. JSP
Had to reply here. We have heard that a certain toy retailer has serious
scalability problems with CF and their "scaling" solution was to deploy
300+
servers each with the database loaded into memory. Can anyone verify this
rumour?
Come on! Don't be coy. What
The following code can be placed in a jsp or servlet. It list request
header information like:
Accept = image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/vnd.ms-excel, application/msword, application/vnd.ms-powerpoint,
*/*
Referer = http://localhost:8080/your_dir/
Accept-Language
You will see a couple issues here:
[1] Database access can be agonizingly slow -- milliseconds and up
[2] In-Memory access can be very, very fast -- on the order of
microseconds.
[3] Memory space is finite, though most servers nowadays can hold up to
2Gb. But you need to think about what you
Session is a reserved var name. You cannot create your own.
Kent
- Original Message -
From: Gael Stehagen [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, May 09, 2000 12:43 PM
Subject: Sessions all ready defiened?
I get a perculiar error, when executing a jsp-page on
As a general rule, though, the forward tag seems to work much
better when it is used early on (before the HTML tag) in the JSP.
Yes, this is true. And it seems to be the same with response.sendRedirect()
as well.
Very strange indeed. Or does any of you have a good explanation?
If you've
Dear all,
Does anybody have any idea of there's a property or object in JSP that means
that you can pick up the name of the page you are currently on and use it in
the JSP scriptlets?
Thanks, Simon
-Original Message-
From: A mailing list about Java Server Pages specification and
Hi!
I'm wondering if there's a way to manage connections to a web application I
have? I can put a user in a connection vector when he logs in but taking
him out is another thing. Is there any way I can monitor all the users who
connected to that particular web app so that I can remove them
You won't be able to send variables in the URL when using POST, if you still
are doing that (which works fine with GET).
-Original Message-
From: Kent Symanzik [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 09, 2000 12:01 PM
To: [EMAIL PROTECTED]
Subject: get vs post
I have a login jsp
In one of the faqs below there is the answer to this. Search
the faq for "listener".
Sam
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
Gael Stehagen wrote:
I get a perculiar error, when executing a jsp-page on Tomcat3.1.
I can't create a session if I try to name it session like this:
%
HttpSession session = request.getSession();
System.out.println("Session Id: " + session.getId();)
%
When I access my page from Tomcat,
bhupesh vora wrote:
I have a data base Bean DdBean.class
I have created a instance of that bean db with scope as application in one
of the jsp pasge ( jsp:useBean id="db" scope="application"
class="sunexamples.beans.myjspbeans.DbBean" /
now that as I have given scope as application the
I finally had a chance to catch up with the JSP email list, and found this Model 3
discussion to be both interesting and very timely. I am currently redesigning our
architecture to include XML. We currently use JSP (.91 spec right now, but we will
upgrade when we upgrade our entire architecture).
Hmmm.. I tried that too. The compiler doesn't croak on the import
statement, but, it doesn't lile the statement where I call one of the
method's of the user-defined (unnamed package) class.
So, my question is: "Is there any way to instantiate and use a unnamed
package class in a named
"Yandle, Nigel" wrote:
Hi,
I'm using jsp:forward page="%=request.getRequestURI()%/ within my page
to redirect back to the same page. This works fine under NT but I get a
page-not-found message from the exact same page under UNIX-Solaris.
Any ideas?,
I don't think the reason for the
Shrisha Radhakrishna wrote:
Hi All,
I have a very strange/painful problem. Ok, here I go. I use Weblogic
4.5.1 to host my JSPs. The compiler adds a "package jsp_servlet;" to all my
JSP's when they are converted into servlets. So, in other words all my JSPs
are in jsp_servlet
I had a statement in the tomcat-apache.conf fie
"LoadModule jserv_module libexec/mod_jserv.so"
When i tried to start apache, there is a errro message
"invalid command 'LoadModule', perhap mis-spelling or defined by a module not included
in the server configuration"
I am using linux, apache and
Hi,
I have nothing personal about JRun and infact i am currently using OrionServer.
But if you have already setup JRun and want to test you JSP pages, then here is
the easy way to go about.
First run some of the sample JSP pages, which can be run from the start page of
JRun. Check that the
With regard to jsp and it's scalability, if you have one developer that is
not as well versed at closing and killing a connection on one page, you
can
lose all of your connection pooling in a matter of hours.
Those are just things that CF takes care of for you.
Jeff Steiner
Actually,
Hi,
Here is the best I can do for the beta JSP.
http://as400.rochester.ibm.com/products/websphere/docs/as400v302/docs/jsp91s
yn.html
Thanks Piotr
Peter.
-Original Message-
From: Piotr Wierzbicki
To: [EMAIL PROTECTED]
Sent: 5/4/00 7:50 PM
Subject: Re: WebSphere 2.x and JSP
Hi,
AFAIK
As I understand it, the final analysis showed that CF was not the culprit
but that Windows NT was responsible for the app server farm gagging and
puking. poor allocation of memory and sockets.
The same app was run on a Sun E10K with no problems.
Very interesting. I suppose we'll hear how
This email is going to the wrong person
[EMAIL PROTECTED] wrote:
Hi,
Here is the best I can do for the beta JSP.
http://as400.rochester.ibm.com/products/websphere/docs/as400v302/docs/jsp91s
yn.html
Thanks Piotr
Peter.
-Original Message-
From: Piotr Wierzbicki
To: [EMAIL PROTECTED]
Lee,
It sounds like what you are doing is quite similar to our approach (using
XSLT at design-time to generate JSP files). I agree with your assessment of
the two variants for applying XSLT to the JSP Model 2 architecture. I'm not
sure it qualifies as a whole new model though.
Bad Joke
How
I'd be willing to bet you're using Sun's 1.2.2_05 JVM. Want to check?
There's a bug with class unloading in that JVM (such as the class unloading
and reloading that goes on when you are developing JSPs and servlets), which
can throw intermittent ArrayIndexOutOfBoundsExceptions and hang the VM.
Shrisha Radhakrishna wrote:
Hmmm.. I tried that too. The compiler doesn't croak on the import
statement, but, it doesn't lile the statement where I call one of the
method's of the user-defined (unnamed package) class.
So, my question is: "Is there any way to instantiate and use a
My recent reading of the Allaire site is that they're running as fast as they can
to get to be "pure J2EE", while of course trying to keep the existing customers
happy.
Martin
David Wall wrote:
Can anybody discuss the relative merits of ColdFusion and JSP in terms of
speed of development,
I've been checking the sites mentioned here for existing (free or at
least independent of a server company) taglibs. Not much out there yet,
apparently--mail and file (upload) handling, and sub 1.0 versions of
other stuff. Or am I missing the motherlode somewhere??
Related question: assuming
Allaire purchased JRun servlet engine last June, and in the last month or so purchased
Ejbt (?),
an enterprise level servlet engine that supports EJB. So, what does that tell you
about
where
Allaire thinks the future of server side dynamic content is? Looks like they are
betting
on
Java.
I
Question David.
Since JSPs and Servletts are exactly the same, where does the business logic
reside, in beans only?
Ernie
- Original Message -
From: David Wall [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, May 09, 2000 4:23 PM
Subject: Re: ColdFusion vs. JSP
With regard to
Since JSPs and Servletts are exactly the same, where does the business
logic
reside, in beans only?
Ernie
Well, being pedantic can be troublesome, and it's really mostly important
for either large projects or sites that will become very large. For
example, context-free (stateless) services
The client web browser has options whether to accept the cookies or not!!
So thats why some m/c accept the cookies and others not
-Original Message-
From: Nigam Shalabh [SMTP:[EMAIL PROTECTED]]
Sent: Wednesday, May 10, 2000 9:40 AM
To: [EMAIL
I had the similar problem. I was running Weblogic and each access to it
caused Dr. Watson to be executed and the server crashed. On careful
examination, I found out that this was hapopening only on select machines
where java 1.2.2 (download) was installed. I then uninstalled the same and
Thanks Atif, but this did not work.
Any other ideas?
- Original Message -
From: Majeed, Atif [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, May 08, 2000 7:51 PM
Subject: Re: Expire Page
You can use
HttpServletResponse.setHeader("Pragma", "no-cache");
or send an equivalent Meta
85 matches
Mail list logo