Hello there..
i am working on Weblogic and EJB u can discuess yr problems with me..
may be possible that i cna help u in that..
thanx
happy working.
vikram
[EMAIL PROTECTED]
__
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
Hi Berin:
Your codes work correctly in my side. I do not know what's wrong with
your codes in your side.
It gives your compile error, run error or just do not show the records
in the db?
Have you deploied the test3 javabeans?
Have you changed the codes in test3java file and
- Original Message -
From: Pratik [EMAIL PROTECTED]
To: A mailing list about Java Server Pages specification and reference
[EMAIL PROTECTED]
Sent: Saturday, June 10, 2000 11:08 AM
Subject: Re: Re: Urgent:Displaying 10 records in one page
Hi I want to clear some doubts about this
Hi Steve,
thanx for your reply.
well, i am not exactly defining a mapping for .do file...
i just call the servlet as /servlet/myservlet
and in Configure JVM attributes i put already all the files required for my
application.-.
and that is the problem, i don't know why i am getting
Dear Ashish,
Try br,p etc.
Som
--
From: Ashish Bhatia[SMTP:[EMAIL PROTECTED]]
Reply To: A mailing list about Java Server Pages specification and reference
Sent: Thursday, June 08, 2000 12:08 PM
To: [EMAIL PROTECTED]
Subject:mail using JSP
Hi,
In my
Hi.
After executing a stor proc with multiple ResultSets selected, how do you
get each of the ResultSets back? The code below gets back the first
resultset selected by P_dindin, but not the second. What am I doing wrong?
ps.getMoreResults() is true when it is called, but rs1 never gets any
hi all
i developed an app made of servlet and jsps..
in my jsps i am calling the servlet with the followint path
/servlet/myservlet
i put the jar file of my servlet in the root/web-inf/classes directory of
tomcat
On WinNT everything works fine
On Unix it returns me an error,
Just as you do in HTML, however, to pass parameters, just use the %= JSP
code % inside the ( ) of a javascript function.
For example, I call my javascript function in the onload="" call of the
body tag with specific request information:
body onload="%= someBean.getXXX() %"
I am not sure..but
Craig..do you actually know those RFC numbers by heart..or do you look them
up? ;)
HI,
You can refer to "complete reference" by the (in??)famous
Patrick Naughtan.
Plus may be you will need the RFC for http protocol.
More specifically, a web server typically implements the HTTP/1.0
Please, how can I get the value of a web server variable (like
LOGON_USER) ? In ASP, I did request.servervariables("LOGON_USER").
Thanks in advance,
==
Sergio Stateri Jr
System Analyses
Sao Paulo (SP) Brazil
[EMAIL PROTECTED]
==
I want to display a messagebox using beans in a jsp
page.
Could anybody help me out. I want to use the function
like
beanid.show().
Is it possible ?
Thanks.
__
Do You Yahoo!?
Yahoo! Photos -- now, 100 FREE prints!
http://photos.yahoo.com
Before I turned this group for help, I used the web-based electronic support and sent
allaire the message, I also posted the message on Jrun support forum,
http://forums.allaire.com/JRunconf/Thread.cfm?Thread_ID=168264mc=1. Have not get any
reply.
I used Jrun 2.3.3 build 157. Thanks.
JJ
Hi,
I was wondering, following the Struts framework, Model 2, etc..since
servlets merely map the JSP extension to their own incarnation of
JSPServlet, is it possible to map all JSP pages to my ControllerServlet (or
for that matter, the controller servlet of the Struts framework), so that I
could
We have been having this sort of problem with JRun as well. Bet if you look
in the error log you'll see a load of JSP compile exceptions...
Here's my experience of JRun so far:
2.3 won't parse Javascript properly
2.3.3 sometimes won't even parse straight html properly
3.0 seems to work with
Hello,
Could someone tell me how to set up the properties which will be used for an
application context in apache-tomcat environment?
suppose i have a property file named eligible.properties created. how and
where should I do the config? I did not see the server.properties file in
apache-tomcat.
Hi, Scott,
Using cut and poste strategy, I figured out it is caused by the © (copyright
character, c in a cycle, or ansi 169 char). When this character is deleted, everything
displays fine. Why? because it is not a ASCII?
JJ Fu
Scott Stirling [EMAIL PROTECTED] 06/09/00 10:05PM
Which
Hi Reinhard Pilz,
Could you send me your SessionInterceptor class, please. I experienced
some problems implementing this class by myself and I have a project
waiting for me. My constraint is not to use Cookies, so I tried to
remove them but I failed :( I looked in the source codes, but I
If you cannot find them in j2ee.jar, I guess you'll have to download the
parser yourself. I downloaded Sun's XML standard extension files, which
proved to be working very well. Here is the link:
http://java.sun.com/products/xml/
It contains an experimental technology release (Java Project X)
From my experience, one way you can find out the source of this kind of
problem is to find the generated Java source code file and check it.
Sometimes the file name can be very strange.
Shane Duan
Lead Software Developer
[EMAIL PROTECTED]
EquipmentAuction.com
3315 West 12th Street
Houston, TX
Thanks for any help you can provide.
Reference: Web Development with Java Server Pages pgs. 258, 278
I'm having a problem with the FAQ project, specifically AddCommand.class
and FaqRepository.class. I compiled FaqRepository.java first, then
AddCommand.java, but the compiler states getInstance()
Hi, I need help for doing the following:
I have total of 5 JSP pages
1.jsp is a form that has serveral fields
2.jsp is a processor which validates the form data 1.jsp (through a
java bean) then forward to another page
3.jsp is that should display some of the data obtain from 1.jsp
4.jsp is the
I am trying to send some values from one page to
another or to the same page while submitting the form
as :
function submitInfo() {
document.frm.method="post";
document.frm.action="test.jsp?Id=100val=200"
document.submit();
}
In the JSP page when I request for the values as
% int progId =
Problem with case? Id vs ID
-Original Message-
From: Geeta Kottapalli [mailto:[EMAIL PROTECTED]]
Sent: 12 June 2000 18:20
To: [EMAIL PROTECTED]
Subject: JSP - JavaScript Question ??...URGENT!!
I am trying to send some values from one page to
another or to the same page while
say document.frm.submit();
Also Put a semi colon after the line document.frm.action=;
-Original Message-
From: Geeta Kottapalli [SMTP:[EMAIL PROTECTED]]
Sent: 12 June 2000 22:50
To: [EMAIL PROTECTED]
Subject:JSP - JavaScript
Hi ,
I am new to jsp and want to design a form. The form has 2 fields id and
password. I want to check in jsp whether if the field is null then re-direct
him to login.html again. Below is my code, if i am sending blank id field
still i am getting hello printed on the browser but i want it to
Rajesh Nagarjunan wrote:
Hi
I have been trying to locate some information on how I can use the
reusable classes (not beans but close to beans) that was developed for
other project in my new project with Jsp architecture I found that
none of the online tutorials nor FAQ's discussed
Kevin Duffey wrote:
Craig..do you actually know those RFC numbers by heart..or do you look them
up? ;)
Yah, I know all 3000 or so of 'em by heart :-).
Actually, I got pretty familiar with these particular RFCs when working on Tomcat.
Craig
HI,
You can refer to "complete
I missed the URL on the jsp tutorial suggested. Does anyone have it handy?
Thanks in Advance
~~Julie
[EMAIL PROTECTED] 6/10/00 10:30:14 PM
Hello All,
I would like to thank all of those who suggested this cool tutorial on the IBM site.
It was all about JSP/ Servlets and stuff. Admittedly one
Peter White wrote:
Hello,
I'm building a site that includes a dynamic header file based on who the
visitor was referred by. I'm currently including the header as follows:
% if (referred_by != null referred_by.equals("ClientA")) { %
%@ include file="ClientA/clienta-siteheader.html" %
Kevin Duffey wrote:
Hi,
I was wondering, following the Struts framework, Model 2, etc..since
servlets merely map the JSP extension to their own incarnation of
JSPServlet, is it possible to map all JSP pages to my ControllerServlet (or
for that matter, the controller servlet of the Struts
try
if (request.getParameter("cid") != null) {
// blah blah
}
-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Kuklani Mahesh
Sent: Monday, June 12, 2000 10:37 AM
To: [EMAIL PROTECTED]
Subject: If
HiWith reference to your mail the opportunity sounds greate...I would like to know
more details about this offer and what should I do to get in.I am a software engineer
working bay area,CA.I tried to reach you through telephone but the extension was
invalid.So pl send me the detilas of you
Your best bet is to go to http://www.manning.com/fields and then go to
author online and ask them directly in the discussion group.
-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Xtra Help
Sent: Monday,
Try giving the whole path in the action
document.frm.action="http://localhost:portnum/test.jsp?Id=100val=200"
or
on some browser versions the above didnt work
if I gave the action in the form tag like
form action="http://localhost:portnum/test.jsp?Id=100val=200" it works
Sri
"Geeta
Hi,
I am getting caching problem. My browser (I.E 5)always shows previous
versions of pages.
This problem occured suddenly. I am dynamically creating pages using
JSP.(Apache-JServ)
Is this a browser problem? how to get rid of this using JSP
thanks
Arun Reddy
This might work try using the equals method
if ( id.equals("")
{
out.println("Invalid login Id");
}
else
{
%
jsp:forward page="What ever page or JSP you want"/
%
following code
%
Santosh
Kuklani Mahesh [EMAIL PROTECTED] on 06/12/2000 01:37:08 PM
Please respond to A mailing list
as written you're initiating a GET method ("?Id=100val=200"). in addition the form
Parameter name is "Id" while the jsp is looking for a Parameter named "ID". on top
of that your request.getParameter("ID"); can't be an integer. it's an Object or
String.
try this:
first the form element "Id"
if you're passing the form values to a bean, the scope of the bean has gotta be
"session". if not enumerate the parameters of the form and pass them from one page
to the next as hidden values, each jsp being a form.
Helen Wan wrote:
Hi, I need help for doing the following:
I have total of 5
Create a bean with session scope and then pass the form data directly into
your bean.
for example:
jsp:useBean id="ReportBean" scope="session" class="MyBeans.Web_Report"/
jsp:setProperty name="ReportBean" property="rowDisplayCount"
param="txt_size"/
where param is the form feild you are
Hi
Can anybody give me a suggestion on this one.
I am displaying data in table format from a JSP accessing DB2 (very
simple). The user wants this data in an excel or a delimited file (which
I can extract from the resultset).
Now how do I create this delimited file, which can then be emailed to
Thanks santosh.
The invalid part is working fine. But in giving jsp:forward with file it
gives an exception
jsp:forward page="file://d:/... the path i get following exception
java.io.IOException: The filename, directory name, or volume label syntax is
incorrect
at
Hi all,
I'm trying to run the example in the book Web development with JSP by Fields
and Kolb. Page 234-240.
I'm using JSWD 1.0.1. The server start fine but I'm still getting HTTP 500
- Internal server error when I try to run the example from the
book.(Servlet-centric design).
Do you know why
I did the same. Except I am getting the RequestDispatcher from the implicit object
'application' inside a jsp page. However, I don't it has any effect on which
browser you are using, because everything that is happens here is on the server
side.
Attili Srinivas wrote:
I use weblogic 4.5.1
Hi,
I have to download a image file provided by user to my Databae server ..
so that i can show his image on my website.
Can anybody tell me the How can i do this??/
Regards,
Sankar
===
To unsubscribe: mailto [EMAIL
I use weblogic 4.5.1 and I have similar problems with request dispatcher and
forward.
In my case I do get a request disptacher.
I get a servletcontext using getServletContext().
I get a request disptacher using servletcontext
.getRequestDispatcher("filename");
and
Hi,
Can you tell me what browser and version u r using...
try to put everything in the form tag like method,target and action
Sri
"Geeta Kottapalli" [EMAIL PROTECTED] on 06/12/2000 02:43:49 PM
Please respond to "A mailing list about Java Server Pages specification and
reference"
try this, put the calculator.gif in the same directory as your showGif.jsp
file.
showGif.jsp
try
{
String strConfigPath
=config.getServletContext().getRealPath(request.getServletPath());
int intPos =0;
intPos = strConfigPath.lastIndexOf("\\");
strConfigPath =
I agree with you completely, Dan.
In our last project our servlets were passing beans to JSP pages, and in
some of these the simplest way to get data out of them was a few lines of
Java code in the JSP.
I'm not convinced that the complete separation of HTML and Java is a
particularly worthy
How do you delete session variables?
Travis Reeder
Director, Internet Technologies
Xabre.com
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found
Could there be a problem with the URI ?
I have tried the same in Solaris and NT and it works without any problem
under WLS 4.51
RequestDispatcher ServletContext.getRequestDispatcher(String uripath)
before getting in to any complications , please have a "helloworld1
Servlet" which dispatches to a
Geeta,
Another problem ... request.getParameter will return a value of type String.
Use the Integer wrapper class to create an Integer object, then set your int
variable to its intValue() ...
% int progId = new Integer(request.getParameter("Id")).intValue();
...blah...
%
Thanks,
P.J. Tenn
When you say served by Tomcat. Do you mean you are also using Tomcat as your
Http web server in addition to it functioning as a JSP container? Or are you
using apache as your web server and Tomcat as the Jsp Container?
Casey Kochmer
[EMAIL PROTECTED]
From: David Castro [EMAIL PROTECTED]
did you try this:
% String id = request.getParameter("cid") ;
if(request.getParameter("cid") != null)
{
out.println("Hello ") ;
out.println(id) ;
}
else
{
response.sendRedirect("D:\\jswdk\\jswdk-1.0.1\\examples\\WEB-INF\\servlets\\
login.html") ;
} %
like I
Travis,
The following code should remove the object from the session.
% session.removeAttribute("some-key"); %
Chris Siemback
Enterprise Java Consultant
Verge Technologies Group, Inc.
Verge's CTO, Jason Westra, is Earthweb.com's newest featured author.
What exactly are you trying to do? Do you need to remove objects from the
session after use, if so, then:
session.removeValue(String);
From: Travis Reeder [EMAIL PROTECTED]
Reply-To: A mailing list about Java Server Pages specification and
reference [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Granted, this is a severe example, as it throws out all session variables,
but it should answer your question:
// throw EVERYTHING out
String[] values = sess.getValueNames();
for (int i = 0; i values.length; i++)
sess.removeValue(values[i]);// this is
Hi,
I just want to know the main difference between
JSP1.0 and JSP1.1.
Actually we started Dev in Iplanet4.1 which supports
jsp1.1. But at the middle we decided to go for IBM
websphere studio for developing JSPs.i found it
supports only JSP1.0.
i justwant to know is there any majaor difference
To add or overwrite a named value, you use the putValue() method. To remove
a named value altogether, use the removeValue() method.
Cheers,
Naggi
At 02:54 PM 6/12/00 -0600, you wrote:
How do you delete session variables?
Travis Reeder
Director, Internet Technologies
Xabre.com
I forgot to mention this variation on my machine also solves the problem you
mention of the parent page poping up over your popup window.
Dont forget there is a javascript bug (or design feature) which when trying
to open up a popup window that is already open, nothing seems to happen(ie
the
--- casey kochmer [EMAIL PROTECTED] wrote:
When you say served by Tomcat. Do you mean you are also using Tomcat as your
Http web server in addition to it functioning as a JSP container? Or are you
using apache as your web server and Tomcat as the Jsp Container?
Tomcat is serving in both
Wow, well I tested your problem and receieved a variation of the problem you
described.
I used the following code to get around the Page reloading issue:
script language="JavaScript"
!--
function openWindow(url, name, rs, w, h)
{
var resize = "";
if (rs)
Thanks Chris. My problem is solved.
-Original Message-
From: Chris Ernenwein [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 12, 2000 5:25 PM
To: [EMAIL PROTECTED]
Subject: Re: If condition in jsp
did you try this:
% String id = request.getParameter("cid") ;
Dear Friend,
I got to know you from
http://www.mail-archive.com/jsp-interest@java.sun.com/msg04862.html.
My name is Sergey, I'm from Boston, U.S.A. and I've been living with my
family in India for the last 5 months.
To come to India was always something that we wanted all our life, a "dream
Hi folks. A little help please...
I'm tying to convince my manager that we should be developing in JSP and not
go to PHP.
Here are my arguments. Comments and additions please?
-JSP allows for the use of all the Java features including JDBC, integration
with servlets, and full use of object
I have coded both ways and have found tags to be useful when there is a lot
of validation in the tags or specialized processing. Otherwise, JSP tags do
not reduce bugs or system maintainability (over using beans/model2)
Just my $0.02
Daniel
- Original Message -
From: Michael Prescott
absolutely not, the same URI and it works fine with sendRedirect()
Naggi Rao wrote:
Could there be a problem with the URI ?
I have tried the same in Solaris and NT and it works without any problem
under WLS 4.51
RequestDispatcher ServletContext.getRequestDispatcher(String uripath)
before
Hi,
I have a problem in Faqtool example. I can run the example, create faq
and save it
but, when I select update faq, it show me there are some rows in the page,
but the Question
the Answer is empty. I try use "FaqServletall.jsp" to list all faqs,
and
it also just
list
Question:
TMC Group Inc. is a manufacturer of Specialty Vehicles for
the Business and private sector.
Let TMC help you expand your business. The New Generation
is on the move! More businesses are bringing their products and
services to the consumer. More consumers are purchasing from
their offices
The first thing i noticed about this code was the second word "FORM" is
spelled wrong. It should work if that is corrected. "document.form.action
.. "
I didn't notice anything else wrong with it.
BP
document.frm.action="http://localhost:portnum/test.jsp?Id=100val=200"
Attili Srinivas
http://www-4.ibm.com/software/developer/education/jsp/custom/frame_d05010.h
tml
Julie McKay [EMAIL PROTECTED] on 06/12/2000 10:43:42 AM
Please respond to A mailing list about Java Server Pages specification and
reference [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
cc:(bcc: Savitha
Hi ,
1)Can you access the servlets independently ?
2)try getting all the loaded servlets as:
ServletContext context getServletContext();
Enumeration names=context.getServletNames();
while(names.hasMoreElements() ) {
String name =(String) names.nextElement();
out.println("Servlet : + name + " is
-JSP allows for the use of all the Java features including JDBC,
integration
with servlets, and full use of object oriented design and programming.
I consider this the most important advantage of JSP over PHP. Obviously, PHP
has some level of oop support, but it's pretty limited and gets
Daniel Rosengarten wrote:
I have coded both ways and have found tags to be useful when there is a lot
of validation in the tags or specialized processing. Otherwise, JSP tags do
not reduce bugs or system maintainability (over using beans/model2)
Wearing my Java developer hat, one major
I'm having following problem in JRUN.My server ( unix -- sun ) was
restored after crash and It worked fine for some time
and after some time I have this problem.can anyone tell why it happens
like this.
We are using Jrun2.3.3
First it gives following messages
Too many concurrent JRun requests
Naggi Rao wrote:
Hi ,
1)Can you access the servlets independently ?
Yes, I could. 'aplication' is the servletContext object inside JSP.
2)try getting all the loaded servlets as:
ServletContext context getServletContext();
Enumeration names=context.getServletNames();
I don't think there is a function you can call to convert
'' into lt; '' into gt; and '' into amp; I assume that
is what you are looking for.
I ended up writing a small function that loops thru a
StringBuffer and calls replace() to do the above
translation.
Good Luck
]Monty Shaw[
===code
Are you using Netscape Server for proxying..?
1)If so could you take that out and try it directly with the WLS
2)Check if the Dispatcher object is null (or not null rather !)
3)Print some debug messages from the servlet2
and check..
Thats because as far as I know there is no such issue with
After briefly playing with taglibs over the weekend, I think taglibs
will make the most sense to add funcationality that should be
standardized
One example that I'm trying to work on is a 'tree' tag. You know a
collapsable/expandable list of elements. It's an element should be
part of HTML, but
Playing devil's advocate: avoid scriptlets, write a taglib tag to do the
task!
Sounds like a lot of work doesn't it.
Dan
--
From: Chris Ernenwein[SMTP:[EMAIL PROTECTED]]
Reply To: A mailing list about Java Server Pages specification and
reference
Sent: Monday,
I am setting some cookies in a servlet with default path and default domain.
When I try to view the cookie in a jsp page in a directory, the cookies are
not visible. However when I try to view the cookies in the same directory
as the login page I can see them.
Any clues why I am be seeing this
Mark Wilcox wrote:
While building taglibs can(is) confusing for the unitiated (though
there are a lot harder things to build than a taglib), hopefully,
taglibs will likely be built as components that we can obtain and
install, leaving the heavy lifting to taglib authors.
To sweeten the pot
Where is the FaqTool located?
- Original Message -
From: "Louis" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, June 13, 2000 1:30 AM
Subject: Jrun 3.0 WDJSP - Faqtool example
Hi,
I have a problem in Faqtool example. I can run the example, create faq
and save it
"Kirkdorffer, Daniel" wrote:
Playing devil's advocate: avoid scriptlets, write a taglib tag to do the
task!
Sounds like a lot of work doesn't it.
Nope ... not when it's already done. Check out tonight's nightly build of Struts
at http://jakarta.apache.org/builds/struts/nightly, which lets
Well, I'm sorry. On the other hand, it wasn't important enough for you to
open an incident via the telephone though, was it? The suport forums are
free and inundated with questions every day.
Excuses aside, let me go over what would have happened if you'd called tech
support to open a paid
Gee-whiz, JRun's takin' a beatin' today. I feel compelled to defend it.
But I can also relate to the frustration of having to deal with bugs since
it affects me pretty directly in support. ;-)
Give JRun 2.3.x a break. It's been around since late 1998. JRun 2.3.3 was
released in
Hi
I have a situation here, please help me with pointers and comments on this.
Well, if I use JSP files for displaying data (presentation tier only) and JSP /
servlets in the ( interface to the businesslogic layer) next layer which talks to my
beans, I have two situations,
1. Where
Business continuity and disaster recovery planning has now
been made easier than ever with Version 7.3 of the
Disaster Recovery System (DRS) product. DRS provides a
plan for inaccessibility or inoperability (a disaster situation).
DRS is an industry standard software product, used by thousands
Craig,
Thanks for the quick response. Your assumption was fairly accurate. It
originally returned a filename ending in ".html" since our design guy
creates the headers in DreamWeaver. I changed the extension to ".jsp", per
your suggestion, and everything worked as I had hoped for.
Thanks!
Sorry to bothering u but i need any mailing list just like this mailing list
that talking about java script .. i really appreciate it if u can tell me
Regards ..
===
To unsubscribe: mailto [EMAIL PROTECTED] with body:
Hi All!
Can anyone help me finding out the possible methods of uploading a file from
Cilent side to the Server.
Provided we are having Java at the Server side.
AMAD
===
To unsubscribe: mailto [EMAIL PROTECTED] with body:
[EMAIL PROTECTED] wrote:
Hi! We are Russian girls - Olga,Lena, Vera. We would like to
correspond with you. Visit our site and see our photos.
http://www.bestgirls.narod.ru/
With interest, Olga,Lena, Vera.
P.S. (This is not spam. You can unsubscribe at any time by sending an email
to
[EMAIL
what is this going on
this si jsp specification mailing list or what
somebody explain it
ralhan
-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Hitesh panchal
Sent: Tuesday, June 13, 2000 10:44 AM
To:
Hello all,
I am using Model 2 (Serlvet + Beans + JSP) for a development
of one of our projects. Now in the application I have to send
emails to the users. And the emails are in html format and
by attachement. THere is no problem in sending out email, however
I would like to know whether I can
93 matches
Mail list logo