Hi,
How can I use Enterprise Java Beans in jsp pages?
Please post some links to tutorials/resources on the web.
regards,
Diwakar
Tel: +91-40-3308600, ext. 8547.
===
To unsubscribe: mailto [EMAIL PROTECTED] with body:
Goto www.archives.java.sun.com and find jsp-interest modify ur subscription
there
If still have probs mail me at [EMAIL PROTECTED] gone thro the same
prob
Sanjay
From: Tai [EMAIL PROTECTED]
Reply-To: A mailing list about Java Server Pages specification and
reference [EMAIL PROTECTED]
To:
Hi,
Question 1:
By default, You should invoke it like that pattent:
http://server:port/your web application/servlet/your servlet . And you can
config your web application respective. Create a WEB.XML file under the
web-inf directory of the web applicateion and edit it yourself,
Lite Web Server from Gefion Software:
www.gefionsoftware.com
It is free while source code is not provided.
- Original Message -
From: Hans Dekker (D-Sys) [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, July 09, 2000 4:12 AM
Subject: Standalone Webserver for Java servlets and JSP's
Hi Jeff,
I have met such problem before and posted it to the maillist also, but I
get nothing. I think it is real a strange question I met. I guest that there
are something wrong with my jre's version. I checked my registry table and
it is right(I feel myself). And I re-installed Tomcat and
hi
I have a bean which returns a vector of MyCustomClass.
on my JSP Page; i generate dynamic rows :
out.println("table");
for (int i=0; imyvector.size();i++)
{
MyCustomeClass myclass=(MyCustomClass)myvector.elementAt(i);
out.println("trtda href=nextpage.jsp"+myclass.name+"/a/td");
I'm trying to create a WAR file for my web application using the guidelines
given in Tomcat's /doc/appdev/.
I've managed to use the "build.bat" file to deploy my webapp files from the
project source dir. to the distribution dir. The problem is no .war file is
created.
This is what i get when
Test
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
Hi All,
How to implement connection pooling in JSP/JavaBean framework?
I want to make use of the connection pooling classes, one time
initialized, across all the JSP pages in my application.
Suggest me an effective way to make the connection pooling classes
persistant across the
Hi,
1. A long time back someone pasted an example of using James Clarks XT
processor with JSP pages. I cannot locate it in the archives. Can someone
send it to me if they still have a copy.
2. I am trying to read a parameter and based on that I want to include a
file... am I correct in thinking
Solved it... here is my final code for anyone interested:
%! String myPage; %
% myPage = request.getParamter("target"); % - target is
"content/test.html"
%@ include file="%=myPage%" %
the quotes are the key thing...
-Original Message-
From:
Hi,
I guest that your Tomcat's port is 8080 and Apache's port is 80. If it
is.
1) In your httpd.conf file(in the apache program/conf/), you must
include the tomcat.conf file in TOMCAT_HOME/conf directory. For example:
Append the following line in your httpd.conf file, Include
Hi,
Using jsp:include page="%=target%" flush="true"/
js:include page=.../: Compile first; when implement, include the
result of the included file.
%@ include file=...% Include the content of the included file first;
then compile.
So, you will get compile error when using %@
Hi,
Where can I find the coding convensions for JSP? Is there any document about
JSP coding convensions available at java.sun.com??
Y
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some
I've seen code like this before.
Why on earth do you use %! % declarations ??
This is the best way to get debugging headaches because of concurrency
problems.
Why not just use
% String myPage = request.getParamter("target"); %
%@ include file="%=myPage%" %
Geert 'Darling' Van Damme
Hi,
You can use your bean, using the "APPLICATION" scope tag.
By doing this, only one bean will be instantiated, and used by all the
servlets.
Regards,
Oren
-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf
I use jsp:forward page="index.jsp",run it ok,but jsp:forward
page="index.jsp?sort=1",then error.iplanet server 4.1 report can't
find file index.jsp?sort=1!
why?
I run it at nt4/sp5/iplanet 4.1.
--
achang [EMAIL PROTECTED]
I don't think that page attribute is a fully qualified URL but rather it is
just a fully qualified path name. You can always pass variables to the JSP
by using the request object with the setAttibute function. I do this with
some of my servlets and it works fine, although I think I like you
Hi,
I have the following problem:
I want to detect on the server side when a user (which has an open
session on the server) has closed his browser by pressing the "X" close
button of the window.
I know that using http sessions is probably the unique way, but I don't
know how, as I
don't know if
1) target must be a form element(text or hidden)
2) or target must be a var sent in the query string
How it is done in ur case
- Original Message -
From: Mark Torr [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, July 10, 2000 1:41 PM
Subject: Two questions
Hi,
1. A
The following is a link on the sun site about coding conventions , but that's
not specific to JSPs , it refers to Java coding standards in general , check it
out , it may help
http://www.java.sun.com/docs/codeconv/html/CodeConventions.doc.html
Santosh
Yasir Feroze Minhas [EMAIL
Hi Vinnie,
When u click on the link u can't pass the object.
Workaround is :
U can call a method like say
a href="method1('%= myclass.name %','%= myclass.age %')"
Employeeinfo/a
Now in Javascript part in the same page
script language="Javascript"
function method1(name,age){
assign it to 2
As far I know this is not possible ... the best you could get would be
to use the window_onunload event on the browser to trigger something on
the server using say a document.location in clientside Javascript to direct
to a server page that just registers that the browser has closed.
This is
Hello,
we think that WYSIWYG editing is more likely required by page designers, and
there are specialized tools for page designers which should support this. So
we decided not to do WYSIWYG in the Forte for Java product (at least in the
current version). Instead, we would like to offer JSP
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie
===
To unsubscribe: mailto
Hi:
does anyone know how to instatiate the object from
arbitrary class? i don't know how to point to the
package contained the classes i created to jsp file...
do i need to set the property in jswdk ...(i'm using
JSWDK1.0.1)
please help
thanx
Chad
Hello:
I'm trying to develop a simple login form that validate username and
password. I have a jsp page for the login form, what I can't figure out is
how to load the jsp page and upon clicking the submit button run the
javabean that I set up and verify against the database. I think I have the
.This may work.8)
% myPage = request.getParamter("target"); %
%@ include file=%= myPage %%
.regards,
.javier.
Javier Cazares
GE Power Systems Intranet Web Team
1 River Road, Bldg. 40-213
Schenectady, NY 12345
P:
Speaking of Forte, is there any chance Forte will support "internal frames"
so that each window doesn't put a button on my Start menu on Windows
platforms? That is the only reason I don't use it right now. Ofcourse, it
would be nice if project management was a little easier. I really like the
way
I'm going to send this again because i didn't get any response the first
time. Does anyone know anything about this error when I try to run my
servlet:
500 Internal Server Error
MailServlet:
java.lang.NoClassDefFoundError: junk/BasicStatementService
Server: Solaris 2.7, Jrun 2.33, iPlanet 4.1
Since a server is a program that takes request and send response, and
that the Internet connection is stateless, I don't think you can use the
server to detect when the browser is closed.
The only way I know would be to set a time out on the session and do the
logic when the session time out
Just a brief look at it brings up a question:
Shouldn't you declare acctArray as array?
AccountBean[] acctArray = (AccountBean[])
request.getAttribute("accounts");
Shane Duan
[EMAIL PROTECTED]
-Original Message-
From: Enriqueta Tuason [mailto:[EMAIL PROTECTED]]
Sent: Friday,
.And this also...
jsp:include page="%= yourfile.jsp %" /
.javier.
Javier Cazares
GE Power Systems Intranet Web Team
1 River Road, Bldg. 40-213
Schenectady, NY 12345
P: (518) 385-1521
Email: mailto:[EMAIL PROTECTED]
-Original Message-
Kim wrote:
I'm trying to create a WAR file for my web application using the guidelines
given in Tomcat's /doc/appdev/.
I've managed to use the "build.bat" file to deploy my webapp files from the
project source dir. to the distribution dir. The problem is no .war file is
created.
When you
There is a way to do this, but I am at a loss as to the actual package that
does it. Basically, you would use the call if doing a vary hard processing
page and want to make sure before trying to send it back to make sure they
are still present. It does some sort of a ping of the client machine
I am using Mutli-edit where in you could customize the editor to understand
JSP..
try that..
--naggi
-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Terence Lui
Sent: Wednesday, July 05, 2000 12:39 PM
Jeff,
What you described sounds similar to Response.IsClientConnected() in ASP
which returns whether or not the client is still connected (JSP has
something similar??)
but I think the poster wants to determine if/when the user closes the
browser once
the page has already downloaded
I think
Hi all,
see if 'stale connections' in J.Hunter's book is what
you want.
ron
--- "Cogley, Jonathan"
[EMAIL PROTECTED] wrote:
Jeff,
What you described sounds similar to
Response.IsClientConnected() in ASP
which returns whether or not the client is still
connected (JSP has
something
Same message.
hi there,
I am trying to configure Apache server 1.3.12 and Apache JServ 1.1.2
Getting the following error:
This error is logged as soon as I start the Apache Server but the
server start successfully
File : jserv.log and error is
[09/07/2000 23:17:40:680 GMT+05:30]
Hi folks
.
What is the best book on JSP for beginners? However, I
have a very good JAVA and JAVA servlets experience?
__
Do You Yahoo!?
Get Yahoo! Mail Free email you can access from anywhere!
http://mail.yahoo.com/
I, too, am very interested in discussing these issues. I hope my response
earlier didn't sound argumentative -- I was just trying to explain my
thoughts and concerns.I'd like to explain further my thoughts on the
matter:
Using the wrapper scheme, you pointed out that every JSP needs to
I am enjoying and benefitting from:
Professional JSP
Karl Avedal and 20 of his closest friends
WROX Press, ISBN: 1861003625
It is getting excellent reviews on Amazon.
Mark E Johnson
- Original Message -
From: mike dell [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, July
To those of you that are using HP-UX 11 platform and Apache_1.3.12 :
I am having problems with completing the 'make' and 'make install'
Any suggestions on what I am doing wrong to get the error with the 'ld'
command while 'make' is executing ( see at the end of this email ) would be
very much
-Original Message-
From: Kairam, Raj
Sent: Monday, July 10, 2000 3:13 PM
To: '[EMAIL PROTECTED]'
Cc: Kairam, Raj
Subject: mod_jserv as DSO on HP-UX 11
To those of you that are using HP-UX 11 platform and Apache_1.3.12 :
I am having problems with completing the
Yes it's quite impressive in the case study section. For a good tag library
tutorial look no further than the Manning book which has a considerably
better section on Tag Libraries than the WROX book.
-Original Message-
From: A mailing list about Java Server Pages specification and
How do I assign the ascii character code of 154 to a string variable.
Daniel (Buster) Nimmons
Information Management Specialist
Phone: (713) 845-4991
CELL #:(281) 224-8013
Fax #: (713) 640-8717
E-mail: [EMAIL PROTECTED]
Well, I dont think that Forte 4 J will show Internal frames as different
buttons in the Toolbar. What build do u use? Build 842 is the latest
release...
about Project handling, i think that you can of course add File Systems on to
it. and you can set the Compiler options thru one of the menus, i
"Love Always" is how things should be, Santosh. Think about it. Love always
leads to Positive Energy Flow. That is a philosophical thought, and maybe we
should stay professional and not get too philosophical...
And being professional will reflect thru my work, not by a silly Signature...
No
I was using the 1.0 version, about 4 or 5 weeks ago. Is Forte now using
internal frames instead of SDI based windows for editor, project management,
etc? Or is there some option that allows you to use internal frames instead
of normal frames so that each window you open in Forte doesn't appear as
How about using the Javascript "onUnload" event to catch the user's closing
the browser window. Then from the javascript event handler method you can
call a servlet or jsp [perhaps by opening a new window?] with a GET param
saying that John Doe just closed his window.
Sounds like it should do
Thanks but what is the book name?
Yes it's quite impressive in the case study
section. For a good tag library
tutorial look no further than the Manning book which
has a considerably
better section on Tag Libraries than the WROX book.
-Original Message-
From: A mailing list about
I am having problems with a simple jsp: forward syntax
my jsp file looks like this
%@ page language="java" import="ccms.Authenticate" %
jsp:useBean id="auth" scope="session" class="ccms.AuthenticateAdmin" /
jsp:setProperty name="auth" property="*"/
%
if (auth.allowedUser())
{
Web Development with Java Server Pagesit is the one I am using, and I
like it very much!
-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of mike dell
Sent: Monday, July 10, 2000 3:35 PM
To: [EMAIL
Hello,
What do you guys think about Dreamweaver UltraDev? I don't think the generated code is
very pretty (no beans?!) BUT it is able to visually (and quickly) pull together a
database query/insert/update and bind it to HTML "widgets". you can visually move
JSP tags around, and jump to
In the Unix environment,when you start up Jrun 2.33 as this:
#./jsmctl start
Does Jrun use the enviromental variables (eg. for the class path) of the
user that starts up this service?
===
To unsubscribe: mailto [EMAIL
Actually, I believe you CAN configure the web server so that all requests
for a "*.jsp" will be routed through a servlet of your choice first. I was
just reading about this in Jason Hunter's Servlets book, but unfortunately I
left it at home today. If you have the book, look it up, I think it's
Hi,
I am trying to write a HTML based chat client using
JSDT2.0 api and jsp.
Did any body do it before?. If so, can you please
advise me how to do it.
I understand that I need to use java beans with jsp. I
could able to connect to chat application server. But
for maintaining persistent
Thanks much Craig, for you help. The .war file has been created :)
kim.
- Original Message -
From: Craig R. McClanahan [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, July 11, 2000 12:54 AM
Subject: Re: Problem with creating WAR file
Kim wrote:
I'm trying to create a WAR
Hi,
Are you sure that it is true? It works?
xgh.
- Original Message -
From: "Javier Cazares" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, July 11, 2000 12:09 AM
Subject: Re: Two questions
.This may work.8)
% myPage =
Try removing the System.out.println just b4 the jsp:forward tagit worked
with me.
Also try using html tags in here instead of out.println...jsp converts all
html inside using out.println.
ciao
Jayman
- Original Message -
From: Rupali Bains Goswami [EMAIL PROTECTED]
To: [EMAIL
Thanks for the reply Veena,
I tried the workaround and it definitely works. However, i have a few
questions:
I am assigning the value to a hidden control which is hence viewable on the
source code of the page.Is this secure / safe?
I was considering something like putting it in the session ,
Hi pals,
I have 2 basic questions w.r.t jsp.
1)What is the use of doing
jsp:useBean .
can't i directly create an instance of the class (i mean bean) in the scriptlet
and use it ?
is ther any advantage ?
2)can anyone tell me the difference btw
1) request
1. Professional JavaServer Pages
2. Web Development with JavaServer Pages and Java Servlets
-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of mike dell
Sent: Monday, July 10, 2000 11:46 PM
To: [EMAIL
Kim wrote:
Hi! It's me again.
I've managed to create the .war file. Now I have another problem. I believe
it's with configuring the build.xml file. My .war file only contains the web
files (i.e. the files directly in my ${deploy.home}dir), not files in the
subdirectories (web-inf for
You simply put that package in your class path and import classes from it in
your jsp page using %@ page import = "yourPackage.anySubPackage.*"%. Your
JSP would be able to get the classes.
regards
Y
- Original Message -
From: Chad Pitt [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent:
hi
Is there is some method to dynamically map paths(Virtual) on the server in
JSP ???Currently i am using Java-Web-Server and i have to do it
manually.Kindly help.
Regards
Ashish
===
To unsubscribe: mailto [EMAIL
try to use response.sendRedirect("Success.jsp"); instead of jsp:forward tag
Y
- Original Message -
From: Rupali Bains Goswami [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, July 11, 2000 1:47 AM
Subject: Problem with jsp: forward page -- Please HELP!
I am having problems with
Hi! It's me again.
I've managed to create the .war file. Now I have another problem. I believe
it's with configuring the build.xml file. My .war file only contains the web
files (i.e. the files directly in my ${deploy.home}dir), not files in the
subdirectories (web-inf for example) recursively.
68 matches
Mail list logo