struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Omar Ngarigari <ngarigar...@yahoo.com>
Subject Re: Including JSP page from a jar file that placed on /WEB-INF/lib
Date Thu, 26 Jul 2012 11:07:41 GMT
Yes, my jar file contains just plain common JSP files (file.jsp)

Sent from my iPhone

On Jul 25, 2012, at 11:43 PM, Shrinivas Parashar <Shrinivas_Parashar@symantec.com> wrote:

> Hi,
> Does your jar contains JSP or precompiled JSP (.class of Servlet)
> 
> Regards,
> Shrinivas
> 
> -----Original Message-----
> From: paulus.benedictus@gmail.com [mailto:paulus.benedictus@gmail.com] On Behalf Of Paul
Benedict
> Sent: 26 July 2012 01:26
> To: Struts Users Mailing List; Omar Ngarigari
> Subject: Re: Including JSP page from a jar file that placed on /WEB-INF/lib
> 
> Omar,
> 
> JSP does not support reading from bundled libraries. You must extract
> your content into your web application.
> 
> Paul
> 
> On Wed, Jul 25, 2012 at 2:23 PM, Omar Ngarigari <ngarigarius@yahoo.com> wrote:
>> Hello,
>> 
>> I would like know how to include a JSP page that was bundled in the jar file (WEB-INF/lib)
using struts2. I used s:include tag, but I got the error (Exception thrown during invlude
of /common/header.jsp"
>> 
>> 1 - web/common/header is in the jar file under WEB-INF/lib
>> 2  - in the mypages.jsp, I used <s:include value="/common/header.jsp"/>
>> 
>> Thanks,
>> 
>> 
>> ________________________________
>> From: JOSE L MARTINEZ-AVIAL <jlmagc@gmail.com>
>> To: Struts Users Mailing List <user@struts.apache.org>
>> Sent: Tuesday, July 24, 2012 1:00 AM
>> Subject: Tag s:textfield does not parse OGNL expressions for dynamic attributes
>> 
>> Hi,
>> I have the following textfield:
>>       <s:textfield autocomplete="off"
>>           name="userLoginName" theme="simple"
>>           id="userLoginName"
>>           maxLength="20"
>>           regExp="^\w{6,20}$"
>>           trim="true"
>>           uppercase="true"
>>           dojoType="dijit.form.ValidationTextBox"
>>           required="true"
>>           intermediateChanges=false
>>           invalidMessage="%{getText('UserLoginNameStrength.label')}" />
>> 
>> The OGNL expression in the invalidMessage attribute is not been parsed, it
>> just puts the expression in the attribute. Am I doing something wrong, or
>> is it a bug?
>> 
>>  Thanks
>> 
>> JL
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 

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


Mime
View raw message