pro_jsp thread: Urget .. Uable to set a value in a bean from JSP ,using weblogic server
It may help to close your tags at end, so you may want to put the
following in your page.
<jsp:useBean id=3D"test" class=3D"check.ashbean" scope=3D"request" />
U could also try the use the full class-name (like for a Vector:
java.util.Vector).
Another thing to test is whether the class is available. So just write
a small piece of code like this:
<% ashbean a =3D new ashbean(); %>
If it still doesn't work then, u can always contact me again.
Greetings,
Bart Laeremans
-----Original Message-----
From: ashok sahay [mailto:ashok_sahay@y...]
Sent: vrijdag 11 oktober 2002 15:48
To: Pro_JavaServer_Pages
Subject: [pro_jsp] Urget .. Uable to set a value in a bean from JSP
,using weblogic server
I have an interface class in
C:\bea\wlserver6.1\config\mydomain\applications\DefaultWebApp\check.
Inside check , I have a bean class and I want to use it in my jsp
page.When I am saying
following in my jsp page,it is complaining saying that bean can not be
loaded.I am using weblogic.
Please suggest how shd I set the in bean and how shd Iget it?It will b
better i fany one come out with a simple example.
Could any one help me.
Thanx in advance.
ashok
<%@ import=3D"check.check.*"%>
<jsp:useBean id=3D"test" class=3D"check.ashbean" scope=3D"request">
<%
%>
<HTML>
<HEAD>
<TITLE>
This is test using bean.
</TITLE>
</HEAD>
<BODY>
</BODY>
</HTML>
Best Regds.,
Ashok
Yahoo! Properties Special Buy, sell, rent...your flat, or even post an
ad