hi
as in asp we get serverpath using Server.mappath("\")
same thing we can get in jsp using which method
do help me
sudha
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on
Hi all,
Is any online tutorials or downloadable tutorial available in the
internet? If any pls let me know.
Thanx & Regards,
Rajesh
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Som
===
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
http://www.esperanto.org.nz/jsp/jspfaq.html
htt
hi
see i am retieriving my data usinf the url http:\\ip address:8080\filename
for that filename has to be stored in the serverpath
for that i should know serverpath.
i am dynamically creating the file "filename" and store it in serverpath
there is one method getRealPath("\")...is that the only wa
As a standalone server Tomcat is the best server but you can use Tomcat with
other servers
i.e. Apache. Apache has a mod_ssl
-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Stefán Freyr Stefánsson
Sent: Tue
Hi
would u be more specific
Regards,
Vikram
sudha wrote:
> hi
> can i get help regarding how to get serverpath
> thank u
>
> ===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> Some relevan
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Share information about yourself, create your own public profile at
http://profiles.msn.com.
===
Hi,
The purple sphere appears when users added do not belong to these object
classes ie. person,inetorgperson and organizationalperson.
That is whenever u add users in your own object classes ,they appear as
purple sphere.
And when you use these standard object classes they appear as a purple
I need to convert the UTF8 code format in Oracle database to be displayed
in the imode browser which
supports only SHIFT_JIS or EUC_JP formats.
How to do that?
Regards
MuthuKumar PB
Note
I use the conventional java.Lang.String
methods(i.e.String.getBytes("UTF8")and
String (byte[],"SJIS") constru
hi
can i get help regarding how to get serverpath
thank u
===
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/js
Thanks Liu...looked at Servlet 2.2 spec...you are right
I guess although i replaced default servlet.jar (bundled with JWS 2.0 ) with servlet
2.2
API...
my system is still looking at old version of servlet.jar.that didn't like
getAttribute() method very well.
I wonder why
Liu wrote:
> A
hi shari, the one possible reason could be the page may contain
the special charactors like © instead of ©.
hope this helps, if not pls,let me know what kind of error
you are getting.
with regards,
rathna.
Shari Fletcher wrote:
> Hello all --
>
> I have an HTML page I want to con
I feel the best way to do this is using singleton class.
with regards,
rathna.
Pranav Bansal wrote:
> Hi all,
> I want to create the DataBase connection once time on my site. For
> this, I have two options.One: - create a connection and then put it in a
> Session object. But
If you can require that your users use IE, then you could conceivably
implement true NTLM authentication on the server side. (IE is the only
browser - that I'm aware of, at least - that supports NTLM authentication.)
Although this would not fall under your preference for a straightforward
solution
Hey,
Can u be more specific? Are u installing the apache module or Tomcat
v3.1 (which includes apache). The apache module will only run servlets...for
now. Tomcat v3.1 runs both.
--
Antonio W. Lagnada
[EMAIL PROTECTED] - email
This email address is specifically
for JSP-Interest email list
HI.,
I need to invoke a shell script from my JSP
page...how do i go about it. Any suggestions is most
welcomed.
regards
arun.
__
Do You Yahoo!?
Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/
Why don't u try opening a database connection, retrieve the data that
you need and store to a class object (IOW create a class just for this)
and then pass that object as a session object.
--
Antonio W. Lagnada
[EMAIL PROTECTED] - email
This email address is specifically
for JSP-Interest email l
If you are using jdk 1.2.2 then try upgrading your jdk to 1.3. Make sure you
replace references such as your java_home to reflect the change and you
should be fine.
cheers
Stephen
-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:
Hi:
I have ASP codes which calls a stored procedure in SQL Server and want to
convert them to JSP. Can you please give me an idea on how to do it in JDBC?
set Conn=Server.CreateObject("ADODB.Connection")
Set CmdOrderDetails = Server.CreateObject("ADODB.Command")
CmdOrderDetails.ActiveConnection
Hello all --
I have an HTML page I want to convert to a JSP (eventually). I view the
HTML file fine in my browser, but when I save it as a JSP (mind you, no JSP
code is in my page at this point), the html and head tags are lopped off and
I'm unable to view it.
Saved as HTML:
Hi everybody
I have insatlled Tomcat and Apache Web Server. I can run my
servlets, by when I try to execute Jsp pages, it doesn't run.
The error, when I invoke the http://domain/mytest/hola.jsp, is the
following :
Error: 500
Location: /mytest/hola.jsp
sun/t
Are you sure what are you talking about?
On Java Servlet Specification, v2.2, 1.7 Changes Since Version 2.1, page 13, the last
paragraph:
Added the getAttribute, .setAttribute.The getValue, ...setValue...methods are
deprecated as part of this change.
"Reza U. Nabi" wrote:
> Its all f
Guys,
Can someone point me to benchmarks or articles that compare a java
application's performance on NT versus Linux versus Solaris? I would also
be interested in seeing a comparison of performance and stability in a Java
application on Solaris or Linux as compared to a COM application on NT.
A
You have already included the two main jar files needed.Check out if you
need to add these in the classpath of iPlanet.
Also check if you really should put your JSP's in docs directory.
However if nothing works out,copy your servlet.jar in a separate
directory ,unjar it and point the classpath to
Mauro:
What does your classpath look like? Try to make sure that the Oracle classes
you want to use are at the front of your classpath. If another zip or jar
includes a different version of the Oracle JDBC/OCI drivers, you could be
trying to use that instead of the version you think you're using,
Hi,
How can I store a password in an encrypted form?
I am using JSP's with LDAP server.However I just want to ensure that the
passwprd is stored in an encrypted form.
Any Suggestions.
Thanks,
Raj
_
Get Your Private, Free
Folks -
Does anyone know a way (preferably a straightforward way) for JSP code to pick
up the user's NT Login via the browser? We'd like our servers to know the user's
network login ID without the user having to log in to the browser. (In other
words, we'd like to create something akin to a "trus
Its all fixed. Problem was there was no getAttribute method in Servlet 2.2 API.
New version of Servlet (V 2.2) API replaced getAttribute() method with getValue()
Also it replaced setAttribute() with putValue() method.
Thanks guys,
Reza
Reza U. Nabi wrote:
> Hi J-Gurus,
> I was trying Shopp
Hi,
> What servlet engine do you use - Tomcat - do you ? It's well
> known that
> servlet reloading doesn't work there very well. On the
> contrary, one of
> the fastest servlet engine - Resin (http://www.caucho.com) -
> can reload
> *any* resource a web application uses - JSP, servlets, helper
>
Hello,
I'm new in JSP. I copied the example "date.jsp" into the docs/jsp directory. When
lauching the date.jsp I get the error: Failed to get GenericServlet.
I've checked the JDK classpath but I have the servlets.jar and jspengine.jar in it.
Could anyone tell me what I have to set to run JSPs cor
Hans, Craig,
Thank you for responding. Jakarta Taglibs and tags
is exactly what we needed.
One remark about the tag. A penalty that we incur for using it
is that we loose attributes at the request scope, since it opens a new URL
connection to the server, I am assuming that session is fine. Is i
Kevin Duffey wrote:
>
> HI,
>
> I would say the only advantage I see to using a JSP page is that every time
> you change it, the JSP page is recompiled for you by the server, whereas in
> code, you have to restart the server usually to get it to reload the new
> code.
What servlet engine do you u
I need to do a file search within a particular directory. I have no problems
searching files on my local machine , but when I am connected to a web server ,
the search fails. I think i am missing something , can anyone help.
The connection is OK because when I am able to establish a FileIntputStre
ResultSet has a last method.
last
public boolean last()
throws SQLException
JDBC 2.0
Moves the cursor to the last row in the result set.
Returns:
true if the cursor is on a valid row; false if there are no rows in the
result set
Throws:
SQLException - if a database access error occu
Hi all,
Los Angeles based company is getting ready to develop high performance,
scalable internet trading application for stock markets. We are looking for
experienced J2EE programmers. Anybody interested, please send resume or
email to [EMAIL PROTECTED]
Thanks,
Misak Boulatian
Here is how you do this:
First a script block at the top of the page:
if (document.images)
{
Links_over = new Image(); Links_over.src = 'Images/links_over.GIF'; Links_off =
new Image(); Links_off.src = 'Images/links_off.gif';
Code_over = new Image(); Code_over.src = 'Images/Code_over.GI
Here is some code that I am using , it used Oracle's XSQL to create a XML
document from data extracted from the oracle
database. You will have to download the oracle.xml package from the oracle site.
hope that's useful
Santosh
import java.io.*;
import java.sql.*;
import java.math.*;
import oracl
greetings,
any examples, tutorials about populating a XML file with a DB, then
reading it through an XSL and JSP?
thanks
ejf
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQ
dion wrote:
>
> Sunday, September 10, 2000, 2:14:12 PM, Hans Bergsten wrote:
>
> HB> Most likely, you have a Servlet 2.1 (or older) JAR file in your
> HB> classpath. The setAttribute() method was added in the Servlet 2.2 API.
> HB> Check the CLASSPATH environment variable for your server and the
>
No need for dhtml here. Simple JavaScript. Toggle the image.src property
of the desired image. Steal the code of a page that has the functionality
you want.
Regards
Jorge
-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTE
Hi,
Why donot write a func to convert all item in array in to one string?
like:
//myval[0]="one"
for(int i; ){
String u += myval[i];
}
hope this will be helpful.
Mike
>From: Bansal Peeyush <[EMAIL PROTECTED]>
>Reply-To: A mailing list about Java Server Pages specification and
> reference
hi all,
i have a problem and maybe this is not the right mailing list, but i hope
anyone could help me with that problem.
I make a Database Query and my query Result is in my resultSet. How can i
get only the last entry of the resultSet.
Does anyone have an idea how can i solve that problem.
T
look in to the "SRC" attribute of the image tag.
-Original Message-
From: sumit shah [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 12, 2000 9:20 AM
To: [EMAIL PROTECTED]
Subject: javascript and dhtml
hi all,
this is more of a javascript /dhtml question. I want some good things
Here is the code that I use
Notes:
1) I have a ConnectionPool object which is a Singleton. Just replace the
ConnectionPool stuff
with your own code to connect to your DB
2) One bad side effect of this implementation is that the JSP page (view)
contains fields and
table names from the database, s
hi all,
this is more of a javascript /dhtml question. I want some good things on
my home page.
i have four images in four coulumns side by side and i want that
onMouseOver on one image a different image be shown in the corresponding
column below the main image, also that it should stay there
HI,
I would say the only advantage I see to using a JSP page is that every time
you change it, the JSP page is recompiled for you by the server, whereas in
code, you have to restart the server usually to get it to reload the new
code. Other than that, I would rather use code. You can jar up code,
Hi!
I want to connect my application to a database located on another computer.
which properties do I have to use to connect?
I have seen an example for oracle:
final static private String _url =
jdbc:oracle:thin:username/password@(description=( address_list=(address=(pro
tocol=tcp) (host=devel
You could start with the sql:query custom tag in the jakarta taglibs
project. See:
http://jakarta.apache.org/taglibs
That code generates a table from the ResultSet, but you could easily modify
it to do what you want.
--
Martin Cooper
Tumbleweed Communications
- Original Message -
From:
How exactly are you moving from one screen to the next? Are you saying on
screen 1, when submit is clicked, it goes to the server, does its thing,
then forwards (RequestDispatcher) to the next JSP page, which shows part of
JSP 1? Or you response.sendRedirect() to the next JSP page? Can you give a
Hi,
I have to make a page, in which user enters the XML page url . Then our page
will process it, and grab the data from it and display it acc to ours way
and store it in Database.
Every Ones help will be appreciated.
Thanx in advance
Hamid
=
Hi,
> JBuilder
JBuilder 4 is out now..supposed to be J2EE ready and pretty good, but still
a little slow do to 100% Java/SWING. However, if you run it with JDK 1.3, it
should be much faster than if you are using JDK 1.2.2.
> Visual Cafe
Pretty kick ass, except, like JBuilder, I don't like the f
Can anybody provide me with an example or point me in the right direction as
to how I can make a custom tag that runs a SQL query where it populates an
HTML SELECT-OPTION list using a FOR loop and one of the options might be
selected?
Thanks in advance.
Mark
If you are lucky enough to choose a framework, I would look at the Jakarta
struts project. I am using it now and its very easy to work with, and does a
lot of nice things, including internationalization, auto-bean population,
single entry controller servlet, and more. Its free, open-source and
sup
Hi All,
The following error occurred:
java.lang.UnsatisfiedLinkError: no ocijdbc8 in java.library.path
(ocijdbc8 is a dll library)
Win NT + Apache + Jserv + JSWDK + Oracle JSP
Previously I used Apache + Tomcat and no error occurred on the same jsp page.
Where could I change that path?
My sy
Hi
just send a mail with body SIGNOFF JSP-INTEREST , no subject to
[EMAIL PROTECTED]
Regards
Vikram
Claire Ryan wrote:
> Hello All,
> How do you unsubscribe from this list?
> _
> Get Your Private, Free E-mail from MSN Hotma
I am seeking opinions on the best IDE for J2EE work.
I'm planning an app that uses JSP, Servlets, and EJB in a J2EE Blueprints
sorta way.
I've been using JBuilder 3 on Windows for a couple of years (3.5 is too
slow).
IDE's I'm considering
JBuilder
Visual Cafe
Forte
Netbeans
Visual Age
Target
Hi all,
I want to create the DataBase connection once time on my site. For
this, I have two options.One: - create a connection and then put it in a
Session object. But with this way problem is 'session timeout'. Now the
other way (may be) that some how I Store database connection in a bea
Hello All,
How do you unsubscribe from this list?
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Share information about yourself, create your own public profile at
http://profiles.msn.com.
=
Try it out with <%= session.getId() %>. If you access the page in more than one
browser (multiple browser)on the same machine then the session id will NOT BE the
same.
yi
"R.B. Gurung" wrote:
> Hi,
>
> I mean if you access the page in more than one browser (multiple browser)on
> the same machi
Hi,
I have configured Tomcat on NT. It crashes after processing one or two
requests.
The same thing happened with JSWDK-1.0.1, JRun.
I am getting Dr. Watson application error with java.exe
Could anyone suggest a remedy
Thanks
VIkram
===
Hi
encodeRedirectURL is used when you want use the sendRedirect
through JSDK2.2, but in JSDK2.0 or JSDK2.1 you should use
encodeRedirectUrl (pay attention to the capital letters).
If you don't need to execute sendRedirect, so use encodeURL or
encodeUrl metthods considering what vesion of JSDK you
hi
try to use some test tool. it will show all the things
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Share information about yourself, create your own public profile at
http://profiles.ms
Hi
The method that most servlets override is service or doGet or doPost. You
only need to implement the methods that you see fit for the purpose of the
servlet. Implementing them all is not required !!
Lee
> -Original Message-
> From: maurice coyle [SMTP:[EMAIL PROTECTED]]
> Sent: Tue
Hi All
I have installed iPlanet4.0 for linuix
I have a package source.jar/ How should i put this package in the iplanet to work.
I have configured it for jvm12.conf. but it is not taking.
Please help me.
With Regards
shyam
Hi all ,
how to find server path in jsp?
regards
[EMAIL PROTECTED]
Rathna wrote:
> hi all, i badly wanted to know the following things for the
> performence analyse,
>
> * out how much time the request takes to reach the web server from
> the client
>
> *how much time the web server takes to pr
Sunday, September 10, 2000, 2:14:12 PM, Hans Bergsten wrote:
HB> Most likely, you have a Servlet 2.1 (or older) JAR file in your
HB> classpath. The setAttribute() method was added in the Servlet 2.2 API.
HB> Check the CLASSPATH environment variable for your server and the
HB> /lib/jre/ext directo
hi,
i have a jsp application in development. i have come to the conclusion
that a model 2 (Model-View-Controller) architecture, as currently i have
too many scriptlets that are too long in my jsp page.
anyway, my question is concerning the interface aspect of writing
servlets. do i have to prov
ooups, sorry!
i made a mistake
>you must put this
'' element in every jsp page, where
>you want
>to access it's members..
sorry...
s.b.
>From: Stefan Bushev <[EMAIL PROTECTED]>
>Reply-To: A mailing list about Java Server Pages specification and
> reference <[EMAIL PROTECTED]>
>To: [EMAIL P
you must put this '' element in every jsp page, where you want
to access it's members..
regards,
stefan bushev
>Hi all,
> I am using an Application bean at my Home page as ...
>
>But when I call it at some other page like ..
><% int i=bean1.getMunber();%>
>
Hi
You can go for Connection Pooling,get the connection in the first page and
put the connection object in the session and use it across the pages you
want.
with regards,
Kumaran
Cognizant Technology Solutions India Ltd,
___
hi all, i badly wanted to know the following things for the
performence analyse,
* out how much time the request takes to reach the web server from
the client
*how much time the web server takes to process the request
(including redirecting the request to Jrun and the time taken by
jrun for the
this is not true... Tomcat 3.2b DOES support SSL. Subscribe to the Tomcat
mailing lists for more detail.
Also see: http://jakarta.apache.org/tomcat/
Regards, Stefan
-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On
I'll tell you a story.. I have to use this approach now as the site I'm at
put all of their business logic or most of it into an abstract HttpJspPage
subclass. Actually to top if off it's a subclass of Oracle's HttpJspPage and
it's service method which I wanted to override in my servlet as a subcl
Hi All,
I am using the WebLogic 5.1 and MS-SQL Server on Windows NT. Now i
want to make the Database Connection in such a way that it should create
only at first page of the site and can be used on other pages with out
recreating it. Is it Possible? It yes, then please tell me how.
With
hi ,
I use JSWDK .but where do u keep ur jsp codes.
save in examples/jsp/ the code will work after u start the server
regards
sampa
[EMAIL PROTECTED]
Kai Hackemesser wrote:
> Hi!
>
> Does anybody use JSWDK (JavaServer Web Development Kit) from Sun?
>
> I try to try writing JSP pages; JSWDK runs
You also need to add this in your web.xml file or corresponding file for yoiur jsp
engine
yourTagLibURI
/WEB-INF/lib/aromTags.tld
Martin Cooper a écrit :
> You need a taglib directive in your JSP file. Try adding something like:
You should write this in the all the page which is using this bean :
Regards
Veronique
Pranav Bansal a écrit :
> Hi all,
> I am using an Application bean at my Home page as ...
>
>But when I call it at some other page like ..
><% int i=bean1.getM
Hi,
Thats true
if you open the
File->New->Window, then it will share the same session as the original
window.
If you start another instance of IE up, and hit the same URL,
you'll have a different session.
thanks/regrads
gurung
- Original Message -
From: Thor Heinrichs-Wolpert <[EMAI
I'm not sure anymore, but I think it does under windows, but not under Unix
or on the Mac.
Thor HW
- Original Message -
From: "Chin Cedric Sung Kit" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 12, 2000 12:25 AM
Subject: Re: session
> Hi,
>
> you mentioned about I
Hi!
Does anybody use JSWDK (JavaServer Web Development Kit) from Sun?
I try to try writing JSP pages; JSWDK runs and executes its own example jsp
pages but it ignores my own JSP, shows the scriptlets content on client
side.
Since I don't see any difference in my code to the examples, I'm not su
Hi,
you mentioned about IE, does this apply to Netscape as well?
thanks.
peace,
cedric
Thor Heinrichs-Wolpert wrote:
> No, it doesn't work that way. It is browser vendor dependant.
> If you take IE (3,4,5) and from a running browser session choose
> File->New->Window, then it will share the
Hi all,
I am using an Application bean at my Home page as ...
But when I call it at some other page like ..
<% int i=bean1.getMunber();%>
it's gives the error that 'bean1' is not a variable or class
I am using the Weblogic 5.1 on Windows NT,
Please help
Hi,
I used File-> New->Window
I will try other one
thanks/reagrds
guurng
- Original Message -
From: Thor Heinrichs-Wolpert <[EMAIL PROTECTED]>
To: gurung <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, September 12, 2000 12:09 PM
Subject: Re: Re: session
> No, it doesn't wo
Hi
Can Any body tell me How to set the file Alais in Serveler Runner (JSDK2.1)
Please Help me out
Regards :-)
Kanojia Jogesh
Senior Web Developer
IG Technologies, Mumbai,India
===
To unsubscribe: mailto [EMAIL PROTECTED] w
Raj S wrote:
>
> Hi,
>I am making an address book application.I have some design issues which I
> have not been able to resolve.
> In this application a user would be able to view his personal address
> book,add addresses and modify or delete them.
> I am using JSP's and at the backened LDAP s
85 matches
Mail list logo