in /WEB-INF/classes
> --
> From: Crisalyn Ramos[SMTP:[EMAIL PROTECTED]]
> Reply To: A mailing list about Java Server Pages specification and
> reference
> Sent: Friday, February 02, 2001 12:51 PM
> To: [EMAIL PROTECTED]
> Subject: where to store bean?
>
> Guys,
Guys,
Hi. I would like to know where to store bean so that i could access them
with my jsp file via the import statement and useBean...
thanks!
Joy
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.co
Hi,
I am new to JSP. I want to upload a fixed format text
file from the user's machine to the Oracle database. I
would appreciate if somebody could guide me how this
can be done. Better still, if somebody can send me the
sample code with some explanation.
Thanks in advance,
Regards,
K. A.
hey i solved it,
MJ
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at
what is the error you are getting???
Regards
Ramesh Kesavanarayanan
Electronic Data Systems
Steeple Reach,
25, Cathedral Road,
91-44-811 3801 to 15 ext :2186
91-44-233 0380 (res)
[EMAIL PROTECTED]
[EMAIL PROTECTED]
-Original Message-
From: Manish Joshi [mailto:[EMAIL
I think it should be insert into tablename(field1) values(value1,'ab''c');
:^)
Ricky Y. Artigas
Analyst/Programmer
Information Technology Division
Easycall Communications Phils., Inc.
- Easycall Internet -
418 Arayat St., Mandaluyong City 1550, Philippines
Personal WAP Site: http://www.buzzed.co
Use double single quote .
For example,
if you want to insert ab'c, your insert statement will be like this :
insert into tablename(field1) values(value1,'ab''c);
M.Chitra
www.3rdagenda.com
- Original Message -
From: Anil John <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday,
hi all,
i have a column in my database(DB2) with type=decimal,i m suceessfully
gettin this
out.println(rs1.getFloat("app_rate"));
but when i try to assign it to float variable like this,
float app_rate1=rs1.getFloat("app_rate");
it is givin errors,
any brains..?
thx
MJ
==
Hi All,
I had a similar problem of "applet cannot be inst" but
got fixed with
1. setting the classpath to include used libs of
Java on server (through Environment variable)
2. Worked fine on Netscape (4.0 >) with doing 1.
(you may see java console for exceptions)
2'. On Internet Explorer
Editable Combobox
Try: http://www.ycode.com/ComboBox/Latest/combo_box_simple.htm
I think Oracle JDeveloper includes a Combobox bean to do that too.
Regards
-Original Message-
From: [Jwas J] [mailto:[EMAIL PROTECTED]]
Sent: Friday, 2 February 2001 15:34
To: [EMAIL PROTECTED]
Subject: Re
Hi Seb,
Thanks for the quick reply
you can enter values in combo box with Javascript:
function addValues(value,text) {
document.FORM_NAME.COMBO_NAME.options[document.FORM_NAME.COMBO_NAME.options.
length] = new Option(value, text);
}
But the requirement is that user should be able to
New Atlanta is pleased to announce the release of ServletExec 3.1 and
ServletExec Debugger 3.1, both of which are available for immediate
download:
http://www.servletexec.com/download.jsp
This maintenance (bug fix) release is a free upgrade for owners of
ServletExec 3.0, 3.0C, and 3.0E.
Serv
Hi,
One of the reasons for the switch is the future switch
to Vignette. Vignette StoryServer engine uses Tomcat
for all its JSP stuff.
Thank you very much for the warning.
Cheers
AK
--- "M. Simms" <[EMAIL PROTECTED]> wrote:
> A good question:
> WHY ARE YOU DOING THIS ?
>
> Tomcat 3.1 performance
Michael Sweeney wrote:
>
> Look into Rhino (http://www.mozilla.org/js/) and BSF
> (http://oss.software.ibm.com/developerworks/projects/bsf) through which you
> can expose the Java API to javascript and evaluate js code on the server.
>
> .michael.
Not to rain on your parade, but both these produc
Hi Shashwati!
Off late, i came accross the same situation, and give tell u how did i
solve this..
When u come to the page page which adds a record to the table, come with a
parameter from previous page, let's say parameter 'addToken=yes' and add
record only if request.getParameter(("addToken").
Greetings,
I am new to JSP, so if this question has been asked and aswered before,
please point me to the FAQ.
If not, could someone provide a code sample of how you escape a ' when
doing a SQL Insert in JSP?
I am familiar with the VBScript replace function that would allow you to
do this and a
Look into Rhino (http://www.mozilla.org/js/) and BSF
(http://oss.software.ibm.com/developerworks/projects/bsf) through which you
can expose the Java API to javascript and evaluate js code on the server.
.michael.
At 12:44 PM 2/1/01 -0600, you wrote:
> ok, hmm, I see what you are saying, but
There's pockets of brilliance at IBM, but also lots of administrative
bungling..
good example: I ordered a trial, 90 day version of DB2/UDB 7.1.
Took 60 days to be delivered.when I received it,
only 30 days remained on the license !
> -Original Message-
> From: A mailing list a
This might not be a JSP related issue. But however if anyone knows more
about this please respond. I've an application where in once use logs in
his connection object is stored in a session and this is fetched whenever he
inserts/deletes/updates the database. To control transactions I did the
fo
if you want to do it w/o reloading the page you can place a small applet
that will talk to your server object. from javascript you can pass a value
to the applet and the applet will send it to the server.
anyway the best bet maybe is to change your design.
-Original Message-
From: Yan Zhu
Venkat wrote:
>
> Hi All
>
> This has reference to an previous discussion on 'disallowing concurrent
> login' and Mr.Hans Bergsten came out with a suggestion of implementing
> HttpSessionBindingListener interface, add every new user to a vector, check
> the existence when a new user logs in ...
>
orion has been my fav. for a while now.. check it out www.orionserver.com
_Ivan
-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Jann VanOver
Sent: Wednesday, January 31, 2001 2:51 PM
To: [EMAIL PROTECTED]
Peter Bishop wrote:
>
> -Original Message-
> From: A. C. [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 01, 2001 1:59 PM
> To: [EMAIL PROTECTED]
> Subject: Re: refresh of Session scoped beans
>
> > A recent thread out here has me playing with the "scope" attribute of the
> > tag. U
Shashwati Panigrahi wrote:
>
> Hi All,
>
> I am describing my situation below.
> I have a page called AddTicket.jsp, which sends all the ticket related data
> entered by the user to the servlet AddTicket.java.
>
> Now AddTicket.java creates a new ticket id by fecthing the maximum ticket id
> from
I own JBuilder 3.5, and am having problems with dbSwing.
I have created a JdbTable that gets populated from a text file (using a
TableDataSet and TextDataFile).
It works fine when run in JBuilder. However, will not run when deployed (it
loads but cannot be instantiated. And my other Swing Applet
> A recent thread out here has me playing with the "scope" attribute of the
> tag. Unfortunately, I have hit a wall. When using a bean of
> scope="session", which is populated from an HTML form using a
> . The initial population of the
> bean is OK, however when I hit "back" on the browser to mak
> I agree that this will solve the problem, but at the same time doesn't
that
> defeat alot of the "convenience" associated with the JSP/Beans combo? For
a
> large form, that is alot of bean.setProperty... calls.
I know, but unlickily this is the only way to solve the problem.
The setProperty tag
I think that forward is an internal redirection in the server, so the client
browser still sees the same original url.
Check it searching the word "forward" in www.jspinsider.com for more info.
Hope it helps.
- Original Message -
From: Shashwati Panigrahi <[EMAIL PROTECTED]>
To: <[EMAIL P
Hi the JSP group,
I have been using the JSWDK for long.Recently, i downloaded the tomcat4.0.
Could some one clarify me on how to start the server, with out using the
'startup.bat' file.Also, which all the JAR files to be kept in classpath.Can
i specify my own document root and port dynamically(as
Why not create a class that implements Thread? You could start it from your
JSP page or servlet, and it should run in the background. Then, your JSP
page
will continue processing concurrently with the ODBC process.
-- Tim Keuning
-
Do any of the appserver or servlet container products support maintaining
sessions across multiple webservers???...that is, I would set up our load
balancer so it didn't need to maintain the connection/session on one
specific machine, it could bounce around to the fastest one at that moment.
To av
Hi All,
I am describing my situation below.
I have a page called AddTicket.jsp, which sends all the ticket related data
entered by the user to the servlet AddTicket.java.
Now AddTicket.java creates a new ticket id by fecthing the maximum ticket id
from the database and adding 1 to it.
Then AddT
Does Tomcat support the "golbal.jsa" init file?
If yes, where do i've to put it and what's its template?
Thanx.
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECT
-Original Message-
From: A. C. [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 01, 2001 1:59 PM
To: [EMAIL PROTECTED]
Subject: Re: refresh of Session scoped beans
> A recent thread out here has me playing with the "scope" attribute of the
> tag. Unfortunately, I have hit a wall. Whe
Don't be too dispointed, I may have a solution for your problem. I think you
can have an input field in the form and have your parameter in that field
and the request will send it for you, on the javaside, use
request.getParameter to get it, look like that, at client site:
function assignValue()
ok, hmm, I see what you are saying, but it's a bit disappoiting. I really need
a way to
dynamically pass a javascript parameter to the server object. :(
thanks a lot though.
yan
Hung Yee wrote:
> I think we're getting confused on what i mean by 'access'. When I mean
> 'access' I'm ta
Yan Zhu wrote:
>
> Hung Yee wrote:
>
> > Javascript code on the client cannot access Java objects that were created
> > in the JSP page on the server!
> >
>
> but I did. In fact, I have a ejb created on a totally different server, and I
> got
> the remote interface, persisted that in http sess
Hi,
Thanks for the response.
The exact syntax of the page is:
So I think the bean is created correctly (?). This initial form/bean
combination is then forwarded on to a confirmation page where the user can
validate that what was entered is correct (at this point, the data entered
into the f
Hi does anyone know of a good resource for LINUX commands, specifically FTP.
thanks,
Rich
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set J
Where are your setProperty elements
If your page looks like this
Does it still fail?
Kevin Jones
DevelopMentor
www.develop.com
> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Peter Bishop
> S
I think we're getting confused on what i mean by 'access'. When I mean
'access' I'm talking about directly getting a pointer to the object's
address in memory, not about evaluating a expression and assigning that
value to some other variable or expression.
Hans' article talks about passing a var
The transform tag library (http://epesh.com/transformtags.jsp) have been
updated to version 1.2, after the addition of a regular expression
transformation. This allows you to do something like:
\'([^\']+)\'
"$1"
'James', James 'Bond'
And get
"James", James "Bond"
in the output stream
Webgain (visual cafe) and BEA have some sort of marketing agreement and one
owns a piece/most of the other. The integration between the two is VERY
tight and works rather well. I have been trying to contact webgain through
email about getting the 4.1 upgrade though. So far it has been 2 days.
T
The point is any JavaScript code can get the value of Java object, but you
can not alter those java objects by javascript. if you like to do the work
like
<% String name = javaObject1.getName(); %>
function myFunction()
{ var name = <%= name%>;
name = name+" test";
if (document.yourForm.yourN
Hung Yee wrote:
> Javascript code on the client cannot access Java objects that were created
> in the JSP page on the server!
>
but I did. In fact, I have a ejb created on a totally different server, and I
got
the remote interface, persisted that in http session, and called it from
javascrip
ok, a little twist, anyone done calling a java object method inside of a
javascript
with a Parameter (which is a javascript variable) ?
thanks
yan
Hung Yee wrote:
> Here's some more details as to what is happening between jsp code and
> javascript code:
> http://thejspbook.com/faq/det
Hi all,
A recent thread out here has me playing with the "scope" attribute of the
tag. Unfortunately, I have hit a wall. When using a bean of
scope="session", which is populated from an HTML form using a
. The initial population of the
bean is OK, however when I hit "back" on the browser to make
Javascript code on the client cannot access Java objects that were created
in the JSP page on the server!
The link that I gave you shows you how to create javascript code using jsp,
BUT the jsp code itself is only executed at the server and the javascript
code that is dynamically built by the jsp
Ha Ha! It worked! You guys are too cool!
thanks
yan
Hung Yee wrote:
> Here's some more details as to what is happening between jsp code and
> javascript code:
> http://thejspbook.com/faq/details.jsp?id=1003
>
> -Original Message-
> From: Yan Zhu [mailto:[EMAIL PROTECTED]]
> Sent:
Hi.
I'm wondering if anyone has any pointers about how to document and
comment code in JSPs so that they can be read and parsed by JavaDoc.
I don't think you can have the JavaDoc tool examine JSPs themselves but
perhaps it's possible to generate JavaDoc from the servlet code
generated by the ser
Hi folks, I am trying to log out from my web app. I am using JDBC realm to
authenticate users. Any clue?
Thanks, Vittorio
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMA
DOH!
1) The MIME type was wrong it should have been "application/csv" not "cvs"!
I got Concurrent Version System on the
brain
( I must read my code. I must read my code. I must read my code. ){1 , 50 }
2) The comma donot nee
you can enter values in combo box with Javascript:
function addValues(value,text) {
document.FORM_NAME.COMBO_NAME.options[document.FORM_NAME.COMBO_NAME.options.
length] = new Option(value, text);
}
Seb
> -Original Message-
> From: [Jwas J] [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, F
Thanks a lot Hans!
Does anybody know what this flipping Comma-Separated-Value format is exactly?!
because it does NOT work for me?
What I am doing wrong? I though the syntax was
= [ "," ] * '\n';
::= any character except for quote or double quote!!!
Does anybody have a Servle
Thanks. That was the problem. It was an error in putting the initial
context factory and provider_url.
Thank You
T R Yogeeta
> --
> From: Lee Turner[SMTP:[EMAIL PROTECTED]]
> Reply To: A mailing list about Java Server Pages specification and
> reference
> Sent: Wedne
I'd like to announce a major revision to the Taglib Roadmap I created well
over a year ago, it seems, at http://epesh.com/tagroadmap.jsp, and also
announce that I now have five taglibraries available for download:
1) Transform (http://epesh.com/transformtags.jsp), for transforming content
(includ
Hi,
Is there any editable combo box available in html ?
In Normal Combo box i can only select but the requirement is that the
user can
select as well as enter values in Combo box .
Can anyone help me out ?
Jwas
=
Greetings All
I am interested in hearing from developers using BEA WebLogic. We have
bought this product but not standardised on a development environment. We
are primarily a Borland shop, and thus tend toward JBuilder, especially
given that it supposedly has good integration with this product.
Hi,
A example is available in Professional JSP from wrox, pls check
it out
John thomas
Venkat <[EMAIL PROTECTED]>@java.sun.com> on 02/01/2001 02:50:03
PM
Please respond to A mailing list about Java Server Pages specification
and reference <[EMAIL PROTECTED]>
Sent by: A mailing li
Thanks to all of you! Some of the detailed analysis really help me A LOT! Now at
least I know where to begin to look!
I must say I'm pleasantly surprised by the response time of this list, thank you
one more time, all of you!
best regards
ZHU Jia
=
Hi All
This has reference to an previous discussion on 'disallowing concurrent
login' and Mr.Hans Bergsten came out with a suggestion of implementing
HttpSessionBindingListener interface, add every new user to a vector, check
the existence when a new user logs in ...
I have implemented a soluti
The answers yes.
Doing it yourself is thje best way to learn. This is such an easy thing to
try, you should have tried it before sending the question here,
Kevin Jones
DevelopMentor
www.develop.com
> -Original Message-
> From: A mailing list about Java Server Pages specification and ref
I am looking for a way to control the Jsp script time
out in Jrn.
Any ideas or guidance would be highly appreciated.
Thanks,
himanshu
__
Get personalized email addresses from Yahoo! Mail - only $35
a year! http://personal.mail.yahoo.com/
==
thanks a lot, I was also looking for such method but I didn't think it was
possible.
seb
> -Original Message-
> From: Konuru, Raghu [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 01, 2001 1:30 AM
> To: [EMAIL PROTECTED]
> Subject: Re: jsp object and javascript
>
>
> You can use ge
This is a weekly informative posting to the jsp-interest list.
Before asking questions of a general nature, please check out the
resources available online to see if your question already has an
answer. The best place to start
Hi,
I am new to the list, sorry if this has been discussed
before.
I was wondering if anybody had gone through this
process before and if any issues on this. We are using
Allaire JRun and trying to convert to Tomcat. Any, ANY
information is usful before I attempt the process.
Thanks in advance,
66 matches
Mail list logo