FrontPage and JSP

1999-06-05 Thread Bob Byron



Say, I was wondering if it is possible to use FrontPage to 
create Java Server Pages.  
 
Can you customize FrontPage to use JSP tags (the '<%' 
tags)?  If so, how?  Is there a JSP FAQ for FrontPage?
 
What HTML editors are in use out there for JSP?  I am not 
referring to notepad, but WYSIWYG editors.
 
Thanks,
Bob Byron
RAD Systems, Inc.


servlets and jsp

1999-06-29 Thread Javier Gutiérrez



 
        
Hi,
 
    How can 
I pass a reference to a JavaBean from a servlet to a JSP page?
 
        
Thanks.


Frames and JSP

1999-08-10 Thread Matt Butler
Title: Frames and JSP





Hey All!


Here's the situation.  Five frame window.  Header frame, Tab Frame, Left side JavaScript tree view frame, right sight top/bottom detail frames.  HTML file code: 










  
  src="../Tabs/tab_txpr_exl.htm">
  
    
    
  
  
    
  
  
  
  This page uses frames, but your browser doesn't support them.
  
  




The JavaScript treeview calles the Servlet and the it uses callPage to call the correct JSP page to the bottem detail frame.

Code for call from Servlet:


((com.sun.server.http.HttpServiceResponse) res).callPage("/Artist/Jsp/Account/Account.jsp", req);


The Account.JSP file is also the first file that is loaded in the HTML definition of the Frame.  When I try and call this JSP page again, I get this error in the browser.

Error getting compiled page. 
Internal Error:  Cant load page compiled class {0}: {1}.


Any Ideas?


Thanks,


Matthew S. Butler
Butler Computer Solutions, Inc.
225-312-355
[EMAIL PROTECTED] 





eCommerce and JSP

1999-08-28 Thread Mike Engelhart

Hello -

I am building a web application that needs to transfer the user to a secure
server to enter credit card information.  The problem I've run into with
servlets/JSP is that you can't pass session information to another server
and back again because it violates security rules.   So, I thought I would
write a servlet that uses RMI to grab a session from the initiating server.
It had a single method:
getRemoteSession(String sessionID)  that would return an HttpSession based
on the ID that was passed to it.

That would have been fine until  I realized that the
HttpSessionContext.getSession(String id) has been completely deprecated and
will not be replaced (again because of security rules) so now  I have no way
of getting a session from the remote server.   My question is, how does
anyone build a useful ecommerce system if all servlet engines make it
impossible to move between servers.  Certainly the designers of JSDK must
have thought about moving between servers like this while retaining state.
Is there any way to do this using the JSDK 2.1/JSP 1.0 API's without writing
a ton of code?   I know the app servers out there must do this or else they
wouldn't be able to support load balancing.I think Apache JServ allows
you to get information from any other maching running JServ but
unfortunately it doesn't let you use the JSDK2.1 api which I need to be able
to use beans for business logic and JSP for display. (i.e, no
RequestDispatcher in the JSDK 2.0).

Also, in regards to the security issues, wouldn't it be better to leave
something like HttpSessionContext.getSession(String id) in the API and
require the use of the SecurityManager classes to use it instead of just
deprecating it?

Thanks for any help with this and I apologize for such a long post.

Mike

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html



ODBC and JSP

1999-12-14 Thread Jeff Brown

Let me start by saying that I'm new to the whole JSP game.  I'm an
ActiveServerPage developer that needs to port all of my ASP's to JSP's for
the next release of a product I'm working on.

What I need to do is open a connection to an ODBC source (in this case a SQL
7.0 Database) and run simple SQL calls against it.  The code I would use in
an ASP is:

Set Conn = Server.CreateObject("ADODB.Connection")
Conn.Open "dsn=SQLCharDB;uid=sa;pwd="

First of all, I need to figure out how to set up an ODBC connection to my
SQL DB on a Solaris 7 box.  Then I need to learn the correct syntax for
opening a connection to said ODBC from inside my JSP's.  Currently the web
server I'm using is Netscape Enterprise 4.0, but I'll eventually be using
Apache as well.

Any information would be greatly appreciated.


Jeffrey W. Brown
Test Engineer
Citr!x Systems, Inc.
PHONE: (954) 267-2846
EMAIL: jeff.brown @ citrix.com

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html



PWS and JSP

2000-01-04 Thread Manoj Agrawal

 I am not able to run JSP pages on PWS and JRUN.  Does anybody know if
 it is at all possible to run jsp pages on PWS.
 Thanks
 --ma

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html



BML and JSP.

2000-01-07 Thread Srinivas Gorty

Hi,
Has anyone used BML (IBM Bean Markup Language) and JSP on a non IBM WebSphere 
web server successfully? I want to include BML scriptlets in my JSP along with Java 
scriptlets. If someone has used it, please give me some pointers. I am using Apache 
Tomcat on Windows NT4.0.

TIA,
Srini.

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html



BML and JSP

2000-01-07 Thread Srinivas Gorty

Hi,
Has anyone used BML (IBM Bean Markup Language) and
JSP on a non IBM WebSphere web server successfully? I
want to include BML scriptlets in my JSP along with
Java scriptlets. If someone has used it, please give
me some pointers. I am using Apache Tomcat on Windows
NT4.0.

TIA,
Srini.

__
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html



WML and JSP

2000-02-01 Thread Simon Jakesch

hi,

has anyone experince with generating WML sites with JSP. it sould be a
problem making the sites and the content but the problem is... i need
WML as an extension for the WAP site and the JSP enignie doesn't pick up
anything else than .JSP to interpret it

any solution,

bye,simon

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html



Bookmarks and jsp

2000-02-02 Thread Mircea Moisei

Hi all,
I tried to use bookmark  in call of a jsp file.
Something like file.jsp#jump
Of course in html file generated by file.jps there is a bookmark named jump
jump
My problem is if I try to call this page from outisde Let's say an external
link  http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html



Bookmark and jsp

2000-02-02 Thread Mircea Moisei

Hi all,
Sorry. I was wrong because I tried to call a frame and not the pae that
contains the bookmark.
Regards,
Mircea

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html



javascript and jsp

2000-02-05 Thread w yen

i created a variable in javascript and want my jsp
code to recognize it, suggestion?
__
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html



EJB and JSP

2000-08-22 Thread Leonov, Stanislav (RSCH)

Hello everyone,
I'm looking for some good (better great) book on EJB and JSP to buy,
and also for free e-books (online books) or tutorials on EJB and JSP.
If you know any titles (or ISBNs) or websites,
please email them.

Thank you,

Stas
[EMAIL PROTECTED]

===
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
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Frames and JSP

2000-08-29 Thread John Bell

I have a web page made up from frame1, frame2 and frame3 say.

In frame1 is a link (which calls a servlet)  and I want to refresh frame1
and frame2 at the same time via the servlet.

I have a solution using Javascript which is nearly working but would prefer
not to use Javascript - any ideas please.

John

===
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
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Forte and JSP

2000-10-02 Thread Pahules Pete-P94645

Does anyone know how to execute JSPs within Forte and view the results
within the internal
web browser?

Thanks in advance!


Peter Pahules

===
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
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



iPlanet and JSP

2000-12-04 Thread Risto Reinpold

Hi,

I have the following mess in error log. Any help is greatly appreciated.

[04/dets/2000:12:24:05] info ( 1512): JSP: JSP1x compiler threw exception
java.io.FileNotFoundException: /test.jsp: ISO-8859-10
 at org.apache.jasper.compiler.JspReader.pushFile(JspReader.java:205)
 at org.apache.jasper.compiler.JspReader.pushFile(JspReader.java:128)
 at org.apache.jasper.compiler.JspReader.(JspReader.java:252)
 at org.apache.jasper.compiler.JspReader.createJspReader(JspReader.java:258)
 at org.apache.jasper.compiler.Compiler.compile(Compiler.java:149)
 at com.netscape.server.http.servlet.NSServletEntity.load(NSServletEntity.java:230)
 at com.netscape.server.http.servlet.NSServletEntity.update(NSServletEntity.java:149)
 at com.netscape.server.http.servlet.NSServletRunner.Service(NSServletRunner.java:461)


[04/dets/2000:12:24:05] warning ( 1512): Internal error: Failed to get GenericServlet. 
(uri=/test.jsp,SCRIPT_NAME=/test.jsp)

===
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:

 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



Websphere and JSP

2000-12-26 Thread SANJEEVB

Hi !!
Any ideas as to what version of JSP is supported by  Websphere3.02 and 3.5
respectively.
Regards
Sanjeev

===
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:

 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



flash and jsp

2001-05-20 Thread Jonas Devries

Hi all,

I want to access a flash.swf file in a jsp file.  I run an apache =
webserver and tomcat.  I've already changed the MIME types but the file =
still isn't loaded.  Can sombody help me with this little problem.  When =
the browser is loading the file, he says: file menu.jsp loading but =
that's it and nothings happens.

Thank you very much in advance

Jonas

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

===
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:

 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



LDAP and JSP

2001-05-30 Thread Blaney, Colin (CAP, CORP Contractor)

I am trying to figure out how to plug into an LDAP using JSP.  The ultimate goal is to 
extract the users and related info if anyone knows any better way.  I've tried using 
various
examples, including the WROX one, but to no avail.  Anyone have an easier way to do 
this?

---
Colin P. Blaney

===
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:

 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



Bean and JSP

2001-06-20 Thread Lester June Cabrera

Hi,

I'm new to JSP and Javabeans. I wrote a javabean for db connection to our
MySQL db. I made it into a jar file (using the jar utility) . But where
should I put it in my Tomcat directory? I will be calling this bean from my
JSP page.

Thanks a lot,
Lester

===
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:

 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



Bean and JSP

2001-06-21 Thread Lester June Cabrera

Hi,

I'm new to JSP and Javabeans. I wrote a javabean for db connection to our
MySQL db. I made it into a jar file (using the jar utility) . But where
should I put it in my Tomcat directory? I will be calling this bean from my
JSP page.

Thanks a lot,
Lester


===
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:
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

===
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:

 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



ssl and jsp

2001-08-07 Thread Bernard Granier

Hi,

I am not sure that the JSP mailing list is the rigth place for my question
however I did not find a better one.

Where can I get information on the function : get_auth_user_ssl ?

We use IPlanet Entreprise Server and Directory Server to configure an
https web site with strong authentication (server AND client are
authenticated
with certificate)

We get an error and I did not find any information on the IPlanet web site,
in the Directory Server documentation, in the  Planet Entreprise Server
Documentation
in the IPlanet FAQS, in the IPlanet developers resources and to access to
the IPlanet
newsgroup you have to get a specific subscription (funny no ?) ...

If an employee from Nescape reads this message, maybe could he understand
how to correct my problem.
The full error message is :
get_auth_user_ssl unable to map cert to LDAP entry. Reason: User's LDAP
entry doesn't have any certificates to compare, Issuer: "CN=Certificate
Manager, OU=authority, O=Police, L=Paris, ST=France, C=FR", User:
"[EMAIL PROTECTED], CN=Gunter Philips, UID=Philips, OU=Production,
O=mreted.com"

Bernard Granier
Mr Ted
115 rue du Fbg Poissonniere
75009 Paris
www.MrTed.com
Tel : 33 1 55 31 02 65
mail : [EMAIL PROTECTED]

===
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:

 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



Servlet and JSP

2000-03-28 Thread Sudhir

Hi,
  I am trying to write a application using JSP's. Currently i am
using Servlets and wrote custom methods Templates  to print out the
resultant HTML data. I want to convert this code to use JSP.

Is there any way i can give the context to a JSP page to print the page,

and pass the Data from the Servlet that needs to be printed to the JSP
page.

Any reference to external URL or Code samples will be very helpful. I am

using JRun as my Servlet Server.

Thanks
Sudhir
[EMAIL PROTECTED]
http://www.javacommerce.com

===
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
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Tomcat and JSP

2000-05-02 Thread tj kay

I have Tomcat and Apache running on my 98 machine. I can access the example
servlets that come with Tomcat, BUT I recieve the following error when I try
the example JSPs.

Error: 500
Location: /examples/jsp/num/numguess.jsp
sun/tools/javac/Main

Anyone know what's wrong?

Thanks in advance,
tj

P.S.  I set up the exact same environment on my Linux machine with no
problems... Gotta love Microsoft.

Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

===
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
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



jRUN AND JSP

