Nick Faiz wrote:

                How do I unsubscribe from this list? I've sent emails to
both [EMAIL PROTECTED] and
[EMAIL PROTECTED]



Try sending an empty message to "[EMAIL PROTECTED]". If that doesn't work, send me mail privately and I'll remove you.

Nick Faiz



Craig

-----Original Message-----
From: Dhaliwal, Pritpal (HQP)
[mailto:[EMAIL PROTECTED] Sent: Thursday, 1 April 2004 9:51 AM
To: 'Struts Users Mailing List'
Subject: RE: How do I get Application Scope in Action Class


HI Raghu,

Good one.. Had me scrathing my head a lil..

                ServletContext application =
getServlet().getServletContext();

                Enjoy,
                Pritpal Dhaliwal


-----Original Message-----
From: Raghu.Ramakrishnan
[mailto:[EMAIL PROTECTED] Sent: Wednesday, March 31, 2004 3:20 PM
To: Struts Users Mailing List
Subject: How do I get Application Scope in Action Class




Hi,

                My problem is that I have set certain objects in Application
Scope. I am
                able to access these objects in my jsp pages But unable to
get these objects
                in my Action Classes.

i) How do I get Objects(Objects that were set using
application.setAttribute()) in Application scope in my
Action Class??


                Thanking you.
                Raghu


-----Original Message-----
From: Jens Kühnberger [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 31, 2004 1:08 PM
To: Struts Users Mailing List
Subject: Re: Struts 1.1, JSTL and Tomcat5



Thanks a lot.


I changed

                <!DOCTYPE web-app
                   PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application
2.3//EN"
                   "http://java.sun.com/j2ee/dtds/web-app_2_3.dtd";>

<web-app>

to

                <web-app xmlns="http://java.sun.com/xml/ns/j2ee";
                     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
                     xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
web-app_2_4.xsd"
                     version="2.4">

and now it's working.


Martin Cooper wrote:
> Did you update your web.xml file for Servlets 2.4, and
update any
> taglib declarations in that file?
> > --
> Martin Cooper
> > > "Jens Kühnberger" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> >>Hi everyone,
>>
>>I got a problem with updating my webapplication from
struts 1.0, jstl
>>1.0 and tomcat 4.1 to struts 1.1, JSTL 1.1 and tomcat 5.
>>
>>I got rid of all the old .jar and .tld files and inserted
the new
>>ones. I tried all different uri on the .jsp page, read
through various >>messages on the mailing list, but I'm still stuck with the
following
> > error.
> >>I would be happy for any new ideas.
>>
>>Thanks,
>>Jens
>>
>>
>>org.apache.jasper.JasperException: <h3>Validation error
messages from
>>TagLibraryValidator for c</h3><p>null: >>java.lang.IllegalStateException: can't declare any more
prefixes in >>this context</p>
>>
>
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHa
> ndler.
> java:94)
> >
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.ja
> va:404
> )
> >
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.ja
> va:112
> )
>


org.apache.jasper.compiler.Validator.validateXmlView(Validator.java:15


>>78)



org.apache.jasper.compiler.Validator.validate(Validator.java:1524)





org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:247)





org.apache.jasper.compiler.Compiler.compile(Compiler.java:456)





org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)


>>
> >
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.
> java:5
> 53)
> >
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.
> java:2
> 91)
>


org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:30


>>1)



org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)





javax.servlet.http.HttpServlet.service(HttpServlet.java:856)


>>
> >
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.j
> ava:10
> 69)
> >
org.apache.struts.action.RequestProcessor.processForwardConfig(Request
> Proces
> sor.java:455)
> >
org.apache.struts.action.RequestProcessor.process(RequestProcessor.jav
> a:279)
>


org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482


>>)



org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)





javax.servlet.http.HttpServlet.service(HttpServlet.java:763)





javax.servlet.http.HttpServlet.service(HttpServlet.java:856)


> > > > > >
---------------------------------------------------------------------
> 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]


--------------------------------------------------------------------- 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]





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



Reply via email to