On 06/23/2003 07:43:35 AM Rajat Nayer wrote:

> Hi Susan,
> 
> Thanks a ton for this lead.
> 
> I have done whatever was required as per Lesson 1 (for
> now).
> 
> However when I go to http://localhost:8080/rr_lesson_1
> after deploying the war downloaded from the site, I
> get the following error:
> 
> Error: 500
> Location: /rr_lesson_1/index.jsp
> Internal Servlet Error:
> 
> org.apache.jasper.compiler.CompileException:
> C:\jakarta-tomcat-3.2.4\webapps\rr_lesson_1\index.jsp(0,0)
> Unable to open taglibrary /WEB-INF/struts-bean-el.tld
> : Parse Error in the tag library descriptor: External
> entity not found:
> "http://java.sun.com/dtd/web-app_2_3.dtd";.
> 
> What is missing???

Rajat, did you get this figured out? 

If you are using Tomcat 3.2.4, I think this version is not Servlet 2.3 
compliant and you will have some issues regarding the struts-el tag 
libraries. I did not actually download the lessons, but just read through 
them. Doing even just that much may help in learning some of the basics 
about Struts. 

Sorry I couldn't be of more help.
Susan

> 
> I also tried by copying the dtd from the struts 1.1b3
> distribution also, but to no avail.
> 
> Please help!!!!
> 
> thanks in advance,
> Rajat
> 
> 
> 
> --- Susan Bradeen <[EMAIL PROTECTED]> wrote:
> > Hi Rajat,
> >
> > A quick read through this simple, but very good,
> > tutorial will probably
> > answer a number of basic questions.
> > http://www.reumann.net/do/struts/main
> >
> > Hope that helps,
> > Susan Bradeen
> >
> > On 06/20/2003 11:23:10 AM Rajat Nayer wrote:
> >
> > > Dear All,
> > >
> > > Please respond.. I was expecting some good
> > > hand-holding support here.
> > >
> > > regds
> > > Rajat
> > > --- David Bolsover <[EMAIL PROTECTED]> wrote:
> > > > Typically, the VO is used to populate a
> > collection(
> > > > eg ArrayList - Vectors not
> > > > usually used) of FormBeans and this is saved in
> > some
> > > > HttpServletRequet scope -
> > > > most frequently request scope - although for
> > 'User'
> > > > type data it is often
> > > > convenient to store this in session scope.
> > > >
> > > > Once you have your collection of FormBeans in
> > scope,
> > > > you use the Struts (and/or
> > > > JSTL) tag libraries in the DetailPage.jsp to
> > access
> > > > the fields of the FormBeans
> > > >
> > > > db
> > > >
> > > >
> > > > -----Original Message-----
> > > > From: Rajat Nayer [mailto:[EMAIL PROTECTED]
> > > > Sent: 20 June 2003 09:49
> > > > To: Struts Users Mailing List
> > > > Subject: accessing VO by next view...
> > > >
> > > >
> > > > Hi!!
> > > >
> > > > I am a newbie to struts.
> > > >
> > > > I want to validate my undertsanding of the basic
> > > > Struts framework viz a viz the VO issue that i
> > will
> > > > explain thereafter.
> > > >
> > > > My understanding of the flow using struts and
> > EJB is
> > > > as follows:
> > > >
> > > > Browser -> ActionServlet -> populates FormBean
> > and
> > > > instantiates the Action Class (based on
> > > > struts-config.xml entries)->calls EJB-> calls
> > DAO->
> > > > accesses DB.
> > > >
> > > > The DAO creates a VO that is passed back to the
> > EJB
> > > > which in turn passes it back to the Action
> > class.
> > > >
> > > > Now, How is this VO data used by the next view
> > (JSP)
> > > > defined. What is the mechanism?
> > > >
> > > > For eample, in page1.html I have an id which is
> > > > passed
> > > > all the way to the DAO. The DAO fetches the data
> > > > from
> > > > the DB based on this ID and returns a collection
> > (
> > > > maybe a vector of objects/resultset). Now how
> > does
> > > > the
> > > > next page i.e. the DetailPage.jsp get this data
> > and
> > > > how to use this to show it in a tabular form.
> > > >
> > > > I know it is a very basic question.. would
> > > > appreciate
> > > > an easy to understand(newbie context) answer.
> > > >
> > > > Thanks in advance,
> > > > Rajat
> 
> 
> __________________________________
> Do you Yahoo!?
> SBC Yahoo! DSL - Now only $29.95 per month!
> http://sbc.yahoo.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to