Yes, this is "java server page" and these should be in ASCII, but some of the developer put them as as binary. Basically we migrating CVS from Windows to Solaris.
oh.. may be you jave some .jar files, they are grouped/compressed files (same as .zip) or they could be java beans or java objects (compiled with java *.class).
I *think* what is going on is that the jsp files were ftp'd? to the Solaris server from a Windows server.
Binary transfers the file exactly as it is, and you don't want to do this on a Windows/Solaris Solaris/Windows setup because of the CR mismatch. ASCII will translate the CR properly.
If I am correct in what I am assuming, just vi the file and if you see ^M at the end then you know how it was sent. In that case, run "tr -d '\r' < file.jsp > filenew.jsp" and that will strip the CR.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.