Q. I want to pass an object by reference to an EJB method ? Can I do this ?
In fact, my specific requirement is to pass an object by reference from JSP
to EJB? Please let me know if there are any issues in this ?
Visit http://www.niit.com for eCommerce Solutions.
The correct syntax for declaring a method in a jsp-page is:
%! public boolean test() {..} %
the jsp-code below calls method test()
% if (test()) {
do whatever
}
else {
...
}
%
If the method is declared in another jsp-file, the file must have extension
.jsp
and be
I need some help in JSP,If I request a JSP file for the first time then
that JSP file is parsed into servlet and compiled to class file
if i made a change in Java file and compile it then the changes are not
effecting why?
If i change in JSP file then the display is Effecting.
How the
Pertaining to Oracle, if you are using orderby clause the result I believe
would not be correct
Check oracle documentation for rownum clause
Remain Kooo..,
Mohamed Ashraf Memon
Advanced Micro Devices (Singapore)
TEL : 7969-888 X 39826
FAX : 4492-360
DID : 7969-826
Email :
Hi
I wonder if someone have been developing JSP in Visual Age 3.0. If you
have could you please give me a short introduction about how to do.
Regards
Camilla
--
===
To unsubscribe: mailto [EMAIL PROTECTED] with body:
Hi - a simple question. I have instantiated a bean in one jsp page
(jsp:useBean I now want to make use of the same bean object in
another page. How do I get a reference to it ?
Thanks
===
To unsubscribe: mailto [EMAIL
Hi,
I need to redirect to a page on the click of a button. I have been
using ASP so far and
need the JSPequivalent of response.redirect("...")
Could anyone help?
Regards,
Anand
===
To unsubscribe: mailto [EMAIL
Q. Is it possible to maintain the state of a bean for a particular
client for use in a JSP page. I have tried placing the bean instance I
wish to save on the session object in the hopes of later retrieving it
via a get method in the servlet. After reviewing docs I think it may be
possible to
In
JSP,
%
// Adding
Cookie(name1 = value1)
Cookie
cookie = new Cookie("name1", "value1");
cookie.setPath("/");
response.addCookie(cookie);
//
Getting Cookie(name1)
Cookie[]
cookies = request.getCookies();String value = "";
if
(cookies != null)
{
for (int i=0 ;
Hi,
I am not a big expert but I would suggest you to run this query.
select * from CUSTOMER_TABLE where rownum 6 order by MONEY_SPENT.
G Irfani
NIIT USA Inc.
__ Reply Separator _
Subject: Re: OFF
I took a shot with this email to the webmaster at java.sun.com:
Dear Webmaster,
Our group, the JSP interest group at [EMAIL PROTECTED], would like to
request some virus protection for emails and attachments coming through the list.
Can you arrange to scan items as they come through and pull out
When selecting from the pseudo table rownum _and_ using
a order by clause i would suggest the use of a inline view.
Otherwise your order by clause won´t work.
Try this instead:
SELECT * FROM (SELECT * FROM customer_table WHERE rownum 6)
ORDER BY money_spent
Regards, Bip
-Original
I am having the same problem. I believe I wrote a new value to the bean
instance, but I can't get those values in JSP.
-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Reg Sherwood
Sent:
Reg Sherwood wrote:
Q. Is it possible to maintain the state of a bean for a particular
client for use in a JSP page. I have tried placing the bean instance I
wish to save on the session object in the hopes of later retrieving it
via a get method in the servlet. After reviewing docs I
I'm working with some COM objects that only accept bytes. However, the data
I'm trying to send is in string form (sent by form input elements). In ASP
this was not a problem since VBScript auto-casts everything. Java's a bit
pickier and my knowledge of Java is shaky at best. I've tried:
Depends on the JDK you're using, and the JSP implementation. Need more
info.
Á¶ÇåÁØ wrote:
we are use korean character "EUC-KR" or "KSC5601"
but JSP can't translate korean character in java code
I make a simple code bellow
%@ page language="java" %
%@ page contentType="text/html;
Hi,
I have been trying to connect with a informix database using both a servlet and
a bean.
When I try to load the driver (example -
Class.forName("com.informix.jdbc.IfxDriver"); )
, I get a ClassNotFoundException error
It appears to be a CLASSPATH problem. I am new to JSP and thought if I
Your problem is a JSP corker - nothing to do with JSP as an implementation, but the
fact that if you're writing scriplets, then you're outside of a Java IDE with no
compiler/parser support.
s1.getBytes is trying to get the method getBytes as a variable, rather than:
s1.getBytes() - to call the
Which product are you using as a servlet/jsp engine?
-AMT
-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Cory L Hubert
Sent: Wednesday, December 22, 1999 10:16 AM
To: [EMAIL PROTECTED]
Subject: Re:
Jeff,
The error message itself occurs because you forgot the parens at the end of
the getBytes method call.
The following should do away with that message.
% string s1, s2;
s1=request.getParameter("someString");
s2 = s1.getBytes();
%
John,
The compiler is correct s2 = s1.getBytes; must be written as such:
s2 = s1.getBytes();
If is a method call not a property. I can see why this would happen coming
from the COM world.
_
Nick DiFranco
Developer
EC Cubed,
JSP 1.0/ JRUN/ IIS
-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Arun Thomas
Sent: Wednesday, December 22, 1999 9:43 AM
To: [EMAIL PROTECTED]
Subject: Re: Servlets and JSPs
Which product are
I took a shot with this email to the webmaster at java.sun.com:
[...]
Our group, the JSP interest group at [EMAIL PROTECTED], would like to
request some virus protection for emails and attachments coming through the list.
Can you arrange to scan items as they come through and pull out any
Try:
% string s1, s2;
s1=request.getParameter("someString");
s2 = s1.getBytes();
%
Note the '()' after getBytes. When calling a function must use parens.
-Original Message-
From: Jeff Brown [mailto:[EMAIL PROTECTED]]
Sent:
Did you check to make sure that your package is in the CLASSPATH ?
Reg Sherwood [EMAIL PROTECTED] on 12/22/99 12:33:27 PM
Please respond to Reg Sherwood [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
cc:(bcc: Amarnath Nanduri/IT/VANCPOWER)
Subject: Re: Servlets and JSPs
Craig,
As
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Wed, 22 Dec 1999, Steven Owens wrote:
And while we're at it, could we block out messages with no
subject line? :-) And how about mesages with "unsubscribe" in the
subject or as the only line? And maybe messages with more than two
It's in there.
-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Nanduri Amarnath
Sent: Wednesday, December 22, 1999 12:47 PM
To: [EMAIL PROTECTED]
Subject: Re: Servlets and JSPs
Did you check to
Hi All
I don't know of any ISP or Web Hosting service provider who supports JSP + database at
relatively low price.
I am planning to build a community site for learning experience where people can
exchange views on discussion forum and so on.
Any clue or help in pointing to right web host
Hey all,
I'm new to JSP and I'm not quite sure where to get started.
Can anyone recommend some good books or tutorials
on-line?
Thanks,
Reva L. Tolliver
Email: [EMAIL PROTECTED]
eBusiness Service Provider Development
===
What Sun *could* do is set their mailing list software to not
allow attachments.
Another vote for no attachments...
May we take a consensus? Maybe Sun will listen, this time.
Phil
And maybe messages with more than two
sequential exclamation points... :-).
If you take a look at the generated java file:
blah/jsm-default/services/jseweb/servlets/jsp/thepage.java
Do you see a line in the _jsp_service method which actually defines an
object 'model' of
class 'blah.MyClass.MyBean'?
-AMT
-Original Message-
From: A mailing list about
in old good days (while using JSDK 2.0) debugging servlet in an IDE
environment required
adding a main class, specifying a port number and a servlet directory and
invoking
an HTTP Server (sun.servlet.http.HttpServer.main(serverArgs)), one could
specify
breakpoints in service, doGet doPost etc..
Hi all,
Thanks for your replies but I'm working with Inprise's INTERBASE Server
and there isn't ANSI SQL support to the TOP predicate or any other.
I could actually limit the number of rows in the client side (or in the
server side too) using DataSet's rowcount or something like that but
that
Boy, that is definitely a strange one. A couple of off the wall thoughts:
* Have you enabled JSP 1.0 support in JRun? If you are using
0.92 support the jsp:useBean tag would have been ignored.
* Could "model" be a reserved word somehow? Try a different
variable name just to make sure.
In the "etc" directory, check out the sample program named "SimpleStartup.java".
This is a simple application you can use to debug servlets in the JSWDK environment
within an IDE.
Craig McClanahan
"Milkowski, Andrew" wrote:
in old good days (while using JSDK 2.0) debugging servlet in an IDE
smime.p7m
Thank you for your recommand
Does Apache WebServer support JServ with JSP now?
-Original Message-
From: jang eui jin [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 23, 1999 9:25 AM
To: Á¶ÇåÁØ
Cc: [EMAIL PROTECTED]
Subject: Re: Does JSP support non default encoding ?
Hi!
One more question.
Did you test my jsp code?
%@ page language="java" %
%@ page contentType="text/html; charset=euc-kr" %
html
body
¾È³çÇϼ¼¿ä? %="Á¶ÇåÁؾ¾" %
/body
/html
-Original Message-
From: jang eui jin [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 23, 1999 9:25 AM
To:
I have been having a lot of trouble getting this to work. Have you really been able
to get Explorer to stop caching? This command does nothing when I use it.
I've tried all of the following:
meta http-equiv="Pragma" content="No-cache"
meta http-equiv="Cache-Control" content="No-store"
meta
what is the difference between javaserver and javawebserver?
I downloaded both products but I don't know which one to use.
DerikA
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP
Hi all,
Have a question for you, I have configured JRUN to run on IIS4, and for me
now to look at the jsp pages I have to type in the url like
http://localhost:8000/anyjsppage.jsp
and I have to put my jsp pages in the default directory of the JRUN, if I
put this pages in default directory of
This has been asked a n number of times, the best hint is look at the last
two lines af any mail, it gives a FAQ link on JSP
lets not forget
http://java.sun.com/products/jsp
ITH
Amit
-Original Message-
From: Sergio Queijo Diaz [SMTP:[EMAIL PROTECTED]]
Sent: Tuesday, December 21,
some thoughts(more heads are better than one)
As far as my expriance goes I have never come across keyword "model" , but
this message usually comes if the variable scope(not jsp's usebean scope)
is unclear i.e, declared in a diffrent scope,
the variable name "model" has to be
1. the ID of
Z.
Guys
Hope you read the directive by sun,
you are not, repeat not supposed to send attachments in the mailing list,
you could be kicked of the list for doing so,
if indeed you want to send it, you can send it to individuals/groups
specifically, but not to the list
lets rest
Title: BineryWrite method in JSP
Hi
I want to know whether there is a method to write binary output by using JSP.
I want to write gif file directly to browser by using JSp.
best regards
senaka
Go for http://www.ebpcs.net for extensive Java servlet JSP hosting services +
database.
--
KBMail Software Java Hosting Service Provider
http://www.kbmail.com
http://www.ebpcs.net
"Plan - Do - Review -- Success"
Original message
Date: Wed, 22 Dec 1999 19:54:11 Z
From:
Hi
Surya,
As you
know, javascript is executed on client side, against JSP(or Servlet) on server
side.
Then,
there is no way to add the value of a textfield to the cookie using JSP in one
session.
But if
you decide to use javascript to add the valueto the cookie, you
Hello friends,
I have one textbox and Submit button in a A.html
file. When i submit the form i am invoking a servlet and get the value
entered in the textbox and i want to display that value in the A.html
thro .jsp file ( ie below the textbox and Submit button ). When
i do this operation the
Title: BineryWrite method in JSP
Confer the
link below,
Java
Discussion Forums - How to call JSP from Applet?
http://forum.java.sun.com/forum?[EMAIL PROTECTED]^0@.eef322c/1
I hope it
will help you.
from
acidzazz ^!^
-Original Message-From: A mailing list about Java
What ur doing is, writing an html file A.html and then calling a servlet
and then displaying a
jsp page(??).For ur requirement, u don't even have to write a servlet(the
jsp will do it for u).
The following code should do.
Ur page should be A.jsp
html
form name=myform action="A.jsp"
body
input
On Tue, 21 Dec 1999, Sreekumar Pillai wrote:
This can't be possible!
I am using JSP on IPlanet and I notice my session expires after
the specified timeout irrespective of the last accessed time.
For some reason, the webserver just checks the creation time
only. I reduced the timeout period
Hi,
sorry to join in late, but as i went thro' the mails, i found i could
contribute a similar problem i had,
I am doing some assumptions,
you are mixing JSP and javascript cookies, if i am wrong pls correct me
"this will not work"
why, i dont know, i have had an experiance
52 matches
Mail list logo