Hi, We only use JSPs to arrange content pieces (like creating a page by including header JSP and footer JSP), so our js/css is an entirely separate concern. The js handles things like form input fields all itself using DHTML/DOM.
I can't believe that seperating the jss is such a big operation (unless your js is using embedded scriptlets or something yucky like that), you should be able to scrape it out and bung it into a big function library script for starters. Switch off the js obfuscation so function names stay the same, or else build a plugin that can look for JSP embedded js function names and rename them using the obfuscation mappings. There is much you can do fairly easily using mojos. Regards, John > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: 04 March 2008 13:43 > To: Maven Users List > Subject: Re: RE: compress & obfuscate js files > > >Seperation is the way to go though IMO. > > You are 100% correct. Problem is, we just stared working on > this project. > Before, it was managed by an external company. Step by step, > we will have to improve the legacy code. However, as it is > now, css and javascript or totally mixed with jsp code - and > it will take month if not years to change that (as it's a lot > + there are other important tasks too) > > However, I am wondering - speaking of css - even IF the css > and javscript code was 100% seperated - there will still be > class="myCSSClass" and onclick="MyJavascriptFunction" calls > in the jsp code. > > So if the obfuscator renames these css classes / javascript > functions - how would that work?! > > Thanks in advance, > > Stefanie > > -- > GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen! > Jetzt dabei sein: http://www.shortview.de/[EMAIL PROTECTED] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > Eurobase International Limited and its subsidiaries (Eurobase) are unable to exercise control over the content of information in E-Mails. Any views and opinions expressed may be personal to the sender and are not necessarily those of Eurobase. Eurobase will not enter into any contractual obligations in respect of any part of its business in any E-mail. Privileged / confidential information may be contained in this message and /or any attachments. This E-mail is intended for the use of the addressee(s) only and may contain confidential information. If you are not the / an intended recipient, you are hereby notified that any use or dissemination of this communication is strictly prohibited. If you receive this transmission in error, please notify us immediately, and then delete this E-mail. Neither the sender nor Eurobase accepts any liability whatsoever for any defects of any kind either in or arising from this E-mail transmission. E-Mail transmission cannot be guaranteed to be secure or error-free, as messages can be intercepted, lost, corrupted, destroyed, contain viruses, or arrive late or incomplete. Eurobase does not accept any responsibility for viruses and it is your responsibility to scan any attachments. Eurobase Systems Limited is the main trading company in the Eurobase International Group; registered in England and Wales as company number 02251162; registered address: Essex House, 2 County Place, Chelmsford, Essex CM2 0RE, UK. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]