Hi there
I have one array consisting of 5 value
ie
myval[0]="one";
myval[1]="two";
myval[2]="three";
myval[3]="four";
myval[4]="five";
is there any function that will copy the value of array into a string
seprated by comma(without using any loop)
ie abc ="one,two,three,four,five";
Since I
Thanks to everybody! Thank you very much!
Robuschi Roberto Delfi srl
P.za Ravenet 1/b - 43100 PARMA
Tel. 0521/932411 Fax 0521/989045
[EMAIL PROTECTED] --- http://www.delfi.it
===
To
When the JSP is loaded the WebServer tries to make the java file out of it.
While doing so it is unable to locate the bean class specified in the page.
Surely its some configuration issue...
Any help is welcome.
===
To
I think even if there would have been a method,
it would have internally gone into loop to do so
-Original Message-
From: Kanojia Jogesh [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 07, 2000 11:44 PM
To: [EMAIL PROTECTED]
Subject: How to Convert Array into String
Hi there
I
hi
put your bean file in the package.and put your package
in the class directory which is in the javawebserver.o.k
ravi
From: Uday Prajapati [EMAIL PROTECTED]
Reply-To: A mailing list about Java Server Pages specification and
reference
maybe you should try
if(key.equalsIgnoreCase("AT"){
...
}
works for me.
maurice
Aaron Prohaska wrote:
I am trying to do something based on if key is equal to "AT", but I am not
getting any results. It acts as if key is not equal to "AT", but I can use
out.println(key) get "AT". Does anyone
there might be some extra non-printable characters in the key
-Original Message-
From: maurice coyle [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 08, 2000 1:12 AM
To: [EMAIL PROTECTED]
Subject: Re: Problem with if statement
maybe you should try
if(key.equalsIgnoreCase("AT"){
...
Hi everybody.
Can a servlet get the path it was loaded from by the servlet container? I
want to have a property file lying in the same directory as the servlet und
have the servlet access the file without using a servlet parameter of the
container pointing to the directory where the file lies.
Have a look at j hunter's book
java servlet programming page 100++
or DOWNLOAD some code at
http://www.servlets.com/resources/com.oreilly.servlet/index.html
it's for a multi-part form upload with up
to 5 MB of data.
It uses a servlet. Probably you have to map it
to database yourself
Docs are at
Hi All
Is their any way of aborting/terminating from the jsp page which is building.
Thanks
Shyam
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be
Kevin Jones wrote:
Why are you doing a redirect rather than a forward?
Is the jsp part of the same context as the servlet?
Kevin Jones
In servlet The code Looks as follows
Vector selectedRows = comes from the EJB
session.putValue("SelectedRows",selectedRows);
"signoff JSP-INTEREST"
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
Rakesh Bhat wrote:
Hi Laskowski,
As I understand , one uses JSP over Servlet because writing a JSP code is simpler
compared to Servlet.Right ?
Yes, but watch out you can fall into a trap and you may mess up your JSP
and HTML so nobody will know what is in.
They are 2 different server side
Hi,
I hava a jsp page which contains some file links which user can click and it
will call a servlet which will download the file the user want from the
server.
all the links for files type other than pdf will pop up the download dialog
windown which ask you where you want to save at local disk.
Ok, I have found a solution for IE:
I just put wrap="hard" as attrib of the textarea and everything is OK, I can't
understand why, as wrap is said to be used only for alignment.
Any comments
Ionel C.
-Original Message-
From: Ionel Condor [mailto:[EMAIL PROTECTED]]
Sent: 08
Hi
Considering that key is a string, you can also code
so:
if ( key.compareTo("AT")==0 ) { // It means : key is equal to "AT"
// do something
}
On 7 Sep 2000, at 19:01, Raj S wrote:
Hi,
I suppose key is a String,in that case you will need to do this
if(key.equals("AT").
See this problem comes when you use PDF for downloading but solution is
there in browser only. It opens the PDF file in browser with all tools
which has SAVE tool as well see carefully u'll get it. It won't open
this in browser only when Acrobat Reader is not installed in ur system
and then only
Rathna wrote:
hi all, how do i pass the init arqument for the JSP?.
i tried specifing init arquments in servlet 'aliases'
option in JRun jseweb(Service Config).When i read
the given variable by % config.getInitParameter("paramName") %
it displays null, means it is not loading init
Sometimes it is desireable to use a servlet to handle session logic. In
complex systems, it is not a good idea to have lots of java code
in the JSP pages. Having too much low level logic in the presentation
defeats the purpose of JSPs. For instance, when obtaining a reference to a
database
the method session.putValue( )
is depreciated in newer specifacations. try using :
session.setParameter( )
This does not solve your problem, though.
-Original Message-
From: Jacek Laskowski [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 08, 2000 5:38 AM
To: [EMAIL PROTECTED]
IDE Oracle JDeveloper 3.1
Server: Tomcat 3.1
JDK: 1.2.2
Hi,
I have begun to get a 500 error (internal server error) with some of my JSP
pages.
Here is an outline of the steps:
1) I make a change to en existing working jsp - the change can be as small
as adding the letter x the BODY
Henning Meinhardt wrote:
Hi everybody.
Can a servlet get the path it was loaded from by the servlet container? I
want to have a property file lying in the same directory as the servlet und
have the servlet access the file without using a servlet parameter of the
container pointing to the
I the case of JSP
For the first time when we call a servlet, server will precompile it into a
servlet
and will load it into memory and then .. it is the same as it handles the
servlet.
Now whenever the future references are made to the JSP the request is
handled by
the servlet
Regards
Sanjay
Can somebody tell me if servlets, jsp, and ejb can be used to build highly
transactional, scalable application such as on line trading application. If
it can, anybody knows any companies who are utilizing them. Any idea what
application would look like? What to use and what not to use? For
Hi:
I am working on a project which requires B2B integration of two site.
This integration is done by third party. We have to handle the "Add to
Shopping Bag" module.
1.User will come to site1 and then he requests for a product which
is avaialble in site2. Since these two sites are having
hua ge wrote:
Hi,
I have couple servlet context mapped in the web server.
in servlet 1(in context 1) I stored some object in the session, then servlet
2(in context 2) will reference the object stored in the session object
created in context1.
I could not get the data out from session
If your talking about Servlet 2.2 context, you can not track sessions across
separate web-app contexts. Each web-app gets its own context that all
servlets, jsps, etc share. I think the only way you can share information
across many contexts is using jndi, which I think is a global JVM context.
Craig..can't you use the javax.jndi.naming or something like that? I was
messing around with that yesterday a bit, but don't have much knowledge on
it yet. Someone on the Orion team mentioned that its possible to share
global data across web-app contexts using that mechanism, or something like
Kevin Duffey wrote:
Craig..can't you use the javax.jndi.naming or something like that? I was
messing around with that yesterday a bit, but don't have much knowledge on
it yet. Someone on the Orion team mentioned that its possible to share
global data across web-app contexts using that
I think you should use JavaScript.
To show popup you need a additional request from the client.
There are two ways to receive this additional request.
First user should click every time somewhere when you want to get a popup.
(does not suit)
Or JavaScript will do it automatically.
-Original
I think JNDI will give you access to the files that contain the classes, but
not access the class instances themselves.
I think RMI would provides the interface for obtaining references to objects
across contexts/JVMs.
-Original Message-
From: Kevin Duffey [mailto:[EMAIL PROTECTED]]
I am new to jsp, servlet, as you know every web or application server or a
database has a log file, that is monitoring lot of informations,
I don't know if you can help me or show me where to find something that:
read log files using servlet and show their informations in a jsp file, but
data has
Hi,
I am unable to retrieve the value of the parameter that i am using in jsp:param
tag.I am using this with jsp:forward tag.
the code is
jsp:forward page="somejspfile.jsp"/
jsp:param name="somename" value="somevalue"
/jsp:forward
In the calling jsp file i am using String s =
Hi all,
I have put my JSP pages in IIS. I am able to get the JSPpages from
internet explorer of the clien't machine. But, I am facing a problem
When I run with Netscape Navigator, ie.. it is opening 'SaveAs' dialog box
instead of opening the JSP Page.
Can anybody suggest the solution?
Thanks
Thanks for your reply.
If you see program2 which is using Javascript to display the popup page and after
that url redirection is there, but the problem is that its not displaying the popup
window and sucessfully redirect to site2.
Artem Babenko wrote:
I think you should use JavaScript.
To
Go to www.webtrends.com and look for Log Analyzer product.
Regards
Krishnan Padmanabhan
-Original Message-
From: A mailing list about Java Server Pages specification
and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of sufi malak
Sent: Friday, September 08, 2000 12:46 PM
To:
Why do you use such url http://localhost/UrlRed.html
change localhost to site1ie http:/site1/UrlRed.html
out.println("SCRIPT LANGUAGE=\"JAVASCRIPT\"");
out.println("window.open('http://localhost/UrlRed.html','UrlRed','left=40,to
try this
jsp:forward page="somejspfile.jsp?somename=somevalue" /
I use this syntax and it works fine
-Original Message-
From: /servlet-interest Vishwanath Naveen
[mailto:[EMAIL PROTECTED]]
Sent: Saturday, September 09, 2000 1:02 AM
To: [EMAIL PROTECTED]
Subject: Problem with jsp:param
I think the first line of code not quite right the "/" on the end messed you up.
yi
Sundeep Kapadia wrote:
try this
jsp:forward page="somejspfile.jsp?somename=somevalue" /
I use this syntax and it works fine
-Original Message-
From: /servlet-interest Vishwanath Naveen
Here site1 and site2 are two different domains.
Artem Babenko wrote:
Why do you use such url http://localhost/UrlRed.html
change localhost to site1ie http:/site1/UrlRed.html
out.println("SCRIPT LANGUAGE=\"JAVASCRIPT\"");
In simple way, my requirement is that:
From site2, on pressing "add to bag" button, my program is called (which is in
site1), which will add item and after that it will return back to same page of
site2 but additinally it will display a popup saying that "item is added into
cart".
For this my
Correct..get rid of the / in the first line and you'll be fine.
-Original Message-
From: Liu [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 08, 2000 2:05 PM
To: [EMAIL PROTECTED]
Subject: Re: Problem with jsp:param tag
I think the first line of code not quite right the "/"
Hi,All
I have a scenario in my project: there will be a search result page , it's
layout should be like this:
=
Name SS#phoneaddress
name1ss1phone1 address1
name2ss2phone2 address2
Of course there is:
String abc = myval[0] + "," + myval[1] + ...
but it's not a conversion but a concatenation
regards
Stefan
-Ursprungliche Nachricht-
Von: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]Im Auftrag von Kanojia Jogesh
OK so the site I'm at has put a tonne of functionality in an ancestor
HttpJspPage superclass and I need to get at this from within a servlet
that's an action from the form.
can I just slap this into the request before I submit my form?
There doesn't appear to be any way way to get at the
HI I do something similiar where I offer the ability for the user
to download a html report down to disk.
The simplified code looks like as the following:
( Note: I am using JavaBeans to produce the actual data)
The content type is where you specify the mime type you want the browser to
handle.
Hello all,
I am using a Weblogic server (4.5.1?). When write an include action
jsp:include page., is is not interpreted. Instead, it is passed to
the browser as a string. The include directive works @ include. I
placed the code on JRun and it works fine.
Is this a JSP 1.1 vs 1.0
47 matches
Mail list logo