2000-05-05 Thread Mohan Radhakrishnan

Hi,
   Is it possible to configure JRun for JSP 1.0 without installing it
again ?
bye,

===
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
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



JRUN and JSP

2000-05-07 Thread Aggarwal, Pawan

I am trying to work with JRUN...
My machine is a Win 95 m/c over which JRUN is installed

I tried connecting to localhost:8000 which gave me the sample jSP page.

Now when i click over any link that points to a JSP page then i dont get any
page... instead errors
However i can see the HTML pages well..
Is it that JRUN doesnot support Win 95 coz its running well over Win NT
machine..
Or some setting needs to be done...
Just to clarify i have done 2-3 uninstall and installs.

Thanks in advance,
Pawan\

-Original Message-
From:   Rajneesh Garg [SMTP:[EMAIL PROTECTED]]
Sent:   Saturday, May 06, 2000 10:52 AM
To: [EMAIL PROTECTED]
Subject:Re: Calling Stored Procedures in Oracle

Hi List,

In the example code provided, one of the statement is
int returnCode = rs.getInt("ReturnCode");
This "ReturnCode" inside the getInt() call has to be the name of the
field
in the resultset. However, I wish to return values which are not in
resultset. e.g. I wish to return value 1 if block 1 executes, 2 if
block 2
executes, and so on. So, how should I make changes?
BTW, I am using SQL Server 7.

Regards,
Rajneesh


- Original Message -
From: Franck Rageade <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, May 05, 2000 6:53 PM
Subject: Re: Calling Stored Procedures in Oracle


Jose,

it looks like this

<%!
public boolean testCookie(HttpServletRequest request) {
 String cookieCode = getCookieValue(request, "MGR2SECURITY");
 Connection DB;
 CallableStatement cstmt;
 boolean retour = false;
 if (cookieCode!=null) {
  try {
   String DSN = "DB_VO_DEV";

// Acces a l'interface JDBC
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");

// Connection a la base ("jdbc:odbc:" + DSN, login, password)
   if ((request.getServerName()).equals("localhost")) DSN =
"DB_VO_DEV" ;
   DB = DriverManager.getConnection("jdbc:odbc:" + DSN,
"VO_InternetUser",
"VO_InternetPassword") ;

   // Creation et execution de la requete

   cstmt = DB.prepareCall("{?= call sp_Cookie_Check(?)}");

// Parametres de sortie
cstmt.registerOutParameter(1,java.sql.Types.INTEGER);

// Parametres d'entree
cstmt.setString(2, cookieCode);

   boolean hasResultSet = cstmt.execute();
   if (hasResultSet) {
ResultSet rs = cstmt.getResultSet();
rs.next();
int returnCode = rs.getInt("ReturnCode");

if (returnCode == 1) retour = true;
rs.close();
   }
   cstmt.close();
   DB.close();
  }
  catch (java.lang.Exception ex) {
  }
 }
 return retour;
}

%>

Regards,

Franck

- Message d'origine -
De : "Jose Castro" <[EMAIL PROTECTED]>
À : <[EMAIL PROTECTED]>
Envoyé : vendredi 5 mai 2000 14:45
Objet : Calling Stored Procedures in Oracle


> Does anyone knows if it is possible to call Stored Procedures with
JSP's.
>
> I'm using Stored Procedures in Oracle, and some of them return
values, but
> another ones don't.
>
> Thanks in advance,
> José Castro
>
>

===
> 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
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets


===
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
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets


===
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
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

==

IIS and JSP

2000-06-20 Thread Brian Gerby

This is probably a dumb question that has already been answered but I just
joined so here goes.

How do I setup IIS to run JSP pages.  I am running Windows 2000.

Thanks
bgerby

Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

===
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
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



NES and JSP

2000-06-27 Thread Ravi Jerome Barnes

Hi,

Just need a confirmation and any further help on how to do the same.
Has anyone deployed JSPs on Netscape Enterprise Server 3.6

Any info regarding the same would be helpful

Thanks and cheers
Jerry

===
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
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



framesets and jsp

2000-07-12 Thread Grefe, Ralf

Hello,

I have some trouble to target the output into different frames.

-I have a page with a banner-, a task- and a main- frame.

  banner
t
a   main
s
k

- By using a link with a target attribut (within task) I can direct the
output (into main).
- The form in main is displayed and also the following jsp-page.
+ But I want also to update the task- and banner- frame automatically.
   -< base target="taskFrame"> with  doesn´t work
   and using a further link isn´t the right solution

thanks in advance,

Ralf Grefe

===
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
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Applet and JSP

2001-08-29 Thread M Sankar

Hi

I have a scenario here. I have an applet on my client side which is
supposed to send keep alive requests. For sending the request it needs a
parameter "session". This paramter keeps changing as and when other
requests goes to the server. Can  A jsp communicate to this applet and
update it with the new value of this parameter  when ever a change
occurs.

In other words can a JSP talk with an applet without the applet
instatiating the communication

Sankar

===
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:

 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



JavaMail and JSP

2001-08-30 Thread Hardeep Singh

Hi,

I had written a simple mail application that worked as a stand alone Java
app. Then, I converted it to a JSP and deployed it on Pramati (an app server
available from Pramati.com). Now, I deployed it on Tomcat. The same thing
does not work. The code reads:

  java.util.Properties properties = System.getProperties();
  Session session = Session.getInstance(properties,null);

  MimeMessage message = new MimeMessage(session);
  //set MIME details
  System.out.println("Connecting...");
  Transport transport = session.getTransport("smtp");
  System.out.println("Connected...");

The line session.getTransport("smtp") throws a NoSuchProviderException.
Although the same thing works as an application. My contention is that
Tomcat returns something wrong as Session. This session cannot then cannot
connect to smtp port of my webserver.

Any solutions?

Hardeep Singh
http://SeeingWithC.cjb.net

===
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:

 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



CHART and JSP

2001-11-26 Thread Peter Palombi

Hi all,

I would found a example code for jsp and chart(Excel)

thanks for the help
Peter

-
This mail sent through IMP: http://web.horde.org/imp/

===
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:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



WebSphere and JSP

2001-12-12 Thread Joe Blow

Hi there,

I'm trying to run a simple .jsp file.  Web server is IBM WebSphere
Application Server 4.0.
I can run the .html file without any problem,  but due to some reason when
I change the ext to .jsp it doesnt work.  Any ideas???

Thanks,

-Rizwan

===
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:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



WML and JSP

2001-12-19 Thread Peter Dolukhanov



Does anyone have any expierience in this 
combination? 
 
I am using JRun server to build a simple page where 
I can input a text from a user,
which is then used to query a mySQL database and 
return a table of results. 
 
The only thing I do not know how to do (which is 
key) is how to retrieve that value the user inputted on a later page.. 

 
If anyone knows any good web guides on this matter, 
or examples, I would be most appreciative.
 
Regards,
 
Pete Dolukhanov


websphere and JSP

2002-09-20 Thread Vipin Bhatia

I am deploying JSP's on websphere 3.5, but my JSP's use the 
 i.e. nested param tags in forward tag, this 
is not supported in JSP 1.0, but it is supported in JSP 1.1.
The JSP Processor coming with WebSphere 3.5 is only JSP 1.0 complaint, how do i 
upgrade this to JSP 1.1

