hi friends,
i have a problem. i am wroking jsp using Acess it will works
fine. but the same querey i am ascess through oracle it wont work
properly.the prgrame is like tree view .
here i written my code:
<%
String t11 =null;
String t12 =null;
try
{
String reh=request.getParamet
"." simply means the current working directory in MS-DOS.
In a message dated 7/28/00 11:01:42 PM Central Daylight Time,
[EMAIL PROTECTED] writes:
> Subj: .\ in class path
> Date:7/28/00 11:01:42 PM Central Daylight Time
> From:[EMAIL PROTECTED] (B R Nair)
> Sender: [EMAIL PROT
Hi,
I heard that JSP is neither backward nor forward compatible. Is that
correct? Can anyone give any clarification on this?
Regards,
Silja
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST
Hi guys,
I have a program that generates XML and calls a JSP. I want the JSP to
somehow takes this XML input (not necessarily a file) and do processing. How
should the XML generating program call the JSP? I don't think I can embed
the XML into URL. Any idea guys? Thank you very much.
howard
===
Hello,
In the
SET CLASSPATH=C:\SBN\LEGAL.JAR;.\
statement (MS DOS environment), what is the function of the last two
characters, namely, ".\"?
Thanx in advance.
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signo
Mnish,
try this one:
http://java.sun.com/products/jsp/index.html
BRN.
-Original Message-
From: manish jain <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Friday, July 28, 2000 2:55 PM
Subject: Help for JSP implicit objects
>Where can i get help for JSP implicit obj
I'm sorry, I've just found the problem come from the wap browser,
My JSPs works with html and Netscape!!
Sophie
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servle
Hi everybody!
I have 2 simple JSP and I want them to share the same
''session'' predefined object. I thought it was implicit but
when I ask for the session identifier by using the getId( )
method I get two different identifier in each JSP.
Even when I reload one of theses pages , I get a new ide
Hello,
I am making an housie game using the applet-servlet communication.
Problem:
I want the number generated at the server to be intimated to the
client(applet). For this i am taking help of the observer and observable
class/interface. But I am unsuccessful in doing it.
So please do let me k
There seems to be an issue(bug?) when handling a run time exception from
within of Tomcat 3.1. If you implement the three small files
as below(error.jsp, temp.jsp, and badcode.jsp), you should be able to
reproduce my issue. In theory, it should display "You got an error".
Unfortunately, the sy
You can check out
http://www.jspinsider.com/articles/jspasp/asp_to_jsp.html
I realize the format is in comparing the asp implicit objects to the jsp
implicit objects, But It still is a list of all the JSP implicit objects
with a function/attribute list done in chart format for reference purposes
s tim ja se to priveze si nelamej hlavu.. hlavne aby to bylo kopene a ten
pro koho to bude je kaja vyzralekk ne aby jsi mu to rikal ze hodlam usit
takovou habaduru
- Original Message -
From: "Daryani Santosh" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 28, 2000 11:08 AM
I'm still running into this same problem. However I
noticed that if I hit the test.jsp first, then hit the
servlet, it worked.
Has anyone ran into this problem using Java Web Server
2.0, and servlet 2.1?
TIA,
Kachana
--- Vasudha Deepak <[EMAIL PROTECTED]> wrote:
> Hi,
> Check the version
If you are displaying the String in a browser, padding the string with
spaces will not produce the desired results since HTML ignores extra spaces
and newline characters. Instead, you need to append " " in place of a
space character.
String padString(String s, int desiredSize)
{
String S
If money isn't an object, look at WebGain Studio. It has Visual Cafe 4,
DreamWeaver 3, StructureBuilder, WebLogic app server ( 1 connection license)
for $5000. The tools are well integrated including deployment to weblogic
server for EJB in the Visual Cafe ide, and you can build beans and taglibs
Try this with spaces instead of 0
function addZeros() {
var v = document.form.elementX.value.length;
if(v > 0){
for(var i=document.form.elementX.value.length; i<35; i++){
document.form.elementX.value = '0' + document.form.elementX.value
}
}
}
-Original Message-
From: Daryani Santo
The latest version of struts example is running fine.
Thanks for reply,
Mark.
-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 28, 2000 1:54 PM
To: [EMAIL PROTECTED]
Subject: Re: Struts example doesn't work
"Zeltser, Mark" wrote:
> > Hi All,
Try this
{
String desiredstring ="", string1 ="";
string1="column_name";
desiredstring = string1;
if ( string1.length() != 35 )
{
desiredstring = string1 + "00";
desiredstring = desiredstring.substring(0,35);
System.out.println("Desired String Length is "+desi
It seems to me you have a path problem (are there spaces in your path?).
What about to close the path into "..." in stopserver.bat?
-Original Message-
From: BLAKCORI, Ansar [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 28, 2000 6:48 AM
To: [EMAIL PROTECTED]
Subject: Re: urgent-install jsp
"Zeltser, Mark" wrote:
> > Hi All,
> >
> > I am trying to install and run an example from struts framework.
> >
> > My Platform:
> >
> > Windows NT Workstation 4.0
> > Tomcat 3.1
> > Jdk1.2.2
> > Struts release as of 7/25/00
> >
> > I had no problem running examples which came with Tomcat. Howeve
But this slows down the system terribly and eventually I had go back to the
process of elimination or builduing jsp code in small blocks.
-Original Message-
From: Zwonitzer, Dustin [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 28, 2000 11:32 AM
To: [EMAIL PROTECTED]
Subject: Re: Debuggin
Hello,
How can I pad a string with variable spaces?
When I query a database, the columns I get are not of fixed length. I would
like to make it uniform length. Is there any short cut to add spaces at the
end of a string? In other words can anyone give me the Java equivalent to
this pseudo code?
Edwin,
Use the JSP Execution Monitor that comes with VisualAge.
To use it just go to quick start and add feature called JSP Execution
Monitor.
To use it go to tools and click on JSP execution Monitor then click the
Enable monitoring JSP execution check box.
Now anytime you run the JSP page in a br
Hi,
I wanted to discuss as to what methodologies people are using to implement
image intensive web sites with this list. The most common practice
is to store a link to a picture in a database (or a resource bundle) and pick up
the image from there directory. However, I don't see this is be
IBM WebSphere and Visual Age for Java supports EJB as well
-Original Message-
From: Naresh Thawani [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 28, 2000 8:55 AM
To: [EMAIL PROTECTED]
Subject: Re: Development Tool and JSP Deployment
IBM WebSphere.
-Original Message-
From: Randy
A bit of topic.
I have setup JRun30 within IBM VisualAge for Java 30.
I can now invoke servlets from my browser, run them on JRUN30 and debug them
in the VisualAge IDE.
However, I would also like to debug my JSP in the same way.
Any idea about doing this, without having to import the servlet sou
Please send MenuBean to check it!
marvel.
Jens-Uwe Eilers wrote:
> Hello,
> I develope JSP with the JBuilder 3.5 . I integrate the Tomcat in the
> JBuilder to test the JSP.
> When I test the JSP all things function so as I expectedly.
> But when I run the Tomcat standalone the setValue() method
hello,
is anyone using oracles jdbc 2.0 extension connection pooling drivers with
jrun? i'm having difficulty configuring jrun to use jdbc 2.0 connection
pooling and not their own generic implementation. thanks for any help!
| chris wilson || web dev ||| www.wondergeek.com || |
==
hi
The following recursive include example doesn't work, who can explain this
to me ...
<%-- recursiveInclude.jsp --%>
<%@ page contentType="text/html;charset=WINDOWS-1252" %>
<%@ page errorPage="errorPage.jsp" %>
<%
int vLevel = -1;
try
{
vLevel = Integer.parseInt(request.getParameter
Thank you very much
It did work but still I've got this problem
My autoexec.bat is:
mode con codepage prepare=((850) c:\windows\COMMAND\ega.cpi)
mode con codepage select=850
keyb uk,,c:\windows\COMMAND\keyboard.sys
set PATH=C:\jdk1.2.2\bin
set CLASSPATH=C:\jdk1.2.2\lib\tools.jar;C:\jdk1.2.2;
The
Hello,
I develope JSP with the JBuilder 3.5 . I integrate the Tomcat in the
JBuilder to test the JSP.
When I test the JSP all things function so as I expectedly.
But when I run the Tomcat standalone the setValue() method is not called.
I use:
Can anyone help me?
Sorry about the bad english
Je
IBM WebSphere.
-Original Message-
From: Randy San Miguel [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 28, 2000 3:54 AM
To: [EMAIL PROTECTED]
Subject: Development Tool and JSP Deployment
Greetings,
I am looking for a development tool for JSP and EJB's other than
Oracle JDeveloper3.0
Thank you very much
It did work but still I've got this problem
My autoexec.bat is:
mode con codepage prepare=((850) c:\windows\COMMAND\ega.cpi)
mode con codepage select=850
keyb uk,,c:\windows\COMMAND\keyboard.sys
set PATH=C:\jdk1.2.2\bin
set CLASSPATH=C:\jdk1.2.2\lib\tools.jar;C:\jdk1.2.2;
The
Thank you very much
It did work but still I've got this problem
My autoexec.bat is:
mode con codepage prepare=((850) c:\windows\COMMAND\ega.cpi)
mode con codepage select=850
keyb uk,,c:\windows\COMMAND\keyboard.sys
set PATH=C:\jdk1.2.2\bin
set CLASSPATH=C:\jdk1.2.2\lib\tools.jar;C:\jdk1.2.2;
The
> Hi All,
>
> I am trying to install and run an example from struts framework.
>
> My Platform:
>
> Windows NT Workstation 4.0
> Tomcat 3.1
> Jdk1.2.2
> Struts release as of 7/25/00
>
> I had no problem running examples which came with Tomcat. However,
> after following all struts instructions and
Hello Kevin and Stanley,
Kevin:
Orion does indeed support that and has for well over a year, or maybe you meant
something else?
Stanley:
As Craig McClanahan pointed out, Tomcat does not support the XML mapping yet and
the mapping is rather immature in JSP 1.1. Wait for JSP 1.2 for this to beco
refer to following faqs...you will find good help..
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
> --
> From: Ruchi Duggal[SMT
See on java.sun.com...
U'll find it
-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of manish jain
Sent: 28 July 2000 10:25
To: [EMAIL PROTECTED]
Subject: Help for JSP implicit objects
Where can i get he
Well Chris, you can user classes to log your output to some log file on your
computer, if you want to do this for debugging puposes. If you want to do
debugging then I have written a set of classes for that purpose that log
your output to a log file in your user-home directory. If you are
interest
Chris,
I have spent the last week trying to use a Java class in my JSP page, too.
Standard Java library classes work fine, but the one I wrote (which works
from the command line) gives me a 'method not found' error no matter what I
do. It found the class but not the method within it.
I finally c
Pull all listboxes to client and depend upon selection show required listbox
with the help of DHTML and DIV/LAYER tag.
Manish.
- Original Message -
From: Anu Pidaparti <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 26, 2000 9:49 PM
Subject: How to call a servlet from a
Read my debugging chapter in Wrox 'Professional JSP'.
I show how to create a StringBuffer that keeps the last 32K of the
System.out messages and I can show that in a browser through a servlet. This
is ideal for debugging server side.
I'm currently working on a class that redirects the System.out t
Hi,
I would be more happy to know the solution as i do need it. Hope you would
send me once u have got it.
Thanks
Jagan Rao M
Calixto Melean <[EMAIL PROTECTED]> wrote:
I am looking for code inspection resources on JSP pages. Any guidelines
on how to do it, what things to look for, checklist.
HI Chris,
I am not sure why you want them. I guess it can be done. I am sure main
method will not run in JSP so you have to write some method which does your
process and gives an output. Now if you want to get the output try to print it
as a file in the server. Then you have to find the loca
Where can i get help for JSP implicit objects
session,application,request,responseetc
Can u tell me links Also books for the same
Manish.
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTE
JSP list,
Could anyone help me? I am attempting to run a java class (which
has a main method) from within a jsp page, and display the
output, which is being sent to System.out.println. Is this
possible, I feel that it should be, but my attempts have all
fallen flat.
If this is not simple to do wi
you can use Jbuilder3.5 EE. But the evaluation copy is not free. So, if you
want to get it, you have to pay 7 US$. Just check the jbuilder's site for
more info.
> --
> From: Randy San Miguel[SMTP:[EMAIL PROTECTED]]
> Reply To: A mailing list about Java Server Pages specificat
Greetings,
I am looking for a development tool for JSP and EJB's other than
Oracle JDeveloper3.0. I also seek help regarding JSP deployment to any
application server.
Thanks in advance.
-randy
===
To unsubscribe: mai
You may use a format as follows:
file.ini
---
driver=namedriver
db=namedb
.
this is the classical format of a properties file.
Than you just open a stream to that file and use the load function of a java.util.
Propeties object to load the whole file.
than do something like:
name=pro
well, just read the text file ;-)
However, you might want to store more than just the database name. Maybe you
also want to put other connection parameters like userid, servername,
password there. Or parameters for several databases.
In that case consider using a Properties object. This has method
Ritu Kama wrote:
>
> Hi all,
>
> My requirement is as follows:
>
> I have a initialization file containing the database name.
> Thru my bean I want to read the DB name and establish connection with that
> particular database. I don't want to hardcode the db name.
>
> Please suggest how to achieve
Ritu Kama wrote:
>
> Hi all,
>
> My requirement is as follows:
>
> I have a initialization file containing the database name.
> Thru my bean I want to read the DB name and establish connection with that
> particular database. I don't want to hardcode the db name.
>
> Please suggest how to achieve
Thanks to all who gave me tips.The Error, why my page did'nt refresh, was that
the scope of the Bean was only page. Changed to session it worked fine.
Thanks a lot
Herb
===
To unsubscribe: mailto [EMAIL PROTECTED] with body:
Hi,
You can creat a jsp file, and define the url, username, password
variables in it. In the JSP or other files need to connect to DB include it.
I think it is faster than reding files to get the string before connect to
DB.
For example:
1.db.jsp
<%!
String m_url = "jdbc:oracle:thi
Hi all,
My requirement is as follows:
I have a initialization file containing the database name.
Thru my bean I want to read the DB name and establish connection with that
particular database. I don't want to hardcode the db name.
Please suggest how to achieve this.
Thanks
Ritu
==
55 matches
Mail list logo