Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / October 2007

Tip: Looking for answers? Try searching our database.

urlconnection - formatting problems.

Thread view: 
gwoodhouse@gmail.com - 19 Oct 2007 08:24 GMT
Morning all,

Im working right now on a problem that i created.

We have a jsp file which is used to print a formatted output to the
screen. This jsp file was written with all the code basically on the
same like, when the line wrapped a <%-- --%> was used to escape the
return character because the result i get now that ive reformatted it
is:

--
ObjectID

89

Title:

The Object
-----
and so on.

Does anyone know how to make a jsp page ignore formatting done simply
to lay the code out in a more understandable way?
Lew - 19 Oct 2007 12:56 GMT
> Morning all,

Not all.  This is a world-wide group, though, so it's morning for someone.
It's also a time-shifted group, so we aren't reading this when you wrote it.

> Im working right now on a problem that i [sic] created.
>
> We have a jsp [sic] file which is used to print a formatted output to the
> screen. This jsp [sic] file was written with all the code basically on the
> same like, when the line wrapped a <%-- --%> was used to escape the
> return character

What is a "return character"?

> because the result i [sic] get now that ive [sic] reformatted it is:
>
[quoted text clipped - 11 lines]
> Does anyone know how to make a jsp [sic] page ignore formatting done simply
> to lay the code out in a more understandable way?

I don't understand.  The layout of the JSP markup has no influence on the
appearance of the rendered page.  You should not need to do anything.  There
is something you aren't showing us.

(Hint: it's the actual code.)

Signature

Lew

Lothar Kimmeringer - 19 Oct 2007 17:38 GMT
> Im working right now on a problem that i created.
>
> We have a jsp file which is used to print a formatted output to the
> screen.

A JSP-file doesn't print anything to a screen and where exactly
is UrlConnection joining the game?

Maybe you should just post the part of the original JSP-page,
instead of the output it produces, to be able to tell more.

Regards, Lothar
Signature

Lothar Kimmeringer                E-Mail: spamfang@kimmeringer.de
              PGP-encrypted mails preferred (Key-ID: 0x8BC3CD81)

Always remember: The answer is forty-two, there can only be wrong
                questions!



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.