Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » String Substitution feature in JSP with tomcat doesnt work?!
String Substitution feature in JSP with tomcat doesnt work?! [message #187691] Wed, 07 February 2007 14:54 Go to next message
Benoit Liard is currently offline Benoit LiardFriend
Messages: 2
Registered: July 2009
Junior Member
Hi folks,

I'm wondering if it is possible to dynamically change token for ant that
are present in my jsp with the dynamic string substitution in jsp inside
tomcat. Right now, I'm loading the bootstrap with my runner and pointing
to my application. Tomcat work great. In preference, I've put some token
like @STATIC_URL@ that should replace by something else. Those token are
found essentially in JSP files.

But It seem that Tomcat goes directly to the source of the jsp and
does'nt really care about the string substition of eclipse. Is there a way
to do that?
Re: String Substitution feature in JSP with tomcat doesnt work?! [message #187708 is a reply to message #187691] Wed, 07 February 2007 16:05 Go to previous message
Larry Isaacs is currently offline Larry IsaacsFriend
Messages: 1354
Registered: July 2009
Senior Member
When your project is published to a server to be run, the WebContent
resources are simply copied. There is no special processing done.
Given that JSPs can generate dynamic output, I would think there would
be ways to accomplish what you want using the features of JSP.

Cheers,
Larry

Ben.Liard wrote:
> Hi folks,
>
> I'm wondering if it is possible to dynamically change token for ant that
> are present in my jsp with the dynamic string substitution in jsp inside
> tomcat. Right now, I'm loading the bootstrap with my runner and pointing
> to my application. Tomcat work great. In preference, I've put some token
> like @STATIC_URL@ that should replace by something else. Those token
> are found essentially in JSP files.
>
> But It seem that Tomcat goes directly to the source of the jsp and
> does'nt really care about the string substition of eclipse. Is there a
> way to do that?
>
Previous Topic:could not find a client that is able to lunch this selection
Next Topic:handle on web content
Goto Forum:
  


Current Time: Fri Apr 26 21:38:50 GMT 2024

Powered by FUDForum. Page generated in 0.02833 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top