Looking forward to an immediate response... :-(



With Regards,
Vipin Bhatia
Tarang Software Technologies Pvt. Ltd.
Tarang Towers,
82/2A, 3rd A Cross, 18th Main,
6th Block koramangala,
Bangalore - 560095, India
Phone - +91 (80) 5525660/5 Extension - 259,
Fax - +91 (80) 5531638

==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:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



Javascript and JSP

2002-10-28 Thread Wesley Choate
I am wanting to display a popup prompt using javascript to get a value, and
then use this value in my JSP page.  Is there anyway to do this?



Thanks,
Wesley Choate
Programmer / Analyst
Lavender & Wyatt Systems, Inc.
[EMAIL PROTECTED]
5805 West 12th Street
Little Rock, AR  72204
(501)664-7039

"Should array indices start at 0 or 1? My compromise of 0.5 was rejected
without, I thought, proper consideration." - Stan Kelly-Bootle

===
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:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



JavaBean and JSP

2002-11-28 Thread Lakshmeenarayana G G
Hi,
I am using JRun 4 Application Server.

I have a bean class which will read the database and convert the same in to
XML file. This bean is instantiated and the method to create the XML is
called.
Now my problem is, I want to store the XML file in a specific directory on
the server.
Right now If I give just filename to the File object it stores it in the
/bin directory.
How do I pass the absolute path to the File so that it creates the XML file
in the specified directory.

Do I need to use BeanContext. ?? If so how can I get the exact path to store
my XML file from the JavaBean.

Thanks for the time.

Lakshmeenarayana G G
CLI Division - SysArris Software
Bangalore - India
Tel. No. +91-80-665 4965, 665 5052, 664 2690 Xtn-240
Fax No. +91-80-665 0374, 655 4285
http://www.sysarris.com/

===
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:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



Page compilation and JSP

1999-02-22 Thread G. Betul Aslan

Hello, I am very new to JSP technology. In fact I am not even sure it's a technology 
already in use or ist it one that is in the development phase yet. The problem is I 
heard from our customers that, they are already using JSP. They obtained a JSP plug-in 
somewhere. Is it possible? Also where can I find resources about JSP ( Documentation, 
code examples, etc) ?

Thanks in advance.

Ganime Betul Aslan

===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".



Jrun and JSP 1.0

1999-06-02 Thread Willi Berger

Can anyone confirm if JRun has implemented JSP1.0 Specification yet?

Will

--
Will Berger
Premier Objects, LLC
[EMAIL PROTECTED]
www.premierobjects.com
(678)377-9750

===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".



Re: FrontPage and JSP

1999-06-05 Thread David Hecksel


I'd expect FrontPage support for JSP support about the same time that SQL/Server
ships a JDBC driver.

Bob Byron wrote:
 
Say, I was wondering
if it is possible to use FrontPage to create Java Server Pages. Can
you customize FrontPage to use JSP tags (the '<%' tags)?  If so,
how?  Is there a JSP FAQ for FrontPage? What
HTML editors are in use out there for JSP?  I am not referring to
notepad, but WYSIWYG editors. Thanks,Bob
ByronRAD Systems, Inc.
 

--

Regards,

Dave Hecksel
Axtive Software Corporation
(214) 880-4820

---

e.Business Personalization Made e.Z

===> For Interactive e.Business Personalization Solutions, <===
===> check out http://www.axtive.com  <===
 



begin:  vcard
fn: David  Hecksel
n:  Hecksel;David
org:Axtive Software Corporation
adr:3100 Mckinnon;;Suite 800;Dallas;Texas;75201;USA
email;internet: [EMAIL PROTECTED]
title:  Chief Technology Officer
tel;work:   (214) 880-4820
tel;fax:(214) 880-4810
x-mozilla-cpt:  ;0
x-mozilla-html: FALSE
version:2.1
end:vcard




Re: FrontPage and JSP

1999-06-06 Thread Bob Byron



Good point, however, I wasn't expecting them to support it 
directly, but I was wondering if the was a way to extend the HTML Markup 
language in FrontPage so that I could use it to edit my page and embed custom 
tags.  And again, if FrontPage won't do it, is there an alternate solution 
that caters to JSP?

  - Original Message - 
  From: 
  David 
  Hecksel 
  To: [EMAIL PROTECTED] 
  Sent: Saturday, June 05, 1999 11:55 
  PM
  Subject: Re: FrontPage and JSP
  I'd expect FrontPage support for JSP support about the same 
  time that SQL/Server ships a JDBC driver. 
  Bob Byron wrote: 
   

 Say, I was wondering if it is possible to use FrontPage to 
create Java Server Pages. Can you customize 
FrontPage to use JSP tags (the '<%' tags)?  If so, how?  Is 
there a JSP FAQ for FrontPage? What HTML editors 
are in use out there for JSP?  I am not referring to notepad, but 
WYSIWYG editors. Thanks,Bob 
ByronRAD Systems, Inc.  
  -- 
  Regards, 
  Dave Hecksel Axtive Software Corporation (214) 880-4820 
  --- 
  e.Business Personalization Made e.Z 
  ===> For Interactive e.Business Personalization Solutions, <=== 
  ===> check out http://www.axtive.com  <=== 
    


Re: FrontPage and JSP

1999-06-06 Thread Walter Jerusalinsky



 

  -Original Message-From: A mailing list about Java 
  Server Pages specification and reference 
  [mailto:[EMAIL PROTECTED]]On Behalf Of David 
  HeckselSent: Sunday, June 06, 1999 1:56 AMTo: 
  [EMAIL PROTECTED]Subject: Re: FrontPage and 
  JSP
  I'd expect FrontPage support for JSP support about the same time 
  that SQL/Server ships a JDBC driver.  
  ...
Very Good , David 
!!!
 
I installed 
allaire's HomeSite 4.01 for JSP, One week later, I uninstalled my FrontPage 
98.-
 
Walter
 
 


Re: FrontPage and JSP

1999-06-06 Thread David Wall




  I installed 
  allaire's HomeSite 4.01 for JSP, One week later, I uninstalled my 
  FrontPage 98.-
   
  Walter
   
  ---
   
  How have you liked HomeSite?  I see that it has JSP tag 
  colorizing, but it's not really JSP aware yet.  I am disappointed that 
  HomeSite is stuck in HTML-land, though.  I feel like they are pandering 
  to the "old school" that says real web developers must use HTML and not a 
  WYSIWYG editor.  But that's a tired argument of old thinkers, like the 
  people that thought you weren't a real programmer unless you wrote in 
  assembly.
   
  Personally, web pages should be designed, not coded, and 
  WYSIWYGs are great for that.  I also believe that you need to know HTML, 
  and there are many times when I have to tweak via HTML directly.  But, I 
  do prefer to WYSIWYG editors -- just like using them to build GUIs -- it saves 
  a lot of time and gives you immediate feedback, and you can always tweak the 
  source when needed.  I just bought HomeSite because of the poor support 
  from Symantec Visual Page (which REMOVEs JSP code because it thinks it knows 
  more about what I'm doing than I do), and now I'm wondering whether I really 
  need HomeSite -- I can use emacs for plain text editing -- and tag coloring 
  and completion is not that significant a benefit.  Maybe I'm still 
  missing something...
   
  David
   


Re: FrontPage and JSP

1999-06-06 Thread Walter Jerusalinsky



Well,
1, I _am_ an old 
school assembler, c, c++ and now Java programmer, an while I don't discard 
WYSIWYG tools because of religious reasons, I feel confortable with 
code.-
2, FrontPage has its 
own personality, and I don't like its 'coding style'.-
3, since 
I don't know a lot of HTML and CSS/STYLES tags/attributes, I feel that the 
completion tools of HomeSite helps me to learn them without pain and while I 
work, in fact , I learned a lot of HTML /STYLES since I use 
HomeSite.-
4, How much 'WYSIWYG 
aware'  is HTML? many Tags delegates to the browser the final presentation 
details.-
5, the HomeSite 
document browser and FTP facilities are much, much better than FrontPage 
equivalents.-
6. For JSP and other 
server side programming, the fact that you can asociate the files locations with 
their http URL's  is very usefull.-
 
However, I think 
that HomeSIte's 'design mode' could and SHOULD be improved a lot , and the same 
for the frameset/frames editing.- Using HomeSite, I miss the FrontPage's right 
button functionality, and I see no reason for HomeSite not to implement 
it.-
 
I think that we 
need tools that let us both 'design' in a visual way _and_ 'code' the 'codable' 
axis of web pages
 
Regards,
Walter   


  -Original Message-From: A mailing list about Java 
  Server Pages specification and reference 
  [mailto:[EMAIL PROTECTED]]On Behalf Of David 
  WallSent: Sunday, June 06, 1999 7:43 PMTo: 
  [EMAIL PROTECTED]Subject: Re: FrontPage and 
  JSP
  
I installed 
allaire's HomeSite 4.01 for JSP, One week later, I uninstalled my 
FrontPage 98.-
 
Walter
 
---
 
How have you liked HomeSite?  I see that it has JSP 
tag colorizing, but it's not really JSP aware yet.  I am disappointed 
that HomeSite is stuck in HTML-land, though.  I feel like they are 
pandering to the "old school" that says real web developers must use HTML 
and not a WYSIWYG editor.  But that's a tired argument of old thinkers, 
like the people that thought you weren't a real programmer unless you wrote 
in assembly.
 
Personally, web pages should be designed, not coded, and 
WYSIWYGs are great for that.  I also believe that you need to know 
HTML, and there are many times when I have to tweak via HTML directly.  
But, I do prefer to WYSIWYG editors -- just like using them to build GUIs -- 
it saves a lot of time and gives you immediate feedback, and you can always 
tweak the source when needed.  I just bought HomeSite because of the 
poor support from Symantec Visual Page (which REMOVEs JSP code because it 
thinks it knows more about what I'm doing than I do), and now I'm wondering 
whether I really need HomeSite -- I can use emacs for plain text editing -- 
and tag coloring and completion is not that significant a benefit.  
Maybe I'm still missing something...
 
David
 


Re: FrontPage and JSP

1999-06-07 Thread Westaway Mike M

I have found Microsoft's Visual Studio (Visual Interdev) v6 effective for
building JSP.
Pages can be built in wysiwyg or HTML mode. It doesn't cope with all
possible embedded JSP, for example dynamically building options in a select
tag disables the wysiwyg view but you do get colour coding and drag-and-drop
html components. The only difficulty is to convince Visual Studio that a
.JSP is like an .ASP...

Mike Westaway

> --
> From: Bob Byron[SMTP:[EMAIL PROTECTED]]
> Sent: 06 June 1999 02:31
> To:   [EMAIL PROTECTED]
> Subject:  FrontPage and JSP
>
> Say, I was wondering if it is possible to use FrontPage to create Java
> Server Pages.
>
> Can you customize FrontPage to use JSP tags (the '<%' tags)?  If so, how?
> Is there a JSP FAQ for FrontPage?
>
> What HTML editors are in use out there for JSP?  I am not referring to
> notepad, but WYSIWYG editors.
>
> Thanks,
> Bob Byron
> RAD Systems, Inc.
>

===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".



Re: FrontPage and JSP

1999-06-07 Thread Basilio Briceño

And how use DataBases connnections with VInterDev6
writing JSP!!!



--- Westaway Mike M
<[EMAIL PROTECTED]> wrote:
> I have found Microsoft's Visual Studio (Visual
> Interdev) v6 effective for
> building JSP.
> Pages can be built in wysiwyg or HTML mode. It
> doesn't cope with all
> possible embedded JSP, for example dynamically
> building options in a select
> tag disables the wysiwyg view but you do get colour
> coding and drag-and-drop
> html components. The only difficulty is to convince
> Visual Studio that a
> .JSP is like an .ASP...
>
> Mike Westaway
>
> > --
> > From: Bob Byron[SMTP:[EMAIL PROTECTED]]
> > Sent:     06 June 1999 02:31
> > To:   [EMAIL PROTECTED]
> > Subject:  FrontPage and JSP
> >
> > Say, I was wondering if it is possible to use
> FrontPage to create Java
> > Server Pages.
> >
> > Can you customize FrontPage to use JSP tags (the
> '<%' tags)?  If so, how?
> > Is there a JSP FAQ for FrontPage?
> >
> > What HTML editors are in use out there for JSP?  I
> am not referring to
> > notepad, but WYSIWYG editors.
> >
> > Thanks,
> > Bob Byron
> > RAD Systems, Inc.
> >
>
>
===
> To unsubscribe, send email to [EMAIL PROTECTED]
> and include in the body
> of the message "signoff JSP-INTEREST".  For general
> help, send email to
> [EMAIL PROTECTED] and include in the body of the
> message "help".
>

===
:-) Saludos,

Bacho
[EMAIL PROTECTED]
_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".



Re: FrontPage and JSP

1999-06-11 Thread Richard Vowles

To get this thread back to its orginal question, FrontPage will probably
support XML at some stage. Since JSP uses XML with the jsp namespace, you
should eventually be able to use it with FrontPage.

"Basilio Briceño" wrote:

> And how use DataBases connnections with VInterDev6
> writing JSP!!!

--
Richard Vowles, Senior Systems Engineer,
Inprise New Zealand
MAIL: [EMAIL PROTECTED], [EMAIL PROTECTED]
HTTP: http://www.esperanto.org.nz
[my messages contain my own opinions, not those of my employer]

===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".



Tag libraries and JSP

1999-06-29 Thread Larry Bouthillier

Hi,

I'm interested in the custom tag possibilities I see in the JSP 1.0
spec, but I cannot find any implementation details or examples.  I'm
hoping to create some custom markup that HTML folks can use in templates
to access data in the database.

For example, a tag like  that
can be dropped into the JSP by a non-techie editor, and have the
appropriate content fetched and formatted by other Java code.

I can do the query and formatting with no trouble, but I'm unsure how to
define my own tags and how to translate them into calls to Beans or
other Java code.

Can anyone point me in the right direction?

Thanks,

Larry
--

Larry Bouthillier -- [EMAIL PROTECTED]
Head of Multimedia Production
Harvard Business School
(617)495-6393

===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".



Re: servlets and jsp

1999-06-29 Thread Craig R. McClanahan

Javier Gutiérrez wrote:

>  Hi, How can I pass a reference to a JavaBean from a
> servlet to a JSP page? Thanks.

There are actually three different ways to do it, depending on how long
the reference should last, and which JSP pages (and servlets, for that
matter) should be able to see it.  In each of the cases, assume that
"myBean" is a reference to the bean you want to send, and that "theBean"
is the key I'm going to use to store the bean under (from the servlet
perspective), and use as the identity of the bean in the JSP page.

These techniques are portable to any environment compliant with the
servlet API 2.1 and JSP 1.0 specifications.  In each case, the passing
works from servlet->JSP, servlet->servlet, JSP->JSP, or JSP->servlet
transitions.


(1) Request Lifetime

Use this technique to pass beans that are relevant to this particular
request to a bean you are calling through a request dispatcher (using
either "include" or "forward").  This bean will disappear after
processing this request has been completed.

