You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Eric Reed <ER...@MAIL.NYSED.GOV> on 2012/01/13 19:59:00 UTC

JSP help

Everyone,

I know this has nothing to do with Struts but maybe someone one this mailing list has encountered this problem before.

We have a massive project that I am upgrading from 10g to 11G. Going from OAS to weblogic. This project was developed in '04 using '99 - 2001 technologies (Struts 1.1, jstl 1.0... etc) over 35 developers were on the project for 4 years... I'm the only one left.

I have successfully updated our 1000+ ejb's and session beans but the JSP's are killing me. 

I am not a front-end developer, and for most cases we do this for var's on a jsp page:

<bean:define id="srtcId" name="roles" property="srtcId" />

.. later in the jsp srtcId is referenced like : value="<%=srtcId%>"

JDeveloper 11g hates this and will not compile any of the JSP's. I tried several different approaches to try and get these to compile without  success so any help would be great.

Also the post parameter being returned to the action class is just a string of what is in the value field.

Thank you in advance.
Eric



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


Re: JSP help

Posted by Jeffrey Black <je...@gmail.com>.
Eric -- Give the following link a look.

http://blogs.oracle.com/Didier/entry/jstl_10_in_jsp_20_pages

Best,

jb

On Fri, Jan 13, 2012 at 1:10 PM, Eric Reed <ER...@mail.nysed.gov> wrote:

> 1000 + jsps... all coded like <%=srtcld%>, and I can't use find replace
> because java calls in the JSP's start and end with <%java crap%>
>
> Very professional stuff I get to deal with.
>
> I think I'm just going to write a small program to update them all unless
> someone has a good solution.
>
>
> >>> Gabriel Belingueres <be...@gmail.com> 1/13/2012 2:07 PM >>>
> Isn't the variable defined in page scope?
> A single ${srtcld} EL expression should suffice.
>
> Gabriel
>
> 2012/1/13 Eric Reed <ER...@mail.nysed.gov>:
> > Everyone,
> >
> > I know this has nothing to do with Struts but maybe someone one this
> mailing list has encountered this problem before.
> >
> > We have a massive project that I am upgrading from 10g to 11G. Going
> from OAS to weblogic. This project was developed in '04 using '99 - 2001
> technologies (Struts 1.1, jstl 1.0... etc) over 35 developers were on the
> project for 4 years... I'm the only one left.
> >
> > I have successfully updated our 1000+ ejb's and session beans but the
> JSP's are killing me.
> >
> > I am not a front-end developer, and for most cases we do this for var's
> on a jsp page:
> >
> > <bean:define id="srtcId" name="roles" property="srtcId" />
> >
> > .. later in the jsp srtcId is referenced like : value="<%=srtcId%>"
> >
> > JDeveloper 11g hates this and will not compile any of the JSP's. I tried
> several different approaches to try and get these to compile without
>  success so any help would be great.
> >
> > Also the post parameter being returned to the action class is just a
> string of what is in the value field.
> >
> > Thank you in advance.
> > Eric
> >
> >
> >
> > ---------------------------------------------------------------------
> > 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
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

Re: JSP help

Posted by Eric Reed <ER...@MAIL.NYSED.GOV>.
1000 + jsps... all coded like <%=srtcld%>, and I can't use find replace because java calls in the JSP's start and end with <%java crap%>

Very professional stuff I get to deal with.

I think I'm just going to write a small program to update them all unless someone has a good solution.


>>> Gabriel Belingueres <be...@gmail.com> 1/13/2012 2:07 PM >>>
Isn't the variable defined in page scope?
A single ${srtcld} EL expression should suffice.

Gabriel

2012/1/13 Eric Reed <ER...@mail.nysed.gov>:
> Everyone,
>
> I know this has nothing to do with Struts but maybe someone one this mailing list has encountered this problem before.
>
> We have a massive project that I am upgrading from 10g to 11G. Going from OAS to weblogic. This project was developed in '04 using '99 - 2001 technologies (Struts 1.1, jstl 1.0... etc) over 35 developers were on the project for 4 years... I'm the only one left.
>
> I have successfully updated our 1000+ ejb's and session beans but the JSP's are killing me.
>
> I am not a front-end developer, and for most cases we do this for var's on a jsp page:
>
> <bean:define id="srtcId" name="roles" property="srtcId" />
>
> .. later in the jsp srtcId is referenced like : value="<%=srtcId%>"
>
> JDeveloper 11g hates this and will not compile any of the JSP's. I tried several different approaches to try and get these to compile without  success so any help would be great.
>
> Also the post parameter being returned to the action class is just a string of what is in the value field.
>
> Thank you in advance.
> Eric
>
>
>
> ---------------------------------------------------------------------
> 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 




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


Re: JSP help

Posted by Gabriel Belingueres <be...@gmail.com>.
Isn't the variable defined in page scope?
A single ${srtcld} EL expression should suffice.

Gabriel

2012/1/13 Eric Reed <ER...@mail.nysed.gov>:
> Everyone,
>
> I know this has nothing to do with Struts but maybe someone one this mailing list has encountered this problem before.
>
> We have a massive project that I am upgrading from 10g to 11G. Going from OAS to weblogic. This project was developed in '04 using '99 - 2001 technologies (Struts 1.1, jstl 1.0... etc) over 35 developers were on the project for 4 years... I'm the only one left.
>
> I have successfully updated our 1000+ ejb's and session beans but the JSP's are killing me.
>
> I am not a front-end developer, and for most cases we do this for var's on a jsp page:
>
> <bean:define id="srtcId" name="roles" property="srtcId" />
>
> .. later in the jsp srtcId is referenced like : value="<%=srtcId%>"
>
> JDeveloper 11g hates this and will not compile any of the JSP's. I tried several different approaches to try and get these to compile without  success so any help would be great.
>
> Also the post parameter being returned to the action class is just a string of what is in the value field.
>
> Thank you in advance.
> Eric
>
>
>
> ---------------------------------------------------------------------
> 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