This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Struts and the fly likes How to create objects in jsps using struts tags? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How to create objects in jsps using struts tags?" Watch "How to create objects in jsps using struts tags?" New topic
Author

How to create objects in jsps using struts tags?

chaitanya karthikk
Ranch Hand

Joined: Sep 15, 2009
Posts: 806

I am developing a struts based application on google app engine. I am using google's user service to allow users to log into my application.

When the user is signed into his google account and opens my application, my application must not ask to sign in again. Suppose the homepage of my application is index.jsp, it should say

Welcome user xyz@gmail.com

To do so, I have to check whether there is a current user or not like this



But I am not supposed to use scriptlets in my application. I have to achieve this using struts tags.

Any help is greatly appreciated. Thank you all in advance and good day.

Love all, trust a few, do wrong to none.
 
GeeCON Prague 2014
 
subject: How to create objects in jsps using struts tags?