struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Galbreath" <mark_galbre...@qat.com>
Subject RE: Using variable on JSP Page
Date Tue, 22 Jul 2003 11:41:39 GMT
You have to import it into the JSP using a page directive:

<%@ page import="your.package.Anubhav" %>

Then you can access it's non-private properties and methods with the JSP
write directive:

<html:text property="<%= Anubhav.property %> value="whatever" />

Mark

-----Original Message-----
From: Anubhav Kale [mailto:anubhav_kale@persistent.co.in] 
Sent: Tuesday, July 22, 2003 7:12 AM
To: Struts Users Mailing List
Subject: Re: Using variable on JSP Page


Hello..

I have a class say anubhav.class. I wish to create its object on JSP page.

Also I want to create object of the same class (anubhav) 
in my Action class

 Where should I place this class (I mean exactly in which folder) ?

On JSP page it is giving errors that it cant resolve this name (anubhav)

Thanks a lot

Anubhav


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message