SERVLET:
request.setAttribute("theBean", myBean);
RequestDispatcher rd =
getServletContext().getRequestDispatcher('/thepage.jsp");
rd.forward(request, response);

JSP PAGE:



(2) Session Lifetime

Use this technique to pass beans that are relevant to a particular
session (such as in individual user login) over a number of requests.
This bean will disappear when the session is invalidated or it times
out, or when you remove it.

SERVLET:
HttpSession session = request.getSession(true);
session.putValue("theBean", myBean);
/* You can do a request dispatcher here,
or just let the bean be visible on the
next request */

JSP PAGE:



(3) Application LIfetime

Use this technique to pass beans that are relevant to all servlets and
JSP pages in a particular app, for all users.  For example, I use this
to make a JDBC connection pool object available to the various servlets
and JSP pages in my apps.  This bean will disappear when the servlet
engine is shut down, or when you remove it.

SERVLET:
getServletContext().setAttribute("theBean", myBean);

JSP PAGE:


Craig McClanahan

===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".



Re: servlets and jsp

1999-06-30 Thread David Mossakowski

Wow!

Poetry is what this was.

Talk about leaving nothing to add!

Someone please add this to the FAQ for future generations.



dave.


"Craig R. McClanahan" wrote:

> Javier Gutiérrez wrote:
>
> >  Hi, How can I pass a reference to a JavaBean from a
> > servlet to a JSP page? Thanks.
>
> There are actually three different ways to do it, depending on how long
> the reference should last, and which JSP pages (and servlets, for that
> matter) should be able to see it.  In each of the cases, assume that
> "myBean" is a reference to the bean you want to send, and that "theBean"
> is the key I'm going to use to store the bean under (from the servlet
> perspective), and use as the identity of the bean in the JSP page.
>
> These techniques are portable to any environment compliant with the
> servlet API 2.1 and JSP 1.0 specifications.  In each case, the passing
> works from servlet->JSP, servlet->servlet, JSP->JSP, or JSP->servlet
> transitions.
>
> (1) Request Lifetime
>
> Use this technique to pass beans that are relevant to this particular
> request to a bean you are calling through a request dispatcher (using
> either "include" or "forward").  This bean will disappear after
> processing this request has been completed.
>
> SERVLET:
> request.setAttribute("theBean", myBean);
> RequestDispatcher rd =
> getServletContext().getRequestDispatcher('/thepage.jsp");
> rd.forward(request, response);
>
> JSP PAGE:
> 
>
> (2) Session Lifetime
>
> Use this technique to pass beans that are relevant to a particular
> session (such as in individual user login) over a number of requests.
> This bean will disappear when the session is invalidated or it times
> out, or when you remove it.
>
> SERVLET:
> HttpSession session = request.getSession(true);
> session.putValue("theBean", myBean);
> /* You can do a request dispatcher here,
> or just let the bean be visible on the
> next request */
>
> JSP PAGE:
> 
>
> (3) Application LIfetime
>
> Use this technique to pass beans that are relevant to all servlets and
> JSP pages in a particular app, for all users.  For example, I use this
> to make a JDBC connection pool object available to the various servlets
> and JSP pages in my apps.  This bean will disappear when the servlet
> engine is shut down, or when you remove it.
>
> SERVLET:
> getServletContext().setAttribute("theBean", myBean);
>
> JSP PAGE:
> 
>
> Craig McClanahan
>
> ===
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff JSP-INTEREST".  For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".

--
David Mossakowski[EMAIL PROTECTED]
http://www.dwdog.com/styk  212.310.7275

"I don't sit idly by, I'm planning a big surprise"
F U G AZI

===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".



Re: servlets and jsp

1999-07-04 Thread Kirkdorffer, Daniel

I second that.  Craig's responses are extremely informative and make a book
of their own.  Someone needs to collect all of these in a FAQ of their own,
say "Craig's Detailed JSP Answers Page".  It would be one of my top
bookmarks!

Dan

> --
> From: David Mossakowski[SMTP:[EMAIL PROTECTED]]
> Reply To: David Mossakowski
> Sent: Wednesday, June 30, 1999 11:48 AM
> To:   [EMAIL PROTECTED]
> Subject:  Re: servlets and jsp
>
> Wow!
>
> Poetry is what this was.
>
> Talk about leaving nothing to add!
>
> Someone please add this to the FAQ for future generations.
>
> 
>
> dave.
>
>
> "Craig R. McClanahan" wrote:
>
> > Javier Gutiérrez wrote:
> >
> > >  Hi, How can I pass a reference to a JavaBean from a
> > > servlet to a JSP page? Thanks.
> >
> > There are actually three different ways to do it, depending on how long
> > the reference should last, and which JSP pages (and servlets, for that
> > matter) should be able to see it.  In each of the cases, assume that
> > "myBean" is a reference to the bean you want to send, and that "theBean"
> > is the key I'm going to use to store the bean under (from the servlet
> > perspective), and use as the identity of the bean in the JSP page.
> >
> > These techniques are portable to any environment compliant with the
> > servlet API 2.1 and JSP 1.0 specifications.  In each case, the passing
> > works from servlet->JSP, servlet->servlet, JSP->JSP, or JSP->servlet
> > transitions.
> >
> > (1) Request Lifetime
> >
> > Use this technique to pass beans that are relevant to this particular
> > request to a bean you are calling through a request dispatcher (using
> > either "include" or "forward").  This bean will disappear after
> > processing this request has been completed.
> >
> > SERVLET:
> > request.setAttribute("theBean", myBean);
> > RequestDispatcher rd =
> > getServletContext().getRequestDispatcher('/thepage.jsp");
> > rd.forward(request, response);
> >
> > JSP PAGE:
> > 
> >
> > (2) Session Lifetime
> >
> > Use this technique to pass beans that are relevant to a particular
> > session (such as in individual user login) over a number of requests.
> > This bean will disappear when the session is invalidated or it times
> > out, or when you remove it.
> >
> > SERVLET:
> > HttpSession session = request.getSession(true);
> > session.putValue("theBean", myBean);
> > /* You can do a request dispatcher here,
> > or just let the bean be visible on the
> > next request */
> >
> > JSP PAGE:
> > 
> >
> > (3) Application LIfetime
> >
> > Use this technique to pass beans that are relevant to all servlets and
> > JSP pages in a particular app, for all users.  For example, I use this
> > to make a JDBC connection pool object available to the various servlets
> > and JSP pages in my apps.  This bean will disappear when the servlet
> > engine is shut down, or when you remove it.
> >
> > SERVLET:
> > getServletContext().setAttribute("theBean", myBean);
> >
> > JSP PAGE:
> > 
> >
> > Craig McClanahan
> >
> >
> ==
> =
> > To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> body
> > of the message "signoff JSP-INTEREST".  For general help, send email to
> > [EMAIL PROTECTED] and include in the body of the message "help".
>
> --
> David Mossakowski[EMAIL PROTECTED]
> http://www.dwdog.com/styk  212.310.7275
>
> "I don't sit idly by, I'm planning a big surprise"
> F U G AZI
>
> ==
> =
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> body
> of the message "signoff JSP-INTEREST".  For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
>

===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".



Re: servlets and jsp

1999-07-04 Thread Richard Vowles

Craig's response is already in the FAQ (as are many of his other ones)...

"Kirkdorffer, Daniel" wrote:

> I second that.  Craig's responses are extremely informative and make a book
> of their own.  Someone needs to collect all of these in a FAQ of their own,
> say "Craig's Detailed JSP Answers Page".  It would be one of my top
> bookmarks!

--
Richard Vowles, Senior Systems Engineer,
Inprise New Zealand
MAIL: [EMAIL PROTECTED], [EMAIL PROTECTED]
HTTP: http://www.esperanto.org.nz
[my messages contain my own opinions, not those of my employer]

===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".



Re: eCommerce and JSP

1999-08-28 Thread Craig R. McClanahan

Mike Engelhart wrote:

> Hello -
>
> I am building a web application that needs to transfer the user to a secure
> server to enter credit card information.  The problem I've run into with
> servlets/JSP is that you can't pass session information to another server
> and back again because it violates security rules.   So, I thought I would
> write a servlet that uses RMI to grab a session from the initiating server.
> It had a single method:
> getRemoteSession(String sessionID)  that would return an HttpSession based
> on the ID that was passed to it.
>

One way to approach this would be as follows:
* Session is established in the non-secure servlet context
* Non-secure servlet sets a custom cookie with the session ID
  of the session in question (it will know it's own session ID without
  having to use any deprecated methods).
* This cookie is configured (domain & path) so that it will be sent to
  the secure servlet when you submit to it.
* Secure servlet receives this cookie, and submits a specialized
  request to a non-secure servlet (in the same context) to retrieve
  whatever session values are required.  This request must include
  the session identifier of the non-secure session.
* NOTE:  In order for this to work, the secure servlet needs to know
  the cookie name to submit the session ID with.  Right now (2.0/2.1
  API) this is non-standard, but it becomes standard in 2.2.
* Non-secure servlet creates a stream of Java serialized objects
  containing these values, and returns it to the secure servlet.
* A similar approach can deal with the secure servlet wanting to
  update something -- it creates what amounts to an "upload"
  request, passing a stream of serialized Java objects that the
  non-secure servlet uses to update the session contents.


>
> That would have been fine until  I realized that the
> HttpSessionContext.getSession(String id) has been completely deprecated and
> will not be replaced (again because of security rules) so now  I have no way
> of getting a session from the remote server.   My question is, how does
> anyone build a useful ecommerce system if all servlet engines make it
> impossible to move between servers.  Certainly the designers of JSDK must
> have thought about moving between servers like this while retaining state.
> Is there any way to do this using the JSDK 2.1/JSP 1.0 API's without writing
> a ton of code?   I know the app servers out there must do this or else they
> wouldn't be able to support load balancing.I think Apache JServ allows
> you to get information from any other maching running JServ but
> unfortunately it doesn't let you use the JSDK2.1 api which I need to be able
> to use beans for business logic and JSP for display. (i.e, no
> RequestDispatcher in the JSDK 2.0).
>

Apache JServ 1.0 was designed and written before the 2.1 API came out.  As a
result, it violates the 2.1 requirements related to contexts not crossing virtual
host boundaries, because it allows a zone to be shared across virtual hosts (i.e.
across the secure and non-secure servers).  Reliance on this "feature" will
require you to rewrite your logic anyway when you go to any 2.1-compliant servlet
engine, so my suggestion would be "don't go there".

>
> Also, in regards to the security issues, wouldn't it be better to leave
> something like HttpSessionContext.getSession(String id) in the API and
> require the use of the SecurityManager classes to use it instead of just
> deprecating it?
>

Note that a security manager doesn't help you unless it's modified to include
"check" methods for this purpose -- since servlets are a standard extension rather
than core, this does not seem likely.  You can use the policy permissions
mechanisms of JDK 1.2, but then you're saying "sorry ... no servlets allowed under
JDK 1.1. any more".

As for the reason this is a big deal, consider the fact that many people store
sensitive resources, such as an authenticated JDBC connection, in user sessions.
Consider also that these sorts of connections are often quite capable, because
they must be able to perform any transaction this user is authorized for.

Now, consider the fact that, unless the system administrator is careful, anonymous
servlets (i.e. those invoked with a /servlet/x URL instead of being
preconfigured in the servlet engine's property files) can be executed.

Do you *really* want such a servlet to be able to walk through all the currently
active sessions, with full access to all the user objects that are stored there?
It's just like giving anonymous DOS programs the right to say "delete *.*" across
your entire hard disk.

IMHO, servlets should never ever be allowed to access informati

Re: eCommerce and JSP

1999-08-29 Thread Mike Engelhart

> Craig McClanahan wrote:

> One way to approach this would be as follows:
> * Session is established in the non-secure servlet context
> * Non-secure servlet sets a custom cookie with the session ID
>   of the session in question (it will know it's own session ID without
>   having to use any deprecated methods).
...SNIP ...
> * A similar approach can deal with the secure servlet wanting to
>   update something -- it creates what amounts to an "upload"
>   request, passing a stream of serialized Java objects that the
>   non-secure servlet uses to update the session contents.

Thanks for the ideas.  Let me know what you think of this idea.  A few hours
after I posted the question, I found the June JDJ which describes WebLogic's
approach which is to store state information about the application in the
database.

I'm not sure of the internals of this but I got to thinking about another
possible way to handle this.

I thought that I could pass the sessionID in a cookie or URL to the secure
server.  This would then be passed onto a servlet on the secure server for
processing along with the secure form data (e.g., credit card, etc.).  This
servlet would process the data for validity and then write the form data and
the session id into a table on a database using the sessionID (which I
believe is unique) as primary key and then use the HttpSessionBindingEvent
and HttpSessionBindingListener classes to wait for the session to be bound
again and then that event could trigger a read of the form data table and
add it to the current session.  Also it could delete the row from the
database.  Is this excessive I/O for something like this?

Any thoughts?

Mike

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html



JRUN, ServletBeans and JSP

1999-09-14 Thread Borkey, Lin

Hi,

   I'm trying to write a ServletBean that communicates with my connection
pool and can be instantiated in a JSP page.  Does anyone know if JRUN
supports ServletBeans?  I'm able to access simple methods in my bean but as
soon as I try to access the servlet context (containing a reference to my
pool), I'm getting null pointer exceptions.  I can write a plain servlet and
get connections from the ServletBean but not with this
JSP->ServletBean->Connection Pool.  Any help would be appreciated.

Thanks,
Lin Borkey

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html



XML, XSL and JSP

1999-09-29 Thread Olivier Brand

I have been working with these 3 technologies (XML and XSL first) and I
have some points I would like to share with you.

I would like JSP to take advantage of XSL and XML to separate the
presentation layer from the data. So all the java object will be in the
XML document and the HTML in the XSL document. The JSP engine will merge
both to output HTML or whatever to the server.

A JSP engine should also deal more with internationalization by
providing a "bundle" mechanism in the Dispatcher. More sites are beeing
translated into multiple language, and JSP should forward to the right
JSP, Servlet without having to add complex code in the JSP/Servlet
files.

I know that JSP is defining all its tag into XML, but the concept of
putting everything in the same file couldn't be used in a real multi
style/language environment and is 100% different of what the XML
consortium is doing. The style, at the HTML level, should be modified
once, the content being dynamic should be into a separate file.

It would be great to have some feedback on this issue and see if you
might want these features inside a JSP engine.

Thanks

Olivier

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html



Re: Frames and JSP

1999-11-02 Thread Matt Butler

OK, sounds familiar.

This fix is assuming that the JSP page works correctly.

When Websphere compiles the JSP page into a Servlet, the actual code for the
JSP page will be located in
c:\websphere\appserver\servlets\pagecompile\_%HTMLDirectory%_%JSPpage%

Where HTMLDirectory is the same as your HTML Page Structure and the
%JSPpage& reflects your JSP page with a _xjsp.java or _xjsp.class extension.
You can open the .java file and look at the Servlet that Websphere creates
from your JSP page.  This can be helpful in trying to debug.

You will notice as well, the c:\websphere\appserver\servlets\pagecompile\etc
directory.  Under this directory there is a structure that reflects the HTML
page structure.  Delete all references to your JSP page from both of these
directories.  This will force Websphere to recompile the JSP.  You will have
to turn the Websphere Servlet service off to delete these files and
directories.  If you still get the problem, your JSP page has an error.

Another angle is to call the JSP's from outside the Frame page.  Websphere
can get kind of overloaded by having to compile more than one JSP at a time.
Feel free to write back if you have any other questions.

Matthew S. Butler
Butler Computer Solutions, Inc.
225-312-0355
[EMAIL PROTECTED]


-Original Message-
From: Crump, Phillip [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 02, 1999 12:08 PM
To: 'Matt Butler'
Subject: RE: Frames and JSP


Thanks for your help..
We are using Websphere 2.0.3, On an NT box..

Thanks Again..

-Original Message-
From: Matt Butler [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 02, 1999 10:26 AM
To: 'Crump, Phillip'
Subject: RE: Frames and JSP


Hey Phillip,

Never got an answer, but I found out the answer myself.  First off, I need
to know what platform, Servlet Engine, http server etc. that you are using.
I usually only got this response from Visual Age Java Test Environment.
Send me that info back and we will move forward.

Matt

-Original Message-
From: Crump, Phillip [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 02, 1999 9:57 AM
To: 'Matt Butler'
Subject: RE: Frames and JSP


Matt.. Did you ever get a response to this question??, I'm in the same
boat..
Thanks

-Original Message-
From: Matt Butler [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 10, 1999 4:40 PM
To: [EMAIL PROTECTED]
Subject: Frames and JSP



Hey All!

Here's the situation.  Five frame window.  Header frame, Tab Frame, Left
side JavaScript tree view frame, right sight top/bottom detail frames.  HTML
file code:








  
  


  
  

  
  
  
  This page uses frames, but your browser doesn't support them.
  
  



The JavaScript treeview calles the Servlet and the it uses callPage to call
the correct JSP page to the bottem detail frame.

Code for call from Servlet:

((com.sun.server.http.HttpServiceResponse)
res).callPage("/Artist/Jsp/Account/Account.jsp", req);

The Account.JSP file is also the first file that is loaded in the HTML
definition of the Frame.  When I try and call this JSP page again, I get
this error in the browser.

Error getting compiled page.
Internal Error:  Cant load page compiled class {0}: {1}.

Any Ideas?

Thanks,

Matthew S. Butler
Butler Computer Solutions, Inc.
225-312-355
[EMAIL PROTECTED]

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html



Events and JSP tags <% ... %>

1999-11-02 Thread koh hong kiat

Is there a limitation to where i can append a <%... %> in the JSP file.

If I captured an event, say onClick="", can I append <%... %> in it ?

E.g.
Text

Thank you for your help.

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html



Re: ODBC and JSP

1999-12-14 Thread Mirko Froehlich

I am just fighting with a similar issue, although not (yet) from JSP, but
from a Java application. You cannot directly access ODBC data sources from
Java, but there are a couple of options that all involve JDBC. One of them
is the JDBC-ODBC bridge, which allows you to access ODBC data sources via
JDBC. Unfortunately, this is (according to Sun) experimental, and in fact
JDK 1.2.2 has some major problems. I was unable to get this working with SQL
Server, although I was able to successfully access an MS Access database via
JDBC-ODBC. There are some third-party drivers, for example a native JDBC
driver for SQL Server (from http://www.inetsoftware.de/), which seems to
work fine. I believe there are also third-party JDBC-ODBC bridges that might
be more robust. Sun has a nice list of JDBC drivers at this URL:
http://java.sun.com/products/jdbc/drivers.html

-Mirko


> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Jeff Brown
> Sent: Tuesday, December 14, 1999 11:30 AM
> To: [EMAIL PROTECTED]
> Subject: ODBC and JSP
>
>
> Let me start by saying that I'm new to the whole JSP game.  I'm an
> ActiveServerPage developer that needs to port all of my ASP's to JSP's for
> the next release of a product I'm working on.
>
> What I need to do is open a connection to an ODBC source (in this
> case a SQL
> 7.0 Database) and run simple SQL calls against it.  The code I
> would use in
> an ASP is:
>
> Set Conn = Server.CreateObject("ADODB.Connection")
> Conn.Open "dsn=SQLCharDB;uid=sa;pwd="
>
> First of all, I need to figure out how to set up an ODBC connection to my
> SQL DB on a Solaris 7 box.  Then I need to learn the correct syntax for
> opening a connection to said ODBC from inside my JSP's.  Currently the web
> server I'm using is Netscape Enterprise 4.0, but I'll eventually be using
> Apache as well.
>
> Any information would be greatly appreciated.
>
>
> Jeffrey W. Brown
> Test Engineer
> Citr!x Systems, Inc.
> PHONE: (954) 267-2846
> EMAIL: jeff.brown @ citrix.com
>
> ==
> =
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> FAQs on JSP can be found at:
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html



Re: ODBC and JSP

1999-12-14 Thread brian

the jdbc-odbc bridge should be avoided, especially from servlets (and therefore
jsp), as it is not threadsafe.
-bml

Mirko Froehlich wrote:

> I am just fighting with a similar issue, although not (yet) from JSP, but
> from a Java application. You cannot directly access ODBC data sources from
> Java, but there are a couple of options that all involve JDBC. One of them
> is the JDBC-ODBC bridge, which allows you to access ODBC data sources via
> JDBC. Unfortunately, this is (according to Sun) experimental, and in fact
> JDK 1.2.2 has some major problems. I was unable to get this working with SQL
> Server, although I was able to successfully access an MS Access database via
> JDBC-ODBC. There are some third-party drivers, for example a native JDBC
> driver for SQL Server (from http://www.inetsoftware.de/), which seems to
> work fine. I believe there are also third-party JDBC-ODBC bridges that might
> be more robust. Sun has a nice list of JDBC drivers at this URL:
> http://java.sun.com/products/jdbc/drivers.html
>
> -Mirko
>
> > -Original Message-
> > From: A mailing list about Java Server Pages specification and reference
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Jeff Brown
> > Sent: Tuesday, December 14, 1999 11:30 AM
> > To: [EMAIL PROTECTED]
> > Subject: ODBC and JSP
> >
> >
> > Let me start by saying that I'm new to the whole JSP game.  I'm an
> > ActiveServerPage developer that needs to port all of my ASP's to JSP's for
> > the next release of a product I'm working on.
> >
> > What I need to do is open a connection to an ODBC source (in this
> > case a SQL
> > 7.0 Database) and run simple SQL calls against it.  The code I
> > would use in
> > an ASP is:
> >
> > Set Conn = Server.CreateObject("ADODB.Connection")
> > Conn.Open "dsn=SQLCharDB;uid=sa;pwd="
> >
> > First of all, I need to figure out how to set up an ODBC connection to my
> > SQL DB on a Solaris 7 box.  Then I need to learn the correct syntax for
> > opening a connection to said ODBC from inside my JSP's.  Currently the web
> > server I'm using is Netscape Enterprise 4.0, but I'll eventually be using
> > Apache as well.
> >
> > Any information would be greatly appreciated.
> >
> >
> > Jeffrey W. Brown
> > Test Engineer
> > Citr!x Systems, Inc.
> > PHONE: (954) 267-2846
> > EMAIL: jeff.brown @ citrix.com
> >
> > ==
> > =
> > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> > JSP-INTEREST".
> > FAQs on JSP can be found at:
> >  http://java.sun.com/products/jsp/faq.html
> >  http://www.esperanto.org.nz/jsp/jspfaq.html
>
> ===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> FAQs on JSP can be found at:
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html

--


Brian M. Long
RandomWalk Computing, Inc.
[EMAIL PROTECTED]
212.480.5280 x276

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html



Re: ODBC and JSP

1999-12-14 Thread Mirko Froehlich

I might be getting off-topic here, but do you have any recommendations for
alternatives to access MS-Access databases via JDBC? I think that I am going
to use i-net Software's JDBC driver for SQL Server, but I might still need a
driver for MS-Access (or ODBC in general) if the JDBC-ODBC bridge does not
work out.

-Mirko


> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of brian
> Sent: Tuesday, December 14, 1999 1:49 PM
> To: [EMAIL PROTECTED]
> Subject: Re: ODBC and JSP
>
>
> the jdbc-odbc bridge should be avoided, especially from servlets
> (and therefore
> jsp), as it is not threadsafe.
> -bml
>
> Mirko Froehlich wrote:
>
> > I am just fighting with a similar issue, although not (yet)
> from JSP, but
> > from a Java application. You cannot directly access ODBC data
> sources from
> > Java, but there are a couple of options that all involve JDBC.
> One of them
> > is the JDBC-ODBC bridge, which allows you to access ODBC data
> sources via
> > JDBC. Unfortunately, this is (according to Sun) experimental,
> and in fact
> > JDK 1.2.2 has some major problems. I was unable to get this
> working with SQL
> > Server, although I was able to successfully access an MS Access
> database via
> > JDBC-ODBC. There are some third-party drivers, for example a native JDBC
> > driver for SQL Server (from http://www.inetsoftware.de/), which seems to
> > work fine. I believe there are also third-party JDBC-ODBC
> bridges that might
> > be more robust. Sun has a nice list of JDBC drivers at this URL:
> > http://java.sun.com/products/jdbc/drivers.html
> >
> > -Mirko
> >
> > > -Original Message-
> > > From: A mailing list about Java Server Pages specification
> and reference
> > > [mailto:[EMAIL PROTECTED]]On Behalf Of Jeff Brown
> > > Sent: Tuesday, December 14, 1999 11:30 AM
> > > To: [EMAIL PROTECTED]
> > > Subject: ODBC and JSP
> > >
> > >
> > > Let me start by saying that I'm new to the whole JSP game.  I'm an
> > > ActiveServerPage developer that needs to port all of my ASP's
> to JSP's for
> > > the next release of a product I'm working on.
> > >
> > > What I need to do is open a connection to an ODBC source (in this
> > > case a SQL
> > > 7.0 Database) and run simple SQL calls against it.  The code I
> > > would use in
> > > an ASP is:
> > >
> > > Set Conn = Server.CreateObject("ADODB.Connection")
> > > Conn.Open "dsn=SQLCharDB;uid=sa;pwd="
> > >
> > > First of all, I need to figure out how to set up an ODBC
> connection to my
> > > SQL DB on a Solaris 7 box.  Then I need to learn the correct
> syntax for
> > > opening a connection to said ODBC from inside my JSP's.
> Currently the web
> > > server I'm using is Netscape Enterprise 4.0, but I'll
> eventually be using
> > > Apache as well.
> > >
> > > Any information would be greatly appreciated.
> > >
> > >
> > > Jeffrey W. Brown
> > > Test Engineer
> > > Citr!x Systems, Inc.
> > > PHONE: (954) 267-2846
> > > EMAIL: jeff.brown @ citrix.com
> > >
> > > ==
> > > =
> > > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> > > JSP-INTEREST".
> > > FAQs on JSP can be found at:
> > >  http://java.sun.com/products/jsp/faq.html
> > >  http://www.esperanto.org.nz/jsp/jspfaq.html
> >
> >
> ==
> =
> > To unsubscribe: mailto [EMAIL PROTECTED] with body:
> "signoff JSP-INTEREST".
> > FAQs on JSP can be found at:
> >  http://java.sun.com/products/jsp/faq.html
> >  http://www.esperanto.org.nz/jsp/jspfaq.html
>
> --
>
>
> Brian M. Long
> RandomWalk Computing, Inc.
> [EMAIL PROTECTED]
> 212.480.5280 x276
>
> ==
> =
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> FAQs on JSP can be found at:
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html



Re: ODBC and JSP

1999-12-14 Thread Matthew Baird

My recommendation is, don't use Access. If you still want ease of use, and a
better migration path, use MSDE, it's free, fast, SQL Server compatible, and
I can guarantee it works with the i-net driver.

I had some 'issues' with Access, namely the JDBC-ODBC driver caused a crash
that was eratic at best.

regards,
Matthew


-Original Message-
From: Mirko Froehlich [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 14, 1999 3:00 PM
To: [EMAIL PROTECTED]
Subject: Re: ODBC and JSP


I might be getting off-topic here, but do you have any recommendations for
alternatives to access MS-Access databases via JDBC? I think that I am going
to use i-net Software's JDBC driver for SQL Server, but I might still need a
driver for MS-Access (or ODBC in general) if the JDBC-ODBC bridge does not
work out.

-Mirko


> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of brian
> Sent: Tuesday, December 14, 1999 1:49 PM
> To: [EMAIL PROTECTED]
> Subject: Re: ODBC and JSP
>
>
> the jdbc-odbc bridge should be avoided, especially from servlets
> (and therefore
> jsp), as it is not threadsafe.
> -bml
>
> Mirko Froehlich wrote:
>
> > I am just fighting with a similar issue, although not (yet)
> from JSP, but
> > from a Java application. You cannot directly access ODBC data
> sources from
> > Java, but there are a couple of options that all involve JDBC.
> One of them
> > is the JDBC-ODBC bridge, which allows you to access ODBC data
> sources via
> > JDBC. Unfortunately, this is (according to Sun) experimental,
> and in fact
> > JDK 1.2.2 has some major problems. I was unable to get this
> working with SQL
> > Server, although I was able to successfully access an MS Access
> database via
> > JDBC-ODBC. There are some third-party drivers, for example a native JDBC
> > driver for SQL Server (from http://www.inetsoftware.de/), which seems to
> > work fine. I believe there are also third-party JDBC-ODBC
> bridges that might
> > be more robust. Sun has a nice list of JDBC drivers at this URL:
> > http://java.sun.com/products/jdbc/drivers.html
> >
> > -Mirko
> >
> > > -Original Message-
> > > From: A mailing list about Java Server Pages specification
> and reference
> > > [mailto:[EMAIL PROTECTED]]On Behalf Of Jeff Brown
> > > Sent: Tuesday, December 14, 1999 11:30 AM
> > > To: [EMAIL PROTECTED]
> > > Subject: ODBC and JSP
> > >
> > >
> > > Let me start by saying that I'm new to the whole JSP game.  I'm an
> > > ActiveServerPage developer that needs to port all of my ASP's
> to JSP's for
> > > the next release of a product I'm working on.
> > >
> > > What I need to do is open a connection to an ODBC source (in this
> > > case a SQL
> > > 7.0 Database) and run simple SQL calls against it.  The code I
> > > would use in
> > > an ASP is:
> > >
> > > Set Conn = Server.CreateObject("ADODB.Connection")
> > > Conn.Open "dsn=SQLCharDB;uid=sa;pwd="
> > >
> > > First of all, I need to figure out how to set up an ODBC
> connection to my
> > > SQL DB on a Solaris 7 box.  Then I need to learn the correct
> syntax for
> > > opening a connection to said ODBC from inside my JSP's.
> Currently the web
> > > server I'm using is Netscape Enterprise 4.0, but I'll
> eventually be using
> > > Apache as well.
> > >
> > > Any information would be greatly appreciated.
> > >
> > >
> > > Jeffrey W. Brown
> > > Test Engineer
> > > Citr!x Systems, Inc.
> > > PHONE: (954) 267-2846
> > > EMAIL: jeff.brown @ citrix.com
> > >
> > > ==
> > > =
> > > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> > > JSP-INTEREST".
> > > FAQs on JSP can be found at:
> > >  http://java.sun.com/products/jsp/faq.html
> > >  http://www.esperanto.org.nz/jsp/jspfaq.html
> >
> >
> ==
> =
> > To unsubscribe: mailto [EMAIL PROTECTED] with body:
> "signoff JSP-INTEREST".
> > FAQs on JSP can be found at:
> >  http://java.sun.com/products/jsp/faq.html
> >  http://www.esperanto.org.nz/jsp/jspfaq.html
>
> --
>
>
> Brian M. Long
> RandomWalk Computing, Inc.
> [EMAIL PROTECTED]
> 212.480.5280 x276
>

Re: ODBC and JSP

1999-12-15 Thread Mirko Froehlich

Thank you for this explanation. However, the JDBC-ODBC bridge really seems
to have major problems in JDK 1.2.2 (and the corresponding JDBC release). I
have experienced this myself and heard this from many other people using the
same version. I believe that it might have worked up to JDK 1.2.1, but as we
would like to go with the newer JDK for other reasons, the bridge
unfortunately is not an option for accessing SQL Server at this point.

-Mirko



> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, December 14, 1999 3:35 PM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED];
> [EMAIL PROTECTED]
> Subject: ODBC and JSP
>
>
>
>
>
> Hi everyone on this thread,
>
> I have been listening, but too busy to respond immediately.
> Some of your comments made me think I should take some
> time to sound off a little.
>
> I have used the JDBC-ODBC bridge to access SQL Server
> and it works FINE.  The major reason to utilize one of the third-
> party JDBC Drivers for SQL Server is more related to the JDBC
> Driver Model and the Type of Driver you may need ( even though
> SUN plays down it's use as more of a 'last resort', it is fully
> functional for some uses, and may be all you need to develop
> and support a product ).
>
> There are basically four different Types or Styles of JDBC Driver.
>
> If I am in an environment where there is native ODBC (such as in
> Windows 9x or NT) and I have the appropriate licensed ODBC
> Driver for my Database, and ODBC is working fine, then the JDBC-
> ODBC Bridge driver is potentially an appropriate choice, given
> certain factors, such as if everything will remain in this environment.
>
> The other Driver models reflect the varying needs of deployment
> and licensing, cost factors, lack of appropriate Drivers for a given
> platform, scalability of connection resources, etc.
>
> Other considerations might include the nature of the applications
> SQL standards compliance ( such as the need to remain RDBMS
> neutral), and datatype support, and cursor style support, etc.
>
>
> As an example:
>
> Project "BigWidget" will be sold to commercial clients who will
> be accessing the Java Beans via a Web Browser thin client
> solution ( ASP or JSP ).  I choose to use Servlets (poss. EJB)
> as the deployment framework for my DB aware Beans.
>
> My next consideration is the RDBMS of choice, transaction volume,
> isolation support, deployment hardware, DBA skills, etc.
>
> It turns out that the vast majority of my market are skilled in and
> utilize Microsoft SQL Server ( not casting any judgements about
> my clients now, are you? ).  So they dictate that I deliver my solution
> to be compatible with MS SS, and I now have to determine a few
> factors related to JDBC Driver.
>
> If the middleware where my Beans are deployed supports ODBC,
> and have a low transactional volume, and only need 'foward only',
> non-updateable cursor support, I may choose to package my
> Beans with a default use of the JDBC-ODBC Bridge Driver, and
> suggest that if their needs grow, they could then upgrade to support
> for a more robust Driver.  I can write my code to configure itself for
> any Driver the client supplies, even expanding the cursor model
> if the driver supports it ( dynamic Driver loading and querying the
> MetaData for feature checking ).
>
> If my middleware server does not support ODBC natively, I have
> a few decisions to make about where the Beans will live, which
> JDBC Driver and Style to use.  This choice will possibly impact
> scalability of the solution as well.
>
> Hope this helps to open a lively discussion around the proper
> architecture to support various needs and deployment issues.
>
> Arthur Alexander
> Senior Consultant,
> Computer Science Corporation
>
>
> -Original Message-
> From: Mirko Froehlich <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
> Date: Tuesday, December 14, 1999 6:07 PM
> Subject: Re: ODBC and JSP
>
>
> >I might be getting off-topic here, but do you have any
> recommendations for
> >alternatives to access MS-Access databases via JDBC? I think
> that I am going
> >to use i-net Software's JDBC driver for SQL Server, but I might
> still need a
> >driver for MS-Access (or ODBC in general) if the JDBC-ODBC
> bridge does not
> >work out.
> >
> >-Mirko
> >
> >
> >> -Original Message-
> >> From: A mailing list about Java Server Pages specification and
> reference
> >> [mailto:[EMAIL PROTECTED]]On Behalf Of brian
> >> Sent: Tuesday, December 14, 1999 1:49 PM
&g

Html Editors and JSP

1999-12-16 Thread Jari Worsley

Hi all,

what experience do you have of editing jsp pages using Html Editors like
Dreamweaver? Any recommendations?

The only answers in the faqs I can find say no tools support jsp
directly yet (linked from java.sun.com)

Thanks

Jari Worsley

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html



Re: PWS and JSP

2000-01-04 Thread Scott Stirling

Yes, it is.

Manoj Agrawal wrote:
>
>  I am not able to run JSP pages on PWS and JRUN.  Does anybody know if
>  it is at all possible to run jsp pages on PWS.
>  Thanks
>  --ma
--
Scott Stirling
Allaire
http://www.allaire.com

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html



Re: WML and JSP

2000-02-01 Thread Erez Bashan

> hi,
>
> i already posted this problem before but as i read, or better tried to
> read, my own posting i didn't understand it. so i thought how could
> someone else understand it.
> so once again, and hopefully this time clearer than before.
>
> I WANT to generate a dynamic WML site which gets some information out of
> a database and puts it on the WML site. I use jsp therefore. i run the
> webserver/jspengine from sun.
>
> MY PROBLEM (from my point of view) i need a file with the extension .WML
> but this is not picked up by the JSP engine of the webserver. so i have
> to use .JSP as a file extension for my file but this doesn't work with
> the mobile phone/WAP/WML (whatever).
>
> POSSIBLE SOLUTION i have to get the JSP engine to pick up .JSP AND .WML
> files. but how?
>
> i think this should be the solution if you already use JSP and WML/WAP
> and you found something else to solve this problem. please contact me.
>
>
> thank you guys in advance,
> bye,
> simon

Two answers:

1. JSP - WML/WAP combination works fine for me. The wml extension is not
necessary for my WAP gateway to understand this is a WML file. You do need
to remember to set the content type appropriately at every JSP page.

2. I think that in JRun there is somewhere an option to tell the web server
which file extensions to forward to the JRun engine. Dig in the
configuration for that. As to other engines, I don't know.

Erez


__
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html



Re: WML and JSP

2000-02-01 Thread Magnus Björkman

Simon Jakesch wrote:

> hi,
>
> has anyone experince with generating WML sites with JSP. it sould be a
> problem making the sites and the content but the problem is... i need
> WML as an extension for the WAP site and the JSP enignie doesn't pick up
> anything else than .JSP to interpret it
>
> any solution,
>
> bye,simon

Set the response content type to text/vnd.wap.wml. The charset is needed by some
WAP GWY's inorder to transcode it.

response.setContentType("text/vnd.wap.wml; charset=iso-8859-1");  //iso-8859-1 is
just an example.

This would do it.

/M


begin:vcard
n:Björkman;Magnus
x-mozilla-html:FALSE
adr:;;
version:2.1
email;internet:[EMAIL PROTECTED]
x-mozilla-cpt:;0
fn:Magnus Björkman
end:vcard



Re: WML and JSP

2000-02-02 Thread Jens Andersen

Hi,

What about dynamic generation of WBMP files! Is there any classes
available??

Regards,

Jens Andersen

-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Magnus Bjorkman
Sent: 2. februar 2000 08:31
To: [EMAIL PROTECTED]
Subject: Re: WML and JSP


Simon Jakesch wrote:

> hi,
>
> has anyone experince with generating WML sites with JSP. it sould be a
> problem making the sites and the content but the problem is... i need
> WML as an extension for the WAP site and the JSP enignie doesn't pick up
> anything else than .JSP to interpret it
>
> any solution,
>
> bye,simon

Set the response content type to text/vnd.wap.wml. The charset is needed by
some
WAP GWY's inorder to transcode it.

response.setContentType("text/vnd.wap.wml; charset=iso-8859-1");
//iso-8859-1 is
just an example.

This would do it.

/M

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html



Re: javascript and jsp

2000-02-05 Thread Antonio Calzada

You have to send it's value to the server (where the JSP kode gets executed)
either by appending it to a URL or inserting it in a hidden form field. This
implies that a request has to be done by the client to the server, or the
JSP page won't be executed nor the data transfered.

More advanced datastructures can be transfered between Javascript and server
pages with XML, like with WDDX (www.wddx.org). There is no magic to this
thou (that darn XML hipe ;-)), it just encodes/decodes the data to/from a
string, it has to be transfered as described above.

/Antonio

- Original Message -
From: w yen <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 04, 2000 6:17 PM
Subject: javascript and jsp


> i created a variable in javascript and want my jsp
> code to recognize it, suggestion?
> __
> Do You Yahoo!?
> Talk to your friends online with Yahoo! Messenger.
> http://im.yahoo.com
>
>
===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> FAQs on JSP can be found at:
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html



Re: javascript and jsp

2000-02-06 Thread Joseph B. Ottinger

On Fri, 4 Feb 2000, w yen wrote:

> i created a variable in javascript and want my jsp
> code to recognize it, suggestion?

Create the variable as a hidden value in a form and manipulate it as
normal. When the form is submitted, the JSP will have acces to it as an
HTTP form field.

---
Joseph B. Ottinger   [EMAIL PROTECTED]
http://cupid.suninternet.com/~joeo  HOMES.COM Developer
PGP Key is : http://cupid.suninternet.com/~joeo/cherem_pgpk

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html



Re: javascript and jsp

2000-02-06 Thread Dmitri Namiot

JavaScript is client side issue. So you need to
transfer this variable to server by some way.
One of solutions you can see at http://coldjava.hypermart.net
It is J2J servlet.

ColdJava: java server side programming
http://coldjava.hypermart.net


Get your own FREE, personal Netscape WebMail account today at 
http://webmail.netscape.com.

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html



Corba and JSP integration

2000-08-01 Thread Karanjit Singh

Dear Members,
  Iam goin to work on accessing database thru corba objects from my jsp
pages, if anyone has worked on this then pls put some light on this. I mean
to say where should i took connection, in some bean or in jsp page itself ?
Thx in advance,
Karan



Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

===
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
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: NES and JSP

2000-08-02 Thread Hensley, Zachary

I think 4.0 only supports JSP .92 and Servlets 2.0.  4.1 on the other hand
supports jsp 1.1 and servlets 2.1.  I am not %100 on all of that however.

-Original Message-
From: Aggarwal, Pawan [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 28, 2000 1:57 AM
To: [EMAIL PROTECTED]
Subject: Re: NES and JSP


Just check out i think JSP are not supported over NES 3.6
but 4.x

> -Original Message-
> From: Ravi Jerome Barnes
> Sent: Tuesday, June 27, 2000 11:05 PM
> To:   [EMAIL PROTECTED]
> Subject:  NES and JSP
> Importance:   High
>
> Hi,
>
> Just need a confirmation and any further help on how to do the same.
> Has anyone deployed JSPs on Netscape Enterprise Server 3.6
>
> Any info regarding the same would be helpful
>
> Thanks and cheers
> Jerry
>
> ==
> =
> 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
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
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
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
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
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: EJB and JSP

2000-08-22 Thread Scott Evans

check out http://theserverside.com/home/index.jsp for a free EJB book in
PDF.

-Original Message-
From: Leonov, Stanislav (RSCH) [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 22, 2000 5:05 PM
To: [EMAIL PROTECTED]
Subject: EJB and JSP


Hello everyone,
I'm looking for some good (better great) book on EJB and JSP to buy,
and also for free e-books (online books) or tutorials on EJB and JSP.
If you know any titles (or ISBNs) or websites,
please email them.

Thank you,

Stas
[EMAIL PROTECTED]

===
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
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
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
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: Frames and JSP

2000-08-30 Thread Jorge Barrera

Only way is with JavaScript.  Server cannot update back to 2 frames.

-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of John Bell
Sent: Tuesday, August 29, 2000 10:21 AM
To: [EMAIL PROTECTED]
Subject: Frames and JSP


I have a web page made up from frame1, frame2 and frame3 say.

In frame1 is a link (which calls a servlet)  and I want to refresh frame1
and frame2 at the same time via the servlet.

I have a solution using Javascript which is nearly working but would prefer
not to use Javascript - any ideas please.

John

===
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
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
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
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



bean and jsp question

2000-09-25 Thread Mike Lai

Hi,

I just start learning jsp and java bean, please give me some hint.

My question is: can a bean has constructor that takes argument? If yes,
how can I pass the argument using the  tag to do it?
Thank you very much.

Mike

===
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
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: Forte and JSP

2000-10-02 Thread Ting Abbey

just click on the "execute" button.
or in ie, http://localhost:8080/

> -Original Message-
> From: A mailing list about Java Server Pages specification
> and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Pahules Pete-P94645
> Sent: Monday, October 02, 2000 12:17 PM
> To: [EMAIL PROTECTED]
> Subject: Forte and JSP
>
>
> Does anyone know how to execute JSPs within Forte and view the results
> within the internal
> web browser?
>
> Thanks in advance!
>
>
> Peter Pahules
>
> ==
> =
> 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
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
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
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Native code and JSP

2000-10-13 Thread Manish Bhatnagar

Hello!
I have a JSP page that calls a native function. As we all know, to call
a native code a header file needs to be created, and javah command is
used to generate the .h file. But here, I don't have .class file as I
directly put the .jsp file in /public_html (in JWS2.0). How
do I compile my .jsp to get .class file so that I can generate .h file?

Any comments would be appreciated.
Regards,
Manish Bhatnagar

--
~~~Live-Your-Dream
Obstacles are things a person sees when he takes his eyes off his goal.

-E. Joseph Cossman

===
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
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



xsl, wap and jsp

2000-10-31 Thread [EMAIL PROTECTED]

Hi!

I have a servlet that call a .jsp producing an html output. Now I want
to know if is possible to produce a different output like wml or better
xsl...is it possible?

Thank

===
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
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



combining javascript and jsp

2000-11-24 Thread [EMAIL PROTECTED]

Hi

its possible to something like this:

function myFunc() {
  if (a_condition){
 <% myBean.setBeanProp(1);%>
 .
  }
}

or the code between <% %> is always executed?

Thanx

Raffaele Bello

===
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:

 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



Re: iPlanet and JSP

2000-12-04 Thread Panos Konstantinidis

  Well, obviously it cannot find the "test.jsp" file. Check if this file is
in the correct subdirectory or if the class path is correctly set up and all
the relevant files can be found. Also, check the configuration files in
Tomcat/Apache (whatever you are using).

  Panos


>From: Risto Reinpold <[EMAIL PROTECTED]>
>Reply-To: A mailing list about Java Server Pages specification and
> reference <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: iPlanet and JSP
>Date: Mon, 4 Dec 2000 12:53:47 +0200
>
>Hi,
>
>I have the following mess in error log. Any help is greatly appreciated.
>
>[04/dets/2000:12:24:05] info ( 1512): JSP: JSP1x compiler threw exception
>java.io.FileNotFoundException: /test.jsp: ISO-8859-10
>  at org.apache.jasper.compiler.JspReader.pushFile(JspReader.java:205)
>  at org.apache.jasper.compiler.JspReader.pushFile(JspReader.java:128)
>  at org.apache.jasper.compiler.JspReader.(JspReader.java:252)
>  at
>org.apache.jasper.compiler.JspReader.createJspReader(JspReader.java:258)
>  at org.apache.jasper.compiler.Compiler.compile(Compiler.java:149)
>  at
>com.netscape.server.http.servlet.NSServletEntity.load(NSServletEntity.java:230)
>  at
>com.netscape.server.http.servlet.NSServletEntity.update(NSServletEntity.java:149)
>  at
>com.netscape.server.http.servlet.NSServletRunner.Service(NSServletRunner.java:461)
>
>
>[04/dets/2000:12:24:05] warning ( 1512): Internal error: Failed to get
>GenericServlet. (uri=/test.jsp,SCRIPT_NAME=/test.jsp)
>
>===
>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:
>
>  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

_
Get more from the Web.  FREE MSN Explorer download : http://explorer.msn.com

===
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:

 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



Re: iPlanet and JSP

2000-12-04 Thread Risto Reinpold

Thanks for your reply. The problem was that I used other regional settings than 
English.
- Original Message -
From: "Panos Konstantinidis" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, December 04, 2000 1:07 PM
Subject: Re: iPlanet and JSP


>   Well, obviously it cannot find the "test.jsp" file. Check if this file is
> in the correct subdirectory or if the class path is correctly set up and all
> the relevant files can be found. Also, check the configuration files in
> Tomcat/Apache (whatever you are using).
>
>   Panos
>
>
> >From: Risto Reinpold <[EMAIL PROTECTED]>
> >Reply-To: A mailing list about Java Server Pages specification and
> >     reference <[EMAIL PROTECTED]>
> >To: [EMAIL PROTECTED]
> >Subject: iPlanet and JSP
> >Date: Mon, 4 Dec 2000 12:53:47 +0200
> >
> >Hi,
> >
> >I have the following mess in error log. Any help is greatly appreciated.
> >
> >[04/dets/2000:12:24:05] info ( 1512): JSP: JSP1x compiler threw exception
> >java.io.FileNotFoundException: /test.jsp: ISO-8859-10
> >  at org.apache.jasper.compiler.JspReader.pushFile(JspReader.java:205)
> >  at org.apache.jasper.compiler.JspReader.pushFile(JspReader.java:128)
> >  at org.apache.jasper.compiler.JspReader.(JspReader.java:252)
> >  at
> >org.apache.jasper.compiler.JspReader.createJspReader(JspReader.java:258)
> >  at org.apache.jasper.compiler.Compiler.compile(Compiler.java:149)
> >  at
> >com.netscape.server.http.servlet.NSServletEntity.load(NSServletEntity.java:230)
> >  at
> >com.netscape.server.http.servlet.NSServletEntity.update(NSServletEntity.java:149)
> >  at
> >com.netscape.server.http.servlet.NSServletRunner.Service(NSServletRunner.java:461)
> >
> >
> >[04/dets/2000:12:24:05] warning ( 1512): Internal error: Failed to get
> >GenericServlet. (uri=/test.jsp,SCRIPT_NAME=/test.jsp)
> >
> >===
> >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:
> >
> >  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
>
> _
> Get more from the Web.  FREE MSN Explorer download : http://explorer.msn.com
>
> ===
> 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:
>
>  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
>

===
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:

 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



Re: iPlanet and JSP

2000-12-04 Thread Chris DeLise

Make sure you have JSP and servlets enabled, a JDK installed
and configured, and if you're running on Solaris, that you have
at least service pack 1 installed. See the release notes!

Chris


-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Panos Konstantinidis
Sent: Monday, December 04, 2000 6:08 AM
To: [EMAIL PROTECTED]
Subject: Re: iPlanet and JSP


  Well, obviously it cannot find the "test.jsp" file. Check if this file is
in the correct subdirectory or if the class path is correctly set up and all
the relevant files can be found. Also, check the configuration files in
Tomcat/Apache (whatever you are using).

  Panos


>From: Risto Reinpold <[EMAIL PROTECTED]>
>Reply-To: A mailing list about Java Server Pages specification and
> reference <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: iPlanet and JSP
>Date: Mon, 4 Dec 2000 12:53:47 +0200
>
>Hi,
>
>I have the following mess in error log. Any help is greatly appreciated.
>
>[04/dets/2000:12:24:05] info ( 1512): JSP: JSP1x compiler threw exception
>java.io.FileNotFoundException: /test.jsp: ISO-8859-10
>  at org.apache.jasper.compiler.JspReader.pushFile(JspReader.java:205)
>  at org.apache.jasper.compiler.JspReader.pushFile(JspReader.java:128)
>  at org.apache.jasper.compiler.JspReader.(JspReader.java:252)
>  at
>org.apache.jasper.compiler.JspReader.createJspReader(JspReader.java:258)
>  at org.apache.jasper.compiler.Compiler.compile(Compiler.java:149)
>  at
>com.netscape.server.http.servlet.NSServletEntity.load(NSServletEntity.java:
230)
>  at
>com.netscape.server.http.servlet.NSServletEntity.update(NSServletEntity.jav
a:149)
>  at
>com.netscape.server.http.servlet.NSServletRunner.Service(NSServletRunner.ja
va:461)
>
>
>[04/dets/2000:12:24:05] warning ( 1512): Internal error: Failed to get
>GenericServlet. (uri=/test.jsp,SCRIPT_NAME=/test.jsp)
>
>===
>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:
>
>  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


_
Get more from the Web.  FREE MSN Explorer download : http://explorer.msn.com

===
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:

 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

===
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:

 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



Re: Websphere and JSP

2000-12-27 Thread Claudio Lorico

1.0

--- SANJEEVB <[EMAIL PROTECTED]> wrote:
> Hi !!
> Any ideas as to what version of JSP is supported by
> Websphere3.02 and 3.5
> respectively.
> Regards
> Sanjeev
>
>
===
> 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:
>
>  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


__
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/

===
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:

 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



MVC Architecture and JSP

2001-01-18 Thread julian sitkewich

I pose a question, in the MVC (Model-View-Controller) architecture
information is commonly passed between servlet and JSP via session. This
seems to go against certain principles of server overhead and memory
consumption. My example is this: A servlet creates a HUGE Vector object of a
company department directory list. The request is forwarded to the JSP to
list the contents of the Vector. Is there a better way than to store my
large Vector in the user Session??

Regards,

Julian
_
Get your FREE download of MSN Explorer at http://explorer.msn.com

===
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:

 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



as/400 and jsp

2001-03-01 Thread Peter Palombi

hi all,
i have made a jsp page to access to as/400 db.
..but it don't work correctly.
in the as/400 there is table ANCL200F unter the lybrary A2_DNET

and so i have wrote:
connection = DriverManager.getConnection("jdbc:as400://" + system,"","xxx");


ResultSet rs = select.executeQuery("SELECT CDCLI FROM A2_DNET/ANCL200F");

but i receive a error

[SQL5016] Qualified object name ANCL200F not valid.

when i change the code in:
ResultSet rs = select.executeQuery("SELECT CDCLI FROM A2_DNET.ANCL200F");


i receive this error

Descriptor index not valid.

.. but when i make a query by the client as/400

and wrote
select * from A2_DNET/ANCL200F

it work correctly

i can't found the error.

Someone can me help?

thanks for your help
Peter

===
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:

 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



Singleton Pattern and JSP

2001-03-01 Thread shrikantv

Hi,

I have a requirement where I have to store the data in a persistent java
class and then whenever user requires it he can use it. So per session I
want to create only one instance of the class which will be used in
different JSPs.

I want to use Singleton pattern to maintain only one instance per
session. So in any JSP if user wants to create another instance of the
class, the same instance should be returned to the user.

My doubt is, whether the scope of the class object instantiated in a JSP
will be limited to that page only or class object can be accessed if
exists, in subsequent pages also.

Please clarify.
Thanks in advance

===
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:

 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



Re: Bean and JSP

2001-06-22 Thread Atilio Ranzuglia

Lester:

With tomcat you have two possibilities:
- /web-inf/classes: all your classes should go here
- /web-inf/lib: all your libraries (.jar, .zip) should
go here

This two directories depends on the context you are
working with. If you are working with the default one
the directory containing them will be something like:
/ROOT/apps

Hope this helps
Atilio


--- Lester June Cabrera <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm new to JSP and Javabeans. I wrote a javabean for
> db connection to our
> MySQL db. I made it into a jar file (using the jar
> utility) . But where
> should I put it in my Tomcat directory? I will be
> calling this bean from my
> JSP page.
>
> Thanks a lot,
> Lester
>
>
>
===
> 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:
> 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
>
>
===
> 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:
>
>  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


__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

===
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:

 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



Re: Bean and JSP

2001-06-22 Thread Vasile Grigoras

Hi,
   You have more choices :
1.  If you archive all java beans into a jar file you have to put this jar
file in the web-inf/lib directory of the war file.
2. Leave the class file in the web-inf/classes  of the war file.
After you create the war file you have to put this file in the webapps
directory under the tomcat home directory.
Good luck,
- Original Message -
From: "Lester June Cabrera" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 21, 2001 8:07 PM
Subject: Bean and JSP


> Hi,
>
> I'm new to JSP and Javabeans. I wrote a javabean for db connection to our
> MySQL db. I made it into a jar file (using the jar utility) . But where
> should I put it in my Tomcat directory? I will be calling this bean from
my
> JSP page.
>
> Thanks a lot,
> Lester
>
>
>
===
> 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:
> 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
>
>
===
> 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:
>
>  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
>

===
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:

 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



Re: Bean and JSP

2001-06-24 Thread Lester June Cabrera

Hi. What is the correct way to making a connection to MySQL? I'm using
org.gjt.mm.mysql.Driver

Is it 1) or 2) ?

1) Connection conn =DriverManager.getConnection (dbURL, account, password);
  where dbURL = jdbc:mysql://[hostname][:port]/dbname


2) Connection conn =DriverManager.getConnection (dbURL);
  where dbURL =
jdbc:mysql://[hostname][:port]/dbname?user=user,password=password



===
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:

  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


-
Lester June Cabrera
Chief Web Programmer
I-Quest Corporation

Tel: (632) 867 8150 local 302 or 309
Fax: (63 2) 867 8077
E-mail: [EMAIL PROTECTED]

Visit the most comprehensive on-line business travel resource at
http://www.worldroom.com

Successful events start here. Visit http://www.worldroomevents.com .
The one-stop online exchange for event planners and suppliers to the MICE
industry.

===
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:

 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



Re: Bean and JSP

2001-06-24 Thread Brad Cox

JDBC supports both as does the mm.mysql driver as well as all others. See
http://virtualschool.edu/wap for code and articles.

On Sunday, June 24, 2001, at 10:35 PM, Lester June Cabrera wrote:

> Hi. What is the correct way to making a connection to MySQL? I'm using
> org.gjt.mm.mysql.Driver
>
> Is it 1) or 2) ?
>
> 1) Connection conn =DriverManager.getConnection (dbURL, account, password)
> ;
>  where dbURL = jdbc:mysql://[hostname][:port]/dbname
>
>
> 2) Connection conn =DriverManager.getConnection (dbURL);
>  where dbURL =
> jdbc:mysql://[hostname][:port]/dbname?user=user,password=password
>
>
>
> =
> ==
> 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:
>
>  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
>
>
> -
> Lester June Cabrera
> Chief Web Programmer
> I-Quest Corporation
>
> Tel: (632) 867 8150 local 302 or 309
> Fax: (63 2) 867 8077
> E-mail: [EMAIL PROTECTED]
>
> Visit the most comprehensive on-line business travel resource at
> http://www.worldroom.com
>
> Successful events start here. Visit http://www.worldroomevents.com .
> The one-stop online exchange for event planners and suppliers to the MICE
> industry.
>
> =
> ==
> 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:
>
> 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
>

---
For industrial age goods there were checks and credit cards.
For everything else there is http://virtualschool.edu/mybank
Brad Cox [EMAIL PROTECTED] 703 361 4751

===
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:

 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



Re: Servlet and JSP

2000-03-28 Thread Kan Hwa Heng

Look up the following FAQ which explains how to do this:

http://www.esperanto.org.nz/jsp/jspfaq.html#q11

-Original Message-
From: Sudhir [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 28, 2000 11:48 PM
To: [EMAIL PROTECTED]
Subject: Servlet and JSP


Hi,
  I am trying to write a application using JSP's. Currently i am
using Servlets and wrote custom methods Templates  to print out the
resultant HTML data. I want to convert this code to use JSP.

Is there any way i can give the context to a JSP page to print the page,

and pass the Data from the Servlet that needs to be printed to the JSP
page.

Any reference to external URL or Code samples will be very helpful. I am

using JRun as my Servlet Server.

Thanks
Sudhir
[EMAIL PROTECTED]
http://www.javacommerce.com

===
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
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Domino 5.0 and JSP

2000-04-07 Thread jsp_user

 Hi everybody!
 I've been developing jsp applications under Tomcat and Resin, now, I
 need to implement a jsp project on a Domino server.
 Anybody knows if Domino 5.0 supports jsp? If yes, how can I install my
 jsp?

 Thank you all in advance!!

 Marc

 ___
Consigue tu e-mail gratuito OLE.COM
 Haz click en "http://www.olemail.com"

===
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
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Radio buttons and JSP

2000-04-26 Thread Mohan Radhakrishnan

Hi,
 I have several radio buttons in the form. How do I pass all the
boolean values based on the checked property of the buttons to the JSP page
?
  There may be several buttons. Is there a way to do this with a
bean ?
bye,
Mohan

===
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
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Radio button and JSP

2000-04-27 Thread Mohan Radhakrishnan

Hi,
   This is a follow up. Can I fill up a java array inside a JSP with
javascript ?

   Can I use javascript code like "document.myForm.myRadio[0].checked"
to fill up a java array
using scriptlets ? I want to use these values to set them in a program. This
is to avoid beans as I haven't figure out how to do that.

 I want to use the following example.

  
 
 
 
 
 The average of  is
 equal to 
 
 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



Re: Tomcat and JSP

2000-05-02 Thread Craig R. McClanahan

tj kay wrote:

> I have Tomcat and Apache running on my 98 machine. I can access the example
> servlets that come with Tomcat, BUT I recieve the following error when I try
> the example JSPs.
>
> Error: 500
> Location: /examples/jsp/num/numguess.jsp
> sun/tools/javac/Main
>

You need the Java compiler in your classpath in order to run JSP pages.  You need
to do one of the following:

* Define a JAVA_HOME environment variable that points
  at the base directory of your JDK 1.2.2 installation, or

* Add the "lib\tools.jar" file underneath the Java home directory
  to your CLASSPATH environment variable.

Craig McClanahan

===
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
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: Tomcat and JSP

2000-05-02 Thread tj kay

Here is what I have my environment variables set too.

SET JAVA_HOME=C:\jdk1.2.2
SET TOMCAT_HOME=C:\tomcat

SET
CLASSPATH=C:\jdk1.2.2\lib\tools.jar;C:\jdk1.2.2\jre\lib;C:\jdk1.2.2\bin;C:\tomcat\lib;C:\tomcat\classes;

But I am still getting the following message when I try to access the JSP
examples:

> > Error: 500
> > Location: /examples/jsp/num/numguess.jsp
> > sun/tools/javac/Main

I am getting this error in the tomcat startup window:

java.lang.NoClassDefFoundError: sun/tools/javac/Main
at org.apache.jasper.compiler.Compiler(Compiler.java, Compiled Code).

The servlet examples work fine.

Any help is appreciated
tj


>From: "Craig R. McClanahan" <[EMAIL PROTECTED]>
>Reply-To: A mailing list about Java Server Pages specification and
> reference <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: Tomcat and JSP
>Date: Tue, 2 May 2000 12:26:09 -0700
>
>tj kay wrote:
>
> > I have Tomcat and Apache running on my 98 machine. I can access the
>example
> > servlets that come with Tomcat, BUT I recieve the following error when I
>try
> > the example JSPs.
> >
> > Error: 500
> > Location: /examples/jsp/num/numguess.jsp
> > sun/tools/javac/Main
> >
>
>You need the Java compiler in your classpath in order to run JSP pages.
>You need
>to do one of the following:
>
>* Define a JAVA_HOME environment variable that points
>   at the base directory of your JDK 1.2.2 installation, or
>
>* Add the "lib\tools.jar" file underneath the Java home directory
>   to your CLASSPATH environment variable.
>
>Craig McClanahan
>
>===
>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
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets


Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

===
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
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: jRUN AND JSP

2000-05-05 Thread Dan Maher

I can't remember exactly what panel it is in the administrator, but look for the
tab with something to do with extensions:

.jsp
.jsp10   com.livesoftware..

Change the .jsp one from its value to the same one as the .jsp10 row.

Sorry I am so vague, I just uninstalled JRun..




Mohan Radhakrishnan wrote:

> Hi,
>Is it possible to configure JRun for JSP 1.0 without installing it
> again ?
> bye,
>
> ===
> 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
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

--
[EMAIL PROTECTED]
Associate Systems Engineer
HealthStream, The Leader in Online Healthcare Education
(615) 301-3151

http://www.healthstream.com

===
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
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: jRUN AND JSP

2000-05-05 Thread D. J. Hagberg

Support questions about specific products should be directed to their
specific support forums.  In this case, you should visit
http://www.allaire.com/support/forums/index.cfm

Mohan Radhakrishnan wrote:
>Is it possible to configure JRun for JSP 1.0 without installing it
> again ?

===
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
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: jRUN AND JSP

2000-05-05 Thread Scott Stirling

Change your rule mappings so that:

*.jsp=com.livesoftware.jsp.JSPServlet

Then restart the web server and JRun.

Scott Stirling

-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Mohan Radhakrishnan
Sent: Friday, May 05, 2000 2:22 PM
To: [EMAIL PROTECTED]
Subject: jRUN AND JSP


Hi,
   Is it possible to configure JRun for JSP 1.0 without installing it
again ?
bye,

===
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
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



  1   2   3   4   5   >