Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within JSP
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
JSP
Working with text file using jsp
enkhbat dash
Greenhorn
Posts: 11
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Is it possible to work with text file using
jsp
? Forexample: I will create "test.txt" file then write in it value "testvalue".
Be nice!
Ulf Dittmer
Rancher
Posts: 43081
77
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
You really shouldn't perform file I/O (or anything else that requires
Java
code) inside of JSP pages; it's considered bad design. Move that code to a backing bean or a
servlet
; then you can write all the Java code you need w/o complications.
enkhbat dash
Greenhorn
Posts: 11
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
So I should use servlet to I/O to file. Tnx.
Be nice!
Consider Paul's
rocket mass heater
.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
retrive files in a directory
Text Search on a file from a JSP page?????
How can I do a text search in a file
Can you do this in JSP
file download !
More...