• 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

in comparison to JSP

 
Ranch Hand
Posts: 135
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
to do a website, we know we have to use css to style it, and the standard HTML to carry the information

But i have a question about passing on information. I know JSP is used to retain information, for instance, you fill out a form saying name, age, gender. You can use JSP to store the information and have it passed down to another page.

I am really good and css now, but now ive been practicing storing information, such as name, age, gender and having it displayed on the second page. So i was wondering what languages act as JSP that is more being used today? can PHP do the same, or how does the whole thing work with storing and displaying information that acts like JSP
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

william chaple wrote:You can use JSP to store the information and have it passed down to another page.


Not really. JSP is a templating language. You use controllers to pass information along, not the JSP. The controller can then pass the data to the JSP for display. But it's not the JSP that's doing any "carrying along" in a properly structured web app.

So i was wondering what languages act as JSP that is more being used today?


If you are working in Java, most web apps will use JSP, or a framework that uses JSP. Some frameworks roll their own templating system, such as the Play framework. There's also 3rd-party templating libraries such as Freemarker.

can PHP do the same, or how does the whole thing work with storing and displaying information that acts like JSP


Outside of the Java ecosystem, PHP is roughly equivalent to JSP without the Servlet underpinnings.
 
reply
    Bookmark Topic Watch Topic
  • New Topic